Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/
DPassSupport.h36 PassInfo *PI = new PassInfo( \
38 PassInfo::NormalCtor_t(callDefaultCtor<passName>), cfg, analysis); \
56 PassInfo *PI = new PassInfo( \
58 PassInfo::NormalCtor_t(callDefaultCtor<passName>), cfg, analysis); \
91 template <typename passName> struct RegisterPass : public PassInfo {
95 : PassInfo(Name, PassArg, &passName::ID,
96 PassInfo::NormalCtor_t(callDefaultCtor<passName>), CFGOnly,
120 class RegisterAGBase : public PassInfo {
128 explicit RegisterAnalysisGroup(PassInfo &RPB) in RegisterAnalysisGroup()
139 PassInfo *AI = new PassInfo(name, &agName::ID); \
[all …]
DPassInfo.h31 class PassInfo {
42 std::vector<const PassInfo *> ItfImpl; // Interfaces implemented by this pass
48 PassInfo(StringRef name, StringRef arg, const void *pi, NormalCtor_t normal, in PassInfo() function
56 PassInfo(StringRef name, const void *pi) in PassInfo() function
59 PassInfo(const PassInfo &) = delete;
60 PassInfo &operator=(const PassInfo &) = delete;
108 void addInterfaceImplemented(const PassInfo *ItfPI) { in addInterfaceImplemented()
114 const std::vector<const PassInfo*> &getInterfacesImplemented() const { in getInterfacesImplemented()
DPassRegistry.h30 class PassInfo; variable
43 using MapType = DenseMap<const void *, const PassInfo *>;
46 using StringMapType = StringMap<const PassInfo *>;
49 std::vector<std::unique_ptr<const PassInfo>> ToFree;
63 const PassInfo *getPassInfo(const void *TI) const;
67 const PassInfo *getPassInfo(StringRef Arg) const;
71 void registerPass(const PassInfo &PI, bool ShouldFree = false);
77 PassInfo &Registeree, bool isDefault,
/external/llvm/include/llvm/
DPassSupport.h38 PassInfo *PI = new PassInfo( \
40 PassInfo::NormalCtor_t(callDefaultCtor<passName>), cfg, analysis); \
58 PassInfo *PI = new PassInfo( \
60 PassInfo::NormalCtor_t(callDefaultCtor<passName>), cfg, analysis); \
102 template <typename passName> struct RegisterPass : public PassInfo {
106 : PassInfo(Name, PassArg, &passName::ID,
107 PassInfo::NormalCtor_t(callDefaultCtor<passName>), CFGOnly,
132 class RegisterAGBase : public PassInfo {
140 explicit RegisterAnalysisGroup(PassInfo &RPB) in RegisterAnalysisGroup()
151 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.h40 class PassInfo; variable
183 static const PassInfo *lookupPassInfo(const void *TI);
187 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,
/external/swiftshader/third_party/llvm-7.0/llvm/tools/opt/
DPassPrinters.cpp33 const PassInfo *PassToPrint;
39 FunctionPassPrinter(const PassInfo *PI, raw_ostream &out, bool Quiet) in FunctionPassPrinter()
67 const PassInfo *PassToPrint;
72 CallGraphSCCPassPrinter(const PassInfo *PI, raw_ostream &out, bool Quiet) in CallGraphSCCPassPrinter()
104 const PassInfo *PassToPrint;
109 ModulePassPrinter(const PassInfo *PI, raw_ostream &out, bool Quiet) in ModulePassPrinter()
136 const PassInfo *PassToPrint;
141 LoopPassPrinter(const PassInfo *PI, raw_ostream &out, bool Quiet) in LoopPassPrinter()
169 const PassInfo *PassToPrint;
174 RegionPassPrinter(const PassInfo *PI, raw_ostream &out, bool Quiet) in RegionPassPrinter()
[all …]
DPassPrinters.h27 class PassInfo; variable
32 FunctionPass *createFunctionPassPrinter(const PassInfo *PI, raw_ostream &out,
35 CallGraphSCCPass *createCallGraphPassPrinter(const PassInfo *PI,
38 ModulePass *createModulePassPrinter(const PassInfo *PI, raw_ostream &out,
41 LoopPass *createLoopPassPrinter(const PassInfo *PI, raw_ostream &out,
44 RegionPass *createRegionPassPrinter(const PassInfo *PI, raw_ostream &out,
47 BasicBlockPass *createBasicBlockPassPrinter(const PassInfo *PI,
/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()
/external/swiftshader/third_party/llvm-7.0/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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DPassRegistry.cpp42 const PassInfo *PassRegistry::getPassInfo(const void *TI) const { in getPassInfo()
48 const PassInfo *PassRegistry::getPassInfo(StringRef Arg) const { in getPassInfo()
58 void PassRegistry::registerPass(const PassInfo &PI, bool ShouldFree) { in registerPass()
71 ToFree.push_back(std::unique_ptr<const PassInfo>(&PI)); in registerPass()
83 PassInfo &Registeree, bool isDefault, in registerAnalysisGroup()
85 PassInfo *InterfaceInfo = const_cast<PassInfo *>(getPassInfo(InterfaceID)); in registerAnalysisGroup()
95 PassInfo *ImplementationInfo = const_cast<PassInfo *>(getPassInfo(PassID)); in registerAnalysisGroup()
116 ToFree.push_back(std::unique_ptr<const PassInfo>(&Registeree)); in registerAnalysisGroup()
DPass.cpp77 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(AID); in getPassName()
209 const PassInfo *Pass::lookupPassInfo(const void *TI) { in lookupPassInfo()
213 const PassInfo *Pass::lookupPassInfo(StringRef Arg) { in lookupPassInfo()
218 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(ID); in createPass()
232 : PassInfo(Name, InterfaceID) { in RegisterAGBase()
248 : cl::parser<const PassInfo *>(O) { in PassNameParser()
270 void passEnumerate(const PassInfo *P) override { in passEnumerate()
293 const PassInfo *PI = Pass::lookupPassInfo(Arg); in addPreserved()
DLegacyPassManager.cpp64 typedef llvm::cl::list<const llvm::PassInfo *, bool, PassNameParser>
102 static bool ShouldPrintBeforeOrAfterPass(const PassInfo *PI, in ShouldPrintBeforeOrAfterPass()
115 static bool ShouldPrintBeforePass(const PassInfo *PI) { in ShouldPrintBeforePass()
121 static bool ShouldPrintAfterPass(const PassInfo *PI) { in ShouldPrintAfterPass()
543 if (const PassInfo *PI = Pass::lookupPassInfo(P->getPassID())) in getPassTimer()
678 const PassInfo *PI = findAnalysisPassInfo(P->getPassID()); in schedulePass()
695 const PassInfo *PI = findAnalysisPassInfo(ID); in schedulePass()
788 const PassInfo *PMTopLevelManager::findAnalysisPassInfo(AnalysisID AID) const { in findAnalysisPassInfo()
789 const PassInfo *&PI = AnalysisPassInfos[AID]; in findAnalysisPassInfo()
811 const PassInfo *PassInf = findAnalysisPassInfo(AID); in addImmutablePass()
[all …]
/external/llvm/lib/IR/
DPassRegistry.cpp37 const PassInfo *PassRegistry::getPassInfo(const void *TI) const { in getPassInfo()
43 const PassInfo *PassRegistry::getPassInfo(StringRef Arg) const { in getPassInfo()
53 void PassRegistry::registerPass(const PassInfo &PI, bool ShouldFree) { in registerPass()
66 ToFree.push_back(std::unique_ptr<const PassInfo>(&PI)); in registerPass()
78 PassInfo &Registeree, bool isDefault, in registerAnalysisGroup()
80 PassInfo *InterfaceInfo = const_cast<PassInfo *>(getPassInfo(InterfaceID)); in registerAnalysisGroup()
90 PassInfo *ImplementationInfo = const_cast<PassInfo *>(getPassInfo(PassID)); in registerAnalysisGroup()
113 ToFree.push_back(std::unique_ptr<const PassInfo>(&Registeree)); in registerAnalysisGroup()
DPass.cpp69 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(AID); in getPassName()
200 const PassInfo *Pass::lookupPassInfo(const void *TI) { in lookupPassInfo()
204 const PassInfo *Pass::lookupPassInfo(StringRef Arg) { in lookupPassInfo()
209 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(ID); in createPass()
223 : PassInfo(Name, InterfaceID) { in RegisterAGBase()
240 : cl::parser<const PassInfo *>(O) { in PassNameParser()
260 void passEnumerate(const PassInfo *P) override { in passEnumerate()
283 const PassInfo *PI = Pass::lookupPassInfo(Arg); in addPreserved()
DLegacyPassManager.cpp63 typedef llvm::cl::list<const llvm::PassInfo *, bool, PassNameParser>
97 static bool ShouldPrintBeforeOrAfterPass(const PassInfo *PI, in ShouldPrintBeforeOrAfterPass()
110 static bool ShouldPrintBeforePass(const PassInfo *PI) { in ShouldPrintBeforePass()
116 static bool ShouldPrintAfterPass(const PassInfo *PI) { in ShouldPrintAfterPass()
613 const PassInfo *PI = findAnalysisPassInfo(P->getPassID()); in schedulePass()
631 const PassInfo *PI = findAnalysisPassInfo(*I); in schedulePass()
723 const PassInfo *PMTopLevelManager::findAnalysisPassInfo(AnalysisID AID) const { in findAnalysisPassInfo()
724 const PassInfo *&PI = AnalysisPassInfos[AID]; in findAnalysisPassInfo()
746 const PassInfo *PassInf = findAnalysisPassInfo(AID); in addImmutablePass()
748 for (const PassInfo *ImmPI : PassInf->getInterfacesImplemented()) in addImmutablePass()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dcompilation_stats.cc52 struct PassInfo { struct in xla::Stats
53 PassInfo(absl::string_view name, double duration) in PassInfo() function
62 std::vector<PassInfo> passes_;
94 passes_.push_back(PassInfo(current_pass_, duration_ms)); in EndPass()
99 absl::flat_hash_map<absl::string_view, PassInfo> summary; in CompilationReport()
114 std::vector<PassInfo> sorted_summary; in CompilationReport()
119 absl::c_sort(sorted_summary, [](const PassInfo& a, const PassInfo& b) { in CompilationReport()
/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/swiftshader/third_party/llvm-7.0/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.h389 PassInfo *PI = new PassInfo( \
391 PassInfo::NormalCtor_t(callDefaultCtor<passName>), cfg, analysis, \
392 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()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/bugpoint/
Dbugpoint.cpp66 static cl::list<const PassInfo *, bool, PassNameParser>
107 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(ID); in add()
206 for (const PassInfo *PI : PassList) in main()

12