Home
last modified time | relevance | path

Searched refs:PassID (Results 1 – 18 of 18) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DPassTimingInfo.cpp89 Timer *newPassTimer(StringRef PassID, StringRef PassDesc);
119 Timer *PassTimingInfo::newPassTimer(StringRef PassID, StringRef PassDesc) { in newPassTimer() argument
120 unsigned &num = PassIDCountMap[PassID]; in newPassTimer()
125 return new Timer(PassID, PassDescNumbered, TG); in newPassTimer()
170 Timer &TimePassesHandler::getPassTimer(StringRef PassID) { in getPassTimer() argument
172 unsigned Count = nextPassID(PassID); in getPassTimer()
175 std::string FullDesc = formatv("{0} #{1}", PassID, Count).str(); in getPassTimer()
177 PassInvocationID UID{PassID, Count}; in getPassTimer()
178 Timer *T = new Timer(PassID, FullDesc, TG); in getPassTimer()
215 void TimePassesHandler::startTimer(StringRef PassID) { in startTimer() argument
[all …]
DPassRegistry.cpp81 const void *PassID, in registerAnalysisGroup() argument
93 if (PassID) { in registerAnalysisGroup()
94 PassInfo *ImplementationInfo = const_cast<PassInfo *>(getPassInfo(PassID)); in registerAnalysisGroup()
DPass.cpp201 const void *PassID, bool isDefault) in RegisterAGBase() argument
203 PassRegistry::getPassRegistry()->registerAnalysisGroup(InterfaceID, PassID, in RegisterAGBase()
DLegacyPassManager.cpp111 static bool ShouldPrintBeforeOrAfterPass(StringRef PassID, in ShouldPrintBeforeOrAfterPass() argument
115 if (PassInf->getPassArgument() == PassID) { in ShouldPrintBeforeOrAfterPass()
122 bool llvm::shouldPrintBeforePass(StringRef PassID) { in shouldPrintBeforePass() argument
123 return PrintBeforeAll || ShouldPrintBeforeOrAfterPass(PassID, PrintBefore); in shouldPrintBeforePass()
126 bool llvm::shouldPrintAfterPass(StringRef PassID) { in shouldPrintAfterPass() argument
127 return PrintAfterAll || ShouldPrintBeforeOrAfterPass(PassID, PrintAfter); in shouldPrintAfterPass()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Passes/
DStandardInstrumentations.cpp150 void PrintIRInstrumentation::pushModuleDesc(StringRef PassID, Any IR) { in pushModuleDesc() argument
156 ModuleDescStack.emplace_back(M, Extra, PassID); in pushModuleDesc()
160 PrintIRInstrumentation::popModuleDesc(StringRef PassID) { in popModuleDesc() argument
163 assert(std::get<2>(ModuleDesc).equals(PassID) && "malformed ModuleDescStack"); in popModuleDesc()
167 bool PrintIRInstrumentation::printBeforePass(StringRef PassID, Any IR) { in printBeforePass() argument
168 if (PassID.startswith("PassManager<") || PassID.contains("PassAdaptor<")) in printBeforePass()
175 if (StoreModuleDesc && llvm::shouldPrintAfterPass(PassID)) in printBeforePass()
176 pushModuleDesc(PassID, IR); in printBeforePass()
178 if (!llvm::shouldPrintBeforePass(PassID)) in printBeforePass()
181 SmallString<20> Banner = formatv("*** IR Dump Before {0} ***", PassID); in printBeforePass()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DPassTimingInfo.h97 Timer &getPassTimer(StringRef PassID);
100 unsigned nextPassID(StringRef PassID) { return ++PassIDCountMap[PassID]; } in nextPassID() argument
102 void startTimer(StringRef PassID);
103 void stopTimer(StringRef PassID);
106 bool runBeforePass(StringRef PassID);
107 void runAfterPass(StringRef PassID);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Passes/
DStandardInstrumentations.h41 bool printBeforePass(StringRef PassID, Any IR);
42 void printAfterPass(StringRef PassID, Any IR);
43 void printAfterPassInvalidated(StringRef PassID);
47 void pushModuleDesc(StringRef PassID, Any IR);
48 PrintModuleDesc popModuleDesc(StringRef PassID);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/
DPassInfo.h37 const void *PassID; variable
49 : PassName(name), PassArgument(arg), PassID(pi), IsCFGOnlyPass(isCFGOnly), in PassInfo()
56 : PassName(name), PassID(pi), IsAnalysis(false), IsAnalysisGroup(true) {} in PassInfo()
71 const void *getTypeInfo() const { return PassID; } in getTypeInfo()
74 bool isPassID(const void *IDPtr) const { return PassID == IDPtr; } in isPassID()
DPass.h80 const void *PassID; variable
84 explicit Pass(PassKind K, char &pid) : PassID(&pid), Kind(K) {} in Pass()
98 return PassID; in getPassID()
DPassRegistry.h75 void registerAnalysisGroup(const void *InterfaceID, const void *PassID,
DPassSupport.h122 const void *PassID = nullptr, bool isDefault = false);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetPassConfig.h192 void enablePass(AnalysisID PassID) { substitutePass(PassID, PassID); } in enablePass() argument
195 void disablePass(AnalysisID PassID) { in disablePass() argument
196 substitutePass(PassID, IdentifyingPassPtr()); in disablePass()
432 AnalysisID addPass(AnalysisID PassID, bool verifyAfter = true,
DExecutionDomainFix.h130 ExecutionDomainFix(char &PassID, const TargetRegisterClass &RC) in ExecutionDomainFix() argument
131 : MachineFunctionPass(PassID), RC(&RC), NumRegs(RC.getNumRegs()) {} in ExecutionDomainFix()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTargetPassConfig.cpp211 static IdentifyingPassPtr applyDisable(IdentifyingPassPtr PassID, in applyDisable() argument
215 return PassID; in applyDisable()
526 AnalysisID PassID = P->getPassID(); in addPass() local
528 if (StartBefore == PassID && StartBeforeCount++ == StartBeforeInstanceNum) in addPass()
530 if (StopBefore == PassID && StopBeforeCount++ == StopBeforeInstanceNum) in addPass()
547 if (IP.TargetPassID == PassID) in addPass()
554 if (StopAfter == PassID && StopAfterCount++ == StopAfterInstanceNum) in addPass()
557 if (StartAfter == PassID && StartAfterCount++ == StartAfterInstanceNum) in addPass()
568 AnalysisID TargetPassConfig::addPass(AnalysisID PassID, bool verifyAfter, in addPass() argument
570 IdentifyingPassPtr TargetID = getPassSubstitution(PassID); in addPass()
[all …]
DTailDuplication.cpp36 TailDuplicateBase(char &PassID, bool PreRegAlloc) in TailDuplicateBase() argument
37 : MachineFunctionPass(PassID), PreRegAlloc(PreRegAlloc) {} in TailDuplicateBase()
DMachineLICM.cpp173 MachineLICMBase(char &PassID, bool PreRegAlloc) in MachineLICMBase() argument
174 : MachineFunctionPass(PassID), PreRegAlloc(PreRegAlloc) {} in MachineLICMBase()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Remarks/
DYAMLRemarkSerializer.cpp64 unsigned PassID = StrTab.add(Remark->PassName).first; in mapping() local
67 mapRemarkHeader(io, PassID, NameID, Remark->Loc, FunctionID, in mapping()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUAliasAnalysis.h61 static char PassID; variable