Home
last modified time | relevance | path

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

12

/freebsd/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/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerExpectIntrinsic.cpp233 MDBuilder MDB(PhiDef->getContext()); in handlePhiDef() local
264 MDB.createBranchWeights(LikelyBranchWeightVal, in handlePhiDef()
269 MDB.createBranchWeights(UnlikelyBranchWeightVal, in handlePhiDef()
326 MDBuilder MDB(CI->getContext()); in handleBrSelExpect() local
336 Node = MDB.createBranchWeights( in handleBrSelExpect()
340 Node = MDB.createBranchWeights(UnlikelyBranchWeightVal, 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/contrib/llvm-project/llvm/lib/IR/
H A DProfDataUtils.cpp241 MDBuilder MDB(I.getContext()); in setBranchWeights() local
242 MDNode *BranchWeights = MDB.createBranchWeights(Weights, IsExpected); in setBranchWeights()
262 MDBuilder MDB(C); in scaleProfData() local
275 Vals.push_back(MDB.createConstant(ConstantInt::get( in scaleProfData()
293 Vals.push_back(MDB.createConstant(ConstantInt::get( in scaleProfData()
H A DMetadata.cpp1679 MDBuilder MDB(getContext()); in addAnnotationMetadata() local
1682 MDAnnotationStrings.push_back(MDB.createString(Annotation)); in addAnnotationMetadata()
1701 MDBuilder MDB(getContext()); in addAnnotationMetadata() local
1702 Names.push_back(MDB.createString(Name)); in addAnnotationMetadata()
H A DFunction.cpp2037 MDBuilder MDB(getContext()); in setEntryCount() local
2040 MDB.createFunctionEntryCount(Count.getCount(), Count.isSynthetic(), S)); in setEntryCount()
2083 MDBuilder MDB(getContext()); in setSectionPrefix() local
2085 MDB.createFunctionSectionPrefix(Prefix)); in setSectionPrefix()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DSanitizerBinaryMetadata.cpp161 bool runOn(Instruction &I, MetadataInfoSet &MIS, MDBuilder &MDB,
269 MDBuilder MDB(F.getContext()); in runOn() local
280 RequiresCovered |= runOn(I, MIS, MDB, FeatureMask); in runOn()
303 MDB.createPCSections({{Section, {CFM}}})); in runOn()
408 MDBuilder &MDB, uint64_t &FeatureMask) { in runOn() argument
445 I.setMetadata(LLVMContext::MD_pcsections, MDB.createPCSections(Sections)); in runOn()
H A DCGProfile.cpp32 MDBuilder MDB(Context); in addModuleFlags() local
38 MDB.createConstant(ConstantInt::get( in addModuleFlags()
H A DIndirectCallPromotion.cpp600 MDBuilder MDB(Context); in createBranchWeights() local
602 return MDB.createBranchWeights(scaleBranchCount(TrueWeight, Scale), in createBranchWeights()
H A DPGOInstrumentation.cpp1322 MDBuilder MDB(ctx); in annotateFunctionWithHashMismatch() local
1323 Names.push_back(MDB.createString(MetadataName)); in annotateFunctionWithHashMismatch()
1468 MDBuilder MDB(F.getContext()); in populateCoverage() local
2342 MDBuilder MDB(M->getContext()); in setIrrLoopHeaderMetadata() local
2344 MDB.createIrrLoopHeaderWeight(Count)); in setIrrLoopHeaderMetadata()
/freebsd/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/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerKernelArguments.cpp228 MDBuilder MDB(Ctx); in lowerKernelArguments() local
239 MDB.createConstant( in lowerKernelArguments()
248 MDB.createConstant(ConstantInt::get(Builder.getInt64Ty(), in lowerKernelArguments()
255 MDNode::get(Ctx, MDB.createConstant(ConstantInt::get( in lowerKernelArguments()
H A DAMDGPULowerModuleLDSPass.cpp1276 MDBuilder MDB(Ctx); in replaceLDSVariablesWithStruct() local
1278 MDNode *Domain = MDB.createAnonymousAliasScopeDomain(); in replaceLDSVariablesWithStruct()
1280 MDNode *Scope = MDB.createAnonymousAliasScope(Domain); in replaceLDSVariablesWithStruct()
H A DAMDGPUSubtarget.cpp578 MDBuilder MDB(I->getContext()); in makeLIDRangeMetadata() local
579 MDNode *MaxWorkGroupSizeRange = MDB.createRange(Lower, Upper); in makeLIDRangeMetadata()
/freebsd/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.cpp38 MDBuilder MDB(Ctx); in createMemCpyLoopKnownSize() local
39 MDNode *NewDomain = MDB.createAnonymousAliasScopeDomain("MemCopyDomain"); in createMemCpyLoopKnownSize()
41 MDNode *NewScope = MDB.createAnonymousAliasScope(NewDomain, Name); in createMemCpyLoopKnownSize()
191 MDBuilder MDB(Ctx); in createMemCpyLoopUnknownSize() local
192 MDNode *NewDomain = MDB.createAnonymousAliasScopeDomain("MemCopyDomain"); in createMemCpyLoopUnknownSize()
194 MDNode *NewScope = MDB.createAnonymousAliasScope(NewDomain, Name); in createMemCpyLoopUnknownSize()
H A DModuleUtils.cpp163 MDBuilder MDB(Ctx); in setKCFIType() local
168 MDNode::get(Ctx, MDB.createConstant(ConstantInt::get( in setKCFIType()
H A DCloneFunction.cpp1115 MDBuilder MDB(Context); in cloneNoAliasScopes() local
1129 MDNode *NewScope = MDB.createAnonymousAliasScope( in cloneNoAliasScopes()
/freebsd/tests/sys/cddl/zfs/tests/zones/
H A Dzones_common.kshlib40 $ECHO "logmap_logscan_debug/p" | $MDB -k > /dev/null 2>&1
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DCalledValuePropagation.cpp388 MDBuilder MDB(M.getContext()); in runCVP() local
394 MDNode *Callees = MDB.createCallees(LV.getFunctions()); in runCVP()
H A DSampleProfileProbe.cpp346 MDBuilder MDB(F.getContext()); in instrumentOneFunc() local
448 auto *MD = MDB.createPseudoProbeDesc(Guid, Hash, FName); in instrumentOneFunc()
H A DSampleProfileMatcher.cpp708 MDBuilder MDB(Ctx); in computeAndReportProfileStaleness() local
734 auto *MD = MDB.createLLVMStats(ProfStatsVec); in computeAndReportProfileStaleness()

12