| /freebsd/contrib/llvm-project/compiler-rt/lib/orc/tests/unit/ |
| H A D | rtti_test.cpp | 35 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 D | ProfDataUtils.cpp | 246 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 D | Globals.cpp | 292 MDBuilder MDB(getContext()); in setSectionPrefix() local 294 MDB.createGlobalObjectSectionPrefix(Prefix)); in setSectionPrefix()
|
| H A D | Metadata.cpp | 1743 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 D | LowerExpectIntrinsic.cpp | 233 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 D | AMDGPULowerKernelArguments.cpp | 176 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 D | AMDGPULowerKernelAttributes.cpp | 95 MDBuilder MDB(Load->getContext()); in annotateGridSizeLoadWithRangeMD() local 96 MDNode *Range = MDB.createRange(APInt(32, 1), APInt(32, MaxNumGroups + 1)); in annotateGridSizeLoadWithRangeMD()
|
| H A D | AMDGPUSubtarget.cpp | 329 MDBuilder MDB(I->getContext()); in makeLIDRangeMetadata() local 330 MDNode *MaxWorkGroupSizeRange = MDB.createRange(Lower, Upper); in makeLIDRangeMetadata()
|
| H A D | AMDGPULowerModuleLDSPass.cpp | 1403 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 D | SanitizerBinaryMetadata.cpp | 159 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 D | CGProfile.cpp | 32 MDBuilder MDB(Context); in addModuleFlags() local 38 MDB.createConstant(ConstantInt::get( in addModuleFlags()
|
| H A D | PGOInstrumentation.cpp | 1403 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 D | IndirectCallPromotion.cpp | 612 MDBuilder MDB(Context); in createBranchWeights() local 614 return MDB.createBranchWeights(scaleBranchCount(TrueWeight, Scale), in createBranchWeights()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | SanitizerBinaryMetadata.cpp | 100 MDBuilder MDB(F.getContext()); in run() local 106 MDB.createPCSections({{Section.getString(), in run()
|
| H A D | SafeStack.cpp | 645 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 D | LoopUnrollRuntime.cpp | 185 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 D | GuardUtils.cpp | 51 MDBuilder MDB(Guard->getContext()); in makeGuardControlFlowExplicit() local 53 MDB.createBranchWeights(PredicatePassBranchWeight, 1)); in makeGuardControlFlowExplicit()
|
| H A D | LoopVersioning.cpp | 190 MDBuilder MDB(Context); in prepareNoAliasMetadata() local 191 MDNode *Domain = MDB.createAnonymousAliasScopeDomain("LVerDomain"); in prepareNoAliasMetadata() 194 GroupToScope[&Group] = MDB.createAnonymousAliasScope(Domain); in prepareNoAliasMetadata()
|
| H A D | LowerMemIntrinsics.cpp | 38 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 D | ModuleUtils.cpp | 207 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 D | zones_common.kshlib | 40 $ECHO "logmap_logscan_debug/p" | $MDB -k > /dev/null 2>&1
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | CalledValuePropagation.cpp | 393 MDBuilder MDB(M.getContext()); in runCVP() local 399 MDNode *Callees = MDB.createCallees(LV.getFunctions()); in runCVP()
|
| H A D | SampleProfileProbe.cpp | 343 MDBuilder MDB(F.getContext()); in instrumentOneFunc() local 444 auto *MD = MDB.createPseudoProbeDesc(Guid, Hash, FName); in instrumentOneFunc()
|
| H A D | SampleProfileMatcher.cpp | 655 MDBuilder MDB(Ctx); in computeAndReportProfileStaleness() local 681 auto *MD = MDB.createLLVMStats(ProfStatsVec); in computeAndReportProfileStaleness()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanConstruction.cpp | 625 MDBuilder MDB(Plan.getScalarHeader()->getIRBasicBlock()->getContext()); in attachCheckBlock() local 627 MDB.createBranchWeights(CheckBypassWeights, /*IsExpected=*/false); in attachCheckBlock()
|