Searched refs:createBranchWeights (Results 1 - 25 of 29) sorted by relevance

12

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerExpectIntrinsic.cpp114 MDBuilder(CI->getContext()).createBranchWeights(Weights));
258 MDB.createBranchWeights(LikelyBranchWeightVal,
262 MDB.createBranchWeights(UnlikelyBranchWeightVal,
329 MDB.createBranchWeights(LikelyBranchWeightVal, UnlikelyBranchWeightVal);
334 MDB.createBranchWeights(UnlikelyBranchWeightVal, LikelyBranchWeightVal);
H A DJumpThreading.cpp299 .createBranchWeights(Weights));
2503 MDBuilder(TI->getParent()->getContext()).createBranchWeights(Weights));
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DMDBuilder.h61 MDNode *createBranchWeights(uint32_t TrueWeight, uint32_t FalseWeight);
64 MDNode *createBranchWeights(ArrayRef<uint32_t> Weights);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DGuardUtils.cpp53 MDB.createBranchWeights(PredicatePassBranchWeight, 1));
H A DLoopUnrollPeel.cpp435 HeaderIdx ? MDB.createBranchWeights(ExitWeight, FallThroughWeight)
436 : MDB.createBranchWeights(FallThroughWeight, ExitWeight);
477 HeaderIdx ? MDB.createBranchWeights(ExitWeight, FallThroughWeight)
478 : MDB.createBranchWeights(FallThroughWeight, ExitWeight);
H A DLibCallsShrinkWrap.cpp488 MDBuilder(CI->getContext()).createBranchWeights(1, 2000);
H A DLocal.cpp204 createBranchWeights(Weights));
286 createBranchWeights(SICase->getValue().getZExtValue(),
1996 : MDB.createBranchWeights({uint32_t(TotalWeight)});
H A DCodeExtractor.cpp1402 MDBuilder(TI->getContext()).createBranchWeights(BranchWeights));
H A DLoopUtils.cpp814 MDB.createBranchWeights(BackedgeTakenWeight, LatchExitWeight));
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DMDBuilder.cpp37 MDNode *MDBuilder::createBranchWeights(uint32_t TrueWeight, function in class:MDBuilder
39 return createBranchWeights({TrueWeight, FalseWeight});
42 MDNode *MDBuilder::createBranchWeights(ArrayRef<uint32_t> Weights) { function in class:MDBuilder
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DIndirectCallPromotion.cpp305 MDNode *BranchWeights = MDB.createBranchWeights(
315 MDB.createBranchWeights({static_cast<uint32_t>(Count)}));
H A DHWAddressSanitizer.cpp651 MDBuilder(*C).createBranchWeights(1, 100000));
658 MDBuilder(*C).createBranchWeights(1, 100000));
666 MDBuilder(*C).createBranchWeights(1, 100000),
675 MDBuilder(*C).createBranchWeights(1, 100000),
H A DPGOInstrumentation.cpp1777 TI->setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights));
H A DAddressSanitizer.cpp1678 MDBuilder(*C).createBranchWeights(1, 100000));
1700 Cmp, InsertBefore, false, MDBuilder(*C).createBranchWeights(1, 100000));
H A DControlHeightReduction.cpp1873 MergedBR->setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights));
H A DDataFlowSanitizer.cpp632 ColdCallWeights = MDBuilder(*Ctx).createBranchWeights(1, 1000);
H A DMemorySanitizer.cpp969 ColdCallWeights = MDBuilder(*C).createBranchWeights(1, 1000);
970 OriginStoreWeights = MDBuilder(*C).createBranchWeights(1, 1000);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DCrossDSOCFI.cpp162 MDBuilder(M.getContext()).createBranchWeights((1U << 20) - 1, 1);
H A DSampleProfile.cpp1559 MDB.createBranchWeights(
1612 MDB.createBranchWeights(Weights));
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DStackProtector.cpp542 .createBranchWeights(SuccessProb.getNumerator(),
H A DSafeStack.cpp476 .createBranchWeights(SuccessProb.getNumerator(),
H A DCodeGenPrepare.cpp7863 .createBranchWeights(TrueWeight, FalseWeight));
7869 .createBranchWeights(TrueWeight, FalseWeight));
7896 .createBranchWeights(TrueWeight, FalseWeight));
7902 .createBranchWeights(TrueWeight, FalseWeight));
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenPGO.cpp1033 return MDHelper.createBranchWeights(scaleBranchWeight(TrueCount, Scale),
1057 return MDHelper.createBranchWeights(ScaledWeights);
H A DCGDeclCXX.cpp359 Weights = MDHelper.createBranchWeights(1, NumInits - 1);
H A DCGExprComplex.cpp727 llvm::MDNode *BrWeight = MDHelper.createBranchWeights(1, (1U << 20) - 1);

Completed in 267 milliseconds

12