Searched refs:FalseWeight (Results 1 – 7 of 7) sorted by relevance
/external/llvm/lib/IR/ |
D | MDBuilder.cpp | 38 uint32_t FalseWeight) { 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() 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/ |
D | SelectionDAGBuilder.h | 213 TrueWeight(trueweight), FalseWeight(falseweight) { } in CC() 230 uint32_t TrueWeight, FalseWeight; member
|
D | SelectionDAGBuilder.cpp | 1577 addSuccessorWithWeight(SwitchBB, CB.FalseBB, CB.FalseWeight); in visitSwitchCase()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 3010 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/ |
D | SPIRVInstruction.h | 779 SPIRVWord FalseWeight) 783 BranchWeights.push_back(FalseWeight);
|