|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
include/llvm/IR/MDBuilder.h 64 MDNode *createBranchWeights(ArrayRef<uint32_t> Weights);
References
lib/IR/Instruction.cpp 753 setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights));
lib/IR/Instructions.cpp 3915 return MDBuilder(SI.getParent()->getContext()).createBranchWeights(*Weights);
lib/IR/MDBuilder.cpp 39 return createBranchWeights({TrueWeight, FalseWeight});
lib/Transforms/IPO/SampleProfile.cpp 1451 MDB.createBranchWeights(
1504 MDB.createBranchWeights(Weights));
lib/Transforms/Instrumentation/ControlHeightReduction.cpp 1875 MergedBR->setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights));
lib/Transforms/Instrumentation/IndirectCallPromotion.cpp 316 MDB.createBranchWeights({static_cast<uint32_t>(Count)}));
lib/Transforms/Instrumentation/PGOInstrumentation.cpp 1713 TI->setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights));
lib/Transforms/Scalar/JumpThreading.cpp 291 .createBranchWeights(Weights));
2253 MDBuilder(TI->getParent()->getContext()).createBranchWeights(Weights));
lib/Transforms/Scalar/LowerExpectIntrinsic.cpp 87 MDBuilder(CI->getContext()).createBranchWeights(Weights));
lib/Transforms/Utils/CodeExtractor.cpp 1382 MDBuilder(TI->getContext()).createBranchWeights(BranchWeights));
lib/Transforms/Utils/Local.cpp 203 createBranchWeights(Weights));
lib/Transforms/Utils/SimplifyCFG.cpp 793 N = MDBuilder(SI->getParent()->getContext()).createBranchWeights(Weights);
tools/clang/lib/CodeGen/CodeGenPGO.cpp 1045 return MDHelper.createBranchWeights(ScaledWeights);
unittests/Analysis/ProfileSummaryInfoTest.cpp 200 CI2->setMetadata(llvm::LLVMContext::MD_prof, MDB.createBranchWeights({400}));
243 CI2->setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights));
251 CI2->setMetadata(llvm::LLVMContext::MD_prof, MDB.createBranchWeights({400}));
unittests/IR/InstructionsTest.cpp 775 MDBuilder(C).createBranchWeights({ 9, 1, 22 }));