Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DCFGPrinter.h232 unsigned SuccNo = I.getSuccessorIndex();
264 unsigned OpNo = I.getSuccessorIndex();
302 OpNo = I.getSuccessorIndex() + 1;
H A DSparsePropagation.h366 Succs[Case.getSuccessorIndex()] = true; in getFeasibleSuccessors()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DCFG.h200 int getSuccessorIndex() const { return Idx; } in getSuccessorIndex() function
H A DInstructions.h3267 return SI->getSuccessor(getSuccessorIndex());
3274 unsigned getSuccessorIndex() const {
3306 SI->setSuccessor(getSuccessorIndex(), S);
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DCalledOnceCheck.cpp556 unsigned SuccessorIndex = getSuccessorIndex(Parent, SuccInQuestion); in VisitBranchingBlock()
576 static unsigned getSuccessorIndex(const CFGBlock *Parent, in getSuccessorIndex() function in __anon4ef948f50111::NotCalledClarifier
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DBranchProbabilityInfo.cpp1108 return getEdgeProbability(Src, Dst.getSuccessorIndex()); in getEdgeProbability()
1122 Prob += Probs.find(std::make_pair(Src, I.getSuccessorIndex()))->second; in getEdgeProbability()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSCCPSolver.cpp1203 Succs[SI->findCaseValue(CI)->getSuccessorIndex()] = true; in getFeasibleSuccessors()
1215 Succs[Case.getSuccessorIndex()] = true; in getFeasibleSuccessors()
1220 Succs[SI->case_default()->getSuccessorIndex()] = in getFeasibleSuccessors()
H A DSimplifyCFG.cpp4868 (uint32_t)Weights[SI->findCaseValue(TrueVal)->getSuccessorIndex()]; in simplifySwitchOnSelect()
4870 (uint32_t)Weights[SI->findCaseValue(FalseVal)->getSuccessorIndex()]; in simplifySwitchOnSelect()
7328 OtherSuccWeight += Weights[Case.getSuccessorIndex()]; in simplifySwitchOfCmpIntrinsic()
7339 uint32_t Weight = Weights[Case.getSuccessorIndex()]; in simplifySwitchOfCmpIntrinsic()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSimpleLoopUnswitch.cpp842 auto W = SIW.getSuccessorWeight(CaseI->getSuccessorIndex()); in unswitchTrivialSwitch()
951 SIW.getSuccessorWeight(Case.getSuccessorIndex())); in unswitchTrivialSwitch()
956 auto W = SIW.getSuccessorWeight(Case.getSuccessorIndex()); in unswitchTrivialSwitch()
1000 0, SIW.getSuccessorWeight(LastCaseI->getSuccessorIndex())); in unswitchTrivialSwitch()
H A DJumpThreading.cpp2573 BBOrigFreq * BPI->getEdgeProbability(BB, I.getSuccessorIndex()); in updateBlockFreqAndEdgeWeight()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp717 BPI ? BPI->getEdgeProbability(SI.getParent(), I.getSuccessorIndex()) in translateSwitch()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp12467 BPI ? BPI->getEdgeProbability(SI.getParent(), I.getSuccessorIndex()) in visitSwitch()