Searched refs:getCompl (Results 1 – 10 of 10) sorted by relevance
/external/llvm/unittests/Support/ |
D | BranchProbabilityTest.cpp | 118 TEST(BranchProbabilityTest, getCompl) { in TEST() argument 119 EXPECT_EQ(BP(5, 7), BP(2, 7).getCompl()); in TEST() 120 EXPECT_EQ(BP(2, 7), BP(5, 7).getCompl()); in TEST() 121 EXPECT_EQ(BP::getZero(), BP(7, 7).getCompl()); in TEST() 122 EXPECT_EQ(BP::getOne(), BP(0, 7).getCompl()); in TEST()
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | BranchProbability.h | 39 BranchProbability getCompl() { in getCompl() function
|
/external/llvm/lib/Analysis/ |
D | BranchProbabilityInfo.cpp | 339 setEdgeProbability(BB, NonTakenIdx, TakenProb.getCompl()); in calcPointerHeuristics() 482 setEdgeProbability(BB, NonTakenIdx, TakenProb.getCompl()); in calcZeroHeuristics() 519 setEdgeProbability(BB, NonTakenIdx, TakenProb.getCompl()); in calcFloatingPointHeuristics() 531 setEdgeProbability(BB, 1 /*Index for Unwind*/, TakenProb.getCompl()); in calcInvokeHeuristics()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | IfConversion.cpp | 858 Prediction.getCompl()) && in AnalyzeBlock() 861 FalseBBI.ExtraCost2, Prediction.getCompl()) && in AnalyzeBlock() 868 Prediction.getCompl()) && in AnalyzeBlock() 871 FalseBBI.ExtraCost2, Prediction.getCompl()) && in AnalyzeBlock() 877 if (ValidSimple(FalseBBI, Dups, Prediction.getCompl()) && in AnalyzeBlock() 880 FalseBBI.ExtraCost2, Prediction.getCompl()) && in AnalyzeBlock()
|
/external/llvm/include/llvm/Analysis/ |
D | BranchProbabilityInfo.h | 114 return IsLikely ? LikelyProb : LikelyProb.getCompl(); in getBranchProbStackProtector()
|
/external/llvm/lib/CodeGen/ |
D | IfConversion.cpp | 949 Prediction.getCompl()) && in AnalyzeBlock() 952 FalseBBI.ExtraCost2, Prediction.getCompl()) && in AnalyzeBlock() 960 Prediction.getCompl()) && in AnalyzeBlock() 963 FalseBBI.ExtraCost2, Prediction.getCompl()) && in AnalyzeBlock() 970 if (ValidSimple(FalseBBI, Dups, Prediction.getCompl()) && in AnalyzeBlock() 973 FalseBBI.ExtraCost2, Prediction.getCompl()) && in AnalyzeBlock()
|
D | MachineBlockPlacement.cpp | 502 if (SuccProb > HotProb.getCompl() && UnavoidableBlocks.count(Succ) > 0) { in shouldPredBlockBeOutlined() 644 if (PredEdgeFreq * HotProb >= CandidateEdgeFreq * HotProb.getCompl()) { in hasBetterLayoutPredecessor() 1229 ? TailBBFreq * TailToHeadProb.getCompl() in rotateLoopWithProfile()
|
D | MachineBasicBlock.cpp | 1164 return Sum.getCompl() / (Probs.size() - KnownProbNum); in getSuccProbability()
|
/external/llvm/include/llvm/Support/ |
D | BranchProbability.h | 70 BranchProbability getCompl() const { return BranchProbability(D - N); } in getCompl() function
|
/external/llvm/lib/Target/ARM/ |
D | ARMBaseInstrInfo.cpp | 1757 Probability.getCompl().scale(FCycles * ScalingUpFactor); in isProfitableToIfCvt()
|