Home
last modified time | relevance | path

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

/external/llvm/include/llvm/
DPassSupport.h39 class PassInfo {
50 std::vector<const PassInfo*> ItfImpl;// Interfaces implemented by this pass
57 PassInfo(const char *name, const char *arg, const void *pi, in PassInfo() function
65 PassInfo(const char *name, const void *pi) in PassInfo() function
117 void addInterfaceImplemented(const PassInfo *ItfPI) { in addInterfaceImplemented()
124 const std::vector<const PassInfo*> &getInterfacesImplemented() const { in getInterfacesImplemented()
129 void operator=(const PassInfo &); // do not implement
130 PassInfo(const PassInfo &); // do not implement
155 PassInfo *PI = new PassInfo(name, arg, & passName ::ID, \
156 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.h141 RegisterDefaultPass(PassInfo::NormalCtor_t(callDefaultCtor<passName>),
159 static void RegisterDefaultPass(PassInfo::NormalCtor_t constructor,
/external/llvm/lib/VMCore/
DPassRegistry.cpp47 typedef DenseMap<const void*, const PassInfo*> MapType;
50 typedef StringMap<const PassInfo*> StringMapType;
55 SmallPtrSet<const PassInfo *, 8> Implementations;
57 DenseMap<const PassInfo*, AnalysisGroupInfo> AnalysisGroupInfoMap;
59 std::vector<const PassInfo*> ToFree;
78 for (std::vector<const PassInfo*>::iterator I = Impl->ToFree.begin(), in ~PassRegistry()
86 const PassInfo *PassRegistry::getPassInfo(const void *TI) const { in getPassInfo()
93 const PassInfo *PassRegistry::getPassInfo(StringRef Arg) const { in getPassInfo()
105 void PassRegistry::registerPass(const PassInfo &PI, bool ShouldFree) { in registerPass()
122 void PassRegistry::unregisterPass(const PassInfo &PI) { in unregisterPass()
[all …]
DPass.cpp60 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(AID); in getPassName()
184 const PassInfo *Pass::lookupPassInfo(const void *TI) { in lookupPassInfo()
188 const PassInfo *Pass::lookupPassInfo(StringRef Arg) { in lookupPassInfo()
193 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(ID); in createPass()
199 Pass *PassInfo::createPass() const { in createPass()
215 : PassInfo(Name, InterfaceID) { in RegisterAGBase()
254 void passEnumerate(const PassInfo *P) { in passEnumerate()
277 const PassInfo *PI = Pass::lookupPassInfo(Arg); in addPreserved()
DPassManager.cpp59 typedef llvm::cl::list<const llvm::PassInfo *, bool, PassNameParser>
85 static bool ShouldPrintBeforeOrAfterPass(const PassInfo *PI, in ShouldPrintBeforeOrAfterPass()
88 const llvm::PassInfo *PassInf = PassesToPrint[i]; in ShouldPrintBeforeOrAfterPass()
99 static bool ShouldPrintBeforePass(const PassInfo *PI) { in ShouldPrintBeforePass()
105 static bool ShouldPrintAfterPass(const PassInfo *PI) { in ShouldPrintAfterPass()
576 const PassInfo *PI = in schedulePass()
595 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(*I); in schedulePass()
694 const PassInfo *PassInf = in findAnalysisPass()
697 const std::vector<const PassInfo*> &ImmPI = in findAnalysisPass()
699 for (std::vector<const PassInfo*>::const_iterator II = ImmPI.begin(), in findAnalysisPass()
[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>
160 const PassInfo *PassToPrint;
164 CallGraphSCCPassPrinter(const PassInfo *PI, raw_ostream &out) : in CallGraphSCCPassPrinter()
196 const PassInfo *PassToPrint;
200 ModulePassPrinter(const PassInfo *PI, raw_ostream &out) in ModulePassPrinter()
225 const PassInfo *PassToPrint;
230 FunctionPassPrinter(const PassInfo *PI, raw_ostream &out) in FunctionPassPrinter()
259 const PassInfo *PassToPrint;
263 LoopPassPrinter(const PassInfo *PI, raw_ostream &out) : in LoopPassPrinter()
292 const PassInfo *PassToPrint;
[all …]
/external/llvm/tools/bugpoint/
Dbugpoint.cpp62 static cl::list<const PassInfo*, bool, PassNameParser>
106 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(ID); in add()
190 for (std::vector<const PassInfo*>::iterator I = PassList.begin(), in main()
193 const PassInfo* PI = *I; in main()
DBugDriver.h27 class PassInfo; variable
114 bool debugPassMiscompilation(const PassInfo *ThePass,
/external/llvm/include/llvm/Analysis/
DPasses.h24 class PassInfo; variable
/external/llvm/include/llvm/Transforms/
DScalar.h23 class PassInfo; variable
/external/llvm/include/llvm/CodeGen/
DPasses.h26 class PassInfo; variable
/external/llvm/tools/llc/
Dllc.cpp532 const PassInfo *PI = PR->getPassInfo(StartAfter); in main()
540 const PassInfo *PI = PR->getPassInfo(StopAfter); in main()
/external/llvm/lib/CodeGen/
DPasses.cpp447 const PassInfo *TPI = PR->getPassInfo(PrintMachineInstrs.getValue()); in addMachinePasses()
448 const PassInfo *IPI = PR->getPassInfo(StringRef("print-machineinstrs")); in addMachinePasses()