Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/compiler-rt/lib/orc/tests/unit/
H A Drtti_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/IR/
H A DProfDataUtils.cpp246 MDBuilder MDB(I.getContext()); in setExplicitlyUnknownBranchWeights() local
250 MDB.createString(MDProfLabels::UnknownBranchWeightsMarker))); in setExplicitlyUnknownBranchWeights()
268 MDBuilder MDB(I.getContext()); in setBranchWeights() local
269 MDNode *BranchWeights = MDB.createBranchWeights(Weights, IsExpected); in setBranchWeights()
290 MDBuilder MDB(C); in scaleProfData() local
303 Vals.push_back(MDB.createConstant(ConstantInt::get( in scaleProfData()
321 Vals.push_back(MDB.createConstant(ConstantInt::get( in scaleProfData()
H A DGlobals.cpp292 MDBuilder MDB(getContext()); in setSectionPrefix() local
294 MDB.createGlobalObjectSectionPrefix(Prefix)); in setSectionPrefix()
H A DMetadata.cpp1743 MDBuilder MDB(getContext()); in addAnnotationMetadata() local
1746 MDAnnotationStrings.push_back(MDB.createString(Annotation)); in addAnnotationMetadata()
1765 MDBuilder MDB(getContext()); in addAnnotationMetadata() local
1766 Names.push_back(MDB.createString(Name)); in addAnnotationMetadata()
/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()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerKernelArguments.cpp176 MDBuilder MDB(Ctx); in lowerKernelArguments() local
185 MDB.createRange(Range.getLower(), Range.getUpper())); in lowerKernelArguments()
197 MDB.createConstant( in lowerKernelArguments()
206 MDB.createConstant(ConstantInt::get(Builder.getInt64Ty(), in lowerKernelArguments()
213 MDNode::get(Ctx, MDB.createConstant(ConstantInt::get( in lowerKernelArguments()
H A DAMDGPULowerKernelAttributes.cpp95 MDBuilder MDB(Load->getContext()); in annotateGridSizeLoadWithRangeMD() local
96 MDNode *Range = MDB.createRange(APInt(32, 1), APInt(32, MaxNumGroups + 1)); in annotateGridSizeLoadWithRangeMD()
H A DAMDGPUSubtarget.cpp329 MDBuilder MDB(I->getContext()); in makeLIDRangeMetadata() local
330 MDNode *MaxWorkGroupSizeRange = MDB.createRange(Lower, Upper); in makeLIDRangeMetadata()
H A DAMDGPULowerModuleLDSPass.cpp1403 MDBuilder MDB(Ctx); in replaceLDSVariablesWithStruct() local
1405 MDNode *Domain = MDB.createAnonymousAliasScopeDomain(); in replaceLDSVariablesWithStruct()
1407 MDNode *Scope = MDB.createAnonymousAliasScope(Domain); in replaceLDSVariablesWithStruct()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DSanitizerBinaryMetadata.cpp159 bool runOn(Instruction &I, MetadataInfoSet &MIS, MDBuilder &MDB,
270 MDBuilder MDB(F.getContext()); in runOn() local
281 RequiresCovered |= runOn(I, MIS, MDB, FeatureMask); in runOn()
304 MDB.createPCSections({{Section, {CFM}}})); in runOn()
409 MDBuilder &MDB, uint64_t &FeatureMask) { in runOn() argument
446 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 DPGOInstrumentation.cpp1403 MDBuilder MDB(ctx); in annotateFunctionWithHashMismatch() local
1404 Names.push_back(MDB.createString(MetadataName)); in annotateFunctionWithHashMismatch()
1546 MDBuilder MDB(F.getContext()); in populateCoverage() local
2456 MDBuilder MDB(M->getContext()); in setIrrLoopHeaderMetadata() local
2458 MDB.createIrrLoopHeaderWeight(Count)); in setIrrLoopHeaderMetadata()
H A DIndirectCallPromotion.cpp612 MDBuilder MDB(Context); in createBranchWeights() local
614 return MDB.createBranchWeights(scaleBranchCount(TrueWeight, Scale), in createBranchWeights()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DSanitizerBinaryMetadata.cpp100 MDBuilder MDB(F.getContext()); in run() local
106 MDB.createPCSections({{Section.getString(), in run()
H A DSafeStack.cpp645 MDBuilder MDB(F.getContext()); in moveStaticAllocasToUnsafeStack() local
647 Data.push_back(MDB.createString("unsafe-stack-size")); in moveStaticAllocasToUnsafeStack()
648 Data.push_back(MDB.createConstant(ConstantInt::get(Int32Ty, FrameSize))); in moveStaticAllocasToUnsafeStack()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUnrollRuntime.cpp185 MDBuilder MDB(B.getContext()); in ConnectProlog() local
186 BranchWeights = MDB.createBranchWeights(UnrolledLoopHeaderWeights); in ConnectProlog()
315 MDBuilder MDB(B.getContext()); in ConnectEpilog() local
316 BranchWeights = MDB.createBranchWeights(1, Count - 1); in ConnectEpilog()
414 MDBuilder MDB(Builder.getContext()); in CloneLoopBlocks() local
415 BranchWeights = MDB.createBranchWeights(BackEdgeWeight, ExitWeight); in CloneLoopBlocks()
804 MDBuilder MDB(B.getContext()); in UnrollRuntimeLoopRemainder() local
805 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.cpp190 MDBuilder MDB(Context); in prepareNoAliasMetadata() local
191 MDNode *Domain = MDB.createAnonymousAliasScopeDomain("LVerDomain"); in prepareNoAliasMetadata()
194 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()
192 MDBuilder MDB(Ctx); in createMemCpyLoopUnknownSize() local
193 MDNode *NewDomain = MDB.createAnonymousAliasScopeDomain("MemCopyDomain"); in createMemCpyLoopUnknownSize()
195 MDNode *NewScope = MDB.createAnonymousAliasScope(NewDomain, Name); in createMemCpyLoopUnknownSize()
H A DModuleUtils.cpp207 MDBuilder MDB(Ctx); in setKCFIType() local
212 MDNode::get(Ctx, MDB.createConstant(ConstantInt::get( in setKCFIType()
/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.cpp393 MDBuilder MDB(M.getContext()); in runCVP() local
399 MDNode *Callees = MDB.createCallees(LV.getFunctions()); in runCVP()
H A DSampleProfileProbe.cpp343 MDBuilder MDB(F.getContext()); in instrumentOneFunc() local
444 auto *MD = MDB.createPseudoProbeDesc(Guid, Hash, FName); in instrumentOneFunc()
H A DSampleProfileMatcher.cpp655 MDBuilder MDB(Ctx); in computeAndReportProfileStaleness() local
681 auto *MD = MDB.createLLVMStats(ProfStatsVec); in computeAndReportProfileStaleness()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanConstruction.cpp625 MDBuilder MDB(Plan.getScalarHeader()->getIRBasicBlock()->getContext()); in attachCheckBlock() local
627 MDB.createBranchWeights(CheckBypassWeights, /*IsExpected=*/false); in attachCheckBlock()

12