mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-27 17:31:33 +00:00
Tidy whitespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64791 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cafb81337b
commit
244cc2c6c0
@ -27,15 +27,14 @@ class Function;
|
||||
class PMStack;
|
||||
|
||||
class LoopPass : public Pass {
|
||||
|
||||
public:
|
||||
public:
|
||||
explicit LoopPass(intptr_t pid) : Pass(pid) {}
|
||||
explicit LoopPass(void *pid) : Pass(pid) {}
|
||||
|
||||
// runOnLoop - This method should be implemented by the subclass to perform
|
||||
// whatever action is necessary for the specified Loop.
|
||||
virtual bool runOnLoop (Loop *L, LPPassManager &LPM) = 0;
|
||||
virtual bool runOnFunctionBody (Function &F, LPPassManager &LPM) {
|
||||
virtual bool runOnLoop(Loop *L, LPPassManager &LPM) = 0;
|
||||
virtual bool runOnFunctionBody(Function &F, LPPassManager &LPM) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -82,7 +81,6 @@ class LoopPass : public Pass {
|
||||
};
|
||||
|
||||
class LPPassManager : public FunctionPass, public PMDataManager {
|
||||
|
||||
public:
|
||||
static char ID;
|
||||
explicit LPPassManager(int Depth);
|
||||
@ -110,7 +108,7 @@ public:
|
||||
}
|
||||
|
||||
Pass *getContainedPass(unsigned N) {
|
||||
assert ( N < PassVector.size() && "Pass number out of range!");
|
||||
assert(N < PassVector.size() && "Pass number out of range!");
|
||||
Pass *FP = static_cast<Pass *>(PassVector[N]);
|
||||
return FP;
|
||||
}
|
||||
@ -145,6 +143,7 @@ public:
|
||||
/// deleteSimpleAnalysisValue - Invoke deleteAnalysisValue hook for all passes
|
||||
/// that implement simple analysis interface.
|
||||
void deleteSimpleAnalysisValue(Value *V, Loop *L);
|
||||
|
||||
private:
|
||||
std::deque<Loop *> LQ;
|
||||
bool skipThisLoop;
|
||||
|
Loading…
x
Reference in New Issue
Block a user