/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | IRBuilder.cpp | 154 CI->setMetadata(LLVMContext::MD_tbaa, TBAATag); in CreateMemSet() 157 CI->setMetadata(LLVMContext::MD_alias_scope, ScopeTag); in CreateMemSet() 160 CI->setMetadata(LLVMContext::MD_noalias, NoAliasTag); in CreateMemSet() 182 CI->setMetadata(LLVMContext::MD_tbaa, TBAATag); in CreateMemSetInline() 185 CI->setMetadata(LLVMContext::MD_alias_scope, ScopeTag); in CreateMemSetInline() 188 CI->setMetadata(LLVMContext::MD_noalias, NoAliasTag); in CreateMemSetInline() 209 CI->setMetadata(LLVMContext::MD_tbaa, TBAATag); in CreateElementUnorderedAtomicMemSet() 212 CI->setMetadata(LLVMContext::MD_alias_scope, ScopeTag); in CreateElementUnorderedAtomicMemSet() 215 CI->setMetadata(LLVMContext::MD_noalias, NoAliasTag); in CreateElementUnorderedAtomicMemSet() 242 CI->setMetadata(LLVMContext::MD_tbaa, TBAATag); in CreateMemTransferInst() [all …]
|
H A D | Metadata.cpp | 1488 void Value::setMetadata(unsigned KindID, MDNode *Node) { in setMetadata() function in Value 1516 void Value::setMetadata(StringRef Kind, MDNode *Node) { in setMetadata() function in Value 1519 setMetadata(getContext().getMDKindID(Kind), Node); in setMetadata() 1569 void Instruction::setMetadata(StringRef Kind, MDNode *Node) { in setMetadata() function in Instruction 1572 setMetadata(getContext().getMDKindID(Kind), Node); in setMetadata() 1636 void Instruction::setMetadata(unsigned KindID, MDNode *Node) { in setMetadata() function in Instruction 1656 Value::setMetadata(KindID, Node); in setMetadata() 1686 setMetadata(LLVMContext::MD_annotation, MD); in addAnnotationMetadata() 1704 setMetadata(LLVMContext::MD_annotation, MD); in addAnnotationMetadata() 1722 setMetadata(LLVMContext::MD_tbaa, N.TBAA); in setAAMetadata() [all …]
|
H A D | ProfDataUtils.cpp | 243 I.setMetadata(LLVMContext::MD_prof, BranchWeights); in setBranchWeights() 296 I.setMetadata(LLVMContext::MD_prof, MDNode::get(C, Vals)); in scaleProfData()
|
H A D | DebugInfo.cpp | 428 I.setMetadata(LLVMContext::MD_loop, NewLoopID); in updateLoopMetadataDebugLocations() 576 I.setMetadata(LLVMContext::MD_loop, NewLoopID); in stripDebugInfo() 581 I.setMetadata("heapallocsite", nullptr); in stripDebugInfo() 583 I.setMetadata(LLVMContext::MD_DIAssignID, nullptr); in stripDebugInfo() 899 I.setMetadata("heapallocsite", nullptr); in stripNonLineTableDebugInfo() 962 setMetadata(LLVMContext::MD_DIAssignID, MergeID); in mergeDIAssignID() 1842 I->setMetadata(LLVMContext::MD_DIAssignID, New); in RAUW() 1858 I.setMetadata(LLVMContext::MD_DIAssignID, nullptr); in deleteAll() 1940 I.setMetadata(LLVMContext::MD_DIAssignID, GetNewID(ID)); in remapAssignID() 2134 I.setMetadata(LLVMContext::MD_DIAssignID, ID); in trackAssignments()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPULowerKernelArguments.cpp | 226 Load->setMetadata(LLVMContext::MD_invariant_load, MDNode::get(Ctx, {})); in lowerKernelArguments() 232 Load->setMetadata(LLVMContext::MD_nonnull, MDNode::get(Ctx, {})); in lowerKernelArguments() 236 Load->setMetadata( in lowerKernelArguments() 245 Load->setMetadata( in lowerKernelArguments() 253 Load->setMetadata( in lowerKernelArguments()
|
H A D | AMDGPUAnnotateUniformValues.cpp | 39 I->setMetadata("amdgpu.uniform", MDNode::get(I->getContext(), {})); in setUniformMetadata() 44 I->setMetadata("amdgpu.noclobber", MDNode::get(I->getContext(), {})); in setNoClobberMetadata()
|
H A D | AMDGPULowerModuleLDSPass.cpp | 521 GV->setMetadata(LLVMContext::MD_absolute_symbol, in recordLDSAbsoluteAddress() 585 OrderedKernels[i]->setMetadata("llvm.amdgcn.lds.kernel.id", in assignLDSKernelIDToEachKernel() 1324 I->setMetadata(LLVMContext::MD_alias_scope, AS); in refineUsesAlignmentAndAA() 1328 I->setMetadata(LLVMContext::MD_noalias, NA); in refineUsesAlignmentAndAA()
|
H A D | AMDGPUPromoteKernelArguments.cpp | 134 LI->setMetadata("amdgpu.noclobber", MDNode::get(LI->getContext(), {})); in promoteLoad()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | LowerMemIntrinsics.cpp | 81 Load->setMetadata(LLVMContext::MD_alias_scope, in createMemCpyLoopKnownSize() 90 Store->setMetadata(LLVMContext::MD_noalias, MDNode::get(Ctx, NewScope)); in createMemCpyLoopKnownSize() 137 Load->setMetadata(LLVMContext::MD_alias_scope, in createMemCpyLoopKnownSize() 146 Store->setMetadata(LLVMContext::MD_noalias, MDNode::get(Ctx, NewScope)); in createMemCpyLoopKnownSize() 238 Load->setMetadata(LLVMContext::MD_alias_scope, MDNode::get(Ctx, NewScope)); in createMemCpyLoopUnknownSize() 245 Store->setMetadata(LLVMContext::MD_noalias, MDNode::get(Ctx, NewScope)); in createMemCpyLoopUnknownSize() 312 Load->setMetadata(LLVMContext::MD_alias_scope, in createMemCpyLoopUnknownSize() 321 Store->setMetadata(LLVMContext::MD_noalias, MDNode::get(Ctx, NewScope)); in createMemCpyLoopUnknownSize()
|
H A D | GuardUtils.cpp | 49 CheckBI->setMetadata(LLVMContext::MD_make_implicit, MD); in makeGuardControlFlowExplicit() 52 CheckBI->setMetadata(LLVMContext::MD_prof, in makeGuardControlFlowExplicit()
|
H A D | Local.cpp | 322 NewBr->setMetadata(LLVMContext::MD_prof, in ConstantFoldTerminator() 330 NewBr->setMetadata(LLVMContext::MD_make_implicit, MakeImplicitMD); in ConstantFoldTerminator() 1317 Pred->getTerminator()->setMetadata(LLVMContext::MD_loop, LoopMD); in TryToSimplifyUncondBranchFromEmptyBlock() 2896 NewCall->setMetadata(LLVMContext::MD_prof, NewWeights); in createCallMatchingInvoke() 2952 II->setMetadata(LLVMContext::MD_prof, CI->getMetadata(LLVMContext::MD_prof)); in changeToInvokeAndSplitBasicBlock() 3251 K->setMetadata(Kind, nullptr); // Remove unknown metadata in combineMetadata() 3259 K->setMetadata(Kind, MDNode::getMostGenericTBAA(JMD, KMD)); in combineMetadata() 3262 K->setMetadata(Kind, MDNode::getMostGenericAliasScope(JMD, KMD)); in combineMetadata() 3266 K->setMetadata(Kind, MDNode::intersect(JMD, KMD)); in combineMetadata() 3269 K->setMetadata(LLVMContext::MD_access_group, in combineMetadata() [all …]
|
H A D | LoopVersioning.cpp | 242 VersionedInst->setMetadata( in annotateInstWithNoAlias() 251 VersionedInst->setMetadata( in annotateInstWithNoAlias()
|
H A D | InlineFunction.cpp | 804 Call->setMetadata(LLVMContext::MD_memprof, nullptr); in removeMemProfMetadata() 808 Call->setMetadata(LLVMContext::MD_callsite, nullptr); in removeCallsiteMetadata() 842 ClonedCall->setMetadata(LLVMContext::MD_callsite, ClonedCallsiteMD); in propagateMemProfHelper() 937 I.setMetadata(LLVMContext::MD_mem_parallel_loop_access, in PropagateCallSiteMetadata() 942 I.setMetadata(LLVMContext::MD_access_group, uniteAccessGroups( in PropagateCallSiteMetadata() 946 I.setMetadata(LLVMContext::MD_alias_scope, MDNode::concatenate( in PropagateCallSiteMetadata() 950 I.setMetadata(LLVMContext::MD_noalias, MDNode::concatenate( in PropagateCallSiteMetadata() 1078 I.setMetadata(LLVMContext::MD_alias_scope, MNew); in remap() 1082 I.setMetadata(LLVMContext::MD_noalias, MNew); in remap() 1304 NI->setMetadata(LLVMContext::MD_noalias, in AddAliasScopeMetadata() [all …]
|
H A D | CallPromotionUtils.cpp | 492 CB.setMetadata(LLVMContext::MD_prof, nullptr); in promoteCall() 493 CB.setMetadata(LLVMContext::MD_callees, nullptr); in promoteCall()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
H A D | AMDGPU.cpp | 632 F->setMetadata("kernel_arg_addr_space", llvm::MDNode::get(C, AddressQuals)); in createEnqueuedBlockKernel() 633 F->setMetadata("kernel_arg_access_qual", llvm::MDNode::get(C, AccessQuals)); in createEnqueuedBlockKernel() 634 F->setMetadata("kernel_arg_type", llvm::MDNode::get(C, ArgTypeNames)); in createEnqueuedBlockKernel() 635 F->setMetadata("kernel_arg_base_type", in createEnqueuedBlockKernel() 637 F->setMetadata("kernel_arg_type_qual", llvm::MDNode::get(C, ArgTypeQuals)); in createEnqueuedBlockKernel() 639 F->setMetadata("kernel_arg_name", llvm::MDNode::get(C, ArgNames)); in createEnqueuedBlockKernel()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LowerExpectIntrinsic.cpp | 263 BI->setMetadata(LLVMContext::MD_prof, in handlePhiDef() 268 BI->setMetadata(LLVMContext::MD_prof, in handlePhiDef() 352 BSI.setMetadata(LLVMContext::MD_prof, Node); in handleBrSelExpect()
|
H A D | LoopVersioningLICM.cpp | 528 Inst.setMetadata( in setNoAliasToLoop() 533 Inst.setMetadata( in setNoAliasToLoop()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | SanitizerBinaryMetadata.cpp | 82 F.setMetadata( in runOnMachineFunction()
|
H A D | CodeGenCommonISel.cpp | 289 DbgMI->getDebugExpressionOp().setMetadata(SalvagedExpr); in salvageDebugInfoForDbgValue()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | GlobalObject.h | 140 using Value::setMetadata;
|
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BPFPreserveDIType.cpp | 116 GV->setMetadata(LLVMContext::MD_preserve_access_index, MD); in BPFPreserveDITypeImpl()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64Arm64ECCallLowering.cpp | 630 GuestExit->setMetadata( in buildGuestExitThunk() 634 GuestExit->setMetadata( in buildGuestExitThunk() 638 F->setMetadata("arm64ec_hasguestexit", MDNode::get(M->getContext(), {})); in buildGuestExitThunk() 830 F.setMetadata("arm64ec_exp_name", in runOnModule() 920 F.setMetadata("arm64ec_unmangled_name", in processFunction()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | SanitizerBinaryMetadata.cpp | 302 F.setMetadata(LLVMContext::MD_pcsections, in runOn() 445 I.setMetadata(LLVMContext::MD_pcsections, MDB.createPCSections(Sections)); in runOn()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | CrossDSOCFI.cpp | 134 BI->setMetadata(LLVMContext::MD_prof, VeryLikelyWeights); in buildCFICheck()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXPrologEpilogPass.cpp | 88 MI.getDebugExpressionOp().setMetadata(DIExpr); in runOnMachineFunction()
|