Home
last modified time | relevance | path

Searched refs:getEdgeWeight (Results 1 – 14 of 14) 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()
94 uint32_t Weight = getEdgeWeight(MBB, I); in getHotSucc()
111 uint32_t N = getEdgeWeight(Src, Dst) / Scale; in getEdgeProbability()
DMachineBlockPlacement.cpp380 uint32_t SuccWeight = MBPI->getEdgeWeight(BB, Succ); in selectBestSuccessor()
693 uint32_t SuccWeight = MBPI->getEdgeWeight(MBB, Succ); in findBestLoopExit()
1040 MBPI->getEdgeWeight(PrevBB, FBB) > MBPI->getEdgeWeight(PrevBB, TBB) && in buildCFGChains()
1044 DEBUG(dbgs() << " Edge weight: " << MBPI->getEdgeWeight(PrevBB, FBB) in buildCFGChains()
1045 << " vs " << MBPI->getEdgeWeight(PrevBB, TBB) << "\n"); in buildCFGChains()
DIfConversion.cpp1129 MBB->setSuccWeight(SI, MBPI->getEdgeWeight(MBB, SI) / Scale); in ScaleWeights()
1194 CvtNext = MBPI->getEdgeWeight(CvtBBI->BB, NextBBI->BB); in IfConvertTriangle()
1195 CvtFalse = MBPI->getEdgeWeight(CvtBBI->BB, CvtBBI->FalseBB); in IfConvertTriangle()
1196 BBNext = MBPI->getEdgeWeight(BBI.BB, NextBBI->BB); in IfConvertTriangle()
1197 BBCvt = MBPI->getEdgeWeight(BBI.BB, CvtBBI->BB); in IfConvertTriangle()
DTailDuplication.cpp734 uint32_t Weight = MBPI->getEdgeWeight(PredBB, TailBB); in duplicateSimpleBB()
848 PredBB->addSuccessor(*I, MBPI->getEdgeWeight(TailBB, I)); in TailDuplicate()
/external/llvm/include/llvm/Analysis/
DBranchProbabilityInfo.h93 uint32_t getEdgeWeight(const BasicBlock *Src,
100 uint32_t getEdgeWeight(const BasicBlock *Src, const BasicBlock *Dst) const;
102 uint32_t getEdgeWeight(const BasicBlock *Src,
DBlockFrequencyInfoImpl.h1148 BPI->getEdgeWeight(BB, SI)))
/external/llvm/include/llvm/CodeGen/
DMachineBranchProbabilityInfo.h49 uint32_t getEdgeWeight(const MachineBasicBlock *Src,
54 uint32_t getEdgeWeight(const MachineBasicBlock *Src,
/external/llvm/lib/Analysis/
DBranchProbabilityInfo.cpp552 uint32_t Weight = getEdgeWeight(BB, I.getSuccessorIndex()); in getSumForBlock()
576 uint32_t Weight = getEdgeWeight(BB, Succ); in getHotSucc()
599 getEdgeWeight(const BasicBlock *Src, unsigned IndexInSuccessors) const { in getEdgeWeight() function in BranchProbabilityInfo
609 uint32_t BranchProbabilityInfo::getEdgeWeight(const BasicBlock *Src, in getEdgeWeight() function in BranchProbabilityInfo
611 return getEdgeWeight(Src, Dst.getSuccessorIndex()); in getEdgeWeight()
617 getEdgeWeight(const BasicBlock *Src, const BasicBlock *Dst) const { in getEdgeWeight() function in BranchProbabilityInfo
643 uint32_t N = getEdgeWeight(Src, IndexInSuccessors); in getEdgeProbability()
654 uint32_t N = getEdgeWeight(Src, Dst); in getEdgeProbability()
/external/llvm/lib/Target/Mips/
DMipsDelaySlotFiller.cpp782 return Prob.getEdgeWeight(&B, Dst0) < Prob.getEdgeWeight(&B, Dst1); in selectSuccBB()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h696 uint32_t getEdgeWeight(const MachineBasicBlock *Src,
DSelectionDAGBuilder.cpp1376 uint32_t SelectionDAGBuilder::getEdgeWeight(const MachineBasicBlock *Src, in getEdgeWeight() function in SelectionDAGBuilder
1383 return BPI->getEdgeWeight(SrcBB, DstBB); in getEdgeWeight()
1390 Weight = getEdgeWeight(Src, Dst); in addSuccessorWithWeight()
1631 BOp->getOpcode(), getEdgeWeight(BrMBB, Succ0MBB), in visitBr()
1632 getEdgeWeight(BrMBB, Succ1MBB)); in visitBr()
2165 BPI ? BPI->getEdgeWeight(SwitchBB->getBasicBlock(), (unsigned)0) : 0); in handleSmallSwitchRange()
2666 uint32_t Weight = BPI ? BPI->getEdgeWeight(SI->getParent(), SuccIndex) : 0; in Clusterify()
DFastISel.cpp1382 BranchWeight = FuncInfo.BPI->getEdgeWeight(FuncInfo.MBB->getBasicBlock(), in fastEmitBranch()
/external/llvm/lib/Target/AArch64/
DAArch64FastISel.cpp2230 BranchWeight = FuncInfo.BPI->getEdgeWeight(BI->getParent(), in emitCompareAndBranch()
2312 BranchWeight = FuncInfo.BPI->getEdgeWeight(BI->getParent(), in selectBranch()
2350 BranchWeight = FuncInfo.BPI->getEdgeWeight(BI->getParent(), in selectBranch()
2366 BranchWeight = FuncInfo.BPI->getEdgeWeight(BI->getParent(), in selectBranch()
2385 BranchWeight = FuncInfo.BPI->getEdgeWeight(BI->getParent(), in selectBranch()
2419 BranchWeight = FuncInfo.BPI->getEdgeWeight(BI->getParent(), in selectBranch()
/external/llvm/lib/Target/X86/
DX86FastISel.cpp1418 BranchWeight = FuncInfo.BPI->getEdgeWeight(BI->getParent(), in X86SelectBranch()
1459 BranchWeight = FuncInfo.BPI->getEdgeWeight(BI->getParent(), in X86SelectBranch()
1479 BranchWeight = FuncInfo.BPI->getEdgeWeight(BI->getParent(), in X86SelectBranch()
1498 BranchWeight = FuncInfo.BPI->getEdgeWeight(BI->getParent(), in X86SelectBranch()