Searched refs:BranchProbabilityInfo (Results 1 - 14 of 14) sorted by relevance

/external/llvm/include/llvm/Analysis/
H A DBranchProbabilityInfo.h1 //===--- BranchProbabilityInfo.h - Branch Probability Analysis --*- C++ -*-===//
40 class BranchProbabilityInfo { class in namespace:llvm
42 BranchProbabilityInfo() {} function in class:llvm::BranchProbabilityInfo
43 BranchProbabilityInfo(Function &F, const LoopInfo &LI) { calculate(F, LI); } function in class:llvm::BranchProbabilityInfo
162 /// \brief Legacy analysis pass which computes \c BranchProbabilityInfo.
164 BranchProbabilityInfo BPI;
174 BranchProbabilityInfo &getBPI() { return BPI; }
175 const BranchProbabilityInfo &getBPI() const { return BPI; }
H A DBlockFrequencyInfo.h23 class BranchProbabilityInfo;
35 BlockFrequencyInfo(const Function &F, const BranchProbabilityInfo &BPI,
52 void calculate(const Function &F, const BranchProbabilityInfo &BPI,
H A DBlockFrequencyInfoImpl.h37 class BranchProbabilityInfo;
502 typedef BranchProbabilityInfo BranchProbabilityInfoT;
702 /// BranchProbabilityInfo.
/external/llvm/lib/Analysis/
H A DBranchProbabilityInfo.cpp1 //===-- BranchProbabilityInfo.cpp - Branch Probability Analysis -----------===//
14 #include "llvm/Analysis/BranchProbabilityInfo.h"
122 bool BranchProbabilityInfo::calcUnreachableHeuristics(BasicBlock *BB) {
182 bool BranchProbabilityInfo::calcMetadataWeights(BasicBlock *BB) {
244 bool BranchProbabilityInfo::calcColdCallHeuristics(BasicBlock *BB) {
299 bool BranchProbabilityInfo::calcPointerHeuristics(BasicBlock *BB) {
332 bool BranchProbabilityInfo::calcLoopBranchHeuristics(BasicBlock *BB,
390 bool BranchProbabilityInfo::calcZeroHeuristics(BasicBlock *BB) {
472 bool BranchProbabilityInfo::calcFloatingPointHeuristics(BasicBlock *BB) {
508 bool BranchProbabilityInfo
[all...]
H A DBlockFrequencyInfo.cpp16 #include "llvm/Analysis/BranchProbabilityInfo.h"
111 const BranchProbabilityInfo &BPI,
117 const BranchProbabilityInfo &BPI,
208 BranchProbabilityInfo &BPI =
H A DAndroid.mk12 BranchProbabilityInfo.cpp \
/external/llvm/include/llvm/CodeGen/
H A DFunctionLoweringInfo.h35 class BranchProbabilityInfo;
60 BranchProbabilityInfo *BPI;
/external/llvm/lib/Transforms/Instrumentation/
H A DCFGMST.h18 #include "llvm/Analysis/BranchProbabilityInfo.h"
203 BranchProbabilityInfo *BPI;
207 CFGMST(Function &Func, BranchProbabilityInfo *BPI_ = nullptr,
H A DPGOInstrumentation.cpp54 #include "llvm/Analysis/BranchProbabilityInfo.h"
232 BranchProbabilityInfo *BPI = nullptr,
311 BranchProbabilityInfo *BPI,
444 PGOUseFunc(Function &Func, Module *Modu, BranchProbabilityInfo *BPI = nullptr,
672 BranchProbabilityInfo *BPI =
710 BranchProbabilityInfo *BPI =
/external/llvm/lib/CodeGen/
H A DStackProtector.cpp20 #include "llvm/Analysis/BranchProbabilityInfo.h"
457 BranchProbabilityInfo::getBranchWeightStackProtector(true);
459 BranchProbabilityInfo::getBranchWeightStackProtector(false);
/external/llvm/lib/Transforms/Scalar/
H A DInductiveRangeCheckElimination.cpp45 #include "llvm/Analysis/BranchProbabilityInfo.h"
200 BranchProbabilityInfo &BPI);
393 BranchProbabilityInfo &BPI) {
477 BranchProbabilityInfo &BPI,
652 LoopStructure::parseLoopStructure(ScalarEvolution &SE, BranchProbabilityInfo &BPI,
1410 BranchProbabilityInfo &BPI =
H A DJumpThreading.cpp25 #include "llvm/Analysis/BranchProbabilityInfo.h"
100 std::unique_ptr<BranchProbabilityInfo> BPI;
202 BPI.reset(new BranchProbabilityInfo(F, LI));
H A DLoopUnswitch.cpp43 #include "llvm/Analysis/BranchProbabilityInfo.h"
447 BranchProbabilityInfo BPI(*F, *LI);
/external/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp21 #include "llvm/Analysis/BranchProbabilityInfo.h"
1272 BranchProbabilityInfo *BPI = FuncInfo.BPI;
1283 BranchProbabilityInfo *BPI = FuncInfo.BPI;
1471 /// Return branch probability calculated by BranchProbabilityInfo for IR blocks.
1475 BranchProbabilityInfo *BPI = FuncInfo.BPI;
2138 BranchProbabilityInfo *BPI = FuncInfo.BPI;
7638 SuccMBB, BranchProbabilityInfo::getBranchProbStackProtector(IsLikely));
8121 BranchProbabilityInfo *BPI = FuncInfo.BPI;
8470 BranchProbabilityInfo *BPI = FuncInfo.BPI;

Completed in 245 milliseconds