Home
last modified time | relevance | path

Searched refs:MD_prof (Results 1 – 25 of 32) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLowerExpectIntrinsic.cpp87 SI.setMetadata(LLVMContext::MD_prof, in handleSwitchExpect()
229 LLVMContext::MD_prof, in handlePhiDef()
233 LLVMContext::MD_prof, in handlePhiDef()
310 BSI.setMetadata(LLVMContext::MD_prof, Node); in handleBrSelExpect()
DJumpThreading.cpp290 PredBr->setMetadata(LLVMContext::MD_prof, in updatePredecessorProfileMetadata()
2189 MDNode *WeightsNode = TI->getMetadata(LLVMContext::MD_prof); in doesBlockHaveProfileData()
2293 LLVMContext::MD_prof, in UpdateBlockFreqAndEdgeWeight()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DFixedMetadataKinds.def15 LLVM_FIXED_MD_KIND(MD_prof, "prof", 2)
DIRBuilder.h939 I->setMetadata(LLVMContext::MD_prof, Weights); in addBranchMetadata()
990 unsigned WL[4] = {LLVMContext::MD_prof, LLVMContext::MD_unpredictable, in CreateCondBr()
2507 MDNode *Prof = MDFrom->getMetadata(LLVMContext::MD_prof);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DIndirectCallPromotion.cpp316 LLVMContext::MD_prof, in promoteIndirectCall()
371 I->setMetadata(LLVMContext::MD_prof, nullptr); in processFunction()
DPGOMemOPSizeOpt.cpp360 MI->setMetadata(LLVMContext::MD_prof, nullptr); in perform()
DControlHeightReduction.cpp672 if (!checkMDProf(BI->getMetadata(LLVMContext::MD_prof), in checkBiasedBranch()
702 if (!checkMDProf(SI->getMetadata(LLVMContext::MD_prof), in checkBiasedSelect()
1881 MergedBR->setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights)); in fixupBranchesAndSelects()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DGuardUtils.cpp52 CheckBI->setMetadata(LLVMContext::MD_prof, in makeGuardControlFlowExplicit()
DMisExpect.cpp149 if (auto *MD = I.getMetadata(LLVMContext::MD_prof)) { in checkFrontendInstrumentation()
DLoopUnrollPeel.cpp435 LatchBR->setMetadata(LLVMContext::MD_prof, WeightNode); in updateBranchWeights()
477 LatchBR->setMetadata(LLVMContext::MD_prof, WeightNode); in fixupBranchWeights()
DCallPromotionUtils.cpp376 CS.getInstruction()->setMetadata(LLVMContext::MD_prof, nullptr); in promoteCall()
DBasicBlockUtils.cpp948 HeadNewTerm->setMetadata(LLVMContext::MD_prof, BranchWeights); in SplitBlockAndInsertIfThen()
993 HeadNewTerm->setMetadata(LLVMContext::MD_prof, BranchWeights); in SplitBlockAndInsertIfThenElse()
DLocal.cpp183 MDNode *MD = SI->getMetadata(LLVMContext::MD_prof); in ConstantFoldTerminator()
201 SI->setMetadata(LLVMContext::MD_prof, in ConstantFoldTerminator()
275 MDNode *MD = SI->getMetadata(LLVMContext::MD_prof); in ConstantFoldTerminator()
283 NewBr->setMetadata(LLVMContext::MD_prof, in ConstantFoldTerminator()
2412 case LLVMContext::MD_prof: in copyMetadataForLoad()
DSimplifyCFG.cpp795 SI->setMetadata(LLVMContext::MD_prof, N); in setBranchWeights()
809 I->setMetadata(LLVMContext::MD_prof, N); in setBranchWeights()
958 MDNode *ProfMD = I->getMetadata(LLVMContext::MD_prof); in HasBranchWeights()
971 MDNode *MD = TI->getMetadata(LLVMContext::MD_prof); in GetBranchWeights()
2823 PBI->setMetadata(LLVMContext::MD_prof, nullptr); in FoldBranchToCommonDest()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DLLVMContext.h61 MD_prof = 2, // "prof" enumerator
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DInstruction.cpp693 MDNode *ProfileData = getMetadata(LLVMContext::MD_prof); in swapProfMetadata()
705 setMetadata(LLVMContext::MD_prof, in swapProfMetadata()
754 setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights)); in setProfWeight()
DFunction.cpp1562 LLVMContext::MD_prof, in setEntryCount()
1572 MDNode *MD = getMetadata(LLVMContext::MD_prof); in getEntryCount()
1595 if (MDNode *MD = getMetadata(LLVMContext::MD_prof)) in getImportGUIDs()
DMetadata.cpp1320 auto *ProfileData = getMetadata(LLVMContext::MD_prof); in extractProfMetadata()
1348 auto *ProfileData = getMetadata(LLVMContext::MD_prof); in extractProfTotalWeight()
DVerifier.cpp1880 if (Pair.first == LLVMContext::MD_prof) { in verifyFunctionMetadata()
2285 Assert(I.first != LLVMContext::MD_prof, in visitFunction()
2329 case LLVMContext::MD_prof: in visitFunction()
4245 if (MDNode *MD = I.getMetadata(LLVMContext::MD_prof)) in visitInstruction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DCFGPrinter.h156 MDNode *WeightsNode = TI->getMetadata(LLVMContext::MD_prof);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DCrossDSOCFI.cpp153 BI->setMetadata(LLVMContext::MD_prof, VeryLikelyWeights); in buildCFICheck()
DSampleProfile.cpp1551 I.setMetadata(LLVMContext::MD_prof, in propagateWeights()
1604 TI->setMetadata(LLVMContext::MD_prof, in propagateWeights()
DLowerTypeTests.cpp786 NewBr->setMetadata(LLVMContext::MD_prof, in lowerTypeTestCall()
787 Br->getMetadata(LLVMContext::MD_prof)); in lowerTypeTestCall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
DInstrProf.cpp973 Inst.setMetadata(LLVMContext::MD_prof, MDNode::get(Ctx, Vals)); in annotateValueSite()
981 MDNode *MD = Inst.getMetadata(LLVMContext::MD_prof); in getValueProfDataFromInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DBranchProbabilityInfo.cpp283 MDNode *WeightsNode = TI->getMetadata(LLVMContext::MD_prof); in calcMetadataWeights()

12