Searched refs:TProb (Results 1 – 5 of 5) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.h | 715 Instruction::BinaryOps Opc, BranchProbability TProb, 721 BranchProbability TProb, BranchProbability FProb,
|
D | SelectionDAGBuilder.cpp | 1768 BranchProbability TProb, in EmitBranchForMergedCondition() argument 1797 TBB, FBB, CurBB, getCurSDLoc(), TProb, FProb); in EmitBranchForMergedCondition() 1806 nullptr, TBB, FBB, CurBB, getCurSDLoc(), TProb, FProb); in EmitBranchForMergedCondition() 1817 BranchProbability TProb, in FindMergedConditions() argument 1825 FindMergedConditions(CondOp, TBB, FBB, CurBB, SwitchBB, Opc, TProb, FProb, in FindMergedConditions() 1855 TProb, FProb, InvertCond); in FindMergedConditions() 1886 auto NewTrueProb = TProb / 2; in FindMergedConditions() 1887 auto NewFalseProb = TProb / 2 + FProb; in FindMergedConditions() 1893 SmallVector<BranchProbability, 2> Probs{TProb / 2, FProb}; in FindMergedConditions() 1919 auto NewTrueProb = TProb + FProb / 2; in FindMergedConditions() [all …]
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCISelDAGToDAG.cpp | 412 auto TProb = FuncInfo->BPI->getEdgeProbability(BB, TBB); in getBranchHint() local 430 if (std::max(TProb, FProb) / Threshold < std::min(TProb, FProb)) in getBranchHint() 435 << " -> " << TBB->getName() << ": " << TProb << "\n" in getBranchHint() 443 std::swap(TProb, FProb); in getBranchHint() 445 return (TProb > FProb) ? PPC::BR_TAKEN_HINT : PPC::BR_NONTAKEN_HINT; in getBranchHint()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 1621 BranchProbability TProb, in EmitBranchForMergedCondition() argument 1645 TBB, FBB, CurBB, TProb, FProb); in EmitBranchForMergedCondition() 1653 nullptr, TBB, FBB, CurBB, TProb, FProb); in EmitBranchForMergedCondition() 1664 BranchProbability TProb, in FindMergedConditions() argument 1674 TProb, FProb); in FindMergedConditions() 1705 auto NewTrueProb = TProb / 2; in FindMergedConditions() 1706 auto NewFalseProb = TProb / 2 + FProb; in FindMergedConditions() 1712 SmallVector<BranchProbability, 2> Probs{TProb / 2, FProb}; in FindMergedConditions() 1738 auto NewTrueProb = TProb + FProb / 2; in FindMergedConditions() 1745 SmallVector<BranchProbability, 2> Probs{TProb, FProb / 2}; in FindMergedConditions()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/ |
D | PPCISelDAGToDAG.cpp | 500 auto TProb = FuncInfo->BPI->getEdgeProbability(BB, TBB); in getBranchHint() local 518 if (std::max(TProb, FProb) / Threshold < std::min(TProb, FProb)) in getBranchHint() 523 << " -> " << TBB->getName() << ": " << TProb << "\n" in getBranchHint() 531 std::swap(TProb, FProb); in getBranchHint() 533 return (TProb > FProb) ? PPC::BR_TAKEN_HINT : PPC::BR_NONTAKEN_HINT; in getBranchHint()
|