Home
last modified time | relevance | path

Searched refs:setMetadata (Results 1 – 25 of 111) sorted by relevance

12345

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DIRBuilder.cpp154 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 DMetadata.cpp1488 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 DProfDataUtils.cpp243 I.setMetadata(LLVMContext::MD_prof, BranchWeights); in setBranchWeights()
296 I.setMetadata(LLVMContext::MD_prof, MDNode::get(C, Vals)); in scaleProfData()
H A DDebugInfo.cpp428 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 DAMDGPULowerKernelArguments.cpp226 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 DAMDGPUAnnotateUniformValues.cpp39 I->setMetadata("amdgpu.uniform", MDNode::get(I->getContext(), {})); in setUniformMetadata()
44 I->setMetadata("amdgpu.noclobber", MDNode::get(I->getContext(), {})); in setNoClobberMetadata()
H A DAMDGPULowerModuleLDSPass.cpp521 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 DAMDGPUPromoteKernelArguments.cpp134 LI->setMetadata("amdgpu.noclobber", MDNode::get(LI->getContext(), {})); in promoteLoad()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerMemIntrinsics.cpp81 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 DGuardUtils.cpp49 CheckBI->setMetadata(LLVMContext::MD_make_implicit, MD); in makeGuardControlFlowExplicit()
52 CheckBI->setMetadata(LLVMContext::MD_prof, in makeGuardControlFlowExplicit()
H A DLocal.cpp322 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 DLoopVersioning.cpp242 VersionedInst->setMetadata( in annotateInstWithNoAlias()
251 VersionedInst->setMetadata( in annotateInstWithNoAlias()
H A DInlineFunction.cpp804 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 DCallPromotionUtils.cpp492 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 DAMDGPU.cpp632 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 DLowerExpectIntrinsic.cpp263 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 DLoopVersioningLICM.cpp528 Inst.setMetadata( in setNoAliasToLoop()
533 Inst.setMetadata( in setNoAliasToLoop()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DSanitizerBinaryMetadata.cpp82 F.setMetadata( in runOnMachineFunction()
H A DCodeGenCommonISel.cpp289 DbgMI->getDebugExpressionOp().setMetadata(SalvagedExpr); in salvageDebugInfoForDbgValue()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DGlobalObject.h140 using Value::setMetadata;
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFPreserveDIType.cpp116 GV->setMetadata(LLVMContext::MD_preserve_access_index, MD); in BPFPreserveDITypeImpl()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64Arm64ECCallLowering.cpp630 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 DSanitizerBinaryMetadata.cpp302 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 DCrossDSOCFI.cpp134 BI->setMetadata(LLVMContext::MD_prof, VeryLikelyWeights); in buildCFICheck()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXPrologEpilogPass.cpp88 MI.getDebugExpressionOp().setMetadata(DIExpr); in runOnMachineFunction()

12345