Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerExpectIntrinsic.cpp222 MDBuilder MDB(PhiDef->getContext()); in handlePhiDef() local
251 MDB.createBranchWeights(LikelyBranchWeightVal, in handlePhiDef()
255 MDB.createBranchWeights(UnlikelyBranchWeightVal, in handlePhiDef()
311 MDBuilder MDB(CI->getContext()); in handleBrSelExpect() local
321 MDB.createBranchWeights(LikelyBranchWeightVal, UnlikelyBranchWeightVal); in handleBrSelExpect()
324 MDB.createBranchWeights(UnlikelyBranchWeightVal, LikelyBranchWeightVal); in handleBrSelExpect()
H A DLoopVersioningLICM.cpp553 MDBuilder MDB(I->getContext()); in setNoAliasToLoop() local
554 MDNode *NewDomain = MDB.createAnonymousAliasScopeDomain("LVDomain"); in setNoAliasToLoop()
556 MDNode *NewScope = MDB.createAnonymousAliasScope(NewDomain, Name); in setNoAliasToLoop()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerKernelArguments.cpp180 MDBuilder MDB(Ctx); in runOnFunction() local
191 MDB.createConstant( in runOnFunction()
200 MDB.createConstant(ConstantInt::get(Builder.getInt64Ty(), in runOnFunction()
209 MDB.createConstant(ConstantInt::get(Builder.getInt64Ty(), in runOnFunction()
H A DAMDGPUSubtarget.cpp665 MDBuilder MDB(I->getContext()); in makeLIDRangeMetadata() local
666 MDNode *MaxWorkGroupSizeRange = MDB.createRange(APInt(32, MinSize), in makeLIDRangeMetadata()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DIndirectCallPromotion.cpp312 MDBuilder MDB(CB.getContext()); in promoteIndirectCall() local
313 MDNode *BranchWeights = MDB.createBranchWeights( in promoteIndirectCall()
320 MDBuilder MDB(NewInst.getContext()); in promoteIndirectCall() local
323 MDB.createBranchWeights({static_cast<uint32_t>(Count)})); in promoteIndirectCall()
H A DCGProfile.cpp34 MDBuilder MDB(Context); in addModuleFlags() local
40 MDB.createConstant(ConstantInt::get( in addModuleFlags()
H A DPGOInstrumentation.cpp1266 MDBuilder MDB(ctx); in annotateFunctionWithHashMismatch() local
1267 Names.push_back(MDB.createString(MetadataName)); in annotateFunctionWithHashMismatch()
2033 MDBuilder MDB(M->getContext()); in setProfMetadata() local
2045 TI->setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights)); in setProfMetadata()
2077 MDBuilder MDB(M->getContext()); in setIrrLoopHeaderMetadata() local
2079 MDB.createIrrLoopHeaderWeight(Count)); in setIrrLoopHeaderMetadata()
H A DControlHeightReduction.cpp1874 MDBuilder MDB(F.getContext()); in fixupBranchesAndSelects() local
1875 MergedBR->setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights)); in fixupBranchesAndSelects()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DGuardUtils.cpp51 MDBuilder MDB(Guard->getContext()); in makeGuardControlFlowExplicit() local
53 MDB.createBranchWeights(PredicatePassBranchWeight, 1)); in makeGuardControlFlowExplicit()
H A DLoopPeel.cpp446 MDBuilder MDB(LatchBR->getContext()); in updateBranchWeights() local
448 HeaderIdx ? MDB.createBranchWeights(ExitWeight, FallThroughWeight) in updateBranchWeights()
449 : MDB.createBranchWeights(FallThroughWeight, ExitWeight); in updateBranchWeights()
487 MDBuilder MDB(LatchBR->getContext()); in fixupBranchWeights() local
490 HeaderIdx ? MDB.createBranchWeights(ExitWeight, FallThroughWeight) in fixupBranchWeights()
491 : MDB.createBranchWeights(FallThroughWeight, ExitWeight); in fixupBranchWeights()
H A DLoopVersioning.cpp191 MDBuilder MDB(Context); in prepareNoAliasMetadata() local
192 MDNode *Domain = MDB.createAnonymousAliasScopeDomain("LVerDomain"); in prepareNoAliasMetadata()
195 GroupToScope[&Group] = MDB.createAnonymousAliasScope(Domain); in prepareNoAliasMetadata()
H A DLoopUnrollRuntime.cpp536 MDBuilder MDB(RemainderLatchBR->getContext()); in updateLatchBranchWeightsForRemainderLoop() local
538 HeaderIdx ? MDB.createBranchWeights(ExitWeight, BackEdgeWeight) in updateLatchBranchWeightsForRemainderLoop()
539 : MDB.createBranchWeights(BackEdgeWeight, ExitWeight); in updateLatchBranchWeightsForRemainderLoop()
H A DCloneFunction.cpp935 MDBuilder MDB(Context); in cloneNoAliasScopes() local
949 MDNode *NewScope = MDB.createAnonymousAliasScope( in cloneNoAliasScopes()
H A DLocal.cpp2167 MDBuilder MDB(NewCall->getContext()); in createCallMatchingInvoke() local
2170 : MDB.createBranchWeights({uint32_t(TotalWeight)}); in createCallMatchingInvoke()
2585 MDBuilder MDB(Dest.getContext()); in copyMetadataForLoad() local
2764 MDBuilder MDB(NewLI.getContext()); in copyNonnullMetadata() local
2771 MDB.createRange(NonNullInt, NullInt)); in copyNonnullMetadata()
H A DInlineFunction.cpp969 MDBuilder MDB(CalledFunc->getContext()); in AddAliasScopeMetadata() local
973 MDB.createAnonymousAliasScopeDomain(CalledFunc->getName()); in AddAliasScopeMetadata()
989 MDNode *NewScope = MDB.createAnonymousAliasScope(NewDomain, Name); in AddAliasScopeMetadata()
H A DLoopUtils.cpp823 MDBuilder MDB(LatchBranch->getContext()); in setLoopEstimatedTripCount() local
828 MDB.createBranchWeights(BackedgeTakenWeight, LatchExitWeight)); in setLoopEstimatedTripCount()
/freebsd-13.1/tests/sys/cddl/zfs/tests/zones/
H A Dzones_common.kshlib45 $ECHO "logmap_logscan_debug/p" | $MDB -k > /dev/null 2>&1
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DCalledValuePropagation.cpp386 MDBuilder MDB(M.getContext()); in runCVP() local
392 MDNode *Callees = MDB.createCallees(LV.getFunctions()); in runCVP()
H A DSampleProfileProbe.cpp286 MDBuilder MDB(F.getContext()); in instrumentOneFunc() local
372 auto *MD = MDB.createPseudoProbeDesc(Guid, Hash, &F); in instrumentOneFunc()
H A DSampleProfile.cpp1443 MDBuilder MDB(Ctx); in generateMDProfMetadata() local
1493 MDB.createBranchWeights( in generateMDProfMetadata()
1505 I.setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(0)); in generateMDProfMetadata()
1560 TI->setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights)); in generateMDProfMetadata()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DFunction.cpp1859 MDBuilder MDB(getContext()); in setEntryCount() local
1862 MDB.createFunctionEntryCount(Count.getCount(), Count.isSynthetic(), S)); in setEntryCount()
1905 MDBuilder MDB(getContext()); in setSectionPrefix() local
1907 MDB.createFunctionSectionPrefix(Prefix)); in setSectionPrefix()
H A DMetadata.cpp1350 MDBuilder MDB(getContext()); in addAnnotationMetadata() local
1364 Names.push_back(MDB.createString(Name)); in addAnnotationMetadata()
H A DInstructions.cpp586 MDBuilder MDB(getContext()); in updateProfWeight() local
597 Vals.push_back(MDB.createConstant( in updateProfWeight()
616 Vals.push_back(MDB.createConstant( in updateProfWeight()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp104 MDBuilder MDB(Ctx); in getOrCreateRuntimeFunction() local
112 *MDNode::get(Ctx, {MDB.createCallbackEncoding( in getOrCreateRuntimeFunction()
616 MDBuilder MDB(Ctx); in createParallel() local
625 Ctx, {MDB.createCallbackEncoding(2, {-1, -1}, in createParallel()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZInstrFP.td464 defm MDB : BinaryRXEAndPseudo<"mdb", 0xED1C, any_fmul, FP64, load, 8>;

12