| /openbsd-src/gnu/llvm/compiler-rt/lib/orc/tests/unit/ |
| H A D | extensible_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()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/ |
| H A D | SanitizerBinaryMetadata.cpp | 158 bool runOn(Instruction &I, MetadataInfoSet &MIS, MDBuilder &MDB, 246 MDBuilder MDB(F.getContext()); in runOn() local 259 RequiresCovered |= runOn(I, MIS, MDB, FeatureMask); in runOn() 281 MDB.createPCSections({{Section, {CFM}}})); in runOn() 342 MDBuilder &MDB, uint32_t &FeatureMask) { in runOn() argument 366 I.setMetadata(LLVMContext::MD_pcsections, MDB.createPCSections(Sections)); in runOn()
|
| H A D | IndirectCallPromotion.cpp | 252 MDBuilder MDB(CB.getContext()); in promoteIndirectCall() local 253 MDNode *BranchWeights = MDB.createBranchWeights( in promoteIndirectCall() 260 MDBuilder MDB(NewInst.getContext()); in promoteIndirectCall() local 263 MDB.createBranchWeights({static_cast<uint32_t>(Count)})); in promoteIndirectCall()
|
| H A D | CGProfile.cpp | 32 MDBuilder MDB(Context); in addModuleFlags() local 38 MDB.createConstant(ConstantInt::get( in addModuleFlags()
|
| H A D | PGOInstrumentation.cpp | 1240 MDBuilder MDB(ctx); in annotateFunctionWithHashMismatch() local 1241 Names.push_back(MDB.createString(MetadataName)); in annotateFunctionWithHashMismatch() 2299 MDBuilder MDB(M->getContext()); in setProfMetadata() local 2313 TI->setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights)); in setProfMetadata() 2345 MDBuilder MDB(M->getContext()); in setIrrLoopHeaderMetadata() local 2347 MDB.createIrrLoopHeaderWeight(Count)); in setIrrLoopHeaderMetadata()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | LowerExpectIntrinsic.cpp | 239 MDBuilder MDB(PhiDef->getContext()); in handlePhiDef() local 270 MDB.createBranchWeights(LikelyBranchWeightVal, in handlePhiDef() 274 MDB.createBranchWeights(UnlikelyBranchWeightVal, in handlePhiDef() 330 MDBuilder MDB(CI->getContext()); in handleBrSelExpect() local 341 MDB.createBranchWeights(LikelyBranchWeightVal, UnlikelyBranchWeightVal); in handleBrSelExpect() 345 MDB.createBranchWeights(UnlikelyBranchWeightVal, LikelyBranchWeightVal); in handleBrSelExpect()
|
| H A D | LoopVersioningLICM.cpp | 540 MDBuilder MDB(I->getContext()); in setNoAliasToLoop() local 541 MDNode *NewDomain = MDB.createAnonymousAliasScopeDomain("LVDomain"); in setNoAliasToLoop() 543 MDNode *NewScope = MDB.createAnonymousAliasScope(NewDomain, Name); in setNoAliasToLoop()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULowerKernelArguments.cpp | 179 MDBuilder MDB(Ctx); in runOnFunction() local 190 MDB.createConstant( in runOnFunction() 199 MDB.createConstant(ConstantInt::get(Builder.getInt64Ty(), in runOnFunction() 206 MDNode::get(Ctx, MDB.createConstant(ConstantInt::get( in runOnFunction()
|
| H A D | AMDGPULowerModuleLDSPass.cpp | 1126 MDBuilder MDB(Ctx); in replaceLDSVariablesWithStruct() local 1128 MDNode *Domain = MDB.createAnonymousAliasScopeDomain(); in replaceLDSVariablesWithStruct() 1130 MDNode *Scope = MDB.createAnonymousAliasScope(Domain); in replaceLDSVariablesWithStruct()
|
| H A D | AMDGPUSubtarget.cpp | 527 MDBuilder MDB(I->getContext()); in makeLIDRangeMetadata() local 528 MDNode *MaxWorkGroupSizeRange = MDB.createRange(APInt(32, MinSize), in makeLIDRangeMetadata()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | SanitizerBinaryMetadata.cpp | 74 MDBuilder MDB(F.getContext()); in runOnMachineFunction() local 77 MDB.createPCSections( in runOnMachineFunction()
|
| H A D | SafeStack.cpp | 638 MDBuilder MDB(F.getContext()); in moveStaticAllocasToUnsafeStack() local 640 Data.push_back(MDB.createString("unsafe-stack-size")); in moveStaticAllocasToUnsafeStack() 641 Data.push_back(MDB.createConstant(ConstantInt::get(Int32Ty, FrameSize))); in moveStaticAllocasToUnsafeStack()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | GuardUtils.cpp | 51 MDBuilder MDB(Guard->getContext()); in makeGuardControlFlowExplicit() local 53 MDB.createBranchWeights(PredicatePassBranchWeight, 1)); in makeGuardControlFlowExplicit()
|
| H A D | LowerMemIntrinsics.cpp | 34 MDBuilder MDB(Ctx); in createMemCpyLoopKnownSize() local 35 MDNode *NewDomain = MDB.createAnonymousAliasScopeDomain("MemCopyDomain"); in createMemCpyLoopKnownSize() 37 MDNode *NewScope = MDB.createAnonymousAliasScope(NewDomain, Name); in createMemCpyLoopKnownSize() 187 MDBuilder MDB(Ctx); in createMemCpyLoopUnknownSize() local 188 MDNode *NewDomain = MDB.createAnonymousAliasScopeDomain("MemCopyDomain"); in createMemCpyLoopUnknownSize() 190 MDNode *NewScope = MDB.createAnonymousAliasScope(NewDomain, Name); in createMemCpyLoopUnknownSize()
|
| 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 | LoopPeel.cpp | 617 MDBuilder MDB(Term->getContext()); in updateBranchWeights() local 619 MDB.createBranchWeights(Info.Weights)); in updateBranchWeights() 674 MDBuilder MDB(Term->getContext()); in fixupBranchWeights() local 676 MDB.createBranchWeights(Info.Weights)); in fixupBranchWeights()
|
| H A D | LoopUnrollRuntime.cpp | 486 MDBuilder MDB(RemainderLatchBR->getContext()); in updateLatchBranchWeightsForRemainderLoop() local 488 HeaderIdx ? MDB.createBranchWeights(ExitWeight, BackEdgeWeight) in updateLatchBranchWeightsForRemainderLoop() 489 : MDB.createBranchWeights(BackEdgeWeight, ExitWeight); in updateLatchBranchWeightsForRemainderLoop()
|
| H A D | ModuleUtils.cpp | 158 MDBuilder MDB(Ctx); in setKCFIType() local 161 MDNode::get(Ctx, MDB.createConstant(ConstantInt::get( in setKCFIType()
|
| H A D | CloneFunction.cpp | 1087 MDBuilder MDB(Context); in cloneNoAliasScopes() local 1101 MDNode *NewScope = MDB.createAnonymousAliasScope( in cloneNoAliasScopes()
|
| /openbsd-src/gnu/usr.sbin/mkhybrid/src/libhfs_iso/ |
| H A D | internal.h | 170 } MDB; typedef 334 MDB mdb; /* master directory block */
|
| H A D | low.c | 212 MDB *mdb = &vol->mdb; in l_readmdb() 367 MDB *mdb = &vol->mdb; in l_writemdb()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/ |
| H A D | CalledValuePropagation.cpp | 389 MDBuilder MDB(M.getContext()); in runCVP() local 395 MDNode *Callees = MDB.createCallees(LV.getFunctions()); in runCVP()
|
| H A D | SampleProfileProbe.cpp | 285 MDBuilder MDB(F.getContext()); in instrumentOneFunc() local 371 auto *MD = MDB.createPseudoProbeDesc(Guid, Hash, &F); in instrumentOneFunc()
|
| H A D | SampleProfile.cpp | 1615 MDBuilder MDB(Ctx); in generateMDProfMetadata() local 1665 MDB.createBranchWeights( in generateMDProfMetadata() 1677 I.setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(0)); in generateMDProfMetadata() 1757 TI->setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights)); in generateMDProfMetadata() 2176 MDBuilder MDB(Ctx); in detectProfileMismatch() local 2193 auto *MD = MDB.createLLVMStats(ProfStatsVec); in detectProfileMismatch()
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | Function.cpp | 2070 MDBuilder MDB(getContext()); in setEntryCount() local 2073 MDB.createFunctionEntryCount(Count.getCount(), Count.isSynthetic(), S)); in setEntryCount() 2116 MDBuilder MDB(getContext()); in setSectionPrefix() local 2118 MDB.createFunctionSectionPrefix(Prefix)); in setSectionPrefix()
|