Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/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,
/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;
/external/swiftshader/third_party/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.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()
/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/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/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/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()
/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()
/external/swiftshader/third_party/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/swiftshader/third_party/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/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/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 …]

123