Home
last modified time | relevance | path

Searched refs:MDB (Results 1 – 20 of 20) sorted by relevance

/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DLowerExpectIntrinsic.cpp197 MDBuilder MDB(PhiDef->getContext()); in handlePhiDef() local
224 MDB.createBranchWeights(LikelyBranchWeight, UnlikelyBranchWeight)); in handlePhiDef()
228 MDB.createBranchWeights(UnlikelyBranchWeight, LikelyBranchWeight)); in handlePhiDef()
282 MDBuilder MDB(CI->getContext()); in handleBrSelExpect() local
287 Node = MDB.createBranchWeights(LikelyBranchWeight, UnlikelyBranchWeight); in handleBrSelExpect()
289 Node = MDB.createBranchWeights(UnlikelyBranchWeight, LikelyBranchWeight); in handleBrSelExpect()
H A DLoopVersioningLICM.cpp563 MDBuilder MDB(I->getContext()); in setNoAliasToLoop() local
564 MDNode *NewDomain = MDB.createAnonymousAliasScopeDomain("LVDomain"); in setNoAliasToLoop()
567 MDNode *NewScope = MDB.createAnonymousAliasScope(NewDomain, Name); in setNoAliasToLoop()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerKernelArguments.cpp168 MDBuilder MDB(Ctx); in runOnFunction() local
179 MDB.createConstant( in runOnFunction()
188 MDB.createConstant(ConstantInt::get(Builder.getInt64Ty(), in runOnFunction()
197 MDB.createConstant(ConstantInt::get(Builder.getInt64Ty(), in runOnFunction()
H A DAMDGPUSubtarget.cpp409 MDBuilder MDB(I->getContext()); in makeLIDRangeMetadata() local
410 MDNode *MaxWorkGroupSizeRange = MDB.createRange(APInt(32, MinSize), in makeLIDRangeMetadata()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DGuardUtils.cpp48 MDBuilder MDB(Guard->getContext()); in makeGuardControlFlowExplicit() local
50 MDB.createBranchWeights(PredicatePassBranchWeight, 1)); in makeGuardControlFlowExplicit()
H A DLoopUnrollPeel.cpp377 MDBuilder MDB(LatchBR->getContext()); in updateBranchWeights() local
379 HeaderIdx ? MDB.createBranchWeights(ExitWeight, FallThruWeight) in updateBranchWeights()
380 : MDB.createBranchWeights(FallThruWeight, ExitWeight); in updateBranchWeights()
661 MDBuilder MDB(LatchBR->getContext()); in peelLoop() local
663 HeaderIdx ? MDB.createBranchWeights(ExitWeight, BackEdgeWeight) in peelLoop()
664 : MDB.createBranchWeights(BackEdgeWeight, ExitWeight); in peelLoop()
H A DLoopVersioning.cpp184 MDBuilder MDB(Context); in prepareNoAliasMetadata() local
185 MDNode *Domain = MDB.createAnonymousAliasScopeDomain("LVerDomain"); in prepareNoAliasMetadata()
188 GroupToScope[&Group] = MDB.createAnonymousAliasScope(Domain); in prepareNoAliasMetadata()
H A DInlineFunction.cpp953 MDBuilder MDB(CalledFunc->getContext()); in AddAliasScopeMetadata() local
957 MDB.createAnonymousAliasScopeDomain(CalledFunc->getName()); in AddAliasScopeMetadata()
973 MDNode *NewScope = MDB.createAnonymousAliasScope(NewDomain, Name); in AddAliasScopeMetadata()
H A DLocal.cpp2494 MDBuilder MDB(NewLI.getContext()); in copyNonnullMetadata() local
2501 MDB.createRange(NonNullInt, NullInt)); in copyNonnullMetadata()
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DIndirectCallPromotion.cpp306 MDBuilder MDB(Inst->getContext()); in promoteIndirectCall() local
307 MDNode *BranchWeights = MDB.createBranchWeights( in promoteIndirectCall()
316 MDBuilder MDB(NewInst->getContext()); in promoteIndirectCall() local
317 NewInst->setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights)); in promoteIndirectCall()
H A DCGProfile.cpp87 MDBuilder MDB(Context); in addModuleFlags() local
93 MDB.createConstant(ConstantInt::get( in addModuleFlags()
H A DPGOInstrumentation.cpp1603 MDBuilder MDB(M->getContext()); in setProfMetadata() local
1614 TI->setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights)); in setProfMetadata()
1646 MDBuilder MDB(M->getContext()); in setIrrLoopHeaderMetadata() local
1648 MDB.createIrrLoopHeaderWeight(Count)); in setIrrLoopHeaderMetadata()
H A DControlHeightReduction.cpp1838 MDBuilder MDB(F.getContext()); in fixupBranchesAndSelects() local
1839 MergedBR->setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights)); in fixupBranchesAndSelects()
/freebsd-12.1/tests/sys/cddl/zfs/tests/zones/
H A Dzones_common.kshlib45 $ECHO "logmap_logscan_debug/p" | $MDB -k > /dev/null 2>&1
/freebsd-12.1/contrib/llvm/lib/IR/
H A DInstruction.cpp744 MDBuilder MDB(getContext()); in updateProfWeight() local
756 Vals.push_back(MDB.createConstant( in updateProfWeight()
770 Vals.push_back(MDB.createConstant( in updateProfWeight()
782 MDBuilder MDB(getContext()); in setProfWeight() local
783 setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights)); in setProfWeight()
H A DFunction.cpp1370 MDBuilder MDB(getContext()); in setEntryCount() local
1373 MDB.createFunctionEntryCount(Count.getCount(), Count.isSynthetic(), S)); in setEntryCount()
1415 MDBuilder MDB(getContext()); in setSectionPrefix() local
1417 MDB.createFunctionSectionPrefix(Prefix)); in setSectionPrefix()
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DCalledValuePropagation.cpp389 MDBuilder MDB(M.getContext()); in runCVP() local
396 MDNode *Callees = MDB.createCallees(LV.getFunctions()); in runCVP()
H A DSampleProfile.cpp1272 MDBuilder MDB(Ctx); in propagateWeights() local
1305 I.setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights)); in propagateWeights()
1355 MDB.createBranchWeights(Weights)); in propagateWeights()
/freebsd-12.1/contrib/llvm/lib/Target/SystemZ/
H A DSystemZInstrFP.td443 def MDB : BinaryRXE<"mdb", 0xED1C, fmul, FP64, load, 8>;
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp471 MDBuilder MDB(NewLoad->getContext()); in combineLoadToNewType() local