Fix typo in comment.

llvm-svn: 36873
This commit is contained in:
Nick Lewycky 2007-05-06 13:37:16 +00:00
parent f5599efb00
commit e7da2d6ac3
70 changed files with 76 additions and 76 deletions

View File

@ -399,7 +399,7 @@ protected:
class ETForest : public ETForestBase {
public:
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
ETForest() : ETForestBase((intptr_t)&ID, false) {}

View File

@ -24,7 +24,7 @@ class Type;
class FindUsedTypes : public ModulePass {
std::set<const Type *> UsedTypes;
public:
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
FindUsedTypes() : ModulePass((intptr_t)&ID) {}
/// getTypes - After the pass has been run, return the set containing all of

View File

@ -45,7 +45,7 @@ class IntervalPartition : public FunctionPass {
std::vector<Interval*> Intervals;
public:
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
IntervalPartition() : FunctionPass((intptr_t)&ID), RootInterval(0) {}

View File

@ -241,7 +241,7 @@ class LoopInfo : public FunctionPass {
std::vector<Loop*> TopLevelLoops;
friend class Loop;
public:
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
LoopInfo() : FunctionPass((intptr_t)&ID) {}
~LoopInfo() { releaseMemory(); }

View File

@ -22,7 +22,7 @@ namespace llvm {
/// compute the a post-dominator tree.
///
struct PostDominatorTree : public DominatorTreeBase {
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
PostDominatorTree() :
DominatorTreeBase((intptr_t)&ID, true) {}

View File

@ -197,7 +197,7 @@ namespace llvm {
class ScalarEvolution : public FunctionPass {
void *Impl; // ScalarEvolution uses the pimpl pattern
public:
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
ScalarEvolution() : FunctionPass((intptr_t)&ID), Impl(0) {}
/// getSCEV - Return a SCEV expression handle for the full generality of the

View File

@ -26,7 +26,7 @@ class WriteBytecodePass : public ModulePass {
bool DeleteStream;
bool CompressFile;
public:
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
WriteBytecodePass()
: ModulePass((intptr_t) &ID), Out(&cout), DeleteStream(false),
CompressFile(false) {}

View File

@ -65,7 +65,7 @@ namespace llvm {
BitVector JoinedLIs;
public:
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
LiveIntervals() : MachineFunctionPass((intptr_t)&ID) {}
struct CopyRec {

View File

@ -40,7 +40,7 @@ class MRegisterInfo;
class LiveVariables : public MachineFunctionPass {
public:
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
LiveVariables() : MachineFunctionPass((intptr_t)&ID) {}
/// VarInfo - This represents the regions where a virtual register is live in

View File

@ -1022,7 +1022,7 @@ private:
std::vector<GlobalVariable *> TypeInfos;
public:
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
MachineModuleInfo();
~MachineModuleInfo();

View File

@ -202,7 +202,7 @@ public:
/// requested alignment (if the global has one).
unsigned getPreferredAlignmentLog(const GlobalVariable *GV) const;
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
};
/// StructLayout - used to lazily calculate structure layout information for a

View File

@ -25,7 +25,7 @@ namespace llvm {
struct UnifyFunctionExitNodes : public FunctionPass {
BasicBlock *ReturnBlock, *UnwindBlock, *UnreachableBlock;
public:
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
UnifyFunctionExitNodes() : FunctionPass((intptr_t)&ID),
ReturnBlock(0), UnwindBlock(0) {}

View File

@ -50,7 +50,7 @@ namespace {
unsigned NoModRef, Mod, Ref, ModRef;
public:
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
AAEval() : FunctionPass((intptr_t)&ID) {}
virtual void getAnalysisUsage(AnalysisUsage &AU) const {

View File

@ -555,7 +555,7 @@ namespace {
class VISIBILITY_HIDDEN AliasSetPrinter : public FunctionPass {
AliasSetTracker *Tracker;
public:
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
AliasSetPrinter() : FunctionPass((intptr_t)&ID) {}
virtual void getAnalysisUsage(AnalysisUsage &AU) const {

View File

@ -91,7 +91,7 @@ struct DOTGraphTraits<const Function*> : public DefaultDOTGraphTraits {
namespace {
struct VISIBILITY_HIDDEN CFGPrinter : public FunctionPass {
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
CFGPrinter() : FunctionPass((intptr_t)&ID) {}
virtual bool runOnFunction(Function &F) {
@ -119,7 +119,7 @@ namespace {
"Print CFG of function to 'dot' file");
struct VISIBILITY_HIDDEN CFGOnlyPrinter : public CFGPrinter {
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
virtual bool runOnFunction(Function &F) {
bool OldCFGOnly = CFGOnly;
CFGOnly = true;

View File

@ -85,7 +85,7 @@ namespace {
std::vector<Node*> Pointees;
Value *Val;
public:
static const unsigned ID; // Pass identifcation, replacement for typeid
static const unsigned ID; // Pass identification, replacement for typeid
Node() : Val(0) {}
Node *setValue(Value *V) {
assert(Val == 0 && "Value already set for this node!");

View File

@ -51,7 +51,7 @@ namespace {
abort();
}
public:
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
InstCount() : FunctionPass((intptr_t)&ID) {}
virtual bool runOnFunction(Function &F);

View File

@ -33,7 +33,7 @@ STATISTIC(NumAtomic, "Number of atomic phis lowered");
namespace {
struct VISIBILITY_HIDDEN PNE : public MachineFunctionPass {
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
PNE() : MachineFunctionPass((intptr_t)&ID) {}
bool runOnMachineFunction(MachineFunction &Fn) {

View File

@ -50,7 +50,7 @@ STATISTIC(NumConvertedTo3Addr, "Number of instructions promoted to 3-address");
namespace {
struct VISIBILITY_HIDDEN TwoAddressInstructionPass
: public MachineFunctionPass {
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
TwoAddressInstructionPass() : MachineFunctionPass((intptr_t)&ID) {}
virtual void getAnalysisUsage(AnalysisUsage &AU) const;

View File

@ -35,7 +35,7 @@ namespace {
class VISIBILITY_HIDDEN UnreachableBlockElim : public FunctionPass {
virtual bool runOnFunction(Function &F);
public:
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
UnreachableBlockElim() : FunctionPass((intptr_t)&ID) {}
};
char UnreachableBlockElim::ID = 0;

View File

@ -25,7 +25,7 @@ STATISTIC(HelloCounter, "Counts number of functions greeted");
namespace {
// Hello - The first implementation, without getAnalysisUsage.
struct Hello : public FunctionPass {
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
Hello() : FunctionPass((intptr_t)&ID) {}
virtual bool runOnFunction(Function &F) {
@ -42,7 +42,7 @@ namespace {
// Hello2 - The second implementation with getAnalysisUsage implemented.
struct Hello2 : public FunctionPass {
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
Hello2() : FunctionPass((intptr_t)&ID) {}
virtual bool runOnFunction(Function &F) {

View File

@ -63,7 +63,7 @@ namespace {
}
virtual bool runOnSCC(const std::vector<CallGraphNode *> &SCC);
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
ArgPromotion() : CallGraphSCCPass((intptr_t)&ID) {}
private:

View File

@ -29,7 +29,7 @@ STATISTIC(NumMerged, "Number of global constants merged");
namespace {
struct VISIBILITY_HIDDEN ConstantMerge : public ModulePass {
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
ConstantMerge() : ModulePass((intptr_t)&ID) {}
// run - For this pass, process all of the globals in the module,

View File

@ -76,7 +76,7 @@ namespace {
std::multimap<Function*, CallSite> CallSites;
public:
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
DAE() : ModulePass((intptr_t)&ID) {}
bool runOnModule(Module &M);

View File

@ -26,7 +26,7 @@ STATISTIC(NumKilled, "Number of unused typenames removed from symtab");
namespace {
struct VISIBILITY_HIDDEN DTE : public ModulePass {
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
DTE() : ModulePass((intptr_t)&ID) {}
// doPassInitialization - For this pass, it removes global symbol table

View File

@ -25,7 +25,7 @@ namespace {
bool deleteFunc;
bool reLink;
public:
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
/// FunctionExtractorPass - If deleteFn is true, this pass deletes as the
/// specified function. Otherwise, it deletes as much of the module as

View File

@ -30,7 +30,7 @@ STATISTIC(NumVariables, "Number of global variables removed");
namespace {
struct VISIBILITY_HIDDEN GlobalDCE : public ModulePass {
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
GlobalDCE() : ModulePass((intptr_t)&ID) {}
// run - Do the GlobalDCE pass on the specified module, optionally updating

View File

@ -50,7 +50,7 @@ namespace {
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
AU.addRequired<TargetData>();
}
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
GlobalOpt() : ModulePass((intptr_t)&ID) {}
bool runOnModule(Module &M);

View File

@ -33,7 +33,7 @@ namespace {
/// IPCP - The interprocedural constant propagation pass
///
struct VISIBILITY_HIDDEN IPCP : public ModulePass {
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
IPCP() : ModulePass((intptr_t)&ID) {}
bool runOnModule(Module &M);

View File

@ -32,7 +32,7 @@ STATISTIC(NumBounce , "Number of bounce functions created");
namespace {
class VISIBILITY_HIDDEN IndMemRemPass : public ModulePass {
public:
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
IndMemRemPass() : ModulePass((intptr_t)&ID) {}
virtual bool runOnModule(Module &M);

View File

@ -54,7 +54,7 @@ namespace {
class VISIBILITY_HIDDEN SimpleInliner : public Inliner {
std::map<const Function*, FunctionInfo> CachedFunctionInfo;
public:
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
int getInlineCost(CallSite CS);
};
char SimpleInliner::ID = 0;

View File

@ -46,7 +46,7 @@ namespace {
std::set<std::string> ExternalNames;
bool DontInternalize;
public:
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
InternalizePass(bool InternalizeEverything = true);
InternalizePass(const std::vector <const char *>& exportList);
void LoadFile(const char *Filename);

View File

@ -34,7 +34,7 @@ namespace {
// Module passes to require FunctionPasses, so we can't get loop info if we're
// not a function pass.
struct VISIBILITY_HIDDEN LoopExtractor : public FunctionPass {
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
unsigned NumLoops;
LoopExtractor(unsigned numLoops = ~0)
@ -57,7 +57,7 @@ namespace {
/// SingleLoopExtractor - For bugpoint.
struct SingleLoopExtractor : public LoopExtractor {
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
SingleLoopExtractor() : LoopExtractor(1) {}
};
@ -152,7 +152,7 @@ namespace {
class BlockExtractorPass : public ModulePass {
std::vector<BasicBlock*> BlocksToNotExtract;
public:
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
BlockExtractorPass(std::vector<BasicBlock*> &B)
: ModulePass((intptr_t)&ID), BlocksToNotExtract(B) {}
BlockExtractorPass() : ModulePass((intptr_t)&ID) {}

View File

@ -109,7 +109,7 @@ namespace {
bool IsTransformableFunction(const std::string& Name);
public:
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
LowerSetJmp() : ModulePass((intptr_t)&ID) {}
void visitCallInst(CallInst& CI);

View File

@ -35,7 +35,7 @@ STATISTIC(NumUnreach, "Number of noreturn calls optimized");
namespace {
struct VISIBILITY_HIDDEN PruneEH : public CallGraphSCCPass {
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
PruneEH() : CallGraphSCCPass((intptr_t)&ID) {}
/// DoesNotUnwind - This set contains all of the functions which we have

View File

@ -35,7 +35,7 @@ namespace {
Function *MallocFunc; // Functions in the module we are processing
Function *FreeFunc; // Initialized by doPassInitializationVirt
public:
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
RaiseAllocations()
: ModulePass((intptr_t)&ID), MallocFunc(0), FreeFunc(0) {}

View File

@ -152,7 +152,7 @@ public:
/// @brief A ModulePass for optimizing well-known function calls.
class VISIBILITY_HIDDEN SimplifyLibCalls : public ModulePass {
public:
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
SimplifyLibCalls() : ModulePass((intptr_t)&ID) {}
/// We need some target data for accurate signature details that are

View File

@ -27,7 +27,7 @@ namespace {
/// @brief Pass to remove unused function declarations.
class VISIBILITY_HIDDEN StripDeadPrototypesPass : public ModulePass {
public:
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
StripDeadPrototypesPass() : ModulePass((intptr_t)&ID) { }
virtual bool runOnModule(Module &M);
};

View File

@ -37,7 +37,7 @@ namespace {
class VISIBILITY_HIDDEN StripSymbols : public ModulePass {
bool OnlyDebugInfo;
public:
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
StripSymbols(bool ODI = false)
: ModulePass((intptr_t)&ID), OnlyDebugInfo(ODI) {}

View File

@ -33,7 +33,7 @@ namespace {
class VISIBILITY_HIDDEN EdgeProfiler : public ModulePass {
bool runOnModule(Module &M);
public:
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
EdgeProfiler() : ModulePass((intptr_t)&ID) {}
};

View File

@ -69,7 +69,7 @@ namespace {
/// measuring framework overhead
class VISIBILITY_HIDDEN NullProfilerRS : public RSProfilers {
public:
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
bool isProfiling(Value* v) {
return false;
}
@ -139,7 +139,7 @@ namespace {
/// ProfilerRS - Insert the random sampling framework
struct VISIBILITY_HIDDEN ProfilerRS : public FunctionPass {
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
ProfilerRS() : FunctionPass((intptr_t)&ID) {}
std::map<Value*, Value*> TransCache;

View File

@ -52,7 +52,7 @@ class VISIBILITY_HIDDEN ADCE : public FunctionPass {
// The public interface for this class
//
public:
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
ADCE() : FunctionPass((intptr_t)&ID) {}
// Execute the Aggressive Dead Code Elimination Algorithm

View File

@ -41,7 +41,7 @@ STATISTIC(NumMoved, "Number of basic blocks moved");
namespace {
struct VISIBILITY_HIDDEN BlockPlacement : public FunctionPass {
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
BlockPlacement() : FunctionPass((intptr_t)&ID) {}
virtual bool runOnFunction(Function &F);

View File

@ -39,7 +39,7 @@ namespace {
/// transformation profitability.
const TargetLowering *TLI;
public:
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
CodeGenPrepare(const TargetLowering *tli = 0) : FunctionPass((intptr_t)&ID),
TLI(tli) {}
bool runOnFunction(Function &F);

View File

@ -31,7 +31,7 @@ STATISTIC(NumSwThread, "Number of CFG edges threaded through switches");
namespace {
struct VISIBILITY_HIDDEN CondProp : public FunctionPass {
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
CondProp() : FunctionPass((intptr_t)&ID) {}
virtual bool runOnFunction(Function &F);

View File

@ -34,7 +34,7 @@ STATISTIC(NumInstKilled, "Number of instructions killed");
namespace {
struct VISIBILITY_HIDDEN ConstantPropagation : public FunctionPass {
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
ConstantPropagation() : FunctionPass((intptr_t)&ID) {}
bool runOnFunction(Function &F);

View File

@ -225,7 +225,7 @@ namespace {
std::map<BasicBlock*, RegionInfo> RegionInfoMap;
ETForest *EF;
public:
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
CEE() : FunctionPass((intptr_t)&ID) {}
virtual bool runOnFunction(Function &F);

View File

@ -35,7 +35,7 @@ namespace {
// DeadInstElimination pass implementation
//
struct VISIBILITY_HIDDEN DeadInstElimination : public BasicBlockPass {
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
DeadInstElimination() : BasicBlockPass(intptr_t(&ID)) {}
virtual bool runOnBasicBlock(BasicBlock &BB) {
bool Changed = false;
@ -67,7 +67,7 @@ namespace {
// DeadCodeElimination pass implementation
//
struct DCE : public FunctionPass {
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
DCE() : FunctionPass((intptr_t)&ID) {}
virtual bool runOnFunction(Function &F);

View File

@ -34,7 +34,7 @@ STATISTIC(NumOther , "Number of other instrs removed");
namespace {
struct VISIBILITY_HIDDEN DSE : public FunctionPass {
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
DSE() : FunctionPass((intptr_t)&ID) {}
virtual bool runOnFunction(Function &F) {

View File

@ -37,7 +37,7 @@ STATISTIC(NumArgsRepl , "Number of function arguments replaced "
"with constant values");
namespace {
struct VISIBILITY_HIDDEN GCSE : public FunctionPass {
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
GCSE() : FunctionPass((intptr_t)&ID) {}
virtual bool runOnFunction(Function &F);

View File

@ -69,7 +69,7 @@ namespace {
bool Changed;
public:
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
IndVarSimplify() : LoopPass((intptr_t)&ID) {}
bool runOnLoop(Loop *L, LPPassManager &LPM);

View File

@ -76,7 +76,7 @@ namespace {
TargetData *TD;
bool MustPreserveLCSSA;
public:
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
InstCombiner() : FunctionPass((intptr_t)&ID) {}
/// AddToWorkList - Add the specified instruction to the worklist if it

View File

@ -63,7 +63,7 @@ namespace {
cl::desc("Disable memory promotion in LICM pass"));
struct VISIBILITY_HIDDEN LICM : public LoopPass {
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
LICM() : LoopPass((intptr_t)&ID) {}
virtual bool runOnLoop(Loop *L, LPPassManager &LPM);

View File

@ -47,7 +47,7 @@ namespace {
/// had zero roots.
const Type *MainRootRecordType;
public:
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
LowerGC() : FunctionPass((intptr_t)&ID),
GCRootInt(0), GCReadInt(0), GCWriteInt(0),
GCRead(0), GCWrite(0), RootChain(0), MainRootRecordType(0) {}

View File

@ -40,7 +40,7 @@ namespace {
class VISIBILITY_HIDDEN LowerPacked
: public FunctionPass, public InstVisitor<LowerPacked> {
public:
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
LowerPacked() : FunctionPass((intptr_t)&ID) {}
/// @brief Lowers packed operations to scalar operations.

View File

@ -1989,7 +1989,7 @@ namespace {
std::vector<DominatorTree::Node *> WorkList;
public:
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
PredicateSimplifier() : FunctionPass((intptr_t)&ID) {}
bool runOnFunction(Function &F);

View File

@ -69,7 +69,7 @@ namespace {
std::map<Value*, unsigned> ValueRankMap;
bool MadeChange;
public:
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
Reassociate() : FunctionPass((intptr_t)&ID) {}
bool runOnFunction(Function &F);

View File

@ -33,7 +33,7 @@ STATISTIC(NumDemoted, "Number of registers demoted");
namespace {
struct VISIBILITY_HIDDEN RegToMem : public FunctionPass {
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
RegToMem() : FunctionPass((intptr_t)&ID) {}
virtual void getAnalysisUsage(AnalysisUsage &AU) const {

View File

@ -1334,7 +1334,7 @@ namespace {
/// Sparse Conditional Constant Propagator.
///
struct VISIBILITY_HIDDEN SCCP : public FunctionPass {
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
SCCP() : FunctionPass((intptr_t)&ID) {}
// runOnFunction - Run the Sparse Conditional Constant Propagation

View File

@ -47,7 +47,7 @@ STATISTIC(NumGlobals, "Number of allocas copied from constant global");
namespace {
struct VISIBILITY_HIDDEN SROA : public FunctionPass {
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
SROA() : FunctionPass((intptr_t)&ID) {}
bool runOnFunction(Function &F);

View File

@ -35,7 +35,7 @@ STATISTIC(NumSimpl, "Number of blocks simplified");
namespace {
struct VISIBILITY_HIDDEN CFGSimplifyPass : public FunctionPass {
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
CFGSimplifyPass() : FunctionPass((intptr_t)&ID) {}
virtual bool runOnFunction(Function &F);

View File

@ -43,7 +43,7 @@ namespace {
class VISIBILITY_HIDDEN TailDup : public FunctionPass {
bool runOnFunction(Function &F);
public:
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
TailDup() : FunctionPass((intptr_t)&ID) {}
private:

View File

@ -67,7 +67,7 @@ STATISTIC(NumAccumAdded, "Number of accumulators introduced");
namespace {
struct VISIBILITY_HIDDEN TailCallElim : public FunctionPass {
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
TailCallElim() : FunctionPass((intptr_t)&ID) {}
virtual bool runOnFunction(Function &F);

View File

@ -34,7 +34,7 @@ STATISTIC(NumBroken, "Number of blocks inserted");
namespace {
struct VISIBILITY_HIDDEN BreakCriticalEdges : public FunctionPass {
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
BreakCriticalEdges() : FunctionPass((intptr_t)&ID) {}
virtual bool runOnFunction(Function &F);

View File

@ -47,7 +47,7 @@ STATISTIC(NumLCSSA, "Number of live out of a loop variables");
namespace {
struct VISIBILITY_HIDDEN LCSSA : public FunctionPass {
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
LCSSA() : FunctionPass((intptr_t)&ID) {}
// Cached analysis information for the current function.

View File

@ -54,7 +54,7 @@ STATISTIC(NumNested , "Number of nested loops split out");
namespace {
struct VISIBILITY_HIDDEN LoopSimplify : public FunctionPass {
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
LoopSimplify() : FunctionPass((intptr_t)&ID) {}
// AA - If we have an alias analysis object to update, this is it, otherwise

View File

@ -75,7 +75,7 @@ namespace {
const TargetLowering *TLI;
public:
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
LowerInvoke(const TargetLowering *tli = NULL) : FunctionPass((intptr_t)&ID),
TLI(tli) { }
bool doInitialization(Module &M);

View File

@ -33,7 +33,7 @@ namespace {
class VISIBILITY_HIDDEN LowerSelect : public FunctionPass {
bool OnlyFP; // Only lower FP select instructions?
public:
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
LowerSelect(bool onlyfp = false) : FunctionPass((intptr_t)&ID),
OnlyFP(onlyfp) {}

View File

@ -30,7 +30,7 @@ namespace {
/// modifies the CFG!
class VISIBILITY_HIDDEN LowerSwitch : public FunctionPass {
public:
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
LowerSwitch() : FunctionPass((intptr_t) &ID) {}
virtual bool runOnFunction(Function &F);

View File

@ -27,7 +27,7 @@ STATISTIC(NumPromoted, "Number of alloca's promoted");
namespace {
struct VISIBILITY_HIDDEN PromotePass : public FunctionPass {
static char ID; // Pass identifcation, replacement for typeid
static char ID; // Pass identification, replacement for typeid
PromotePass() : FunctionPass((intptr_t)&ID) {}
// runOnFunction - To run this pass, first we calculate the alloca