Searched refs:FalseWeight (Results 1 – 8 of 8) sorted by relevance
| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | LoopUnrollPeel.cpp | 582 uint64_t TrueWeight, FalseWeight; in peelLoop() local 584 if (LatchBR->extractProfMetadata(TrueWeight, FalseWeight)) { in peelLoop() 585 ExitWeight = HeaderIdx ? TrueWeight : FalseWeight; in peelLoop() 588 CurHeaderWeight = TrueWeight + FalseWeight; in peelLoop()
|
| H A D | SimplifyCFG.cpp | 792 uint32_t FalseWeight) { in setBranchWeights() argument 797 if (TrueWeight || FalseWeight) in setBranchWeights() 799 .createBranchWeights(TrueWeight, FalseWeight); in setBranchWeights() 3449 if (TrueWeight != FalseWeight) in SimplifyTerminatorOnSelect() 3489 uint32_t TrueWeight = 0, FalseWeight = 0; in SimplifySwitchOnSelect() local 3497 FalseWeight = in SimplifySwitchOnSelect() 3504 FalseWeight); in SimplifySwitchOnSelect() 4352 uint64_t FalseWeight = 0; in TurnSwitchRangeIntoICmp() local 4357 FalseWeight += Weights[I]; in TurnSwitchRangeIntoICmp() 4361 FalseWeight /= 2; in TurnSwitchRangeIntoICmp() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/PowerPC/ |
| H A D | PPCCTRLoops.cpp | 550 uint64_t TrueWeight = 0, FalseWeight = 0; in convertToCTRLoop() local 552 !BI->extractProfMetadata(TrueWeight, FalseWeight)) in convertToCTRLoop() 558 if (( TrueIsExit && FalseWeight < TrueWeight) || in convertToCTRLoop() 559 (!TrueIsExit && FalseWeight > TrueWeight)) in convertToCTRLoop()
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | MDBuilder.cpp | 39 uint32_t FalseWeight) { in createBranchWeights() argument 40 return createBranchWeights({TrueWeight, FalseWeight}); in createBranchWeights()
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | MDBuilder.h | 61 MDNode *createBranchWeights(uint32_t TrueWeight, uint32_t FalseWeight);
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 5683 uint64_t TrueWeight, FalseWeight; in isFormingBranchFromSelectProfitable() local 5684 if (SI->extractProfMetadata(TrueWeight, FalseWeight)) { in isFormingBranchFromSelectProfitable() 5685 uint64_t Max = std::max(TrueWeight, FalseWeight); in isFormingBranchFromSelectProfitable() 5686 uint64_t Sum = TrueWeight + FalseWeight; in isFormingBranchFromSelectProfitable() 7020 uint64_t TrueWeight, FalseWeight; in splitBranchCondition() local 7021 if (Br1->extractProfMetadata(TrueWeight, FalseWeight)) { in splitBranchCondition() 7029 NewFalseWeight = 2 * FalseWeight; in splitBranchCondition() 7053 uint64_t TrueWeight, FalseWeight; in splitBranchCondition() local 7054 if (Br1->extractProfMetadata(TrueWeight, FalseWeight)) { in splitBranchCondition() 7056 uint64_t NewFalseWeight = FalseWeight; in splitBranchCondition() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | JumpThreading.cpp | 211 uint64_t TrueWeight, FalseWeight; in updatePredecessorProfileMetadata() local 212 if (!CondBr->extractProfMetadata(TrueWeight, FalseWeight)) in updatePredecessorProfileMetadata() 242 TrueWeight, TrueWeight + FalseWeight) in updatePredecessorProfileMetadata() 244 FalseWeight, TrueWeight + FalseWeight)); in updatePredecessorProfileMetadata()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/ |
| H A D | ControlHeightReduction.cpp | 600 ConstantInt *FalseWeight = mdconst::extract<ConstantInt>(MD->getOperand(2)); in checkMDProf() local 601 if (!TrueWeight || !FalseWeight) in checkMDProf() 604 uint64_t FalseWt = FalseWeight->getValue().getZExtValue(); in checkMDProf()
|