Home
last modified time | relevance | path

Searched refs:getEdgeWeight (Results 1 – 15 of 15) sorted by relevance

/external/llvm/lib/CodeGen/
DMachineBranchProbabilityInfo.cpp41 uint32_t Weight = getEdgeWeight(MBB, I); in getSumForBlock()
56 uint32_t Weight = getEdgeWeight(MBB, I); in getSumForBlock()
64 getEdgeWeight(const MachineBasicBlock *Src, in getEdgeWeight() function in MachineBranchProbabilityInfo
73 getEdgeWeight(const MachineBasicBlock *Src, in getEdgeWeight() function in MachineBranchProbabilityInfo
77 return getEdgeWeight(Src, std::find(Src->succ_begin(), Src->succ_end(), Dst)); in getEdgeWeight()
93 uint32_t Weight = getEdgeWeight(MBB, I); in getHotSucc()
111 uint32_t N = getEdgeWeight(Src, Dst) / Scale; in getEdgeProbability()
DMachineBlockPlacement.cpp350 uint32_t SuccWeight = MBPI->getEdgeWeight(BB, *SI); in selectBestSuccessor()
669 uint32_t SuccWeight = MBPI->getEdgeWeight(*I, *SI); in findBestLoopExit()
992 MBPI->getEdgeWeight(PrevBB, FBB) > MBPI->getEdgeWeight(PrevBB, TBB) && in buildCFGChains()
996 DEBUG(dbgs() << " Edge weight: " << MBPI->getEdgeWeight(PrevBB, FBB) in buildCFGChains()
997 << " vs " << MBPI->getEdgeWeight(PrevBB, TBB) << "\n"); in buildCFGChains()
/external/llvm/lib/Analysis/
DProfileInfo.cpp76 Count = getEdgeWeight(e); in getExecutionCount()
85 double w = getEdgeWeight(getEdge(P, BB)); in getExecutionCount()
103 Count = getEdgeWeight(e); in getExecutionCount()
109 double w = getEdgeWeight(getEdge(BB, *SI)); in getExecutionCount()
184 double oldw = getEdgeWeight(e); in addEdgeWeight()
225 if ((w = getEdgeWeight(newedge)) == MissingValue) { in replaceEdge()
226 w = getEdgeWeight(oldedge); in replaceEdge()
229 w += getEdgeWeight(oldedge); in replaceEdge()
261 if ((Mode & GetPathWithNewEdges) && (getEdgeWeight(e) != MissingValue)) continue; in GetPath()
286 if (getEdgeWeight(oldedge) == 0) { in divertFlow()
[all …]
DProfileEstimatorPass.cpp107 << format("%20.20g", getEdgeWeight(E)) << "\n"); in printEdgeWeight()
135 double w = getEdgeWeight(edge); in recurseBasicBlock()
187 double w = getEdgeWeight(*ei); in recurseBasicBlock()
274 double w = getEdgeWeight(edge); in recurseBasicBlock()
276 BBWeight -= getEdgeWeight(edge); in recurseBasicBlock()
373 double w = getEdgeWeight(e); in runOnFunction()
DBranchProbabilityInfo.cpp444 uint32_t Weight = getEdgeWeight(BB, I.getSuccessorIndex()); in getSumForBlock()
468 uint32_t Weight = getEdgeWeight(BB, Succ); in getHotSucc()
491 getEdgeWeight(const BasicBlock *Src, unsigned IndexInSuccessors) const { in getEdgeWeight() function in BranchProbabilityInfo
504 getEdgeWeight(const BasicBlock *Src, const BasicBlock *Dst) const { in getEdgeWeight() function in BranchProbabilityInfo
530 uint32_t N = getEdgeWeight(Src, IndexInSuccessors); in getEdgeProbability()
541 uint32_t N = getEdgeWeight(Src, Dst); in getEdgeProbability()
DProfileVerifierPass.cpp105 double EdgeWeight = PI->getEdgeWeight(E); in printDebugInfo()
120 double EdgeWeight = PI->getEdgeWeight(E); in printDebugInfo()
201 double EdgeWeight = PI->getEdgeWeight(E); in ReadOrAssert()
266 double w = PI->getEdgeWeight(PI->getEdge(BB,0)); in recurseBasicBlock()
DProfileDataLoaderPass.cpp104 << PB.getEdgeWeight(e) << "\n"); in readEdge()
153 Weights[s] = (uint32_t)PB.getEdgeWeight(edge); in setBranchWeightMetadata()
DProfileInfoLoaderPass.cpp100 if ((w = getEdgeWeight(edge)) == MissingValue) { in readEdgeOrRemember()
145 << (unsigned)getEdgeWeight(e) << "\n"); in readEdge()
/external/llvm/include/llvm/CodeGen/
DMachineBranchProbabilityInfo.h50 uint32_t getEdgeWeight(const MachineBasicBlock *Src,
55 uint32_t getEdgeWeight(const MachineBasicBlock *Src,
/external/llvm/include/llvm/Analysis/
DBranchProbabilityInfo.h92 uint32_t getEdgeWeight(const BasicBlock *Src,
99 uint32_t getEdgeWeight(const BasicBlock *Src, const BasicBlock *Dst) const;
DProfileDataLoader.h73 unsigned getEdgeWeight(Edge e) const { in getEdgeWeight() function
DProfileInfo.h112 double getEdgeWeight(Edge e) const { in getEdgeWeight() function
/external/llvm/tools/llvm-prof/
Dllvm-prof.cpp110 double w = ignoreMissing(PI.getEdgeWeight(std::make_pair(BB, Succ))); in emitBasicBlockEndAnnot()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h449 uint32_t getEdgeWeight(const MachineBasicBlock *Src,
DSelectionDAGBuilder.cpp1314 uint32_t SelectionDAGBuilder::getEdgeWeight(const MachineBasicBlock *Src, in getEdgeWeight() function in SelectionDAGBuilder
1321 return BPI->getEdgeWeight(SrcBB, DstBB); in getEdgeWeight()
1328 Weight = getEdgeWeight(Src, Dst); in addSuccessorWithWeight()
1973 BPI ? BPI->getEdgeWeight(SwitchBB->getBasicBlock(), (unsigned)0) : 0); in handleSmallSwitchRange()
2476 BPI ? BPI->getEdgeWeight(SI.getParent(), i.getSuccessorIndex()) : 0); in Clusterify()