/external/llvm/include/llvm/IR/ |
D | PassManagerInternal.h | 26 template <typename IRUnitT> class AnalysisManager; 34 template <typename IRUnitT> struct PassConcept { 43 virtual PreservedAnalyses run(IRUnitT &IR, AnalysisManager<IRUnitT> &AM) = 0; 54 template <typename IRUnitT, typename PassT, 56 struct PassModel : PassConcept<IRUnitT> { 71 PreservedAnalysesT run(IRUnitT &IR, AnalysisManager<IRUnitT> &AM) override { in run() 82 template <typename IRUnitT> struct AnalysisResultConcept { 95 virtual bool invalidate(IRUnitT &IR, const PreservedAnalyses &PA) = 0; 100 template <typename IRUnitT, typename ResultT> class ResultHasInvalidateMethod { 106 template <typename T, bool (T::*)(IRUnitT &, const PreservedAnalyses &)> [all …]
|
D | PassManager.h | 174 template <typename IRUnitT> class AnalysisManager; 225 template <typename IRUnitT> 226 class PassManager : public PassInfoMixin<PassManager<IRUnitT>> { 244 PreservedAnalyses run(IRUnitT &IR, AnalysisManager<IRUnitT> &AM) { in run() 248 dbgs() << "Starting " << getTypeName<IRUnitT>() << " pass manager run.\n"; in run() 275 dbgs() << "Finished " << getTypeName<IRUnitT>() << " pass manager run.\n"; in run() 281 typedef detail::PassModel<IRUnitT, PassT> PassModelT; in addPass() 286 typedef detail::PassConcept<IRUnitT> PassConceptT; 324 template <typename DerivedT, typename IRUnitT> class AnalysisManagerBase { 334 typedef detail::AnalysisResultConcept<IRUnitT> ResultConceptT; [all …]
|
D | IRPrintingPasses.h | 33 template <typename IRUnitT> class AnalysisManager;
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | PassManagerInternal.h | 27 template <typename IRUnitT> class AllAnalysesOn; 28 template <typename IRUnitT, typename... ExtraArgTs> class AnalysisManager; 36 template <typename IRUnitT, typename AnalysisManagerT, typename... ExtraArgTs> 46 virtual PreservedAnalyses run(IRUnitT &IR, AnalysisManagerT &AM, 58 template <typename IRUnitT, typename PassT, typename PreservedAnalysesT, 60 struct PassModel : PassConcept<IRUnitT, AnalysisManagerT, ExtraArgTs...> { 77 PreservedAnalysesT run(IRUnitT &IR, AnalysisManagerT &AM, in run() 91 template <typename IRUnitT, typename PreservedAnalysesT, typename InvalidatorT> 110 virtual bool invalidate(IRUnitT &IR, const PreservedAnalysesT &PA, 116 template <typename IRUnitT, typename ResultT> class ResultHasInvalidateMethod { [all …]
|
D | PassManager.h | 92 template <typename IRUnitT> class AllAnalysesOn { 100 template <typename IRUnitT> AnalysisSetKey AllAnalysesOn<IRUnitT>::SetKey; 367 template <typename IRUnitT, typename... ExtraArgTs> class AnalysisManager; 417 template <typename PassT, typename IRUnitT, typename AnalysisManagerT, 420 getAnalysisResultUnpackTuple(AnalysisManagerT &AM, IRUnitT &IR, in getAnalysisResultUnpackTuple() 432 template <typename PassT, typename IRUnitT, typename... AnalysisArgTs, 435 getAnalysisResult(AnalysisManager<IRUnitT, AnalysisArgTs...> &AM, IRUnitT &IR, in getAnalysisResult() argument 438 PassT, IRUnitT>)(AM, IR, Args, in getAnalysisResult() 462 template <typename IRUnitT, 463 typename AnalysisManagerT = AnalysisManager<IRUnitT>, [all …]
|
D | PassInstrumentation.h | 143 template <typename IRUnitT, typename PassT> 144 bool runBeforePass(const PassT &Pass, const IRUnitT &IR) const { in runBeforePass() 157 template <typename IRUnitT, typename PassT> 158 void runAfterPass(const PassT &Pass, const IRUnitT &IR) const { in runAfterPass() 167 template <typename IRUnitT, typename PassT> 176 template <typename IRUnitT, typename PassT> 177 void runBeforeAnalysis(const PassT &Analysis, const IRUnitT &IR) const { in runBeforeAnalysis() 185 template <typename IRUnitT, typename PassT> 186 void runAfterAnalysis(const PassT &Analysis, const IRUnitT &IR) const { in runAfterAnalysis() 197 template <typename IRUnitT, typename... ExtraArgsT> [all …]
|
D | IRPrintingPasses.h | 32 template <typename IRUnitT, typename... ExtraArgTs> class AnalysisManager;
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | PassManagerInternal.h | 27 template <typename IRUnitT> class AllAnalysesOn; 28 template <typename IRUnitT, typename... ExtraArgTs> class AnalysisManager; 36 template <typename IRUnitT, typename AnalysisManagerT, typename... ExtraArgTs> 46 virtual PreservedAnalyses run(IRUnitT &IR, AnalysisManagerT &AM, 64 template <typename IRUnitT, typename PassT, typename PreservedAnalysesT, 66 struct PassModel : PassConcept<IRUnitT, AnalysisManagerT, ExtraArgTs...> { 83 PreservedAnalysesT run(IRUnitT &IR, AnalysisManagerT &AM, in run() 113 template <typename IRUnitT, typename PreservedAnalysesT, typename InvalidatorT> 132 virtual bool invalidate(IRUnitT &IR, const PreservedAnalysesT &PA, 138 template <typename IRUnitT, typename ResultT> class ResultHasInvalidateMethod { [all …]
|
D | PassManager.h | 93 template <typename IRUnitT> class AllAnalysesOn { 101 template <typename IRUnitT> AnalysisSetKey AllAnalysesOn<IRUnitT>::SetKey; 368 template <typename IRUnitT, typename... ExtraArgTs> class AnalysisManager; 418 template <typename PassT, typename IRUnitT, typename AnalysisManagerT, 421 getAnalysisResultUnpackTuple(AnalysisManagerT &AM, IRUnitT &IR, in getAnalysisResultUnpackTuple() 433 template <typename PassT, typename IRUnitT, typename... AnalysisArgTs, 436 getAnalysisResult(AnalysisManager<IRUnitT, AnalysisArgTs...> &AM, IRUnitT &IR, in getAnalysisResult() argument 439 PassT, IRUnitT>)(AM, IR, Args, in getAnalysisResult() 463 template <typename IRUnitT, 464 typename AnalysisManagerT = AnalysisManager<IRUnitT>, [all …]
|
D | PassManagerImpl.h | 22 template <typename IRUnitT, typename... ExtraArgTs> 23 inline AnalysisManager<IRUnitT, ExtraArgTs...>::AnalysisManager( in AnalysisManager() 27 template <typename IRUnitT, typename... ExtraArgTs> 28 inline AnalysisManager<IRUnitT, ExtraArgTs...>::AnalysisManager( 31 template <typename IRUnitT, typename... ExtraArgTs> 32 inline AnalysisManager<IRUnitT, ExtraArgTs...> & 33 AnalysisManager<IRUnitT, ExtraArgTs...>::operator=(AnalysisManager &&) = 36 template <typename IRUnitT, typename... ExtraArgTs> 38 AnalysisManager<IRUnitT, ExtraArgTs...>::clear(IRUnitT &IR, in clear() 54 template <typename IRUnitT, typename... ExtraArgTs> [all …]
|
D | PassInstrumentation.h | 199 template <typename IRUnitT, typename PassT> 200 bool runBeforePass(const PassT &Pass, const IRUnitT &IR) const { in runBeforePass() 224 template <typename IRUnitT, typename PassT> 225 void runAfterPass(const PassT &Pass, const IRUnitT &IR, in runAfterPass() 235 template <typename IRUnitT, typename PassT> 245 template <typename IRUnitT, typename PassT> 246 void runBeforeAnalysis(const PassT &Analysis, const IRUnitT &IR) const { in runBeforeAnalysis() 254 template <typename IRUnitT, typename PassT> 255 void runAfterAnalysis(const PassT &Analysis, const IRUnitT &IR) const { in runAfterAnalysis() 266 template <typename IRUnitT, typename... ExtraArgsT> [all …]
|
/external/llvm-project/llvm/lib/Passes/ |
D | StandardInstrumentations.cpp | 247 template <typename IRUnitT> 248 ChangeReporter<IRUnitT>::~ChangeReporter<IRUnitT>() { in ~ChangeReporter() 252 template <typename IRUnitT> 253 bool ChangeReporter<IRUnitT>::isInterestingFunction(const Function &F) { in isInterestingFunction() 257 template <typename IRUnitT> 258 bool ChangeReporter<IRUnitT>::isInterestingPass(StringRef PassID) { in isInterestingPass() 269 template <typename IRUnitT> 270 bool ChangeReporter<IRUnitT>::isInteresting(Any IR, StringRef PassID) { in isInteresting() 278 template <typename IRUnitT> 279 void ChangeReporter<IRUnitT>::saveIRBeforePass(Any IR, StringRef PassID) { in saveIRBeforePass() [all …]
|
/external/llvm-project/llvm/include/llvm/Passes/ |
D | StandardInstrumentations.h | 153 template <typename IRUnitT> class ChangeReporter { 187 IRUnitT &Output) = 0; 192 const IRUnitT &Before, const IRUnitT &After, 201 virtual bool same(const IRUnitT &Before, const IRUnitT &After) = 0; 204 std::vector<IRUnitT> BeforeStack; 211 template <typename IRUnitT> 212 class TextChangeReporter : public ChangeReporter<IRUnitT> {
|
D | PassBuilder.h | 809 template <typename AnalysisT, typename IRUnitT, typename AnalysisManagerT, 813 PassManager<IRUnitT, AnalysisManagerT, ExtraArgTs...> &PM) { in parseAnalysisUtilityPasses() argument 830 PM.addPass(RequireAnalysisPass<AnalysisT, IRUnitT, AnalysisManagerT, in parseAnalysisUtilityPasses()
|
/external/llvm-project/llvm/unittests/IR/ |
D | PassBuilderCallbacksTest.cpp | 44 template <typename DerivedT, typename IRUnitT, 45 typename AnalysisManagerT = AnalysisManager<IRUnitT>, 71 bool invalidate(IRUnitT &IR, const PreservedAnalyses &PA, in invalidate() 77 Result run(IRUnitT &IR, AnalysisManagerT &AM, ExtraArgTs... ExtraArgs) { in run() 91 static bool invalidateCallback(IRUnitT &IR, const PreservedAnalyses &PA, in invalidateCallback() 95 !PAC.template preservedSet<AllAnalysesOn<IRUnitT>>(); in invalidateCallback() 116 template <typename DerivedT, typename IRUnitT, typename AnalysisManagerT, 118 AnalysisKey MockAnalysisHandleBase<DerivedT, IRUnitT, AnalysisManagerT, 121 template <typename DerivedT, typename IRUnitT, 122 typename AnalysisManagerT = AnalysisManager<IRUnitT>, [all …]
|
/external/llvm-project/polly/include/polly/ |
D | ScopPass.h | 114 template <typename AnalysisManagerT, typename IRUnitT, typename... ExtraArgTs> 116 : public InnerAnalysisManagerProxy<AnalysisManagerT, IRUnitT> { 119 : InnerAnalysisManagerProxy<AnalysisManagerT, IRUnitT>(InnerAM) {} 120 using Result = typename InnerAnalysisManagerProxy<AnalysisManagerT, IRUnitT, 122 Result run(IRUnitT &IR, AnalysisManager<IRUnitT, ExtraArgTs...> &AM,
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Passes/ |
D | PassBuilder.h | 742 template <typename AnalysisT, typename IRUnitT, typename AnalysisManagerT, 746 PassManager<IRUnitT, AnalysisManagerT, ExtraArgTs...> &PM) { in parseAnalysisUtilityPasses() argument 763 PM.addPass(RequireAnalysisPass<AnalysisT, IRUnitT, AnalysisManagerT, in parseAnalysisUtilityPasses()
|
/external/llvm-project/mlir/lib/IR/ |
D | SymbolTable.cpp | 704 template <typename SymbolT, typename IRUnitT> 706 IRUnitT *limit) { in getSymbolUsesImpl() 743 template <typename SymbolT, typename IRUnitT> 744 static bool symbolKnownUseEmptyImpl(SymbolT symbol, IRUnitT *limit) { in symbolKnownUseEmptyImpl() 835 template <typename SymbolT, typename IRUnitT> 837 replaceAllSymbolUsesImpl(SymbolT symbol, StringRef newSymbol, IRUnitT *limit) { in replaceAllSymbolUsesImpl()
|
/external/llvm-project/llvm/unittests/Transforms/Scalar/ |
D | LoopPassManagerTest.cpp | 41 template <typename DerivedT, typename IRUnitT, 42 typename AnalysisManagerT = AnalysisManager<IRUnitT>, 68 bool invalidate(IRUnitT &IR, const PreservedAnalyses &PA, in invalidate() 74 Result run(IRUnitT &IR, AnalysisManagerT &AM, ExtraArgTs... ExtraArgs) { in run() 87 static bool invalidateCallback(IRUnitT &IR, const PreservedAnalyses &PA, in invalidateCallback() 91 !PAC.template preservedSet<AllAnalysesOn<IRUnitT>>(); in invalidateCallback() 106 template <typename DerivedT, typename IRUnitT, typename AnalysisManagerT, 108 AnalysisKey MockAnalysisHandleBase<DerivedT, IRUnitT, AnalysisManagerT, 152 template <typename DerivedT, typename IRUnitT, 153 typename AnalysisManagerT = AnalysisManager<IRUnitT>, [all …]
|