mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-14 13:57:51 +00:00
Reformat partially.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247557 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c31dc2ec76
commit
74e437e7b1
@ -185,27 +185,19 @@ namespace llvm {
|
||||
|
||||
/// getNextPredecessor - Returns the value of the NextPredecessor
|
||||
/// field.
|
||||
const Dependence *getNextPredecessor() const {
|
||||
return NextPredecessor;
|
||||
}
|
||||
const Dependence *getNextPredecessor() const { return NextPredecessor; }
|
||||
|
||||
/// getNextSuccessor - Returns the value of the NextSuccessor
|
||||
/// field.
|
||||
const Dependence *getNextSuccessor() const {
|
||||
return NextSuccessor;
|
||||
}
|
||||
const Dependence *getNextSuccessor() const { return NextSuccessor; }
|
||||
|
||||
/// setNextPredecessor - Sets the value of the NextPredecessor
|
||||
/// field.
|
||||
void setNextPredecessor(const Dependence *pred) {
|
||||
NextPredecessor = pred;
|
||||
}
|
||||
void setNextPredecessor(const Dependence *pred) { NextPredecessor = pred; }
|
||||
|
||||
/// setNextSuccessor - Sets the value of the NextSuccessor
|
||||
/// field.
|
||||
void setNextSuccessor(const Dependence *succ) {
|
||||
NextSuccessor = succ;
|
||||
}
|
||||
void setNextSuccessor(const Dependence *succ) { NextSuccessor = succ; }
|
||||
|
||||
/// dump - For debugging purposes, dumps a dependence to OS.
|
||||
///
|
||||
|
@ -64,9 +64,7 @@ public:
|
||||
/// IsUntrackedValue - If the specified Value is something that is obviously
|
||||
/// uninteresting to the analysis (and would always return UntrackedVal),
|
||||
/// this function can return true to avoid pointless work.
|
||||
virtual bool IsUntrackedValue(Value *V) {
|
||||
return false;
|
||||
}
|
||||
virtual bool IsUntrackedValue(Value *V) { return false; }
|
||||
|
||||
/// ComputeConstant - Given a constant value, compute and return a lattice
|
||||
/// value corresponding to the specified constant.
|
||||
@ -76,9 +74,7 @@ public:
|
||||
|
||||
/// IsSpecialCasedPHI - Given a PHI node, determine whether this PHI node is
|
||||
/// one that the we want to handle through ComputeInstructionState.
|
||||
virtual bool IsSpecialCasedPHI(PHINode *PN) {
|
||||
return false;
|
||||
}
|
||||
virtual bool IsSpecialCasedPHI(PHINode *PN) { return false; }
|
||||
|
||||
/// GetConstant - If the specified lattice value is representable as an LLVM
|
||||
/// constant value, return it. Otherwise return null. The returned value
|
||||
@ -138,9 +134,7 @@ class SparseSolver {
|
||||
public:
|
||||
explicit SparseSolver(AbstractLatticeFunction *Lattice)
|
||||
: LatticeFunc(Lattice) {}
|
||||
~SparseSolver() {
|
||||
delete LatticeFunc;
|
||||
}
|
||||
~SparseSolver() { delete LatticeFunc; }
|
||||
|
||||
/// Solve - Solve for constants and executable blocks.
|
||||
///
|
||||
|
Loading…
x
Reference in New Issue
Block a user