Home
last modified time | relevance | path

Searched refs:getMetadata (Results 1 – 25 of 171) sorted by relevance

1234567

/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/
H A DMCObjectFileInfo.cpp619 SectionKind::getMetadata()); in initCOFFMCObjectFileInfo()
645 SectionKind::getMetadata()); in initCOFFMCObjectFileInfo()
650 SectionKind::getMetadata()); in initCOFFMCObjectFileInfo()
655 SectionKind::getMetadata()); in initCOFFMCObjectFileInfo()
660 SectionKind::getMetadata()); in initCOFFMCObjectFileInfo()
665 SectionKind::getMetadata()); in initCOFFMCObjectFileInfo()
690 SectionKind::getMetadata()); in initCOFFMCObjectFileInfo()
745 SectionKind::getMetadata()); in initCOFFMCObjectFileInfo()
765 SectionKind::getMetadata()); in initCOFFMCObjectFileInfo()
770 SectionKind::getMetadata()); in initCOFFMCObjectFileInfo()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DScopedNoAliasAA.cpp82 Call->getMetadata(LLVMContext::MD_noalias))) in getModRefInfo()
85 if (!mayAliasInScopes(Call->getMetadata(LLVMContext::MD_alias_scope), in getModRefInfo()
98 if (!mayAliasInScopes(Call1->getMetadata(LLVMContext::MD_alias_scope), in getModRefInfo()
99 Call2->getMetadata(LLVMContext::MD_noalias))) in getModRefInfo()
102 if (!mayAliasInScopes(Call2->getMetadata(LLVMContext::MD_alias_scope), in getModRefInfo()
103 Call1->getMetadata(LLVMContext::MD_noalias))) in getModRefInfo()
H A DTypeBasedAliasAnalysis.cpp412 if (const MDNode *M = Call->getMetadata(LLVMContext::MD_tbaa)) in getMemoryEffects()
432 if (const MDNode *M = Call->getMetadata(LLVMContext::MD_tbaa)) in getModRefInfo()
445 if (const MDNode *M1 = Call1->getMetadata(LLVMContext::MD_tbaa)) in getModRefInfo()
446 if (const MDNode *M2 = Call2->getMetadata(LLVMContext::MD_tbaa)) in getModRefInfo()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DProfDataUtils.cpp73 return nullptr != I.getMetadata(LLVMContext::MD_prof); in hasProfMD()
81 auto *ProfileData = I.getMetadata(LLVMContext::MD_prof); in hasBranchWeightMD()
90 auto *ProfileData = I.getMetadata(LLVMContext::MD_prof); in getBranchWeightMDNode()
131 auto *ProfileData = I.getMetadata(LLVMContext::MD_prof); in extractBranchWeights()
143 auto *ProfileData = I.getMetadata(LLVMContext::MD_prof); in extractBranchWeights()
184 return extractProfTotalWeight(I.getMetadata(LLVMContext::MD_prof), TotalVal); in extractProfTotalWeight()
H A DTypeFinder.cpp135 if (const auto *N = dyn_cast<MDNode>(M->getMetadata())) in incorporateValue()
137 if (const auto *MDV = dyn_cast<ValueAsMetadata>(M->getMetadata())) in incorporateValue()
139 if (const auto *AL = dyn_cast<DIArgList>(M->getMetadata())) { in incorporateValue()
H A DAbstractCallSite.cpp40 MDNode *CallbackMD = Callee->getMetadata(LLVMContext::MD_callback); in getCallbackUses()
93 MDNode *CallbackMD = Callee->getMetadata(LLVMContext::MD_callback); in AbstractCallSite()
H A DMetadata.cpp1215 assert(AInstr->getMetadata(LLVMContext::MD_prof) == A && in getMergedProfMetadata()
1217 assert(BInstr->getMetadata(LLVMContext::MD_prof) == B && in getMergedProfMetadata()
1446 MDNode *Value::getMetadata(StringRef Kind) const { in getMetadata() function in Value
1466 getMetadata(getContext().getMDKindID(Kind), MDs); in getMetadata()
1571 return Value::getMetadata(KindID); in getMetadataImpl()
1599 cast_or_null<DIAssignID>(getMetadata(LLVMContext::MD_DIAssignID))) { in updateDIAssignIDMapping()
1652 if (auto *Existing = getMetadata(LLVMContext::MD_annotation)) { in addAnnotationMetadata()
1682 if (auto *Existing = getMetadata(LLVMContext::MD_annotation)) { in addAnnotationMetadata()
1808 if (MDNode *MD = getMetadata(LLVMContext::MD_vcall_visibility)) { in getVCallVisibility()
1823 return cast_or_null<DISubprogram>(getMetadata(LLVMContext::MD_dbg)); in getSubprogram()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DRegAllocPBQP.cpp193 LiveIntervals &LIS = G.getMetadata().LIS; in apply()
310 LiveIntervals &LIS = G.getMetadata().LIS; in apply()
400 *G.getMetadata().MF.getSubtarget().getRegisterInfo(); in createInterferenceEdge()
438 MachineFunction &MF = G.getMetadata().MF; in apply()
439 MachineBlockFrequencyInfo &MBFI = G.getMetadata().MBFI; in apply()
592 MachineFunction &MF = G.getMetadata().MF; in initializeGraph()
594 LiveIntervals &LIS = G.getMetadata().LIS; in initializeGraph()
597 *G.getMetadata().MF.getSubtarget().getRegisterInfo(); in initializeGraph()
686 G.getMetadata().setNodeIdForVReg(VReg, NId); in initializeGraph()
720 MachineFunction &MF = G.getMetadata().MF; in mapPBQPToRegAlloc()
[all …]
H A DMachineLoopInfo.cpp163 LoopID = TI->getMetadata(LLVMContext::MD_loop); in getLoopID()
182 MD = TI->getMetadata(LLVMContext::MD_loop); in getLoopID()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64PBQPRegAlloc.cpp163 LiveIntervals &LIs = G.getMetadata().LIS; in addIntraChainConstraint()
173 PBQPRAGraph::NodeId node1 = G.getMetadata().getNodeIdForVReg(Rd); in addIntraChainConstraint()
174 PBQPRAGraph::NodeId node2 = G.getMetadata().getNodeIdForVReg(Ra); in addIntraChainConstraint()
244 LiveIntervals &LIs = G.getMetadata().LIS; in addInterChainConstraint()
260 PBQPRAGraph::NodeId node1 = G.getMetadata().getNodeIdForVReg(Rd); in addInterChainConstraint()
273 PBQPRAGraph::NodeId node2 = G.getMetadata().getNodeIdForVReg(r); in addInterChainConstraint()
327 const MachineFunction &MF = G.getMetadata().MF; in apply()
328 LiveIntervals &LIs = G.getMetadata().LIS; in apply()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUHSAMetadataStreamer.cpp235 if (auto Node = Func.getMetadata("reqd_work_group_size")) in emitKernelAttrs()
237 if (auto Node = Func.getMetadata("work_group_size_hint")) in emitKernelAttrs()
239 if (auto Node = Func.getMetadata("vec_type_hint")) { in emitKernelAttrs()
278 Node = Func->getMetadata("kernel_arg_name"); in emitKernelArg()
285 Node = Func->getMetadata("kernel_arg_type"); in emitKernelArg()
290 Node = Func->getMetadata("kernel_arg_base_type"); in emitKernelArg()
304 Node = Func->getMetadata("kernel_arg_access_qual"); in emitKernelArg()
309 Node = Func->getMetadata("kernel_arg_type_qual"); in emitKernelArg()
H A DAMDGPUTargetObjectFile.cpp34 SK = SectionKind::getMetadata(); in getExplicitSectionGlobal()
H A DAMDGPUInstrInfo.cpp52 return I && I->getMetadata("amdgpu.uniform"); in isUniformMMO()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DSimplifyQuery.h29 MDNode *getMetadata(const Instruction *I, unsigned KindID) const { in getMetadata() function
31 return I->getMetadata(KindID); in getMetadata()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFPreserveDIType.cpp61 if (!Call->getMetadata(LLVMContext::MD_preserve_access_index)) in BPFPreserveDITypeImpl()
82 MDNode *MD = Call->getMetadata(LLVMContext::MD_preserve_access_index); in BPFPreserveDITypeImpl()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyDebugFixup.cpp142 Prev.DebugValue->getOperand(2).getMetadata(), in runOnMachineFunction()
143 Prev.DebugValue->getOperand(3).getMetadata()); in runOnMachineFunction()
H A DWebAssemblyAsmPrinter.cpp434 OutContext.getWasmSection(SectionName, SectionKind::getMetadata()); in emitEndOfAsmFile()
475 ".custom_section.producers", SectionKind::getMetadata()); in EmitProducerInfo()
548 ".custom_section.target_features", SectionKind::getMetadata()); in EmitTargetFeatures()
590 ".custom_section.llvm.func_attr.annotate." + Name, SectionKind::getMetadata()); in EmitFunctionAttributes()
629 if (MDNode *Idx = F.getMetadata("wasm.index")) { in emitFunctionBodyStart()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.cpp141 dyn_cast<ValueAsMetadata>(MAV->getMetadata())) { in orderModule()
144 dyn_cast<DIArgList>(MAV->getMetadata())) { in orderModule()
277 dyn_cast<ValueAsMetadata>(MAV->getMetadata())) { in predictUseListOrder()
280 dyn_cast<DIArgList>(MAV->getMetadata())) { in predictUseListOrder()
422 if (isa<LocalAsMetadata>(MD->getMetadata())) in ValueEnumerator()
424 if (auto *AL = dyn_cast<DIArgList>(MD->getMetadata())) { in ValueEnumerator()
431 EnumerateMetadata(&F, MD->getMetadata()); in ValueEnumerator()
484 return getMetadataID(MD->getMetadata()); in getValueID()
1072 if (auto *Local = dyn_cast<LocalAsMetadata>(MD->getMetadata())) { in incorporateFunction()
1075 } else if (auto *ArgList = dyn_cast<DIArgList>(MD->getMetadata())) { in incorporateFunction()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstruction.h336 return getMetadata(KindID) != nullptr;
341 return getMetadata(Kind) != nullptr;
346 MDNode *getMetadata(unsigned KindID) const {
350 return Value::getMetadata(KindID);
355 MDNode *getMetadata(StringRef Kind) const {
H A DValue.h565 MDNode *getMetadata(unsigned KindID) const { in getMetadata() function
570 MDNode *getMetadata(StringRef Kind) const;
577 void getMetadata(unsigned KindID, SmallVectorImpl<MDNode *> &MDs) const;
578 void getMetadata(StringRef Kind, SmallVectorImpl<MDNode *> &MDs) const;
594 return getMetadata(KindID) != nullptr; in hasMetadata()
597 return getMetadata(Kind) != nullptr; in hasMetadata()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp884 MDNode *CallsiteMD = CB.getMetadata(LLVMContext::MD_callsite); in propagateMemProfMetadata()
916 CB.getMetadata(LLVMContext::MD_mem_parallel_loop_access); in PropagateCallSiteMetadata()
917 MDNode *AccessGroup = CB.getMetadata(LLVMContext::MD_access_group); in PropagateCallSiteMetadata()
918 MDNode *AliasScope = CB.getMetadata(LLVMContext::MD_alias_scope); in PropagateCallSiteMetadata()
919 MDNode *NoAlias = CB.getMetadata(LLVMContext::MD_noalias); in PropagateCallSiteMetadata()
932 I.getMetadata(LLVMContext::MD_mem_parallel_loop_access), in PropagateCallSiteMetadata()
948 I.getMetadata(LLVMContext::MD_noalias), NoAlias)); in PropagateCallSiteMetadata()
1012 if (const MDNode *M = I.getMetadata(LLVMContext::MD_noalias)) in ScopedAliasMetadataDeepCloner()
1073 if (MDNode *M = I.getMetadata(LLVMContext::MD_alias_scope)) in remap()
1077 if (MDNode *M = I.getMetadata(LLVMContext::MD_noalias)) in remap()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILValueEnumerator.cpp148 dyn_cast<ValueAsMetadata>(MAV->getMetadata())) { in orderModule()
151 dyn_cast<DIArgList>(MAV->getMetadata())) { in orderModule()
460 if (isa<LocalAsMetadata>(MD->getMetadata())) in ValueEnumerator()
462 if (auto *AL = dyn_cast<DIArgList>(MD->getMetadata())) { in ValueEnumerator()
469 EnumerateMetadata(&F, MD->getMetadata()); in ValueEnumerator()
519 return getMetadataID(MD->getMetadata()); in getValueID()
1074 if (auto *Local = dyn_cast<LocalAsMetadata>(MD->getMetadata())) { in incorporateFunction()
1077 } else if (auto *ArgList = dyn_cast<DIArgList>(MD->getMetadata())) { in incorporateFunction()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DRegAllocPBQP.h317 const MatrixMetadata& MMd = G.getEdgeCosts(EId).getMetadata(); in handleDisconnectEdge()
324 const MatrixMetadata& MMd = G.getEdgeCosts(EId).getMetadata(); in handleReconnectEdge()
337 const MatrixMetadata& OldMMd = G.getEdgeCosts(EId).getMetadata(); in handleUpdateCosts()
342 const MatrixMetadata& MMd = NewCosts.getMetadata(); in handleUpdateCosts()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVAsmPrinter.cpp457 if (MDNode *Node = F.getMetadata("reqd_work_group_size")) in outputExecutionMode()
463 if (MDNode *Node = F.getMetadata("work_group_size_hint")) in outputExecutionMode()
466 if (MDNode *Node = F.getMetadata("intel_reqd_sub_group_size")) in outputExecutionMode()
469 if (MDNode *Node = F.getMetadata("vec_type_hint")) { in outputExecutionMode()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DThinLTOBitcodeWriter.cpp111 cast<MetadataAsValue>(CI->getArgOperand(ArgNo))->getMetadata(); in promoteTypeIds()
159 GO.getMetadata(LLVMContext::MD_type, MDs); in promoteTypeIds()
307 if (MDNode *MD = GO->getMetadata(LLVMContext::MD_associated)) in splitAndWriteThinLTOBitcode()
407 F.getMetadata(LLVMContext::MD_type, Types); in splitAndWriteThinLTOBitcode()

1234567