Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/
DPassSupport.h58 PassInfo *PI = new PassInfo(name, arg, & passName ::ID, \
59 PassInfo::NormalCtor_t(callDefaultCtor< passName >), cfg, analysis); \
76 PassInfo *PI = new PassInfo(name, arg, & passName ::ID, \
77 PassInfo::NormalCtor_t(callDefaultCtor< passName >), cfg, analysis); \
119 struct RegisterPass : public PassInfo {
124 : PassInfo(Name, PassArg, &passName::ID,
125 PassInfo::NormalCtor_t(callDefaultCtor<passName>),
151 class RegisterAGBase : public PassInfo {
161 explicit RegisterAnalysisGroup(PassInfo &RPB) in RegisterAnalysisGroup()
175 PassInfo *AI = new PassInfo(name, & agName :: ID); \
[all …]
DPassRegistry.h31 class PassInfo; variable
44 typedef DenseMap<const void *, const PassInfo *> MapType;
47 typedef StringMap<const PassInfo *> StringMapType;
50 std::vector<std::unique_ptr<const PassInfo>> ToFree;
64 const PassInfo *getPassInfo(const void *TI) const;
68 const PassInfo *getPassInfo(StringRef Arg) const;
72 void registerPass(const PassInfo &PI, bool ShouldFree = false);
78 PassInfo &Registeree, bool isDefault,
DPassInfo.h30 class PassInfo {
42 std::vector<const PassInfo *> ItfImpl; // Interfaces implemented by this pass
50 PassInfo(const char *name, const char *arg, const void *pi,
59 PassInfo(const char *name, const void *pi) in PassInfo() function
125 void addInterfaceImplemented(const PassInfo *ItfPI) { in addInterfaceImplemented()
132 const std::vector<const PassInfo*> &getInterfacesImplemented() const { in getInterfacesImplemented()
137 void operator=(const PassInfo &) = delete;
138 PassInfo(const PassInfo &) = delete;
DPass.h41 class PassInfo; variable
184 static const PassInfo *lookupPassInfo(const void *TI);
188 static const PassInfo *lookupPassInfo(StringRef Arg);
/external/llvm/tools/opt/
DPassPrinters.cpp27 const PassInfo *PassToPrint;
33 FunctionPassPrinter(const PassInfo *PI, raw_ostream &out, bool Quiet) in FunctionPassPrinter()
61 const PassInfo *PassToPrint;
66 CallGraphSCCPassPrinter(const PassInfo *PI, raw_ostream &out, bool Quiet) in CallGraphSCCPassPrinter()
98 const PassInfo *PassToPrint;
103 ModulePassPrinter(const PassInfo *PI, raw_ostream &out, bool Quiet) in ModulePassPrinter()
130 const PassInfo *PassToPrint;
135 LoopPassPrinter(const PassInfo *PI, raw_ostream &out, bool Quiet) in LoopPassPrinter()
163 const PassInfo *PassToPrint;
168 RegionPassPrinter(const PassInfo *PI, raw_ostream &out, bool Quiet) in RegionPassPrinter()
[all …]
DPassPrinters.h24 class PassInfo; variable
28 FunctionPass *createFunctionPassPrinter(const PassInfo *PI, raw_ostream &out,
31 CallGraphSCCPass *createCallGraphPassPrinter(const PassInfo *PI,
34 ModulePass *createModulePassPrinter(const PassInfo *PI, raw_ostream &out,
37 LoopPass *createLoopPassPrinter(const PassInfo *PI, raw_ostream &out,
40 RegionPass *createRegionPassPrinter(const PassInfo *PI, raw_ostream &out,
43 BasicBlockPass *createBasicBlockPassPrinter(const PassInfo *PI,
Dopt.cpp63 static cl::list<const PassInfo*, bool, PassNameParser>
518 const PassInfo *PassInf = PassList[i]; in main()
/external/llvm/include/llvm/IR/
DLegacyPassNameParser.h43 public cl::parser<const PassInfo*> {
49 cl::parser<const PassInfo*>::initialize(); in initialize()
58 virtual bool ignorablePassImpl(const PassInfo *P) const { return false; } in ignorablePassImpl()
60 inline bool ignorablePass(const PassInfo *P) const { in ignorablePass()
69 void passRegistered(const PassInfo *P) override { in passRegistered()
78 void passEnumerate(const PassInfo *P) override { passRegistered(P); } in passEnumerate()
85 cl::parser<const PassInfo*>::printOptionInfo(O, GlobalWidth); in printOptionInfo()
108 bool ignorablePassImpl(const PassInfo *P) const override { in ignorablePassImpl()
132 bool operator()(const PassInfo &P) const { in operator()
DLegacyPassManagers.h199 const PassInfo *findAnalysisPassInfo(AnalysisID AID) const;
296 mutable DenseMap<AnalysisID, const PassInfo *> AnalysisPassInfos;
/external/llvm/lib/IR/
DPassRegistry.cpp41 const PassInfo *PassRegistry::getPassInfo(const void *TI) const { in getPassInfo()
47 const PassInfo *PassRegistry::getPassInfo(StringRef Arg) const { in getPassInfo()
57 void PassRegistry::registerPass(const PassInfo &PI, bool ShouldFree) { in registerPass()
70 ToFree.push_back(std::unique_ptr<const PassInfo>(&PI)); in registerPass()
82 PassInfo &Registeree, bool isDefault, in registerAnalysisGroup()
84 PassInfo *InterfaceInfo = const_cast<PassInfo *>(getPassInfo(InterfaceID)); in registerAnalysisGroup()
94 PassInfo *ImplementationInfo = const_cast<PassInfo *>(getPassInfo(PassID)); in registerAnalysisGroup()
117 ToFree.push_back(std::unique_ptr<const PassInfo>(&Registeree)); in registerAnalysisGroup()
DPass.cpp63 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()
196 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(ID); in createPass()
210 : PassInfo(Name, InterfaceID) { in RegisterAGBase()
227 : cl::parser<const PassInfo *>(O) { in PassNameParser()
247 void passEnumerate(const PassInfo *P) override { in passEnumerate()
270 const PassInfo *PI = Pass::lookupPassInfo(Arg); in addPreserved()
DLegacyPassManager.cpp62 typedef llvm::cl::list<const llvm::PassInfo *, bool, PassNameParser>
89 static bool ShouldPrintBeforeOrAfterPass(const PassInfo *PI, in ShouldPrintBeforeOrAfterPass()
102 static bool ShouldPrintBeforePass(const PassInfo *PI) { in ShouldPrintBeforePass()
108 static bool ShouldPrintAfterPass(const PassInfo *PI) { in ShouldPrintAfterPass()
617 const PassInfo *PI = findAnalysisPassInfo(P->getPassID()); in schedulePass()
635 const PassInfo *PI = findAnalysisPassInfo(*I); in schedulePass()
727 const PassInfo *PMTopLevelManager::findAnalysisPassInfo(AnalysisID AID) const { in findAnalysisPassInfo()
728 const PassInfo *&PI = AnalysisPassInfos[AID]; in findAnalysisPassInfo()
750 const PassInfo *PassInf = findAnalysisPassInfo(AID); in addImmutablePass()
752 for (const PassInfo *ImmPI : PassInf->getInterfacesImplemented()) in addImmutablePass()
[all …]
/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/include/llvm/CodeGen/
DPasses.h27 class PassInfo; variable
666 PassInfo *PI = new PassInfo(name, arg, & passName ::ID, \
667 PassInfo::NormalCtor_t(callDefaultCtor< passName >), cfg, analysis, \
668 PassInfo::TargetMachineCtor_t(callTargetMachineCtor< passName >)); \
/external/llvm/tools/bugpoint/
Dbugpoint.cpp62 static cl::list<const PassInfo*, bool, PassNameParser>
102 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(ID); in add()
187 for (const PassInfo *PI : PassList) in main()
DBugDriver.h28 class PassInfo; variable
115 bool debugPassMiscompilation(const PassInfo *ThePass,
/external/llvm/unittests/Analysis/
DCFGTest.cpp72 PassInfo *PI = new PassInfo("isPotentiallyReachable testing pass", in ExpectPath()
/external/llvm/lib/Target/Hexagon/
DHexagonCFGOptimizer.cpp236 PassInfo *PI = new PassInfo("Hexagon CFG Optimizer", "hexagon-cfg", in initializePassOnce()
DHexagonExpandPredSpillCode.cpp344 PassInfo *PI = new PassInfo(Name, "hexagon-spill-pred", in initializePassOnce()
DHexagonExpandCondsets.cpp1345 PassInfo *PI = new PassInfo(Name, "expand-condsets", in initializePassOnce()
DHexagonISelDAGToDAG.cpp199 PassInfo *PI = new PassInfo(Name, "hexagon-isel", in initializePassOnce()
/external/llvm/tools/llc/
Dllc.cpp357 const PassInfo *PI = PR->getPassInfo(RunPass); in compileModule()
365 const PassInfo *PI = PR->getPassInfo(StartAfter); in compileModule()
373 const PassInfo *PI = PR->getPassInfo(StopAfter); in compileModule()
/external/llvm/include/llvm/Analysis/
DPasses.h24 class PassInfo; variable
/external/llvm/include/llvm/Transforms/
DScalar.h29 class PassInfo; variable
/external/llvm/lib/CodeGen/
DPasses.cpp522 const PassInfo *TPI = PR->getPassInfo(PrintMachineInstrs.getValue()); in addMachinePasses()
523 const PassInfo *IPI = PR->getPassInfo(StringRef("machineinstr-printer")); in addMachinePasses()

12