Searched refs:TrueWeight (Results 1 – 7 of 7) sorted by relevance
/external/llvm/lib/IR/ |
D | MDBuilder.cpp | 37 MDNode *MDBuilder::createBranchWeights(uint32_t TrueWeight, in createBranchWeights() argument 39 return createBranchWeights({TrueWeight, FalseWeight}); in createBranchWeights()
|
/external/llvm/include/llvm/IR/ |
D | MDBuilder.h | 58 MDNode *createBranchWeights(uint32_t TrueWeight, uint32_t FalseWeight);
|
/external/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 4558 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() 5594 uint64_t NewTrueWeight = TrueWeight; in splitBranchCondition() 5595 uint64_t NewFalseWeight = TrueWeight + 2 * FalseWeight; in splitBranchCondition() 5598 .createBranchWeights(TrueWeight, FalseWeight)); in splitBranchCondition() 5600 NewTrueWeight = TrueWeight; in splitBranchCondition() [all …]
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.h | 213 TrueWeight(trueweight), FalseWeight(falseweight) { } in CC() 230 uint32_t TrueWeight, FalseWeight; member
|
D | SelectionDAGBuilder.cpp | 1576 addSuccessorWithWeight(SwitchBB, CB.TrueBB, CB.TrueWeight); in visitSwitchCase()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 3009 uint32_t TrueWeight, 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 3091 TrueWeight = in SimplifySwitchOnSelect() 3099 return SimplifyTerminatorOnSelect(SI, Condition, TrueBB, FalseBB, TrueWeight, in SimplifySwitchOnSelect() 3949 uint64_t TrueWeight = 0; in TurnSwitchRangeIntoICmp() local 3953 TrueWeight += Weights[I]; in TurnSwitchRangeIntoICmp() 3957 while (TrueWeight > UINT32_MAX || FalseWeight > UINT32_MAX) { in TurnSwitchRangeIntoICmp() 3958 TrueWeight /= 2; in TurnSwitchRangeIntoICmp() [all …]
|
/external/spirv-llvm/lib/SPIRV/libSPIRV/ |
D | SPIRVInstruction.h | 778 SPIRVLabel *TheFalseLabel, SPIRVBasicBlock *TheBB, SPIRVWord TrueWeight, 782 BranchWeights.push_back(TrueWeight);
|