/external/clang/lib/CodeGen/ |
D | CodeGenPGO.h | 150 CodeGenPGO *PGO; variable 157 RegionCounter(CodeGenPGO &PGO, unsigned CounterIndex) in RegionCounter() argument 158 : PGO(&PGO), Counter(CounterIndex), Count(PGO.getRegionCount(Counter)), in RegionCounter() 159 ParentCount(PGO.getCurrentRegionCount()), Adjust(0) {} in RegionCounter() 162 RegionCounter(CodeGenPGO &PGO, const Stmt *S) in RegionCounter() argument 163 : PGO(&PGO), Counter(PGO.getRegionCounter(S)), in RegionCounter() 164 Count(PGO.getRegionCount(Counter)), in RegionCounter() 165 ParentCount(PGO.getCurrentRegionCount()), Adjust(0) {} in RegionCounter() 192 PGO->emitCounterIncrement(Builder, Counter); 197 RegionCount += PGO->getCurrentRegionCount(); [all …]
|
D | CodeGenPGO.cpp | 360 CodeGenPGO &PGO; member 378 CodeGenPGO &PGO) in ComputeRegionCounts() 379 : PGO(PGO), RecordNextStmtCount(false), CountMap(CountMap) {} in ComputeRegionCounts() 383 CountMap[S] = PGO.getCurrentRegionCount(); in RecordStmtCount() 398 RegionCounter Cnt(PGO, D->getBody()); in VisitFunctionDecl() 400 CountMap[D->getBody()] = PGO.getCurrentRegionCount(); in VisitFunctionDecl() 411 RegionCounter Cnt(PGO, D->getBody()); in VisitCapturedDecl() 413 CountMap[D->getBody()] = PGO.getCurrentRegionCount(); in VisitCapturedDecl() 419 RegionCounter Cnt(PGO, D->getBody()); in VisitObjCMethodDecl() 421 CountMap[D->getBody()] = PGO.getCurrentRegionCount(); in VisitObjCMethodDecl() [all …]
|
D | CGStmt.cpp | 47 PGO.setCurrentStmt(S); in EmitStmt() 679 PGO.createLoopWeights(S.getCond(), Cnt)); in EmitWhileStmt() 762 PGO.createLoopWeights(S.getCond(), Cnt)); in EmitDoStmt() 838 PGO.createLoopWeights(S.getCond(), Cnt)); in EmitForStmt() 922 BoolCondVal, ForBody, ExitBlock, PGO.createLoopWeights(S.getCond(), Cnt)); in EmitCXXForRangeStmt() 1153 Weights = PGO.createBranchWeights(ThisCount, DefaultCount); in EmitCaseStmtRange() 1526 if (PGO.haveRegionCounts()) { in EmitSwitchStmt() 1592 PGO.createBranchWeights(*SwitchWeights)); in EmitSwitchStmt() 2154 PGO.assignRegionCounters(CD, F); in GenerateCapturedStmtFunction() 2157 PGO.emitInstrumentationData(); in GenerateCapturedStmtFunction() [all …]
|
D | CodeGenFunction.cpp | 46 PGO(cgm), SwitchInsn(nullptr), SwitchWeights(nullptr), in CodeGenFunction() 803 PGO.assignRegionCounters(GD.getDecl(), CurFn); in GenerateCode() 864 PGO.emitInstrumentationData(); in GenerateCode() 865 PGO.destroyRegionCounters(); in GenerateCode() 1065 uint64_t FalseCount = PGO.getCurrentRegionCount() - TrueCount; in EmitBranchOnBoolExpr() 1120 uint64_t CurrentCount = std::max(PGO.getCurrentRegionCount(), TrueCount); in EmitBranchOnBoolExpr() 1121 llvm::MDNode *Weights = PGO.createBranchWeights(TrueCount, in EmitBranchOnBoolExpr()
|
D | CGObjC.cpp | 505 PGO.assignRegionCounters(OMD, CurFn); in GenerateObjCMethod() 511 PGO.emitInstrumentationData(); in GenerateObjCMethod() 512 PGO.destroyRegionCounters(); in GenerateObjCMethod() 1515 uint64_t EntryCount = PGO.getCurrentRegionCount(); in EmitObjCForCollectionStmt() 1519 PGO.createBranchWeights(EntryCount, Cnt.getCount())); in EmitObjCForCollectionStmt() 1662 PGO.createBranchWeights(Cnt.getCount(), EntryCount)); in EmitObjCForCollectionStmt()
|
D | CGBlocks.cpp | 1198 PGO.assignRegionCounters(blockDecl, fn); in GenerateBlockFunction() 1202 PGO.emitInstrumentationData(); in GenerateBlockFunction() 1203 PGO.destroyRegionCounters(); in GenerateBlockFunction()
|
D | CodeGenFunction.h | 837 CodeGenPGO PGO; variable 843 return RegionCounter(PGO, S); in getPGORegionCounter()
|
D | CGCall.cpp | 2462 PGO.setCurrentRegionUnreachable(); in EmitNoreturnRuntimeCallOrInvoke()
|
D | CGExpr.cpp | 89 PGO.setCurrentStmt(E); in EvaluateExprAsBool()
|
/external/chromium_org/tools/gyp/test/win/linker-flags/ |
D | pgo.gyp | 10 # In the PGO (Profile-Guided Optimization) build flow, we need to build the 17 # 1) PGO (Profile-Guided Optimization) database, and 21 # phase of PGO. 40 # to the linker, because it causes LNK1268 error in PGO biuld. 123 # output to determine if PGO (Profile-Guided Optimization) is available on
|
/external/chromium_org/build/internal/ |
D | README.chromium | 18 …t. Includes release_defaults.vsprops. Enables Profile Guided Optimization (PGO) instrumentation (f… 21 …e. Includes release_defaults.vsprops. Enables Profile Guided Optimization (PGO) optimization (seco…
|
/external/llvm/docs/CommandGuide/ |
D | llvm-profdata.rst | 13 generated by PGO instrumentation and generates a file with merged data.
|
/external/clang/include/clang/Frontend/ |
D | CodeGenOptions.def | 90 ///< execution counts to use with PGO.
|
/external/chromium_org/build/config/compiler/ |
D | BUILD.gn | 769 # Disable Warning 4702 ("Unreachable code") for the WPO/PGO builds. 772 # of C4702 for PGO builds is likely very small.
|
/external/chromium_org/build/ |
D | common.gypi | 410 # This is known as PGO (profile guided optimization). 1224 # Experimental setting to optimize Chrome's DLLs with PGO. 5025 # Disable Warning 4702 ("Unreachable code") for the WPO/PGO 5029 # PGO builds is likely very small.
|