| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | LowerExpectIntrinsic.cpp | 197 MDBuilder MDB(PhiDef->getContext()); in handlePhiDef() local 224 MDB.createBranchWeights(LikelyBranchWeight, UnlikelyBranchWeight)); in handlePhiDef() 228 MDB.createBranchWeights(UnlikelyBranchWeight, LikelyBranchWeight)); in handlePhiDef() 282 MDBuilder MDB(CI->getContext()); in handleBrSelExpect() local 287 Node = MDB.createBranchWeights(LikelyBranchWeight, UnlikelyBranchWeight); in handleBrSelExpect() 289 Node = MDB.createBranchWeights(UnlikelyBranchWeight, LikelyBranchWeight); in handleBrSelExpect()
|
| H A D | LoopVersioningLICM.cpp | 563 MDBuilder MDB(I->getContext()); in setNoAliasToLoop() local 564 MDNode *NewDomain = MDB.createAnonymousAliasScopeDomain("LVDomain"); in setNoAliasToLoop() 567 MDNode *NewScope = MDB.createAnonymousAliasScope(NewDomain, Name); in setNoAliasToLoop()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULowerKernelArguments.cpp | 168 MDBuilder MDB(Ctx); in runOnFunction() local 179 MDB.createConstant( in runOnFunction() 188 MDB.createConstant(ConstantInt::get(Builder.getInt64Ty(), in runOnFunction() 197 MDB.createConstant(ConstantInt::get(Builder.getInt64Ty(), in runOnFunction()
|
| H A D | AMDGPUSubtarget.cpp | 409 MDBuilder MDB(I->getContext()); in makeLIDRangeMetadata() local 410 MDNode *MaxWorkGroupSizeRange = MDB.createRange(APInt(32, MinSize), in makeLIDRangeMetadata()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | GuardUtils.cpp | 48 MDBuilder MDB(Guard->getContext()); in makeGuardControlFlowExplicit() local 50 MDB.createBranchWeights(PredicatePassBranchWeight, 1)); in makeGuardControlFlowExplicit()
|
| H A D | LoopUnrollPeel.cpp | 377 MDBuilder MDB(LatchBR->getContext()); in updateBranchWeights() local 379 HeaderIdx ? MDB.createBranchWeights(ExitWeight, FallThruWeight) in updateBranchWeights() 380 : MDB.createBranchWeights(FallThruWeight, ExitWeight); in updateBranchWeights() 661 MDBuilder MDB(LatchBR->getContext()); in peelLoop() local 663 HeaderIdx ? MDB.createBranchWeights(ExitWeight, BackEdgeWeight) in peelLoop() 664 : MDB.createBranchWeights(BackEdgeWeight, ExitWeight); in peelLoop()
|
| H A D | LoopVersioning.cpp | 184 MDBuilder MDB(Context); in prepareNoAliasMetadata() local 185 MDNode *Domain = MDB.createAnonymousAliasScopeDomain("LVerDomain"); in prepareNoAliasMetadata() 188 GroupToScope[&Group] = MDB.createAnonymousAliasScope(Domain); in prepareNoAliasMetadata()
|
| H A D | InlineFunction.cpp | 953 MDBuilder MDB(CalledFunc->getContext()); in AddAliasScopeMetadata() local 957 MDB.createAnonymousAliasScopeDomain(CalledFunc->getName()); in AddAliasScopeMetadata() 973 MDNode *NewScope = MDB.createAnonymousAliasScope(NewDomain, Name); in AddAliasScopeMetadata()
|
| H A D | Local.cpp | 2494 MDBuilder MDB(NewLI.getContext()); in copyNonnullMetadata() local 2501 MDB.createRange(NonNullInt, NullInt)); in copyNonnullMetadata()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/ |
| H A D | IndirectCallPromotion.cpp | 306 MDBuilder MDB(Inst->getContext()); in promoteIndirectCall() local 307 MDNode *BranchWeights = MDB.createBranchWeights( in promoteIndirectCall() 316 MDBuilder MDB(NewInst->getContext()); in promoteIndirectCall() local 317 NewInst->setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights)); in promoteIndirectCall()
|
| H A D | CGProfile.cpp | 87 MDBuilder MDB(Context); in addModuleFlags() local 93 MDB.createConstant(ConstantInt::get( in addModuleFlags()
|
| H A D | PGOInstrumentation.cpp | 1603 MDBuilder MDB(M->getContext()); in setProfMetadata() local 1614 TI->setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights)); in setProfMetadata() 1646 MDBuilder MDB(M->getContext()); in setIrrLoopHeaderMetadata() local 1648 MDB.createIrrLoopHeaderWeight(Count)); in setIrrLoopHeaderMetadata()
|
| H A D | ControlHeightReduction.cpp | 1838 MDBuilder MDB(F.getContext()); in fixupBranchesAndSelects() local 1839 MergedBR->setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights)); in fixupBranchesAndSelects()
|
| /freebsd-12.1/tests/sys/cddl/zfs/tests/zones/ |
| H A D | zones_common.kshlib | 45 $ECHO "logmap_logscan_debug/p" | $MDB -k > /dev/null 2>&1
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | Instruction.cpp | 744 MDBuilder MDB(getContext()); in updateProfWeight() local 756 Vals.push_back(MDB.createConstant( in updateProfWeight() 770 Vals.push_back(MDB.createConstant( in updateProfWeight() 782 MDBuilder MDB(getContext()); in setProfWeight() local 783 setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights)); in setProfWeight()
|
| H A D | Function.cpp | 1370 MDBuilder MDB(getContext()); in setEntryCount() local 1373 MDB.createFunctionEntryCount(Count.getCount(), Count.isSynthetic(), S)); in setEntryCount() 1415 MDBuilder MDB(getContext()); in setSectionPrefix() local 1417 MDB.createFunctionSectionPrefix(Prefix)); in setSectionPrefix()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/IPO/ |
| H A D | CalledValuePropagation.cpp | 389 MDBuilder MDB(M.getContext()); in runCVP() local 396 MDNode *Callees = MDB.createCallees(LV.getFunctions()); in runCVP()
|
| H A D | SampleProfile.cpp | 1272 MDBuilder MDB(Ctx); in propagateWeights() local 1305 I.setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights)); in propagateWeights() 1355 MDB.createBranchWeights(Weights)); in propagateWeights()
|
| /freebsd-12.1/contrib/llvm/lib/Target/SystemZ/ |
| H A D | SystemZInstrFP.td | 443 def MDB : BinaryRXE<"mdb", 0xED1C, fmul, FP64, load, 8>;
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineLoadStoreAlloca.cpp | 471 MDBuilder MDB(NewLoad->getContext()); in combineLoadToNewType() local
|