/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LowerExpectIntrinsic.cpp | 114 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 D | JumpThreading.cpp | 299 .createBranchWeights(Weights)); 2503 MDBuilder(TI->getParent()->getContext()).createBranchWeights(Weights));
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | MDBuilder.h | 61 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 D | GuardUtils.cpp | 53 MDB.createBranchWeights(PredicatePassBranchWeight, 1));
|
H A D | LoopUnrollPeel.cpp | 435 HeaderIdx ? MDB.createBranchWeights(ExitWeight, FallThroughWeight) 436 : MDB.createBranchWeights(FallThroughWeight, ExitWeight); 477 HeaderIdx ? MDB.createBranchWeights(ExitWeight, FallThroughWeight) 478 : MDB.createBranchWeights(FallThroughWeight, ExitWeight);
|
H A D | LibCallsShrinkWrap.cpp | 488 MDBuilder(CI->getContext()).createBranchWeights(1, 2000);
|
H A D | Local.cpp | 204 createBranchWeights(Weights)); 286 createBranchWeights(SICase->getValue().getZExtValue(), 1996 : MDB.createBranchWeights({uint32_t(TotalWeight)});
|
H A D | CodeExtractor.cpp | 1402 MDBuilder(TI->getContext()).createBranchWeights(BranchWeights));
|
H A D | LoopUtils.cpp | 814 MDB.createBranchWeights(BackedgeTakenWeight, LatchExitWeight));
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | MDBuilder.cpp | 37 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 D | IndirectCallPromotion.cpp | 305 MDNode *BranchWeights = MDB.createBranchWeights( 315 MDB.createBranchWeights({static_cast<uint32_t>(Count)}));
|
H A D | HWAddressSanitizer.cpp | 651 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 D | PGOInstrumentation.cpp | 1777 TI->setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights));
|
H A D | AddressSanitizer.cpp | 1678 MDBuilder(*C).createBranchWeights(1, 100000)); 1700 Cmp, InsertBefore, false, MDBuilder(*C).createBranchWeights(1, 100000));
|
H A D | ControlHeightReduction.cpp | 1873 MergedBR->setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights));
|
H A D | DataFlowSanitizer.cpp | 632 ColdCallWeights = MDBuilder(*Ctx).createBranchWeights(1, 1000);
|
H A D | MemorySanitizer.cpp | 969 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 D | CrossDSOCFI.cpp | 162 MDBuilder(M.getContext()).createBranchWeights((1U << 20) - 1, 1);
|
H A D | SampleProfile.cpp | 1559 MDB.createBranchWeights( 1612 MDB.createBranchWeights(Weights));
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | StackProtector.cpp | 542 .createBranchWeights(SuccessProb.getNumerator(),
|
H A D | SafeStack.cpp | 476 .createBranchWeights(SuccessProb.getNumerator(),
|
H A D | CodeGenPrepare.cpp | 7863 .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 D | CodeGenPGO.cpp | 1033 return MDHelper.createBranchWeights(scaleBranchWeight(TrueCount, Scale), 1057 return MDHelper.createBranchWeights(ScaledWeights);
|
H A D | CGDeclCXX.cpp | 359 Weights = MDHelper.createBranchWeights(1, NumInits - 1);
|
H A D | CGExprComplex.cpp | 727 llvm::MDNode *BrWeight = MDHelper.createBranchWeights(1, (1U << 20) - 1);
|