/external/llvm/lib/CodeGen/ |
D | MachineBranchProbabilityInfo.cpp | 41 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()
|
D | MachineBlockPlacement.cpp | 350 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/ |
D | ProfileInfo.cpp | 76 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 …]
|
D | ProfileEstimatorPass.cpp | 107 << 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()
|
D | BranchProbabilityInfo.cpp | 444 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()
|
D | ProfileVerifierPass.cpp | 105 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()
|
D | ProfileDataLoaderPass.cpp | 104 << PB.getEdgeWeight(e) << "\n"); in readEdge() 153 Weights[s] = (uint32_t)PB.getEdgeWeight(edge); in setBranchWeightMetadata()
|
D | ProfileInfoLoaderPass.cpp | 100 if ((w = getEdgeWeight(edge)) == MissingValue) { in readEdgeOrRemember() 145 << (unsigned)getEdgeWeight(e) << "\n"); in readEdge()
|
/external/llvm/include/llvm/CodeGen/ |
D | MachineBranchProbabilityInfo.h | 50 uint32_t getEdgeWeight(const MachineBasicBlock *Src, 55 uint32_t getEdgeWeight(const MachineBasicBlock *Src,
|
/external/llvm/include/llvm/Analysis/ |
D | BranchProbabilityInfo.h | 92 uint32_t getEdgeWeight(const BasicBlock *Src, 99 uint32_t getEdgeWeight(const BasicBlock *Src, const BasicBlock *Dst) const;
|
D | ProfileDataLoader.h | 73 unsigned getEdgeWeight(Edge e) const { in getEdgeWeight() function
|
D | ProfileInfo.h | 112 double getEdgeWeight(Edge e) const { in getEdgeWeight() function
|
/external/llvm/tools/llvm-prof/ |
D | llvm-prof.cpp | 110 double w = ignoreMissing(PI.getEdgeWeight(std::make_pair(BB, Succ))); in emitBasicBlockEndAnnot()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.h | 449 uint32_t getEdgeWeight(const MachineBasicBlock *Src,
|
D | SelectionDAGBuilder.cpp | 1314 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()
|