Searched refs:FalseWeight (Results 1 - 8 of 8) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DMDBuilder.h61 MDNode *createBranchWeights(uint32_t TrueWeight, uint32_t FalseWeight);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUnrollPeel.cpp449 uint64_t TrueWeight, FalseWeight;
450 if (!LatchBR->extractProfMetadata(TrueWeight, FalseWeight))
453 ExitWeight = HeaderIdx ? TrueWeight : FalseWeight;
454 FallThroughWeight = HeaderIdx ? FalseWeight : TrueWeight;
H A DSimplifyCFG.cpp801 uint32_t FalseWeight) {
806 if (TrueWeight || FalseWeight)
808 .createBranchWeights(TrueWeight, FalseWeight);
2788 // FalseWeight is FalseWeight for PBI * TotalWeight for BI +
2789 // TrueWeight for PBI * FalseWeight for BI.
2804 // FalseWeight for PBI * TrueWeight for BI.
2808 // FalseWeight is FalseWeight for PBI * FalseWeight fo
800 setBranchWeights(Instruction *I, uint32_t TrueWeight, uint32_t FalseWeight) argument
3516 SimplifyTerminatorOnSelect(Instruction *OldTerm, Value *Cond, BasicBlock *TrueBB, BasicBlock *FalseBB, uint32_t TrueWeight, uint32_t FalseWeight) argument
3592 uint32_t TrueWeight = 0, FalseWeight = 0; local
4470 uint64_t FalseWeight = 0; local
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
H A DMDBuilder.cpp38 uint32_t FalseWeight) {
39 return createBranchWeights({TrueWeight, FalseWeight});
37 createBranchWeights(uint32_t TrueWeight, uint32_t FalseWeight) argument
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp518 uint64_t TrueWeight = 0, FalseWeight = 0; local
520 !BI->extractProfMetadata(TrueWeight, FalseWeight))
526 if (( TrueIsExit && FalseWeight < TrueWeight) ||
527 (!TrueIsExit && FalseWeight > TrueWeight))
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp5966 uint64_t TrueWeight, FalseWeight;
5967 if (SI->extractProfMetadata(TrueWeight, FalseWeight)) {
5968 uint64_t Max = std::max(TrueWeight, FalseWeight);
5969 uint64_t Sum = TrueWeight + FalseWeight;
7445 uint64_t TrueWeight, FalseWeight; local
7446 if (Br1->extractProfMetadata(TrueWeight, FalseWeight)) {
7448 uint64_t NewFalseWeight = TrueWeight + 2 * FalseWeight;
7451 .createBranchWeights(TrueWeight, FalseWeight));
7454 NewFalseWeight = 2 * FalseWeight;
7457 .createBranchWeights(TrueWeight, FalseWeight));
7478 uint64_t TrueWeight, FalseWeight; local
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp217 uint64_t TrueWeight, FalseWeight; local
218 if (!CondBr->extractProfMetadata(TrueWeight, FalseWeight))
256 TrueWeight, TrueWeight + FalseWeight)
258 FalseWeight, TrueWeight + FalseWeight));
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp618 ConstantInt *FalseWeight = mdconst::extract<ConstantInt>(MD->getOperand(2)); local
619 if (!TrueWeight || !FalseWeight)
622 uint64_t FalseWt = FalseWeight->getValue().getZExtValue();

Completed in 119 milliseconds