Home
last modified time | relevance | path

Searched refs:PassInfo (Results 1 – 18 of 18) 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 &) LLVM_DELETED_FUNCTION;
130 PassInfo(const PassInfo &) LLVM_DELETED_FUNCTION;
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.h41 class PassInfo; variable
183 static const PassInfo *lookupPassInfo(const void *TI);
187 static const PassInfo *lookupPassInfo(StringRef Arg);
/external/llvm/lib/IR/
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()
163 const PassInfo *Pass::lookupPassInfo(const void *TI) { in lookupPassInfo()
167 const PassInfo *Pass::lookupPassInfo(StringRef Arg) { in lookupPassInfo()
172 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(ID); in createPass()
178 Pass *PassInfo::createPass() const { in createPass()
194 : PassInfo(Name, InterfaceID) { in RegisterAGBase()
233 void passEnumerate(const PassInfo *P) { in passEnumerate()
256 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()
598 const PassInfo *PI = in schedulePass()
617 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(*I); in schedulePass()
714 const PassInfo *PassInf = in findAnalysisPass()
717 const std::vector<const PassInfo*> &ImmPI = in findAnalysisPass()
719 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.cpp54 static cl::list<const PassInfo*, bool, PassNameParser>
164 const PassInfo *PassToPrint;
168 CallGraphSCCPassPrinter(const PassInfo *PI, raw_ostream &out) : in CallGraphSCCPassPrinter()
200 const PassInfo *PassToPrint;
204 ModulePassPrinter(const PassInfo *PI, raw_ostream &out) in ModulePassPrinter()
229 const PassInfo *PassToPrint;
234 FunctionPassPrinter(const PassInfo *PI, raw_ostream &out) in FunctionPassPrinter()
263 const PassInfo *PassToPrint;
267 LoopPassPrinter(const PassInfo *PI, raw_ostream &out) : in LoopPassPrinter()
296 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()
191 for (std::vector<const PassInfo*>::iterator I = PassList.begin(), in main()
194 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/tools/llc/
Dllc.cpp349 const PassInfo *PI = PR->getPassInfo(StartAfter); in compileModule()
357 const PassInfo *PI = PR->getPassInfo(StopAfter); in compileModule()
/external/llvm/include/llvm/CodeGen/
DPasses.h26 class PassInfo; variable
/external/llvm/lib/CodeGen/
DPasses.cpp450 const PassInfo *TPI = PR->getPassInfo(PrintMachineInstrs.getValue()); in addMachinePasses()
451 const PassInfo *IPI = PR->getPassInfo(StringRef("print-machineinstrs")); in addMachinePasses()
/external/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp1564 PassInfo *PI = new PassInfo(Name, "ppc-codegen", &SelectionDAGISel::ID, 0, in initializePassOnce()
/external/llvm/lib/Target/Hexagon/
DHexagonISelDAGToDAG.cpp139 PassInfo *PI = new PassInfo(Name, "hexagon-isel", in initializePassOnce()