Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DSanitizerBinaryMetadata.cpp158 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 DIndirectCallPromotion.cpp252 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 DCGProfile.cpp32 MDBuilder MDB(Context); in addModuleFlags() local
38 MDB.createConstant(ConstantInt::get( in addModuleFlags()
H A DPGOInstrumentation.cpp1240 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 DLowerExpectIntrinsic.cpp239 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 DLoopVersioningLICM.cpp540 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 DAMDGPULowerKernelArguments.cpp179 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 DAMDGPULowerModuleLDSPass.cpp1126 MDBuilder MDB(Ctx); in replaceLDSVariablesWithStruct() local
1128 MDNode *Domain = MDB.createAnonymousAliasScopeDomain(); in replaceLDSVariablesWithStruct()
1130 MDNode *Scope = MDB.createAnonymousAliasScope(Domain); in replaceLDSVariablesWithStruct()
H A DAMDGPUSubtarget.cpp527 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 DSanitizerBinaryMetadata.cpp74 MDBuilder MDB(F.getContext()); in runOnMachineFunction() local
77 MDB.createPCSections( in runOnMachineFunction()
H A DSafeStack.cpp638 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 DGuardUtils.cpp51 MDBuilder MDB(Guard->getContext()); in makeGuardControlFlowExplicit() local
53 MDB.createBranchWeights(PredicatePassBranchWeight, 1)); in makeGuardControlFlowExplicit()
H A DLowerMemIntrinsics.cpp34 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 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 DLoopPeel.cpp617 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 DLoopUnrollRuntime.cpp486 MDBuilder MDB(RemainderLatchBR->getContext()); in updateLatchBranchWeightsForRemainderLoop() local
488 HeaderIdx ? MDB.createBranchWeights(ExitWeight, BackEdgeWeight) in updateLatchBranchWeightsForRemainderLoop()
489 : MDB.createBranchWeights(BackEdgeWeight, ExitWeight); in updateLatchBranchWeightsForRemainderLoop()
H A DModuleUtils.cpp158 MDBuilder MDB(Ctx); in setKCFIType() local
161 MDNode::get(Ctx, MDB.createConstant(ConstantInt::get( in setKCFIType()
H A DCloneFunction.cpp1087 MDBuilder MDB(Context); in cloneNoAliasScopes() local
1101 MDNode *NewScope = MDB.createAnonymousAliasScope( in cloneNoAliasScopes()
/openbsd-src/gnu/usr.sbin/mkhybrid/src/libhfs_iso/
H A Dinternal.h170 } MDB; typedef
334 MDB mdb; /* master directory block */
H A Dlow.c212 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 DCalledValuePropagation.cpp389 MDBuilder MDB(M.getContext()); in runCVP() local
395 MDNode *Callees = MDB.createCallees(LV.getFunctions()); in runCVP()
H A DSampleProfileProbe.cpp285 MDBuilder MDB(F.getContext()); in instrumentOneFunc() local
371 auto *MD = MDB.createPseudoProbeDesc(Guid, Hash, &F); in instrumentOneFunc()
H A DSampleProfile.cpp1615 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 DFunction.cpp2070 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()

12