Home
last modified time | relevance | path

Searched refs:FalseWeight (Results 1 – 6 of 6) sorted by relevance

/external/llvm/lib/IR/
DMDBuilder.cpp38 uint32_t FalseWeight) { in createBranchWeights() argument
39 uint32_t Weights[] = {TrueWeight, FalseWeight}; in createBranchWeights()
/external/llvm/include/llvm/IR/
DMDBuilder.h58 MDNode *createBranchWeights(uint32_t TrueWeight, uint32_t FalseWeight);
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp4684 uint64_t TrueWeight, FalseWeight; in splitBranchCondition() local
4685 if (extractBranchMetadata(Br1, TrueWeight, FalseWeight)) { in splitBranchCondition()
4687 uint64_t NewFalseWeight = TrueWeight + 2 * FalseWeight; in splitBranchCondition()
4690 .createBranchWeights(TrueWeight, FalseWeight)); in splitBranchCondition()
4693 NewFalseWeight = 2 * FalseWeight; in splitBranchCondition()
4696 .createBranchWeights(TrueWeight, FalseWeight)); in splitBranchCondition()
4717 uint64_t TrueWeight, FalseWeight; in splitBranchCondition() local
4718 if (extractBranchMetadata(Br1, TrueWeight, FalseWeight)) { in splitBranchCondition()
4719 uint64_t NewTrueWeight = 2 * TrueWeight + FalseWeight; in splitBranchCondition()
4720 uint64_t NewFalseWeight = FalseWeight; in splitBranchCondition()
[all …]
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp2569 uint32_t FalseWeight){ in SimplifyTerminatorOnSelect() argument
2602 if (TrueWeight != FalseWeight) in SimplifyTerminatorOnSelect()
2605 createBranchWeights(TrueWeight, FalseWeight)); in SimplifyTerminatorOnSelect()
2644 uint32_t TrueWeight = 0, FalseWeight = 0; in SimplifySwitchOnSelect() local
2652 FalseWeight = (uint32_t)Weights[SI->findCaseValue(FalseVal). in SimplifySwitchOnSelect()
2659 TrueWeight, FalseWeight); in SimplifySwitchOnSelect()
3205 uint64_t FalseWeight = 0; in TurnSwitchRangeIntoICmp() local
3210 FalseWeight += Weights[I]; in TurnSwitchRangeIntoICmp()
3212 while (TrueWeight > UINT32_MAX || FalseWeight > UINT32_MAX) { in TurnSwitchRangeIntoICmp()
3214 FalseWeight /= 2; in TurnSwitchRangeIntoICmp()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h214 TrueWeight(trueweight), FalseWeight(falseweight) { } in CC()
231 uint32_t TrueWeight, FalseWeight; member
DSelectionDAGBuilder.cpp1715 addSuccessorWithWeight(SwitchBB, CB.FalseBB, CB.FalseWeight); in visitSwitchCase()