Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/orc/tests/unit/
H A Dextensible_rtti_test.cpp35 MyDerivedB MDB; in TEST() local
50 EXPECT_TRUE(isa<RTTIRoot>(MDB)); in TEST()
51 EXPECT_TRUE(isa<MyBase>(MDB)); in TEST()
52 EXPECT_FALSE(isa<MyDerivedA>(MDB)); in TEST()
53 EXPECT_TRUE(isa<MyDerivedB>(MDB)); in TEST()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerExpectIntrinsic.cpp233 MDBuilder MDB(PhiDef->getContext()); in handlePhiDef() local
264 MDB.createBranchWeights(LikelyBranchWeightVal, in handlePhiDef()
268 MDB.createBranchWeights(UnlikelyBranchWeightVal, in handlePhiDef()
324 MDBuilder MDB(CI->getContext()); in handleBrSelExpect() local
335 MDB.createBranchWeights(LikelyBranchWeightVal, UnlikelyBranchWeightVal); in handleBrSelExpect()
339 MDB.createBranchWeights(UnlikelyBranchWeightVal, LikelyBranchWeightVal); in handleBrSelExpect()
H A DLoopVersioningLICM.cpp515 MDBuilder MDB(I->getContext()); in setNoAliasToLoop() local
516 MDNode *NewDomain = MDB.createAnonymousAliasScopeDomain("LVDomain"); in setNoAliasToLoop()
518 MDNode *NewScope = MDB.createAnonymousAliasScope(NewDomain, Name); in setNoAliasToLoop()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DSanitizerBinaryMetadata.cpp160 bool runOn(Instruction &I, MetadataInfoSet &MIS, MDBuilder &MDB,
261 MDBuilder MDB(F.getContext()); in runOn() local
272 RequiresCovered |= runOn(I, MIS, MDB, FeatureMask); in runOn()
295 MDB.createPCSections({{Section, {CFM}}})); in runOn()
400 MDBuilder &MDB, uint64_t &FeatureMask) { in runOn() argument
437 I.setMetadata(LLVMContext::MD_pcsections, MDB.createPCSections(Sections)); in runOn()
H A DCGProfile.cpp31 MDBuilder MDB(Context); in addModuleFlags() local
37 MDB.createConstant(ConstantInt::get( in addModuleFlags()
H A DIndirectCallPromotion.cpp252 MDBuilder MDB(CB.getContext()); in promoteIndirectCall() local
253 MDNode *BranchWeights = MDB.createBranchWeights( in promoteIndirectCall()
H A DPGOInstrumentation.cpp1268 MDBuilder MDB(ctx); in annotateFunctionWithHashMismatch() local
1269 Names.push_back(MDB.createString(MetadataName)); in annotateFunctionWithHashMismatch()
1413 MDBuilder MDB(F.getContext()); in populateCoverage() local
2238 MDBuilder MDB(M->getContext()); in setIrrLoopHeaderMetadata() local
2240 MDB.createIrrLoopHeaderWeight(Count)); in setIrrLoopHeaderMetadata()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DSanitizerBinaryMetadata.cpp78 MDBuilder MDB(F.getContext()); in runOnMachineFunction() local
84 MDB.createPCSections({{Section.getString(), in runOnMachineFunction()
H A DSafeStack.cpp637 MDBuilder MDB(F.getContext()); in moveStaticAllocasToUnsafeStack() local
639 Data.push_back(MDB.createString("unsafe-stack-size")); in moveStaticAllocasToUnsafeStack()
640 Data.push_back(MDB.createConstant(ConstantInt::get(Int32Ty, FrameSize))); in moveStaticAllocasToUnsafeStack()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerKernelArguments.cpp230 MDBuilder MDB(Ctx); in lowerKernelArguments() local
241 MDB.createConstant( in lowerKernelArguments()
250 MDB.createConstant(ConstantInt::get(Builder.getInt64Ty(), in lowerKernelArguments()
257 MDNode::get(Ctx, MDB.createConstant(ConstantInt::get( in lowerKernelArguments()
H A DAMDGPULowerModuleLDSPass.cpp1486 MDBuilder MDB(Ctx); in replaceLDSVariablesWithStruct() local
1488 MDNode *Domain = MDB.createAnonymousAliasScopeDomain(); in replaceLDSVariablesWithStruct()
1490 MDNode *Scope = MDB.createAnonymousAliasScope(Domain); in replaceLDSVariablesWithStruct()
H A DAMDGPUSubtarget.cpp553 MDBuilder MDB(I->getContext()); in makeLIDRangeMetadata() local
554 MDNode *MaxWorkGroupSizeRange = MDB.createRange(APInt(32, MinSize), in makeLIDRangeMetadata()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUnrollRuntime.cpp186 MDBuilder MDB(B.getContext()); in ConnectProlog() local
187 BranchWeights = MDB.createBranchWeights(UnrolledLoopHeaderWeights); in ConnectProlog()
316 MDBuilder MDB(B.getContext()); in ConnectEpilog() local
317 BranchWeights = MDB.createBranchWeights(1, Count - 1); in ConnectEpilog()
415 MDBuilder MDB(Builder.getContext()); in CloneLoopBlocks() local
416 BranchWeights = MDB.createBranchWeights(BackEdgeWeight, ExitWeight); in CloneLoopBlocks()
800 MDBuilder MDB(B.getContext()); in UnrollRuntimeLoopRemainder() local
801 BranchWeights = MDB.createBranchWeights(EpilogHeaderWeights); in UnrollRuntimeLoopRemainder()
H A DGuardUtils.cpp51 MDBuilder MDB(Guard->getContext()); in makeGuardControlFlowExplicit() local
53 MDB.createBranchWeights(PredicatePassBranchWeight, 1)); in makeGuardControlFlowExplicit()
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 DLowerMemIntrinsics.cpp37 MDBuilder MDB(Ctx); in createMemCpyLoopKnownSize() local
38 MDNode *NewDomain = MDB.createAnonymousAliasScopeDomain("MemCopyDomain"); in createMemCpyLoopKnownSize()
40 MDNode *NewScope = MDB.createAnonymousAliasScope(NewDomain, Name); in createMemCpyLoopKnownSize()
170 MDBuilder MDB(Ctx); in createMemCpyLoopUnknownSize() local
171 MDNode *NewDomain = MDB.createAnonymousAliasScopeDomain("MemCopyDomain"); in createMemCpyLoopUnknownSize()
173 MDNode *NewScope = MDB.createAnonymousAliasScope(NewDomain, Name); in createMemCpyLoopUnknownSize()
H A DModuleUtils.cpp162 MDBuilder MDB(Ctx); in setKCFIType() local
165 MDNode::get(Ctx, MDB.createConstant(ConstantInt::get( in setKCFIType()
H A DCloneFunction.cpp1140 MDBuilder MDB(Context); in cloneNoAliasScopes() local
1154 MDNode *NewScope = MDB.createAnonymousAliasScope( in cloneNoAliasScopes()
H A DLocal.cpp2852 MDBuilder MDB(NewCall->getContext()); in createCallMatchingInvoke() local
2855 : MDB.createBranchWeights({uint32_t(TotalWeight)}); in createCallMatchingInvoke()
3316 MDBuilder MDB(Dest.getContext()); in copyMetadataForLoad() local
3493 MDBuilder MDB(NewLI.getContext()); in copyNonnullMetadata() local
3500 MDB.createRange(NonNullInt, NullInt)); in copyNonnullMetadata()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DProfDataUtils.cpp188 MDBuilder MDB(I.getContext()); in setBranchWeights() local
189 MDNode *BranchWeights = MDB.createBranchWeights(Weights); in setBranchWeights()
H A DMetadata.cpp1670 MDBuilder MDB(getContext()); in addAnnotationMetadata() local
1673 MDAnnotationStrings.push_back(MDB.createString(Annotation)); in addAnnotationMetadata()
1692 MDBuilder MDB(getContext()); in addAnnotationMetadata() local
1693 Names.push_back(MDB.createString(Name)); in addAnnotationMetadata()
H A DFunction.cpp1941 MDBuilder MDB(getContext()); in setEntryCount() local
1944 MDB.createFunctionEntryCount(Count.getCount(), Count.isSynthetic(), S)); in setEntryCount()
1987 MDBuilder MDB(getContext()); in setSectionPrefix() local
1989 MDB.createFunctionSectionPrefix(Prefix)); in setSectionPrefix()
/freebsd-14.2/tests/sys/cddl/zfs/tests/zones/
H A Dzones_common.kshlib43 $ECHO "logmap_logscan_debug/p" | $MDB -k > /dev/null 2>&1
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DCalledValuePropagation.cpp387 MDBuilder MDB(M.getContext()); in runCVP() local
393 MDNode *Callees = MDB.createCallees(LV.getFunctions()); in runCVP()
H A DSampleProfileProbe.cpp260 MDBuilder MDB(F.getContext()); in instrumentOneFunc() local
362 auto *MD = MDB.createPseudoProbeDesc(Guid, Hash, FName); in instrumentOneFunc()

12