Home
last modified time | relevance | path

Searched refs:FProb (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DIRTranslator.h371 BranchProbability FProb, bool InvertCond);
378 BranchProbability FProb, bool InvertCond);
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp386 BranchProbability TProb, BranchProbability FProb, bool InvertCond) { in emitBranchForMergedCondition() argument
400 CurBuilder->getDebugLoc(), TProb, FProb); in emitBranchForMergedCondition()
409 nullptr, TBB, FBB, CurBB, CurBuilder->getDebugLoc(), TProb, FProb); in emitBranchForMergedCondition()
423 BranchProbability FProb, bool InvertCond) { in findMergedConditions() argument
432 findMergedConditions(NotCond, TBB, FBB, CurBB, SwitchBB, Opc, TProb, FProb, in findMergedConditions()
465 emitBranchForMergedCondition(Cond, TBB, FBB, CurBB, SwitchBB, TProb, FProb, in findMergedConditions()
498 auto NewFalseProb = TProb / 2 + FProb; in findMergedConditions()
504 SmallVector<BranchProbability, 2> Probs{TProb / 2, FProb}; in findMergedConditions()
530 auto NewTrueProb = TProb + FProb / 2; in findMergedConditions()
531 auto NewFalseProb = FProb / 2; in findMergedConditions()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h397 BranchProbability FProb, bool InvertCond);
402 BranchProbability TProb, BranchProbability FProb,
H A DSelectionDAGBuilder.cpp2433 BranchProbability FProb, in EmitBranchForMergedCondition() argument
2461 TBB, FBB, CurBB, getCurSDLoc(), TProb, FProb); in EmitBranchForMergedCondition()
2470 nullptr, TBB, FBB, CurBB, getCurSDLoc(), TProb, FProb); in EmitBranchForMergedCondition()
2627 BranchProbability FProb, in FindMergedConditions() argument
2634 FindMergedConditions(NotCond, TBB, FBB, CurBB, SwitchBB, Opc, TProb, FProb, in FindMergedConditions()
2668 TProb, FProb, InvertCond); in FindMergedConditions()
2700 auto NewFalseProb = TProb / 2 + FProb; in FindMergedConditions()
2706 SmallVector<BranchProbability, 2> Probs{TProb / 2, FProb}; in FindMergedConditions()
2732 auto NewTrueProb = TProb + FProb / 2; in FindMergedConditions()
2733 auto NewFalseProb = FProb / 2; in FindMergedConditions()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp599 auto FProb = FuncInfo.BPI->getEdgeProbability(BB, FBB); in getBranchHint() local
616 if (std::max(TProb, FProb) / Threshold < std::min(TProb, FProb)) in getBranchHint()
622 << " -> " << FBB->getName() << ": " << FProb << "\n"); in getBranchHint()
629 std::swap(TProb, FProb); in getBranchHint()
631 return (TProb > FProb) ? PPC::BR_TAKEN_HINT : PPC::BR_NONTAKEN_HINT; in getBranchHint()