| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | LowerExpectIntrinsic.cpp | 80 SI.setMetadata(LLVMContext::MD_prof, in handleSwitchExpect() 223 LLVMContext::MD_prof, in handlePhiDef() 227 LLVMContext::MD_prof, in handlePhiDef() 291 BSI.setMetadata(LLVMContext::MD_prof, Node); in handleBrSelExpect()
|
| H A D | JumpThreading.cpp | 274 PredBr->setMetadata(LLVMContext::MD_prof, in updatePredecessorProfileMetadata() 2123 MDNode *WeightsNode = TI->getMetadata(LLVMContext::MD_prof); in doesBlockHaveProfileData() 2227 LLVMContext::MD_prof, in UpdateBlockFreqAndEdgeWeight()
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | Instruction.cpp | 679 MDNode *ProfileData = getMetadata(LLVMContext::MD_prof); in swapProfMetadata() 691 setMetadata(LLVMContext::MD_prof, in swapProfMetadata() 735 auto *ProfileData = getMetadata(LLVMContext::MD_prof); in updateProfWeight() 774 setMetadata(LLVMContext::MD_prof, MDNode::get(getContext(), Vals)); in updateProfWeight() 783 setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights)); in setProfWeight()
|
| H A D | LLVMContext.cpp | 41 {MD_prof, "prof"}, in LLVMContext()
|
| H A D | Function.cpp | 1372 LLVMContext::MD_prof, in setEntryCount() 1382 MDNode *MD = getMetadata(LLVMContext::MD_prof); in getEntryCount() 1404 if (MDNode *MD = getMetadata(LLVMContext::MD_prof)) in getImportGUIDs()
|
| H A D | Metadata.cpp | 1321 auto *ProfileData = getMetadata(LLVMContext::MD_prof); in extractProfMetadata() 1349 auto *ProfileData = getMetadata(LLVMContext::MD_prof); in extractProfTotalWeight()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | GuardUtils.cpp | 49 CheckBI->setMetadata(LLVMContext::MD_prof, in makeGuardControlFlowExplicit()
|
| H A D | LoopUnrollPeel.cpp | 381 LatchBR->setMetadata(LLVMContext::MD_prof, WeightNode); in updateBranchWeights() 665 LatchBR->setMetadata(LLVMContext::MD_prof, WeightNode); in peelLoop()
|
| H A D | CallPromotionUtils.cpp | 376 CS.getInstruction()->setMetadata(LLVMContext::MD_prof, nullptr); in promoteCall()
|
| H A D | BasicBlockUtils.cpp | 737 HeadNewTerm->setMetadata(LLVMContext::MD_prof, BranchWeights); in SplitBlockAndInsertIfThen() 779 HeadNewTerm->setMetadata(LLVMContext::MD_prof, BranchWeights); in SplitBlockAndInsertIfThenElse()
|
| H A D | Local.cpp | 180 MDNode *MD = SI->getMetadata(LLVMContext::MD_prof); in ConstantFoldTerminator() 198 SI->setMetadata(LLVMContext::MD_prof, in ConstantFoldTerminator() 271 MDNode *MD = SI->getMetadata(LLVMContext::MD_prof); in ConstantFoldTerminator() 279 NewBr->setMetadata(LLVMContext::MD_prof, in ConstantFoldTerminator()
|
| H A D | SimplifyCFG.cpp | 786 SI->setMetadata(LLVMContext::MD_prof, N); in setBranchWeights() 800 I->setMetadata(LLVMContext::MD_prof, N); in setBranchWeights() 872 MDNode *MD = SI->getMetadata(LLVMContext::MD_prof); in SimplifyEqualityComparisonWithOnlyPredecessor() 966 MDNode *ProfMD = I->getMetadata(LLVMContext::MD_prof); in HasBranchWeights() 979 MDNode *MD = TI->getMetadata(LLVMContext::MD_prof); in GetBranchWeights() 2779 PBI->setMetadata(LLVMContext::MD_prof, nullptr); in FoldBranchToCommonDest()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/ |
| H A D | IndirectCallPromotion.cpp | 317 NewInst->setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights)); in promoteIndirectCall() 371 I->setMetadata(LLVMContext::MD_prof, nullptr); in processFunction()
|
| H A D | PGOMemOPSizeOpt.cpp | 360 MI->setMetadata(LLVMContext::MD_prof, nullptr); in perform()
|
| H A D | ControlHeightReduction.cpp | 650 if (!checkMDProf(BI->getMetadata(LLVMContext::MD_prof), in checkBiasedBranch() 680 if (!checkMDProf(SI->getMetadata(LLVMContext::MD_prof), in checkBiasedSelect() 1839 MergedBR->setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights)); in fixupBranchesAndSelects()
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | LLVMContext.h | 82 MD_prof = 2, // "prof" enumerator
|
| H A D | IRBuilder.h | 816 I->setMetadata(LLVMContext::MD_prof, Weights); in addBranchMetadata() 867 unsigned WL[4] = {LLVMContext::MD_prof, LLVMContext::MD_unpredictable, in CreateCondBr() 2030 MDNode *Prof = MDFrom->getMetadata(LLVMContext::MD_prof);
|
| /freebsd-12.1/contrib/llvm/include/llvm/Analysis/ |
| H A D | CFGPrinter.h | 157 MDNode *WeightsNode = TI->getMetadata(LLVMContext::MD_prof);
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/IPO/ |
| H A D | CrossDSOCFI.cpp | 157 BI->setMetadata(LLVMContext::MD_prof, VeryLikelyWeights); in buildCFICheck()
|
| H A D | SampleProfile.cpp | 1305 I.setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights)); in propagateWeights() 1354 TI->setMetadata(LLVMContext::MD_prof, in propagateWeights()
|
| H A D | LowerTypeTests.cpp | 728 NewBr->setMetadata(LLVMContext::MD_prof, in lowerTypeTestCall() 729 Br->getMetadata(LLVMContext::MD_prof)); in lowerTypeTestCall()
|
| /freebsd-12.1/contrib/llvm/lib/ProfileData/ |
| H A D | InstrProf.cpp | 855 Inst.setMetadata(LLVMContext::MD_prof, MDNode::get(Ctx, Vals)); in annotateValueSite() 863 MDNode *MD = Inst.getMetadata(LLVMContext::MD_prof); in getValueProfDataFromInst()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGExprComplex.cpp | 709 Branch->setMetadata(llvm::LLVMContext::MD_prof, BrWeight); in EmitBinMul() 716 Branch->setMetadata(llvm::LLVMContext::MD_prof, BrWeight); in EmitBinMul()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineLoadStoreAlloca.cpp | 485 case LLVMContext::MD_prof: in combineLoadToNewType() 546 case LLVMContext::MD_prof: in combineStoreToNewValue()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | BranchProbabilityInfo.cpp | 254 MDNode *WeightsNode = TI->getMetadata(LLVMContext::MD_prof); in calcMetadataWeights()
|