Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/
DPassSupport.h35 PassInfo *PI = new PassInfo( \
37 PassInfo::NormalCtor_t(callDefaultCtor<passName>), cfg, analysis); \
55 PassInfo *PI = new PassInfo( \
57 PassInfo::NormalCtor_t(callDefaultCtor<passName>), cfg, analysis); \
90 template <typename passName> struct RegisterPass : public PassInfo {
94 : PassInfo(Name, PassArg, &passName::ID,
95 PassInfo::NormalCtor_t(callDefaultCtor<passName>), CFGOnly,
119 class RegisterAGBase : public PassInfo {
127 explicit RegisterAnalysisGroup(PassInfo &RPB) in RegisterAnalysisGroup()
138 PassInfo *AI = new PassInfo(name, &agName::ID); \
[all …]
DPassInfo.h30 class PassInfo {
41 std::vector<const PassInfo *> ItfImpl; // Interfaces implemented by this pass
47 PassInfo(StringRef name, StringRef arg, const void *pi, NormalCtor_t normal, in PassInfo() function
55 PassInfo(StringRef name, const void *pi) in PassInfo() function
58 PassInfo(const PassInfo &) = delete;
59 PassInfo &operator=(const PassInfo &) = delete;
107 void addInterfaceImplemented(const PassInfo *ItfPI) { in addInterfaceImplemented()
113 const std::vector<const PassInfo*> &getInterfacesImplemented() const { in getInterfacesImplemented()
DPassRegistry.h29 class PassInfo; variable
42 using MapType = DenseMap<const void *, const PassInfo *>;
45 using StringMapType = StringMap<const PassInfo *>;
48 std::vector<std::unique_ptr<const PassInfo>> ToFree;
62 const PassInfo *getPassInfo(const void *TI) const;
66 const PassInfo *getPassInfo(StringRef Arg) const;
70 void registerPass(const PassInfo &PI, bool ShouldFree = false);
76 PassInfo &Registeree, bool isDefault,
DPass.h42 class PassInfo; variable
174 static const PassInfo *lookupPassInfo(const void *TI);
178 static const PassInfo *lookupPassInfo(StringRef Arg);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DLegacyPassNameParser.h42 public cl::parser<const PassInfo*> {
48 cl::parser<const PassInfo*>::initialize(); 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 void passRegistered(const PassInfo *P) override { in passRegistered()
77 void passEnumerate(const PassInfo *P) override { passRegistered(P); } in passEnumerate()
84 cl::parser<const PassInfo*>::printOptionInfo(O, GlobalWidth); in printOptionInfo()
107 bool ignorablePassImpl(const PassInfo *P) const override { in ignorablePassImpl()
131 bool operator()(const PassInfo &P) const { in operator()
DLegacyPassManagers.h192 const PassInfo *findAnalysisPassInfo(AnalysisID AID) const;
289 mutable DenseMap<AnalysisID, const PassInfo *> AnalysisPassInfos;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/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()
115 ToFree.push_back(std::unique_ptr<const PassInfo>(&Registeree)); in registerAnalysisGroup()
DPass.cpp81 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(AID); in getPassName()
179 const PassInfo *Pass::lookupPassInfo(const void *TI) { in lookupPassInfo()
183 const PassInfo *Pass::lookupPassInfo(StringRef Arg) { in lookupPassInfo()
188 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(ID); in createPass()
202 : PassInfo(Name, InterfaceID) { in RegisterAGBase()
218 : cl::parser<const PassInfo *>(O) { in PassNameParser()
240 void passEnumerate(const PassInfo *P) override { in passEnumerate()
263 const PassInfo *PI = Pass::lookupPassInfo(Arg); in addPreserved()
DLegacyPassManager.cpp65 typedef llvm::cl::list<const llvm::PassInfo *, bool, PassNameParser>
660 const PassInfo *PI = findAnalysisPassInfo(P->getPassID()); in schedulePass()
679 const PassInfo *PI = findAnalysisPassInfo(ID); in schedulePass()
772 const PassInfo *PMTopLevelManager::findAnalysisPassInfo(AnalysisID AID) const { in findAnalysisPassInfo()
773 const PassInfo *&PI = AnalysisPassInfos[AID]; in findAnalysisPassInfo()
795 const PassInfo *PassInf = findAnalysisPassInfo(AID); in addImmutablePass()
797 for (const PassInfo *ImmPI : PassInf->getInterfacesImplemented()) in addImmutablePass()
827 if (const PassInfo *PI = findAnalysisPassInfo(P->getPassID())) { in dumpArguments()
873 const PassInfo *PInf = TPM->findAnalysisPassInfo(PI); in recordAvailableAnalysis()
875 const std::vector<const PassInfo*> &II = PInf->getInterfacesImplemented(); in recordAvailableAnalysis()
[all …]
DPassTimingInfo.cpp139 if (const PassInfo *PI = Pass::lookupPassInfo(P->getPassID())) in getPassTimer()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DPasses.h23 class PassInfo; variable
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTargetPassConfig.cpp335 static const PassInfo *getPassInfo(StringRef PassName) { in getPassInfo()
340 const PassInfo *PI = PR.getPassInfo(PassName); in getPassInfo()
348 const PassInfo *PI = getPassInfo(PassName); in getPassIDFromName()
879 if (const PassInfo *TPI = getPassInfo(PrintMachineInstrsPassName)) { in addMachinePasses()
881 const PassInfo *IPI = PR->getPassInfo(StringRef("machineinstr-printer")); in addMachinePasses()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/
DScalar.h26 class PassInfo; variable