Home
last modified time | relevance | path

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

12345

/external/llvm-project/llvm/lib/Passes/
DStandardInstrumentations.cpp240 bool isIgnored(StringRef PassID) { in isIgnored() argument
241 return isSpecialPass(PassID, in isIgnored()
258 bool ChangeReporter<IRUnitT>::isInterestingPass(StringRef PassID) { in isInterestingPass() argument
259 if (isIgnored(PassID)) in isInterestingPass()
264 return PrintPassNames.empty() || PrintPassNames.count(PassID.str()); in isInterestingPass()
270 bool ChangeReporter<IRUnitT>::isInteresting(Any IR, StringRef PassID) { in isInteresting() argument
271 if (!isInterestingPass(PassID)) in isInteresting()
279 void ChangeReporter<IRUnitT>::saveIRBeforePass(Any IR, StringRef PassID) { in saveIRBeforePass() argument
285 if (!isInteresting(IR, PassID)) in saveIRBeforePass()
295 generateIRRepresentation(IR, PassID, Data); in saveIRBeforePass()
[all …]
/external/llvm-project/llvm/lib/IR/
DPassTimingInfo.cpp92 Timer *newPassTimer(StringRef PassID, StringRef PassDesc);
122 Timer *PassTimingInfo::newPassTimer(StringRef PassID, StringRef PassDesc) { in newPassTimer() argument
123 unsigned &num = PassIDCountMap[PassID]; in newPassTimer()
128 return new Timer(PassID, PassDescNumbered, TG); in newPassTimer()
173 Timer &TimePassesHandler::getPassTimer(StringRef PassID) { in getPassTimer() argument
175 TimerVector &Timers = TimingData[PassID]; in getPassTimer()
177 Timers.emplace_back(new Timer(PassID, PassID, TG)); in getPassTimer()
183 TimerVector &Timers = TimingData[PassID]; in getPassTimer()
186 std::string FullDesc = formatv("{0} #{1}", PassID, Count).str(); in getPassTimer()
188 Timer *T = new Timer(PassID, FullDesc, TG); in getPassTimer()
[all …]
DPrintPasses.cpp56 static bool shouldPrintBeforeOrAfterPass(StringRef PassID, in shouldPrintBeforeOrAfterPass() argument
58 return llvm::is_contained(PassesToPrint, PassID); in shouldPrintBeforeOrAfterPass()
65 bool llvm::shouldPrintBeforePass(StringRef PassID) { in shouldPrintBeforePass() argument
66 return PrintBeforeAll || shouldPrintBeforeOrAfterPass(PassID, PrintBefore); in shouldPrintBeforePass()
69 bool llvm::shouldPrintAfterPass(StringRef PassID) { in shouldPrintAfterPass() argument
70 return PrintAfterAll || shouldPrintBeforeOrAfterPass(PassID, PrintAfter); in shouldPrintAfterPass()
DPassInstrumentation.cpp40 bool isSpecialPass(StringRef PassID, const std::vector<StringRef> &Specials) { in isSpecialPass() argument
41 size_t Pos = PassID.find('<'); in isSpecialPass()
42 StringRef Prefix = PassID; in isSpecialPass()
44 Prefix = PassID.substr(0, Pos); in isSpecialPass()
DPassRegistry.cpp81 const void *PassID, in registerAnalysisGroup() argument
93 if (PassID) { in registerAnalysisGroup()
94 PassInfo *ImplementationInfo = const_cast<PassInfo *>(getPassInfo(PassID)); in registerAnalysisGroup()
/external/llvm-project/llvm/include/llvm/Passes/
DStandardInstrumentations.h46 void printBeforePass(StringRef PassID, Any IR);
47 void printAfterPass(StringRef PassID, Any IR);
48 void printAfterPassInvalidated(StringRef PassID);
50 bool shouldPrintBeforePass(StringRef PassID);
51 bool shouldPrintAfterPass(StringRef PassID);
55 void pushModuleDesc(StringRef PassID, Any IR);
56 PrintModuleDesc popModuleDesc(StringRef PassID);
72 bool shouldRun(StringRef PassID, Any IR);
162 void saveIRBeforePass(Any IR, StringRef PassID);
164 void handleIRAfterPass(Any IR, StringRef PassID);
[all …]
/external/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()
/external/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 …]
/external/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);
/external/llvm/unittests/Analysis/
DCGSCCPassManagerTest.cpp32 static void *ID() { return (void *)&PassID; } in ID()
43 static char PassID; member in __anond6ca8a9d0111::TestModuleAnalysis
48 char TestModuleAnalysis::PassID; member in __anond6ca8a9d0111::TestModuleAnalysis
57 static void *ID() { return (void *)&PassID; } in ID()
68 static char PassID; member in __anond6ca8a9d0111::TestSCCAnalysis
73 char TestSCCAnalysis::PassID; member in __anond6ca8a9d0111::TestSCCAnalysis
82 static void *ID() { return (void *)&PassID; } in ID()
98 static char PassID; member in __anond6ca8a9d0111::TestFunctionAnalysis
103 char TestFunctionAnalysis::PassID; member in __anond6ca8a9d0111::TestFunctionAnalysis
111 static void *ID() { return (void *)&PassID; } in ID()
[all …]
/external/llvm/include/llvm/IR/
DPassManager.h98 void preserve(void *PassID) { in preserve() argument
100 PreservedPassIDs.insert(PassID); in preserve()
142 bool preserved(void *PassID) const { in preserved() argument
144 PreservedPassIDs.count(PassID); in preserved()
211 static void *ID() { return (void *)&DerivedT::PassID; } in ID()
440 PassConceptT &lookupPass(void *PassID) { in lookupPass() argument
441 typename AnalysisPassMapT::iterator PI = AnalysisPasses.find(PassID); in lookupPass()
448 const PassConceptT &lookupPass(void *PassID) const { in lookupPass() argument
449 typename AnalysisPassMapT::const_iterator PI = AnalysisPasses.find(PassID); in lookupPass()
525 ResultConceptT &getResultImpl(void *PassID, IRUnitT &IR) { in getResultImpl() argument
[all …]
DVerifier.h61 static char PassID; variable
67 static void *ID() { return (void *)&PassID; } in ID()
/external/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);
/external/llvm-project/llvm/include/llvm/IR/
DPassTimingInfo.h94 Timer &getPassTimer(StringRef PassID);
96 void startTimer(StringRef PassID);
97 void stopTimer(StringRef PassID);
100 void runBeforePass(StringRef PassID);
101 void runAfterPass(StringRef PassID);
DPrintPasses.h24 bool shouldPrintBeforePass(StringRef PassID);
25 bool shouldPrintAfterPass(StringRef PassID);
/external/llvm-project/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()
/external/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()
/external/llvm/include/llvm/
DPassInfo.h38 const void *PassID; variable
53 : PassName(name), PassArgument(arg), PassID(pi), IsCFGOnlyPass(isCFGOnly), in PassName()
60 : PassName(name), PassArgument(""), PassID(pi), IsCFGOnlyPass(false), in PassInfo()
76 const void *getTypeInfo() const { return PassID; } in getTypeInfo()
79 bool isPassID(const void *IDPtr) const { return PassID == IDPtr; } in isPassID()
/external/llvm/include/llvm/CodeGen/
DTargetPassConfig.h170 void enablePass(AnalysisID PassID) { substitutePass(PassID, PassID); }
173 void disablePass(AnalysisID PassID) {
174 substitutePass(PassID, IdentifyingPassPtr());
357 AnalysisID addPass(AnalysisID PassID, bool verifyAfter = true,
/external/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,
/external/llvm-project/llvm/include/llvm/CodeGen/
DTargetPassConfig.h193 void enablePass(AnalysisID PassID) { substitutePass(PassID, PassID); } in enablePass() argument
196 void disablePass(AnalysisID PassID) { in disablePass() argument
197 substitutePass(PassID, IdentifyingPassPtr()); in disablePass()
446 AnalysisID addPass(AnalysisID PassID, bool verifyAfter = true);
/external/llvm/lib/CodeGen/
DTargetPassConfig.cpp131 static IdentifyingPassPtr applyDisable(IdentifyingPassPtr PassID, in applyDisable() argument
135 return PassID; in applyDisable()
346 AnalysisID PassID = P->getPassID(); in addPass() local
348 if (StartBefore == PassID) in addPass()
365 if (IP.TargetPassID == PassID) in addPass()
371 if (StopAfter == PassID) in addPass()
373 if (StartAfter == PassID) in addPass()
384 AnalysisID TargetPassConfig::addPass(AnalysisID PassID, bool verifyAfter, in addPass() argument
386 IdentifyingPassPtr TargetID = getPassSubstitution(PassID); in addPass()
387 IdentifyingPassPtr FinalPtr = overridePass(PassID, TargetID); in addPass()
/external/llvm/lib/IR/
DPassRegistry.cpp77 const void *PassID, in registerAnalysisGroup() argument
89 if (PassID) { in registerAnalysisGroup()
90 PassInfo *ImplementationInfo = const_cast<PassInfo *>(getPassInfo(PassID)); in registerAnalysisGroup()
/external/llvm/lib/Passes/
DPassBuilder.cpp135 static char PassID; member in __anon211d3e150111::NoOpModuleAnalysis
155 static char PassID; member in __anon211d3e150111::NoOpCGSCCAnalysis
176 static char PassID; member in __anon211d3e150111::NoOpFunctionAnalysis
195 static char PassID; member in __anon211d3e150111::NoOpLoopAnalysis
203 char NoOpModuleAnalysis::PassID; member in __anon211d3e150111::NoOpModuleAnalysis
204 char NoOpCGSCCAnalysis::PassID; member in __anon211d3e150111::NoOpCGSCCAnalysis
205 char NoOpFunctionAnalysis::PassID; member in __anon211d3e150111::NoOpFunctionAnalysis
206 char NoOpLoopAnalysis::PassID; member in __anon211d3e150111::NoOpLoopAnalysis

12345