Home
last modified time | relevance | path

Searched refs:PassInfo (Results 1 – 16 of 16) sorted by relevance

/external/llvm/include/llvm/
DPassSupport.h38 class PassInfo {
49 std::vector<const PassInfo*> ItfImpl;// Interfaces implemented by this pass
56 PassInfo(const char *name, const char *arg, const void *pi, in PassInfo() function
64 PassInfo(const char *name, const void *pi) in PassInfo() function
116 void addInterfaceImplemented(const PassInfo *ItfPI) { in addInterfaceImplemented()
123 const std::vector<const PassInfo*> &getInterfacesImplemented() const { in getInterfacesImplemented()
128 void operator=(const PassInfo &); // do not implement
129 PassInfo(const PassInfo &); // do not implement
150 PassInfo *PI = new PassInfo(name, arg, & passName ::ID, \
151 PassInfo::NormalCtor_t(callDefaultCtor< passName >), cfg, analysis); \
[all …]
DPassRegistry.h24 class PassInfo; variable
48 const PassInfo *getPassInfo(const void *TI) const;
52 const PassInfo *getPassInfo(StringRef Arg) const;
56 void registerPass(const PassInfo &PI, bool ShouldFree = false);
60 void unregisterPass(const PassInfo &PI);
66 PassInfo& Registeree, bool isDefault,
DPass.h40 class PassInfo; variable
172 static const PassInfo *lookupPassInfo(const void *TI);
176 static const PassInfo *lookupPassInfo(StringRef Arg);
DDefaultPasses.h139 RegisterDefaultPass(PassInfo::NormalCtor_t(callDefaultCtor<passName>),
157 static void RegisterDefaultPass(PassInfo::NormalCtor_t constructor,
/external/llvm/lib/VMCore/
DPassRegistry.cpp46 typedef DenseMap<const void*, const PassInfo*> MapType;
49 typedef StringMap<const PassInfo*> StringMapType;
54 SmallPtrSet<const PassInfo *, 8> Implementations;
56 DenseMap<const PassInfo*, AnalysisGroupInfo> AnalysisGroupInfoMap;
58 std::vector<const PassInfo*> ToFree;
77 for (std::vector<const PassInfo*>::iterator I = Impl->ToFree.begin(), in ~PassRegistry()
85 const PassInfo *PassRegistry::getPassInfo(const void *TI) const { in getPassInfo()
92 const PassInfo *PassRegistry::getPassInfo(StringRef Arg) const { in getPassInfo()
104 void PassRegistry::registerPass(const PassInfo &PI, bool ShouldFree) { in registerPass()
121 void PassRegistry::unregisterPass(const PassInfo &PI) { in unregisterPass()
[all …]
DPass.cpp62 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(AID); in getPassName()
187 const PassInfo *Pass::lookupPassInfo(const void *TI) { in lookupPassInfo()
191 const PassInfo *Pass::lookupPassInfo(StringRef Arg) { in lookupPassInfo()
195 Pass *PassInfo::createPass() const { in createPass()
211 : PassInfo(Name, InterfaceID) { in RegisterAGBase()
250 void passEnumerate(const PassInfo *P) { in passEnumerate()
273 const PassInfo *PI = Pass::lookupPassInfo(Arg); in addPreserved()
DPassManager.cpp62 typedef llvm::cl::list<const llvm::PassInfo *, bool, PassNameParser>
90 if (const llvm::PassInfo *PI = in ShouldPrintBeforeOrAfterPass()
93 const llvm::PassInfo *PassInf = PassesToPrint[i]; in ShouldPrintBeforeOrAfterPass()
615 const PassInfo *PI = in schedulePass()
634 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(*I); in schedulePass()
688 const PassInfo *PassInf = in findAnalysisPass()
691 const std::vector<const PassInfo*> &ImmPI = in findAnalysisPass()
693 for (std::vector<const PassInfo*>::const_iterator II = ImmPI.begin(), in findAnalysisPass()
731 if (const PassInfo *PI = in dumpArguments()
796 const PassInfo *PInf = PassRegistry::getPassRegistry()->getPassInfo(PI); in recordAvailableAnalysis()
[all …]
/external/llvm/include/llvm/Support/
DPassNameParser.h40 public cl::parser<const PassInfo*> {
48 cl::parser<const PassInfo*>::initialize(O); in initialize()
57 virtual bool ignorablePassImpl(const PassInfo *P) const { return false; } in ignorablePassImpl()
59 inline bool ignorablePass(const PassInfo *P) const { in ignorablePass()
68 virtual void passRegistered(const PassInfo *P) { in passRegistered()
77 virtual void passEnumerate(const PassInfo *P) { passRegistered(P); } in passEnumerate()
84 cl::parser<const PassInfo*>::printOptionInfo(O, GlobalWidth); in printOptionInfo()
108 bool ignorablePassImpl(const PassInfo *P) const { return !filter(*P); } in ignorablePassImpl()
130 bool operator()(const PassInfo &P) const { in operator()
/external/llvm/test/Transforms/IndVarSimplify/
D2004-04-05-InvokeCastCrash.ll36 …"struct.llvm::PassInfo"*, %"struct.std::vector<std::pair<const llvm::PassInfo*, llvm::Pass*>,std::…
37 ….llvm::PassInfo" = type { i8*, i8*, %"struct.std::type_info"*, i8, %"struct.std::vector<const llvm…
66 …vm::PassInfo*,std::allocator<const llvm::PassInfo*>, true>" = type { %"struct.llvm::PassInfo"**, %…
73PassInfo*, llvm::Pass*>,std::allocator<std::pair<const llvm::PassInfo*, llvm::Pass*> >, true>" = t…
76 …:PassInfo*,std::allocator<const llvm::PassInfo*> >" = type { %"struct.std::_Vector_alloc_base<cons…
83PassInfo*, llvm::Pass*>,std::allocator<std::pair<const llvm::PassInfo*, llvm::Pass*> > >" = type {…
86 …%"struct.std::pair<const llvm::PassInfo*,llvm::Pass*>" = type { %"struct.llvm::PassInfo"*, %"struc…
91 …vm::PassInfo*,std::allocator<const llvm::PassInfo*> >" = type { %"struct.std::_Vector_base<const l…
98PassInfo*, llvm::Pass*>,std::allocator<std::pair<const llvm::PassInfo*, llvm::Pass*> > >" = type {…
/external/llvm/tools/opt/
Dopt.cpp50 static cl::list<const PassInfo*, bool, PassNameParser>
149 const PassInfo *PassToPrint;
153 CallGraphSCCPassPrinter(const PassInfo *PI, raw_ostream &out) : in CallGraphSCCPassPrinter()
185 const PassInfo *PassToPrint;
189 ModulePassPrinter(const PassInfo *PI, raw_ostream &out) in ModulePassPrinter()
214 const PassInfo *PassToPrint;
219 FunctionPassPrinter(const PassInfo *PI, raw_ostream &out) in FunctionPassPrinter()
248 const PassInfo *PassToPrint;
252 LoopPassPrinter(const PassInfo *PI, raw_ostream &out) : in LoopPassPrinter()
281 const PassInfo *PassToPrint;
[all …]
/external/llvm/tools/bugpoint/
Dbugpoint.cpp61 static cl::list<const PassInfo*, bool, PassNameParser>
105 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(ID); in add()
188 for (std::vector<const PassInfo*>::iterator I = PassList.begin(), in main()
191 const PassInfo* PI = *I; in main()
DBugDriver.h27 class PassInfo; variable
114 bool debugPassMiscompilation(const PassInfo *ThePass,
/external/llvm/tools/llvm-ld/
DOptimize.cpp26 static cl::list<const PassInfo*, bool, PassNameParser>
101 const PassInfo *Opt = OptimizationList[i]; in Optimize()
/external/llvm/include/llvm/Analysis/
DPasses.h24 class PassInfo; variable
/external/llvm/include/llvm/CodeGen/
DPasses.h25 class PassInfo; variable
/external/llvm/include/llvm/Transforms/
DScalar.h23 class PassInfo; variable