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

/macosx-10.9.5/llvmCore-3425.0.33/lib/CodeGen/
H A DMachineBranchProbabilityInfo.cpp41 uint32_t Weight = getEdgeWeight(MBB, I);
56 uint32_t Weight = getEdgeWeight(MBB, I);
64 getEdgeWeight(const MachineBasicBlock *Src, function in class:MachineBranchProbabilityInfo
73 getEdgeWeight(const MachineBasicBlock *Src, function in class:MachineBranchProbabilityInfo
77 return getEdgeWeight(Src, std::find(Src->succ_begin(), Src->succ_end(), Dst));
93 uint32_t Weight = getEdgeWeight(MBB, I);
111 uint32_t N = getEdgeWeight(Src, Dst) / Scale;
H A DMachineBlockPlacement.cpp350 uint32_t SuccWeight = MBPI->getEdgeWeight(BB, *SI);
668 uint32_t SuccWeight = MBPI->getEdgeWeight(*I, *SI);
991 MBPI->getEdgeWeight(PrevBB, FBB) > MBPI->getEdgeWeight(PrevBB, TBB) &&
995 DEBUG(dbgs() << " Edge weight: " << MBPI->getEdgeWeight(PrevBB, FBB)
996 << " vs " << MBPI->getEdgeWeight(PrevBB, TBB) << "\n");
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/CodeGen/
H A DMachineBranchProbabilityInfo.h50 uint32_t getEdgeWeight(const MachineBasicBlock *Src,
55 uint32_t getEdgeWeight(const MachineBasicBlock *Src,
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/Analysis/
H A DBranchProbabilityInfo.h92 uint32_t getEdgeWeight(const BasicBlock *Src,
99 uint32_t getEdgeWeight(const BasicBlock *Src, const BasicBlock *Dst) const;
H A DProfileDataLoader.h71 /// getEdgeWeight - Return the number of times that a given edge was
73 unsigned getEdgeWeight(Edge e) const { function in class:llvm::ProfileDataT
H A DProfileInfo.h112 double getEdgeWeight(Edge e) const { function in class:llvm::ProfileInfoT
/macosx-10.9.5/llvmCore-3425.0.33/lib/Analysis/
H A DProfileInfo.cpp76 Count = getEdgeWeight(e);
85 double w = getEdgeWeight(getEdge(P, BB));
103 Count = getEdgeWeight(e);
109 double w = getEdgeWeight(getEdge(BB, *SI));
184 double oldw = getEdgeWeight(e);
225 if ((w = getEdgeWeight(newedge)) == MissingValue) {
226 w = getEdgeWeight(oldedge);
229 w += getEdgeWeight(oldedge);
261 if ((Mode & GetPathWithNewEdges) && (getEdgeWeight(e) != MissingValue)) continue;
286 if (getEdgeWeight(oldedg
[all...]
H A DBranchProbabilityInfo.cpp444 uint32_t Weight = getEdgeWeight(BB, I.getSuccessorIndex());
468 uint32_t Weight = getEdgeWeight(BB, Succ);
491 getEdgeWeight(const BasicBlock *Src, unsigned IndexInSuccessors) const { function in class:BranchProbabilityInfo
504 getEdgeWeight(const BasicBlock *Src, const BasicBlock *Dst) const { function in class:BranchProbabilityInfo
530 uint32_t N = getEdgeWeight(Src, IndexInSuccessors);
541 uint32_t N = getEdgeWeight(Src, Dst);
H A DProfileEstimatorPass.cpp107 << format("%20.20g", getEdgeWeight(E)) << "\n");
135 double w = getEdgeWeight(edge);
187 double w = getEdgeWeight(*ei);
274 double w = getEdgeWeight(edge);
276 BBWeight -= getEdgeWeight(edge);
373 double w = getEdgeWeight(e);
H A DProfileDataLoaderPass.cpp104 << PB.getEdgeWeight(e) << "\n");
153 Weights[s] = (uint32_t)PB.getEdgeWeight(edge);
H A DProfileVerifierPass.cpp105 double EdgeWeight = PI->getEdgeWeight(E);
120 double EdgeWeight = PI->getEdgeWeight(E);
201 double EdgeWeight = PI->getEdgeWeight(E);
266 double w = PI->getEdgeWeight(PI->getEdge(BB,0));
H A DProfileInfoLoaderPass.cpp100 if ((w = getEdgeWeight(edge)) == MissingValue) {
145 << (unsigned)getEdgeWeight(e) << "\n");
/macosx-10.9.5/llvmCore-3425.0.33/tools/llvm-prof/
H A Dllvm-prof.cpp110 double w = ignoreMissing(PI.getEdgeWeight(std::make_pair(BB, Succ)));
/macosx-10.9.5/llvmCore-3425.0.33/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h449 uint32_t getEdgeWeight(const MachineBasicBlock *Src,
H A DSelectionDAGBuilder.cpp1336 uint32_t SelectionDAGBuilder::getEdgeWeight(const MachineBasicBlock *Src, function in class:SelectionDAGBuilder
1343 return BPI->getEdgeWeight(SrcBB, DstBB);
1350 Weight = getEdgeWeight(Src, Dst);
1995 BPI ? BPI->getEdgeWeight(SwitchBB->getBasicBlock(), (unsigned)0) : 0);
2498 BPI ? BPI->getEdgeWeight(SI.getParent(), i.getSuccessorIndex()) : 0);

Completed in 197 milliseconds