Home
last modified time | relevance | path

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

/external/llvm/lib/IR/
DMDBuilder.cpp38 uint32_t FalseWeight) { in createBranchWeights() argument
39 return createBranchWeights({TrueWeight, FalseWeight}); in createBranchWeights()
/external/llvm/include/llvm/IR/
DMDBuilder.h58 MDNode *createBranchWeights(uint32_t TrueWeight, uint32_t FalseWeight);
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp4558 uint64_t TrueWeight, FalseWeight; in isFormingBranchFromSelectProfitable() local
4559 if (SI->extractProfMetadata(TrueWeight, FalseWeight)) { in isFormingBranchFromSelectProfitable()
4560 uint64_t Max = std::max(TrueWeight, FalseWeight); in isFormingBranchFromSelectProfitable()
4561 uint64_t Sum = TrueWeight + FalseWeight; in isFormingBranchFromSelectProfitable()
5592 uint64_t TrueWeight, FalseWeight; in splitBranchCondition() local
5593 if (Br1->extractProfMetadata(TrueWeight, FalseWeight)) { in splitBranchCondition()
5595 uint64_t NewFalseWeight = TrueWeight + 2 * FalseWeight; in splitBranchCondition()
5598 .createBranchWeights(TrueWeight, FalseWeight)); in splitBranchCondition()
5601 NewFalseWeight = 2 * FalseWeight; in splitBranchCondition()
5604 .createBranchWeights(TrueWeight, FalseWeight)); in splitBranchCondition()
[all …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h213 TrueWeight(trueweight), FalseWeight(falseweight) { } in CC()
230 uint32_t TrueWeight, FalseWeight; member
DSelectionDAGBuilder.cpp1577 addSuccessorWithWeight(SwitchBB, CB.FalseBB, CB.FalseWeight); in visitSwitchCase()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp3010 uint32_t FalseWeight) { in SimplifyTerminatorOnSelect() argument
3043 if (TrueWeight != FalseWeight) in SimplifyTerminatorOnSelect()
3046 .createBranchWeights(TrueWeight, FalseWeight)); in SimplifyTerminatorOnSelect()
3085 uint32_t TrueWeight = 0, FalseWeight = 0; in SimplifySwitchOnSelect() local
3093 FalseWeight = in SimplifySwitchOnSelect()
3100 FalseWeight); in SimplifySwitchOnSelect()
3950 uint64_t FalseWeight = 0; in TurnSwitchRangeIntoICmp() local
3955 FalseWeight += Weights[I]; in TurnSwitchRangeIntoICmp()
3957 while (TrueWeight > UINT32_MAX || FalseWeight > UINT32_MAX) { in TurnSwitchRangeIntoICmp()
3959 FalseWeight /= 2; in TurnSwitchRangeIntoICmp()
[all …]
/external/spirv-llvm/lib/SPIRV/libSPIRV/
DSPIRVInstruction.h779 SPIRVWord FalseWeight)
783 BranchWeights.push_back(FalseWeight);