/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | WarnMissedTransforms.cpp | 25 OptimizationRemarkEmitter *ORE) { in warnAboutLeftoverTransformations() argument 28 ORE->emit( in warnAboutLeftoverTransformations() 39 ORE->emit( in warnAboutLeftoverTransformations() 56 ORE->emit( in warnAboutLeftoverTransformations() 64 ORE->emit( in warnAboutLeftoverTransformations() 75 ORE->emit( in warnAboutLeftoverTransformations() 86 OptimizationRemarkEmitter *ORE) { in warnAboutLeftoverTransformations() argument 88 warnAboutLeftoverTransformations(L, ORE); in warnAboutLeftoverTransformations() 99 auto &ORE = AM.getResult<OptimizationRemarkEmitterAnalysis>(F); in run() local 102 warnAboutLeftoverTransformations(&F, &LI, &ORE); in run() [all …]
|
D | InstSimplifyPass.cpp | 32 OptimizationRemarkEmitter *ORE) { in runImpl() argument 56 if (Value *V = SimplifyInstruction(&I, SQ, ORE)) { in runImpl() 107 OptimizationRemarkEmitter *ORE = in runOnFunction() local 111 return runImpl(F, SQ, ORE); in runOnFunction() 136 auto &ORE = AM.getResult<OptimizationRemarkEmitterAnalysis>(F); in run() local 139 bool Changed = runImpl(F, SQ, &ORE); in run()
|
D | LoopDataPrefetch.cpp | 66 OptimizationRemarkEmitter *ORE) in LoopDataPrefetch() argument 67 : AC(AC), LI(LI), SE(SE), TTI(TTI), ORE(ORE) {} in LoopDataPrefetch() 100 OptimizationRemarkEmitter *ORE; member in __anonb6851ea20111::LoopDataPrefetch 162 OptimizationRemarkEmitter *ORE = in run() local 166 LoopDataPrefetch LDP(AC, LI, SE, TTI, ORE); in run() 187 OptimizationRemarkEmitter *ORE = in runOnFunction() local 192 LoopDataPrefetch LDP(AC, LI, SE, TTI, ORE); in runOnFunction() 326 ORE->emit([&]() { in runOnLoop()
|
D | LoopInterchange.cpp | 329 OptimizationRemarkEmitter *ORE) in LoopInterchangeLegality() argument 330 : OuterLoop(Outer), InnerLoop(Inner), SE(SE), ORE(ORE) {} in LoopInterchangeLegality() 364 OptimizationRemarkEmitter *ORE; member in __anon3132bc7f0211::LoopInterchangeLegality 376 OptimizationRemarkEmitter *ORE) in LoopInterchangeProfitability() argument 377 : OuterLoop(Outer), InnerLoop(Inner), SE(SE), ORE(ORE) {} in LoopInterchangeProfitability() 393 OptimizationRemarkEmitter *ORE; member in __anon3132bc7f0211::LoopInterchangeProfitability 440 OptimizationRemarkEmitter *ORE; member 461 ORE = &getAnalysis<OptimizationRemarkEmitterWrapperPass>().getORE(); in runOnLoop() 559 LoopInterchangeLegality LIL(OuterLoop, InnerLoop, SE, ORE); in processLoop() 565 LoopInterchangeProfitability LIP(OuterLoop, InnerLoop, SE, ORE); in processLoop() [all …]
|
D | LoopVersioningLICM.cpp | 153 ORE = nullptr; in reset() 201 OptimizationRemarkEmitter *ORE; member 397 ORE->emit([&]() { in legalLoopInstructions() 416 ORE->emit([&]() { in legalLoopInstructions() 448 ORE->emit([&]() { in legalLoopInstructions() 491 ORE->emit([&]() { in isLegalForVersioning() 511 ORE->emit([&]() { in isLegalForVersioning() 521 ORE->emit([&]() { in isLegalForVersioning() 584 ORE = &getAnalysis<OptimizationRemarkEmitterWrapperPass>().getORE(); in runOnLoop()
|
D | LoopUnrollAndJamPass.cpp | 158 OptimizationRemarkEmitter *ORE, unsigned OuterTripCount, in computeUnrollAndJamCount() argument 169 L, TTI, DT, LI, SE, EphValues, ORE, OuterTripCount, MaxTripCount, in computeUnrollAndJamCount() 281 OptimizationRemarkEmitter &ORE, int OptLevel) { in tryToUnrollAndJamLoop() argument 380 L, SubLoop, TTI, DT, LI, SE, EphValues, &ORE, OuterTripCount, in tryToUnrollAndJamLoop() 391 &SE, &DT, &AC, &ORE, &EpilogueOuterLoop); in tryToUnrollAndJamLoop() 434 OptimizationRemarkEmitter &ORE, in tryToUnrollAndJamLoop() argument 455 tryToUnrollAndJamLoop(L, DT, &LI, SE, TTI, AC, DI, ORE, OptLevel); in tryToUnrollAndJamLoop() 485 auto &ORE = getAnalysis<OptimizationRemarkEmitterWrapperPass>().getORE(); in runOnFunction() local 487 return tryToUnrollAndJamLoop(F, DT, LI, SE, TTI, AC, DI, ORE, OptLevel); in runOnFunction() 531 OptimizationRemarkEmitter &ORE = in run() local [all …]
|
D | TailRecursionElimination.cpp | 190 OptimizationRemarkEmitter *ORE) { in markTails() argument 266 ORE->emit([&]() { in markTails() 503 AliasAnalysis *AA, OptimizationRemarkEmitter *ORE, DomTreeUpdater &DTU) { in eliminateRecursiveTailCall() argument 564 ORE->emit([&]() { in eliminateRecursiveTailCall() 691 AliasAnalysis *AA, OptimizationRemarkEmitter *ORE, DomTreeUpdater &DTU) { in foldReturnAndProcessPred() argument 727 ArgumentPHIs, AA, ORE, DTU); in foldReturnAndProcessPred() 740 AliasAnalysis *AA, OptimizationRemarkEmitter *ORE, DomTreeUpdater &DTU) { in processReturningBlock() argument 746 ArgumentPHIs, AA, ORE, DTU); in processReturningBlock() 751 OptimizationRemarkEmitter *ORE, in eliminateTailRecursion() argument 758 MadeChange |= markTails(F, AllCallsAreTailCalls, ORE); in eliminateTailRecursion() [all …]
|
D | LICM.cpp | 142 OptimizationRemarkEmitter *ORE); 145 MemorySSAUpdater *MSSAU, OptimizationRemarkEmitter *ORE); 150 OptimizationRemarkEmitter *ORE, 175 OptimizationRemarkEmitter *ORE, bool DeleteAST); 220 OptimizationRemarkEmitter ORE(L->getHeader()->getParent()); in runOnLoop() local 229 SE ? &SE->getSE() : nullptr, MSSA, &ORE, false); in runOnLoop() 285 auto *ORE = FAM.getCachedResult<OptimizationRemarkEmitterAnalysis>(*F); in run() local 287 if (!ORE) in run() 293 AR.MSSA, ORE, true)) in run() 331 MemorySSA *MSSA, OptimizationRemarkEmitter *ORE, bool DeleteAST) { in runOnLoop() argument [all …]
|
D | LoopDistribute.cpp | 660 ScalarEvolution *SE, OptimizationRemarkEmitter *ORE) in LoopDistributeForLoop() argument 661 : L(L), F(F), LI(LI), DT(DT), SE(SE), ORE(ORE) { in LoopDistributeForLoop() 852 ORE->emit([&]() { in processLoop() 868 ORE->emit([&]() { in fail() 878 ORE->emit(OptimizationRemarkAnalysis( in fail() 961 OptimizationRemarkEmitter *ORE; member in __anon07bcccd60111::LoopDistributeForLoop 976 ScalarEvolution *SE, OptimizationRemarkEmitter *ORE, in runImpl() argument 992 LoopDistributeForLoop LDL(L, &F, LI, DT, SE, ORE); in runImpl() 1024 auto *ORE = &getAnalysis<OptimizationRemarkEmitterWrapperPass>().getORE(); in runOnFunction() local 1028 return runImpl(F, LI, DT, SE, ORE, GetLAA); in runOnFunction() [all …]
|
D | LoopUnrollPass.cpp | 741 OptimizationRemarkEmitter *ORE, unsigned &TripCount, unsigned MaxTripCount, in computeUnrollCount() argument 885 ORE->emit([&]() { in computeUnrollCount() 902 ORE->emit([&]() { in computeUnrollCount() 917 ORE->emit([&]() { in computeUnrollCount() 985 ORE->emit([&]() { in computeUnrollCount() 1016 OptimizationRemarkEmitter &ORE, BlockFrequencyInfo *BFI, in tryToUnrollLoop() argument 1122 L, TTI, DT, LI, SE, EphValues, &ORE, TripCount, MaxTripCount, MaxOrZero, in tryToUnrollLoop() 1140 LI, &SE, &DT, &AC, &ORE, PreserveLCSSA, &RemainderLoop); in tryToUnrollLoop() 1236 OptimizationRemarkEmitter ORE(&F); in runOnLoop() local 1240 L, DT, LI, SE, TTI, AC, ORE, nullptr, nullptr, PreserveLCSSA, OptLevel, in runOnLoop() [all …]
|
D | LoopFuse.cpp | 164 OptimizationRemarkEmitter &ORE; member 167 const PostDominatorTree *PDT, OptimizationRemarkEmitter &ORE) in FusionCandidate() 171 GuardBranch(L->getLoopGuardBranch()), DT(DT), PDT(PDT), ORE(ORE) { in FusionCandidate() 341 ORE.emit(OptimizationRemarkAnalysis(DEBUG_TYPE, Stat.getName(), in reportInvalidCandidate() 513 OptimizationRemarkEmitter &ORE; member 518 OptimizationRemarkEmitter &ORE, const DataLayout &DL) in LoopFuser() 520 DT(DT), DI(DI), SE(SE), PDT(PDT), ORE(ORE) {} in LoopFuser() 605 FusionCandidate CurrCand(L, &DT, &PDT, ORE); in collectFusionCandidates() 801 FusionCandidate FusedCand(performFusion(*FC0, *FC1), &DT, &PDT, ORE); in fuseCandidates() 1353 ORE.emit(RemarkKind(DEBUG_TYPE, Stat.getName(), FC0.L->getStartLoc(), in reportLoopFusion() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorizationLegality.cpp | 70 OptimizationRemarkEmitter &ORE) in LoopVectorizeHints() argument 76 ORE(ORE) { in LoopVectorizeHints() 131 ORE.emit([&]() { in allowVectorization() 148 ORE.emit([&]() { in emitRemarkWithHints() 244 ORE.emit([&]() { in doesNotMeet() 261 ORE.emit([&]() { in doesNotMeet() 428 bool DoExtraAnalysis = ORE->allowExtraAnalysis(DEBUG_TYPE); in canVectorizeOuterLoop() 437 "CFGNotUnderstood", ORE, TheLoop); in canVectorizeOuterLoop() 456 "CFGNotUnderstood", ORE, TheLoop); in canVectorizeOuterLoop() 470 "CFGNotUnderstood", ORE, TheLoop); in canVectorizeOuterLoop() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | IndirectCallPromotion.cpp | 181 OptimizationRemarkEmitter &ORE; member in __anon29466d500211::ICallPromotionFunc 208 bool SamplePGO, OptimizationRemarkEmitter &ORE) in ICallPromotionFunc() argument 209 : F(Func), M(Modu), Symtab(Symtab), SamplePGO(SamplePGO), ORE(ORE) {} in ICallPromotionFunc() 244 ORE.emit([&]() { in getPromotionCandidatesForCallSite() 252 ORE.emit([&]() { in getPromotionCandidatesForCallSite() 260 ORE.emit([&]() { in getPromotionCandidatesForCallSite() 270 ORE.emit([&]() { in getPromotionCandidatesForCallSite() 282 ORE.emit([&]() { in getPromotionCandidatesForCallSite() 301 OptimizationRemarkEmitter *ORE) { in promoteIndirectCall() argument 322 if (ORE) in promoteIndirectCall() [all …]
|
D | PGOMemOPSizeOpt.cpp | 139 OptimizationRemarkEmitter &ORE, DominatorTree *DT) in MemOPSizeOpt() argument 140 : Func(Func), BFI(BFI), ORE(ORE), DT(DT), Changed(false) { in MemOPSizeOpt() 175 OptimizationRemarkEmitter &ORE; member in __anon5a5333cd0211::MemOPSizeOpt 402 ORE.emit([&]() { in perform() 416 OptimizationRemarkEmitter &ORE, in PGOMemOPSizeOptImpl() argument 423 MemOPSizeOpt MemOPSizeOpt(F, BFI, ORE, DT); in PGOMemOPSizeOptImpl() 431 auto &ORE = getAnalysis<OptimizationRemarkEmitterWrapperPass>().getORE(); in runOnFunction() local 434 return PGOMemOPSizeOptImpl(F, BFI, ORE, DT); in runOnFunction() 443 auto &ORE = FAM.getResult<OptimizationRemarkEmitterAnalysis>(F); in run() local 445 bool Changed = PGOMemOPSizeOptImpl(F, BFI, ORE, DT); in run()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Vectorize/ |
D | LoopVectorizationLegality.h | 90 OptimizationRemarkEmitter &ORE); 147 OptimizationRemarkEmitter &ORE; variable 164 LoopVectorizationRequirements(OptimizationRemarkEmitter &ORE) : ORE(ORE) {} in LoopVectorizationRequirements() argument 181 OptimizationRemarkEmitter &ORE; variable 203 LoopInfo *LI, OptimizationRemarkEmitter *ORE, in LoopVectorizationLegality() argument 207 GetLAA(GetLAA), ORE(ORE), Requirements(R), Hints(H), DB(DB), AC(AC) {} in LoopVectorizationLegality() 415 OptimizationRemarkEmitter *ORE; variable
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | HardwareLoops.cpp | 114 OptimizationRemarkEmitter *ORE, Loop *TheLoop, Instruction *I = nullptr) { in reportHWLoopFailure() argument 116 ORE->emit(createHWLoopAnalysis(ORETag, TheLoop, I) << Msg); in reportHWLoopFailure() 153 OptimizationRemarkEmitter *ORE = nullptr; member in __anonbd33b7190111::HardwareLoops 188 OptimizationRemarkEmitter *ORE) : in HardwareLoop() argument 189 SE(SE), DL(DL), ORE(ORE), L(Info.L), M(L->getHeader()->getModule()), in HardwareLoop() 202 OptimizationRemarkEmitter *ORE = nullptr; member in __anonbd33b7190111::HardwareLoop 228 ORE = &getAnalysis<OptimizationRemarkEmitterWrapperPass>().getORE(); in runOnFunction() 251 ORE, L); in TryConvertLoop() 259 "HWLoopCannotAnalyze", ORE, L); in TryConvertLoop() 266 "HWLoopNotProfitable", ORE, L); in TryConvertLoop() [all …]
|
D | StackProtector.cpp | 262 OptimizationRemarkEmitter ORE(F); in RequiresStackProtector() local 265 ORE.emit([&]() { in RequiresStackProtector() 298 ORE.emit(RemarkBuilder); in RequiresStackProtector() 304 ORE.emit(RemarkBuilder); in RequiresStackProtector() 311 ORE.emit(RemarkBuilder); in RequiresStackProtector() 322 ORE.emit([&]() { in RequiresStackProtector() 336 ORE.emit([&]() { in RequiresStackProtector()
|
D | ShrinkWrap.cpp | 135 MachineOptimizationRemarkEmitter *ORE = nullptr; member in __anon9d43b5270111::ShrinkWrap 196 ORE = &getAnalysis<MachineOptimizationRemarkEmitterPass>().getORE(); in init() 450 static bool giveUpWithRemarks(MachineOptimizationRemarkEmitter *ORE, in giveUpWithRemarks() argument 454 ORE->emit([&]() { in giveUpWithRemarks() 479 return giveUpWithRemarks(ORE, "UnsupportedIrreducibleCFG", in runOnMachineFunction() 493 return giveUpWithRemarks(ORE, "UnsupportedEHFunclets", in runOnMachineFunction()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | PartialInlining.cpp | 228 OptimizationRemarkEmitter &ORE, 231 OptimizationRemarkEmitter &ORE, 267 OptimizationRemarkEmitter &ORE; member 289 OptimizationRemarkEmitter &ORE); 344 computeOutliningColdRegionsInfo(Function *F, OptimizationRemarkEmitter &ORE); 394 OptimizationRemarkEmitter &ORE) { in computeOutliningColdRegionsInfo() argument 421 [&ORE](SmallVectorImpl<BasicBlock *> &BlockList) -> BasicBlock * { in computeOutliningColdRegionsInfo() 427 ORE.emit([&]() { in computeOutliningColdRegionsInfo() 520 ORE.emit([&]() { in computeOutliningColdRegionsInfo() 764 OptimizationRemarkEmitter &ORE) { in shouldPartialInline() argument [all …]
|
D | HotColdSplitting.cpp | 303 OptimizationRemarkEmitter &ORE, AssumptionCache *AC, unsigned Count) { in extractColdRegion() argument 342 ORE.emit([&]() { in extractColdRegion() 351 ORE.emit([&]() { in extractColdRegion() 566 OptimizationRemarkEmitter &ORE = (*GetORE)(F); in outlineColdRegions() local 635 ORE, AC, OutlinedFunctionID); in outlineColdRegions() 688 std::unique_ptr<OptimizationRemarkEmitter> ORE; in runOnModule() local 690 [&ORE](Function &F) -> OptimizationRemarkEmitter & { in runOnModule() 691 ORE.reset(new OptimizationRemarkEmitter(&F)); in runOnModule() 692 return *ORE.get(); in runOnModule() 720 std::unique_ptr<OptimizationRemarkEmitter> ORE; in run() local [all …]
|
D | Inliner.cpp | 420 OptimizationRemarkEmitter &ORE) { in shouldInline() argument 437 ORE.emit([&]() { in shouldInline() 449 ORE.emit([&]() { in shouldInline() 462 ORE.emit([&]() { in shouldInline() 507 static void emit_inlined_into(OptimizationRemarkEmitter &ORE, DebugLoc &DLoc, in emit_inlined_into() argument 510 ORE.emit([&]() { in emit_inlined_into() 561 OptimizationRemarkEmitter ORE(F); in inlineCallsImpl() local 578 ORE.emit([&]() { in inlineCallsImpl() 651 OptimizationRemarkEmitter ORE(Caller); in inlineCallsImpl() local 653 Optional<InlineCost> OIC = shouldInline(CS, GetInlineCost, ORE); in inlineCallsImpl() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | OptimizationRemarkEmitter.h | 137 std::unique_ptr<OptimizationRemarkEmitter> ORE; variable 147 assert(ORE && "pass not run yet"); in getORE() 148 return *ORE; in getORE()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/ |
D | UnrollLoop.h | 83 AssumptionCache *AC, OptimizationRemarkEmitter *ORE, 107 OptimizationRemarkEmitter *ORE, 116 OptimizationRemarkEmitter *ORE, unsigned &TripCount,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | LoopUnroll.cpp | 280 OptimizationRemarkEmitter *ORE, in UnrollLoop() argument 465 if (ORE) in UnrollLoop() 466 ORE->emit([&]() { in UnrollLoop() 475 if (ORE) in UnrollLoop() 476 ORE->emit([&]() { in UnrollLoop() 494 if (ORE) in UnrollLoop() 495 ORE->emit([&]() { in UnrollLoop() 501 if (ORE) in UnrollLoop() 502 ORE->emit([&]() { in UnrollLoop() 509 if (ORE) in UnrollLoop() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | MachineOptimizationRemarkEmitter.h | 213 std::unique_ptr<MachineOptimizationRemarkEmitter> ORE; variable 223 assert(ORE && "pass not run yet"); in getORE() 224 return *ORE; in getORE()
|