Home
last modified time | relevance | path

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

/external/swiftshader/third_party/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.cpp424 uint32_t Weight = getEdgeWeight(BB, Succ); in getSumForBlock()
437 uint32_t Weight = getEdgeWeight(Src, Dst); in isEdgeHot()
452 uint32_t Weight = getEdgeWeight(BB, Succ); in getHotSucc()
473 getEdgeWeight(const BasicBlock *Src, const BasicBlock *Dst) const { in getEdgeWeight() function in BranchProbabilityInfo
495 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()
DProfileInfoLoaderPass.cpp100 if ((w = getEdgeWeight(edge)) == MissingValue) { in readEdgeOrRemember()
145 << (unsigned)getEdgeWeight(e) << "\n"); in readEdge()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DMachineBranchProbabilityInfo.cpp36 uint32_t Weight = getEdgeWeight(MBB, Succ); in getSumForBlock()
47 MachineBranchProbabilityInfo::getEdgeWeight(MachineBasicBlock *Src, in getEdgeWeight() function in MachineBranchProbabilityInfo
58 uint32_t Weight = getEdgeWeight(Src, Dst); in isEdgeHot()
75 uint32_t Weight = getEdgeWeight(MBB, Succ); in getHotSucc()
97 uint32_t N = getEdgeWeight(Src, Dst); in getEdgeProbability()
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DMachineBranchProbabilityInfo.h54 uint32_t getEdgeWeight(MachineBasicBlock *Src, MachineBasicBlock *Dst) const;
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DBranchProbabilityInfo.h56 uint32_t getEdgeWeight(const BasicBlock *Src, const BasicBlock *Dst) const;
DProfileInfo.h113 double getEdgeWeight(Edge e) const { in getEdgeWeight() function
/external/swiftshader/third_party/LLVM/tools/llvm-prof/
Dllvm-prof.cpp110 double w = ignoreMissing(PI.getEdgeWeight(std::make_pair(BB, Succ))); in emitBasicBlockEndAnnot()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h454 uint32_t getEdgeWeight(MachineBasicBlock *Src, MachineBasicBlock *Dst);
DSelectionDAGBuilder.cpp1288 uint32_t SelectionDAGBuilder::getEdgeWeight(MachineBasicBlock *Src, in getEdgeWeight() function in SelectionDAGBuilder
1295 return BPI->getEdgeWeight(SrcBB, DstBB); in getEdgeWeight()
1302 Weight = getEdgeWeight(Src, Dst); in addSuccessorWithWeight()
2390 uint32_t ExtraWeight = BPI ? BPI->getEdgeWeight(SI.getParent(), SuccBB) : 0; in Clusterify()
2417 BPI->getEdgeWeight(SI.getParent(), currentBB->getBasicBlock()) : 16; in Clusterify()
2419 BPI->getEdgeWeight(SI.getParent(), nextBB->getBasicBlock()) : 16; in Clusterify()