Home
last modified time | relevance | path

Searched refs:BranchProbabilityInfo (Results 1 – 25 of 38) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DBranchProbabilityInfo.h113 class BranchProbabilityInfo {
115 BranchProbabilityInfo() = default;
117 BranchProbabilityInfo(const Function &F, const LoopInfo &LI,
124 BranchProbabilityInfo(BranchProbabilityInfo &&Arg) in BranchProbabilityInfo() function
132 BranchProbabilityInfo(const BranchProbabilityInfo &) = delete;
133 BranchProbabilityInfo &operator=(const BranchProbabilityInfo &) = delete;
135 BranchProbabilityInfo &operator=(BranchProbabilityInfo &&RHS) {
281 BranchProbabilityInfo *BPI;
289 void setBPI(BranchProbabilityInfo *BPI) { this->BPI = BPI; } in setBPI()
291 BasicBlockCallbackVH(const Value *V, BranchProbabilityInfo *BPI = nullptr)
[all …]
H A DLazyBranchProbabilityInfo.h63 BranchProbabilityInfo &getCalculated() { in getCalculated()
72 const BranchProbabilityInfo &getCalculated() const { in getCalculated()
77 BranchProbabilityInfo BPI;
92 BranchProbabilityInfo &getBPI() { return LBPI->getCalculated(); } in getBPI()
95 const BranchProbabilityInfo &getBPI() const { return LBPI->getCalculated(); } in getBPI()
118 static BranchProbabilityInfo &getBPI(LazyBranchProbabilityInfoPass *P) {
H A DBlockFrequencyInfo.h27 class BranchProbabilityInfo;
45 BlockFrequencyInfo(const Function &F, const BranchProbabilityInfo &BPI,
58 const BranchProbabilityInfo *getBPI() const;
93 void calculate(const Function &F, const BranchProbabilityInfo &BPI,
26 class BranchProbabilityInfo; global() variable
H A DLoopAnalysisManager.h39 class BranchProbabilityInfo; variable
62 BranchProbabilityInfo *BPI;
H A DCFGPrinter.h63 const BranchProbabilityInfo *BPI;
73 const BranchProbabilityInfo *BPI, uint64_t MaxFreq) in DOTFuncInfo()
82 const BranchProbabilityInfo *getBPI() const { return BPI; } in getBPI()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DBranchProbabilityInfo.cpp217 BranchProbabilityInfo::SccInfo::SccInfo(const Function &F) { in SccInfo()
240 int BranchProbabilityInfo::SccInfo::getSCCNum(const BasicBlock *BB) const { in getSCCNum()
247 void BranchProbabilityInfo::SccInfo::getSccEnterBlocks( in getSccEnterBlocks()
259 void BranchProbabilityInfo::SccInfo::getSccExitBlocks( in getSccExitBlocks()
270 uint32_t BranchProbabilityInfo::SccInfo::getSccBlockType(const BasicBlock *BB, in getSccBlockType()
284 void BranchProbabilityInfo::SccInfo::calculateSccBlockType(const BasicBlock *BB, in calculateSccBlockType()
315 BranchProbabilityInfo::LoopBlock::LoopBlock(const BasicBlock *BB, in LoopBlock()
325 bool BranchProbabilityInfo::isLoopEnteringEdge(const LoopEdge &Edge) const { in isLoopEnteringEdge()
335 bool BranchProbabilityInfo::isLoopExitingEdge(const LoopEdge &Edge) const { in isLoopExitingEdge()
339 bool BranchProbabilityInfo::isLoopEnteringExitingEdge( in isLoopEnteringExitingEdge()
[all …]
H A DBlockFrequencyInfo.cpp124 BFIDOTGraphTraitsBase<BlockFrequencyInfo, BranchProbabilityInfo>;
155 const BranchProbabilityInfo &BPI, in BlockFrequencyInfo()
185 const BranchProbabilityInfo &BPI, in calculate()
263 const BranchProbabilityInfo *BlockFrequencyInfo::getBPI() const { in getBPI()
325 BranchProbabilityInfo &BPI = in runOnFunction()
H A DCFGPrinter.cpp61 BranchProbabilityInfo *BPI, uint64_t MaxFreq,
83 const BranchProbabilityInfo *BPI, uint64_t MaxFreq,
140 const BranchProbabilityInfo *BPI) const { in CFGOnlyViewerLegacyPass()
155 const BranchProbabilityInfo *BPI) const { in getAnalysisUsage()
H A DOptimizationRemarkEmitter.cpp41 BranchProbabilityInfo BPI(*F, LI, nullptr, &DT, nullptr); in OptimizationRemarkEmitter()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DCodeExtractor.h29 class BranchProbabilityInfo; variable
92 BranchProbabilityInfo *BPI;
140 BranchProbabilityInfo *BPI = nullptr,
152 BranchProbabilityInfo *BPI = nullptr,
266 BranchProbabilityInfo *BPI);
H A DBasicBlockUtils.h32 class BranchProbabilityInfo; variable
602 BranchProbabilityInfo *BPI = nullptr,
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DJumpThreading.h88 std::optional<BranchProbabilityInfo *> BPI;
109 std::optional<BranchProbabilityInfo *> BPI);
174 BranchProbabilityInfo *BPI,
191 BranchProbabilityInfo *getBPI();
201 BranchProbabilityInfo *getOrCreateBPI(bool Force = false);
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DSpeculateAnalyses.h16 #include "llvm/Analysis/BranchProbabilityInfo.h"
68 const BranchProbabilityInfo *,
72 const BranchProbabilityInfo *,
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DSpeculateAnalyses.cpp15 #include "llvm/Analysis/BranchProbabilityInfo.h"
150 const BranchProbabilityInfo *BPI, in traverseToEntryBlock()
193 const BranchProbabilityInfo *BPI, in traverseToExitBlock()
259 BranchProbabilityInfo *BPI = in queryCFG()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DFunctionLoweringInfo.h37 class BranchProbabilityInfo; variable
63 BranchProbabilityInfo *BPI;
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Instrumentation/
H A DCFGMST.h20 #include "llvm/Analysis/BranchProbabilityInfo.h"
53 BranchProbabilityInfo *const BPI;
295 BranchProbabilityInfo *BPI = nullptr, in F()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp588 bool CreateGlobalVar = false, BranchProbabilityInfo *BPI = nullptr, in FuncPGOInstrumentation()
872 Function &F, Module *M, TargetLibraryInfo &TLI, BranchProbabilityInfo *BPI, in instrumentOneFunc()
1093 BranchProbabilityInfo *BPI, BlockFrequencyInfo *BFIin, in PGOUseFunc()
1490 BranchProbabilityInfo BPI(F, LI); in populateCoverage()
1866 function_ref<BranchProbabilityInfo *(Function &)> LookupBPI, in InstrumentAllFunctions()
1931 BranchProbabilityInfo &NBPI) { in fixFuncEntryCount()
1978 BranchProbabilityInfo &NBPI, in verifyFuncBFI()
2054 function_ref<BranchProbabilityInfo *(Function &)> LookupBPI, in annotateAllFunctions()
2178 std::unique_ptr<BranchProbabilityInfo> NewBPI = in annotateAllFunctions()
2179 std::make_unique<BranchProbabilityInfo>(F, LI); in annotateAllFunctions()
[all …]
H A DGCOVProfiling.cpp22 #include "llvm/Analysis/BranchProbabilityInfo.h"
99 function_ref<BranchProbabilityInfo *(Function &F)> GetBPI,
119 function_ref<BranchProbabilityInfo *(Function &F)> GetBPI,
554 function_ref<BranchProbabilityInfo *(Function &F)> GetBPI, in runOnModule()
765 function_ref<BranchProbabilityInfo *(Function &F)> GetBPI, in emitProfileNotes()
812 BranchProbabilityInfo *BPI = GetBPI(F); in emitProfileNotes()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DFunction.h60 class BranchProbabilityInfo; variable
910 const BranchProbabilityInfo *BPI) const;
921 const BranchProbabilityInfo *BPI) const;
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DStackProtector.cpp20 #include "llvm/Analysis/BranchProbabilityInfo.h"
668 BranchProbabilityInfo::getBranchProbStackProtector(true);
670 BranchProbabilityInfo::getBranchProbStackProtector(false);
H A DCodeGenCommonISel.cpp41 SuccMBB, BranchProbabilityInfo::getBranchProbStackProtector(IsLikely)); in addSuccessorMBB()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h79 BranchProbabilityInfo *BPI;
100 BlockFrequencyInfo *BFI, BranchProbabilityInfo *BPI, in InstCombiner()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DPartialInlining.cpp353 BranchProbabilityInfo BPI(F, LI); in computeOutliningColdRegionsInfo()
914 BranchProbabilityInfo BPI(*Caller, LI); in computeCallsiteToProfCountMap()
1102 BranchProbabilityInfo BPI(*ClonedFunc, LI); in doMultiRegionFunctionOutlining()
1174 BranchProbabilityInfo BPI(*ClonedFunc, LI); in doSingleRegionFunctionOutlining()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopPassManager.cpp12 #include "llvm/Analysis/BranchProbabilityInfo.h"
227 BranchProbabilityInfo *BPI = in run()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBreakCriticalEdges.cpp340 BranchProbabilityInfo *BPI, in SplitIndirectBrCriticalEdges()

12