Searched refs:PGO (Results 1 - 16 of 16) sorted by relevance

/freebsd-current/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenPGO.cpp1 //===--- CodeGenPGO.cpp - PGO Instrumentation for LLVM CodeGen --*- C++ -*-===//
54 /// The version of the PGO hash algorithm.
65 /// Stable hasher for PGO region counters.
146 /// Get the PGO hash version used in the given indexed profile.
156 /// A RecursiveASTVisitor that fills a map of statements to PGO counters.
398 /// Get version \p HashVersion of the PGO hash for \p S.
491 /// PGO state.
492 CodeGenPGO &PGO; member in struct:__anon510::ComputeRegionCounts
513 CodeGenPGO &PGO)
514 : PGO(PG
512 ComputeRegionCounts(llvm::DenseMap<const Stmt *, uint64_t> &CountMap, CodeGenPGO &PGO) argument
[all...]
H A DCodeGenFunction.h1525 CodeGenPGO PGO; member in class:clang::CodeGen::CodeGenFunction
1530 /// Calculate branch weights appropriate for PGO data
1544 PGO.emitCounterIncrement(Builder, S, StepV);
1545 PGO.setCurrentStmt(S);
1558 PGO.emitMCDCParameters(Builder);
1572 PGO.emitMCDCCondBitmapReset(Builder, E, MCDCCondBitmapAddr);
1573 PGO.setCurrentStmt(E);
1581 PGO.emitMCDCTestVectorBitmapUpdate(Builder, E, MCDCCondBitmapAddr);
1582 PGO.setCurrentStmt(E);
1589 PGO
[all...]
H A DCGStmt.cpp58 PGO.setCurrentStmt(S);
824 // Prefer the PGO based weights over the likelihood attribute.
827 // Also, differentiate between disabled PGO and a never executed branch with
828 // PGO. Assuming PGO is in use:
2009 if (PGO.haveRegionCounts()) {
3021 PGO.assignRegionCounters(GlobalDecl(CD), F);
H A DCodeGenModule.cpp7077 CodeGenPGO PGO(*this);
7079 PGO.emitEmptyCounterMapping(D, getMangledName(GD),
7084 CodeGenPGO PGO(*this);
7086 PGO.emitEmptyCounterMapping(D, getMangledName(GD),
7091 CodeGenPGO PGO(*this);
7093 PGO.emitEmptyCounterMapping(D, getMangledName(GD),
H A DCodeGenFunction.cpp77 DebugInfo(CGM.getModuleDebugInfo()), PGO(cgm),
1448 PGO.assignRegionCounters(GD, CurFn);
1890 // When computing PGO branch weights, we only know the overall count for
H A DCGObjC.cpp809 PGO.assignRegionCounters(GlobalDecl(OMD), CurFn);
H A DCGBlocks.cpp1534 PGO.assignRegionCounters(GlobalDecl(blockDecl), fn);
H A DCGExpr.cpp171 PGO.setCurrentStmt(E);
H A DCGCall.cpp5666 PGO.valueProfile(Builder, llvm::IPVK_IndirectCallTarget,
H A DCGStmtOpenMP.cpp641 PGO.assignRegionCounters(GlobalDecl(CD), F);
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineLICM.cpp88 enum class UseBFI { None, PGO, All }; member in class:UseBFI
94 cl::init(UseBFI::PGO), cl::Hidden,
97 clEnumValN(UseBFI::PGO, "pgo",
1513 (DisableHoistingToHotterBlocks == UseBFI::PGO && HasProfileData)) &&
/freebsd-current/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeView.h479 PGO = 1 << 18, member in class:llvm::codeview::CallingConvention::ClassOptions::FrameProcedureOptions::FunctionOptions::HfaKind::MemberAccess::MethodKind::MethodOptions::ModifierOptions::PointerKind::PointerMode::PointerOptions::PointerToMemberRepresentation::VFTableSlotKind::WindowsRTClassKind::CompileSym3Flags
H A DSymbolRecord.h781 (getFlags() & (CompileSym3Flags::PGO | CompileSym3Flags::LTCG));
/freebsd-current/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DEnumTables.cpp134 CV_ENUM_CLASS_ENT(CompileSym3Flags, PGO),
/freebsd-current/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DMinimalSymbolDumper.cpp103 PUSH_FLAG(CompileSym3Flags, PGO, Flags, "pgo");
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp845 Flags |= static_cast<uint32_t>(CompileSym3Flags::PGO);

Completed in 244 milliseconds