| /llvm-project-15.0.7/compiler-rt/lib/orc/unittests/ |
| 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()
|
| /llvm-project-15.0.7/llvm/unittests/MIR/ |
| H A D | MachineMetadata.cpp | 240 MDBuilder MDB(Context); in TEST_F() local 241 MDNode *Domain = MDB.createAnonymousAliasScopeDomain("domain"); in TEST_F() 242 MDNode *Scope0 = MDB.createAnonymousAliasScope(Domain, "scope0"); in TEST_F() 243 MDNode *Scope1 = MDB.createAnonymousAliasScope(Domain, "scope1"); in TEST_F() 390 MDBuilder MDB(Context); in TEST_F() local 391 MDNode *Domain = MDB.createAnonymousAliasScopeDomain("domain"); in TEST_F() 392 MDNode *Scope0 = MDB.createAnonymousAliasScope(Domain, "scope0"); in TEST_F() 393 MDNode *Scope1 = MDB.createAnonymousAliasScope(Domain, "scope1"); in TEST_F() 488 MDBuilder MDB(Context); in TEST_F() local 489 MDNode *Domain = MDB.createAnonymousAliasScopeDomain("domain"); in TEST_F() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | LowerExpectIntrinsic.cpp | 223 MDBuilder MDB(PhiDef->getContext()); in handlePhiDef() local 252 MDB.createBranchWeights(LikelyBranchWeightVal, in handlePhiDef() 256 MDB.createBranchWeights(UnlikelyBranchWeightVal, in handlePhiDef() 312 MDBuilder MDB(CI->getContext()); in handleBrSelExpect() local 323 MDB.createBranchWeights(LikelyBranchWeightVal, UnlikelyBranchWeightVal); in handleBrSelExpect() 327 MDB.createBranchWeights(UnlikelyBranchWeightVal, LikelyBranchWeightVal); in handleBrSelExpect()
|
| H A D | LoopVersioningLICM.cpp | 551 MDBuilder MDB(I->getContext()); in setNoAliasToLoop() local 552 MDNode *NewDomain = MDB.createAnonymousAliasScopeDomain("LVDomain"); in setNoAliasToLoop() 554 MDNode *NewScope = MDB.createAnonymousAliasScope(NewDomain, Name); in setNoAliasToLoop()
|
| /llvm-project-15.0.7/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() 208 MDB.createConstant(ConstantInt::get(Builder.getInt64Ty(), in runOnFunction()
|
| H A D | AMDGPULowerModuleLDSPass.cpp | 402 MDBuilder MDB(Ctx); in replaceLDSVariablesWithStruct() local 404 MDNode *Domain = MDB.createAnonymousAliasScopeDomain(); in replaceLDSVariablesWithStruct() 406 MDNode *Scope = MDB.createAnonymousAliasScope(Domain); in replaceLDSVariablesWithStruct()
|
| H A D | AMDGPUSubtarget.cpp | 503 MDBuilder MDB(I->getContext()); in makeLIDRangeMetadata() local 504 MDNode *MaxWorkGroupSizeRange = MDB.createRange(APInt(32, MinSize), in makeLIDRangeMetadata()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/ |
| H A D | fp-mul-03.ll | 18 ; Check the low end of the MDB range. 28 ; Check the high end of the aligned MDB range. 64 ; Check that MDB allows indices. 77 ; Check that multiplications of spilled values can use MDB rather than MDBR.
|
| H A D | fp-strict-mul-03.ll | 22 ; Check the low end of the MDB range. 35 ; Check the high end of the aligned MDB range. 80 ; Check that MDB allows indices. 96 ; Check that multiplications of spilled values can use MDB rather than MDBR.
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| 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 | 31 MDBuilder MDB(Context); in addModuleFlags() local 37 MDB.createConstant(ConstantInt::get( in addModuleFlags()
|
| H A D | PGOInstrumentation.cpp | 1213 MDBuilder MDB(ctx); in annotateFunctionWithHashMismatch() local 1214 Names.push_back(MDB.createString(MetadataName)); in annotateFunctionWithHashMismatch() 1966 MDBuilder MDB(M->getContext()); in setProfMetadata() local 1980 TI->setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights)); in setProfMetadata() 2012 MDBuilder MDB(M->getContext()); in setIrrLoopHeaderMetadata() local 2014 MDB.createIrrLoopHeaderWeight(Count)); in setIrrLoopHeaderMetadata()
|
| /llvm-project-15.0.7/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 | LoopPeel.cpp | 516 MDBuilder MDB(LatchBR->getContext()); in updateBranchWeights() local 518 HeaderIdx ? MDB.createBranchWeights(ExitWeight, FallThroughWeight) in updateBranchWeights() 519 : MDB.createBranchWeights(FallThroughWeight, ExitWeight); in updateBranchWeights() 557 MDBuilder MDB(LatchBR->getContext()); in fixupBranchWeights() local 560 HeaderIdx ? MDB.createBranchWeights(ExitWeight, FallThroughWeight) in fixupBranchWeights() 561 : MDB.createBranchWeights(FallThroughWeight, ExitWeight); in fixupBranchWeights()
|
| H A D | LowerMemIntrinsics.cpp | 35 MDBuilder MDB(Ctx); in createMemCpyLoopKnownSize() local 36 MDNode *NewDomain = MDB.createAnonymousAliasScopeDomain("MemCopyDomain"); in createMemCpyLoopKnownSize() 38 MDNode *NewScope = MDB.createAnonymousAliasScope(NewDomain, Name); in createMemCpyLoopKnownSize() 190 MDBuilder MDB(Ctx); in createMemCpyLoopUnknownSize() local 191 MDNode *NewDomain = MDB.createAnonymousAliasScopeDomain("MemCopyDomain"); in createMemCpyLoopUnknownSize() 193 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 | LoopUnrollRuntime.cpp | 485 MDBuilder MDB(RemainderLatchBR->getContext()); in updateLatchBranchWeightsForRemainderLoop() local 487 HeaderIdx ? MDB.createBranchWeights(ExitWeight, BackEdgeWeight) in updateLatchBranchWeightsForRemainderLoop() 488 : MDB.createBranchWeights(BackEdgeWeight, ExitWeight); in updateLatchBranchWeightsForRemainderLoop()
|
| H A D | CloneFunction.cpp | 1041 MDBuilder MDB(Context); in cloneNoAliasScopes() local 1055 MDNode *NewScope = MDB.createAnonymousAliasScope( in cloneNoAliasScopes()
|
| /llvm-project-15.0.7/llvm/unittests/Analysis/ |
| H A D | ProfileSummaryInfoTest.cpp | 252 MDBuilder MDB(M->getContext()); in TEST_F() local 253 CI2->setMetadata(llvm::LLVMContext::MD_prof, MDB.createBranchWeights({400})); in TEST_F() 344 MDBuilder MDB(M->getContext()); in TEST_F() local 345 CI2->setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights)); in TEST_F() 353 CI2->setMetadata(llvm::LLVMContext::MD_prof, MDB.createBranchWeights({400})); in TEST_F()
|
| /llvm-project-15.0.7/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 | 1579 MDBuilder MDB(Ctx); in generateMDProfMetadata() local 1629 MDB.createBranchWeights( in generateMDProfMetadata() 1641 I.setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(0)); in generateMDProfMetadata() 1724 TI->setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights)); in generateMDProfMetadata()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | SafeStack.cpp | 637 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()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Function.cpp | 1984 MDBuilder MDB(getContext()); in setEntryCount() local 1987 MDB.createFunctionEntryCount(Count.getCount(), Count.isSynthetic(), S)); in setEntryCount() 2030 MDBuilder MDB(getContext()); in setSectionPrefix() local 2032 MDB.createFunctionSectionPrefix(Prefix)); in setSectionPrefix()
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | IRBuilderTest.cpp | 764 MDBuilder MDB(M->getContext()); in TEST_F() local 766 MDNode *FPMathA = MDB.createFPMath(0.01f); in TEST_F() 767 MDNode *FPMathB = MDB.createFPMath(0.1f); in TEST_F()
|