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

/external/llvm/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));
94 uint32_t Weight = getEdgeWeight(MBB, I);
111 uint32_t N = getEdgeWeight(Src, Dst) / Scale;
H A DMachineBlockPlacement.cpp364 uint32_t SuccWeight = MBPI->getEdgeWeight(BB, *SI);
668 uint32_t SuccWeight = MBPI->getEdgeWeight(*I, *SI);
1018 MBPI->getEdgeWeight(PrevBB, FBB) > MBPI->getEdgeWeight(PrevBB, TBB) &&
1022 DEBUG(dbgs() << " Edge weight: " << MBPI->getEdgeWeight(PrevBB, FBB)
1023 << " vs " << MBPI->getEdgeWeight(PrevBB, TBB) << "\n");
H A DIfConversion.cpp1125 MBB->setSuccWeight(SI, MBPI->getEdgeWeight(MBB, SI) / Scale);
1189 CvtNext = MBPI->getEdgeWeight(CvtBBI->BB, NextBBI->BB);
1190 CvtFalse = MBPI->getEdgeWeight(CvtBBI->BB, CvtBBI->FalseBB);
1191 BBNext = MBPI->getEdgeWeight(BBI.BB, NextBBI->BB);
1192 BBCvt = MBPI->getEdgeWeight(BBI.BB, CvtBBI->BB);
H A DTailDuplication.cpp734 uint32_t Weight = MBPI->getEdgeWeight(PredBB, TailBB);
850 PredBB->addSuccessor(*I, MBPI->getEdgeWeight(TailBB, I));
/external/llvm/include/llvm/CodeGen/
H A DMachineBranchProbabilityInfo.h49 uint32_t getEdgeWeight(const MachineBasicBlock *Src,
54 uint32_t getEdgeWeight(const MachineBasicBlock *Src,
/external/llvm/include/llvm/Analysis/
H A 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,
H A DBlockFrequencyInfoImpl.h1158 // Do not dereference SI, or getEdgeWeight() is linear in the number of
1161 BPI->getEdgeWeight(BB, SI)))
/external/llvm/lib/Analysis/
H A DBranchProbabilityInfo.cpp544 uint32_t Weight = getEdgeWeight(BB, I.getSuccessorIndex());
568 uint32_t Weight = getEdgeWeight(BB, Succ);
591 getEdgeWeight(const BasicBlock *Src, unsigned IndexInSuccessors) const { function in class:BranchProbabilityInfo
601 uint32_t BranchProbabilityInfo::getEdgeWeight(const BasicBlock *Src, function in class:BranchProbabilityInfo
603 return getEdgeWeight(Src, Dst.getSuccessorIndex());
609 getEdgeWeight(const BasicBlock *Src, const BasicBlock *Dst) const { function in class:BranchProbabilityInfo
635 uint32_t N = getEdgeWeight(Src, IndexInSuccessors);
646 uint32_t N = getEdgeWeight(Src, Dst);
/external/llvm/lib/Target/Mips/
H A DMipsDelaySlotFiller.cpp662 return Prob.getEdgeWeight(&B, Dst0) < Prob.getEdgeWeight(&B, Dst1);
/external/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h669 uint32_t getEdgeWeight(const MachineBasicBlock *Src,
H A DSelectionDAGBuilder.cpp1347 uint32_t SelectionDAGBuilder::getEdgeWeight(const MachineBasicBlock *Src,
1354 return BPI->getEdgeWeight(SrcBB, DstBB);
1361 Weight = getEdgeWeight(Src, Dst);
1609 BOp->getOpcode(), getEdgeWeight(BrMBB, Succ0MBB),
1610 getEdgeWeight(BrMBB, Succ1MBB));
2126 BPI ? BPI->getEdgeWeight(SwitchBB->getBasicBlock(), (unsigned)0) : 0);
2627 BPI ? BPI->getEdgeWeight(SI.getParent(), i.getSuccessorIndex()) : 0;
H A DFastISel.cpp1000 BranchWeight = FuncInfo.BPI->getEdgeWeight(FuncInfo.MBB->getBasicBlock(),
/external/llvm/lib/Target/X86/
H A DX86FastISel.cpp1413 BranchWeight = FuncInfo.BPI->getEdgeWeight(BI->getParent(),
1454 BranchWeight = FuncInfo.BPI->getEdgeWeight(BI->getParent(),
1474 BranchWeight = FuncInfo.BPI->getEdgeWeight(BI->getParent(),
1493 BranchWeight = FuncInfo.BPI->getEdgeWeight(BI->getParent(),

Completed in 233 milliseconds