Home
last modified time | relevance | path

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

1234567

/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCObjectFileInfo.cpp190 SectionKind::getMetadata()); in initMachOMCObjectFileInfo()
194 SectionKind::getMetadata()); in initMachOMCObjectFileInfo()
199 SectionKind::getMetadata()); in initMachOMCObjectFileInfo()
228 SectionKind::getMetadata(), "debug_names_begin"); in initMachOMCObjectFileInfo()
231 SectionKind::getMetadata(), "names_begin"); in initMachOMCObjectFileInfo()
234 SectionKind::getMetadata(), "objc_begin"); in initMachOMCObjectFileInfo()
238 SectionKind::getMetadata(), "namespac_begin"); in initMachOMCObjectFileInfo()
241 SectionKind::getMetadata(), "types_begin"); in initMachOMCObjectFileInfo()
245 SectionKind::getMetadata()); in initMachOMCObjectFileInfo()
249 SectionKind::getMetadata(), "section_abbrev"); in initMachOMCObjectFileInfo()
[all …]
/freebsd/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.cpp413 if (const MDNode *M = Call->getMetadata(LLVMContext::MD_tbaa)) in getMemoryEffects()
433 if (const MDNode *M = Call->getMetadata(LLVMContext::MD_tbaa)) in getModRefInfo()
446 if (const MDNode *M1 = Call1->getMetadata(LLVMContext::MD_tbaa)) in getModRefInfo()
447 if (const MDNode *M2 = Call2->getMetadata(LLVMContext::MD_tbaa)) in getModRefInfo()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DProfDataUtils.cpp107 auto *ProfileData = I.getMetadata(LLVMContext::MD_prof); in hasBranchWeightMD()
112 auto *ProfileData = I.getMetadata(LLVMContext::MD_prof); in hasCountTypeMD()
126 auto *ProfileData = I.getMetadata(LLVMContext::MD_prof); in hasBranchWeightOrigin()
150 auto *ProfileData = I.getMetadata(LLVMContext::MD_prof); in getBranchWeightMDNode()
183 auto *ProfileData = I.getMetadata(LLVMContext::MD_prof); in extractBranchWeights()
195 auto *ProfileData = I.getMetadata(LLVMContext::MD_prof); in extractBranchWeights()
236 return extractProfTotalWeight(I.getMetadata(LLVMContext::MD_prof), TotalVal); in extractProfTotalWeight()
248 auto *ProfileData = I.getMetadata(LLVMContext::MD_prof); in scaleProfData()
H A DTypeFinder.cpp149 if (const auto *N = dyn_cast<MDNode>(M->getMetadata())) in incorporateValue()
151 if (const auto *MDV = dyn_cast<ValueAsMetadata>(M->getMetadata())) in incorporateValue()
153 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.cpp1223 assert(AInstr->getMetadata(LLVMContext::MD_prof) == A && in getMergedProfMetadata()
1225 assert(BInstr->getMetadata(LLVMContext::MD_prof) == B && in getMergedProfMetadata()
1455 MDNode *Value::getMetadata(StringRef Kind) const { in getMetadata() function in Value
1468 void Value::getMetadata(unsigned KindID, SmallVectorImpl<MDNode *> &MDs) const { in getMetadata() function in Value
1473 void Value::getMetadata(StringRef Kind, SmallVectorImpl<MDNode *> &MDs) const { in getMetadata() function in Value
1475 getMetadata(getContext().getMDKindID(Kind), MDs); in getMetadata()
1580 return Value::getMetadata(KindID); in getMetadataImpl()
1608 cast_or_null<DIAssignID>(getMetadata(LLVMContext::MD_DIAssignID))) { in updateDIAssignIDMapping()
1661 if (auto *Existing = getMetadata(LLVMContext::MD_annotation)) { in addAnnotationMetadata()
1691 if (auto *Existing = getMetadata(LLVMContext::MD_annotation)) { in addAnnotationMetadata()
[all …]
/freebsd/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()
459 PBQPRAGraph::NodeId NId = G.getMetadata().getNodeIdForVReg(SrcReg); in apply()
474 PBQPRAGraph::NodeId N1Id = G.getMetadata().getNodeIdForVReg(DstReg); in apply()
475 PBQPRAGraph::NodeId N2Id = G.getMetadata().getNodeIdForVReg(SrcReg); in apply()
592 MachineFunction &MF = G.getMetadata().MF; in initializeGraph()
594 LiveIntervals &LIS = G.getMetadata().LIS; in initializeGraph()
[all …]
H A DMachineLoopInfo.cpp191 LoopID = TI->getMetadata(LLVMContext::MD_loop); in getLoopID()
210 MD = TI->getMetadata(LLVMContext::MD_loop); in getLoopID()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64PBQPRegAlloc.cpp158 LiveIntervals &LIs = G.getMetadata().LIS; in addIntraChainConstraint()
168 PBQPRAGraph::NodeId node1 = G.getMetadata().getNodeIdForVReg(Rd); in addIntraChainConstraint()
169 PBQPRAGraph::NodeId node2 = G.getMetadata().getNodeIdForVReg(Ra); in addIntraChainConstraint()
239 LiveIntervals &LIs = G.getMetadata().LIS; in addInterChainConstraint()
255 PBQPRAGraph::NodeId node1 = G.getMetadata().getNodeIdForVReg(Rd); in addInterChainConstraint()
268 PBQPRAGraph::NodeId node2 = G.getMetadata().getNodeIdForVReg(r); in addInterChainConstraint()
322 const MachineFunction &MF = G.getMetadata().MF; in apply()
323 LiveIntervals &LIs = G.getMetadata().LIS; in apply()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUHSAMetadataStreamer.cpp236 if (auto Node = Func.getMetadata("reqd_work_group_size")) in emitKernelAttrs()
238 if (auto Node = Func.getMetadata("work_group_size_hint")) in emitKernelAttrs()
240 if (auto Node = Func.getMetadata("vec_type_hint")) { in emitKernelAttrs()
279 Node = Func->getMetadata("kernel_arg_name"); in emitKernelArg()
286 Node = Func->getMetadata("kernel_arg_type"); in emitKernelArg()
291 Node = Func->getMetadata("kernel_arg_base_type"); in emitKernelArg()
305 Node = Func->getMetadata("kernel_arg_access_qual"); in emitKernelArg()
310 Node = Func->getMetadata("kernel_arg_type_qual"); in emitKernelArg()
H A DAMDGPUInstrInfo.cpp52 return I && I->getMetadata("amdgpu.uniform");
H A DAMDGPUTargetObjectFile.cpp34 SK = SectionKind::getMetadata(); in getExplicitSectionGlobal()
/freebsd/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/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()
628 if (MDNode *Idx = F.getMetadata("wasm.index")) { in emitFunctionBodyStart()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DSimplifyQuery.h30 MDNode *getMetadata(const Instruction *I, unsigned KindID) const { in getMetadata() function
32 return I->getMetadata(KindID); in getMetadata()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DValue.h565 MDNode *getMetadata(unsigned KindID) const {
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;
H A DInstruction.h371 return getMetadata(KindID) != nullptr;
376 return getMetadata(Kind) != nullptr;
381 MDNode *getMetadata(unsigned KindID) const {
385 return Value::getMetadata(KindID);
390 MDNode *getMetadata(StringRef Kind) const {
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp833 MDNode *OrigCallsiteMD = ClonedCall->getMetadata(LLVMContext::MD_callsite); in propagateMemProfHelper()
846 MDNode *OrigMemProfMD = ClonedCall->getMetadata(LLVMContext::MD_memprof); in propagateMemProfHelper()
887 MDNode *CallsiteMD = CB.getMetadata(LLVMContext::MD_callsite); in propagateMemProfMetadata()
919 CB.getMetadata(LLVMContext::MD_mem_parallel_loop_access); in PropagateCallSiteMetadata()
920 MDNode *AccessGroup = CB.getMetadata(LLVMContext::MD_access_group); in PropagateCallSiteMetadata()
921 MDNode *AliasScope = CB.getMetadata(LLVMContext::MD_alias_scope); in PropagateCallSiteMetadata()
922 MDNode *NoAlias = CB.getMetadata(LLVMContext::MD_noalias); in PropagateCallSiteMetadata()
935 I.getMetadata(LLVMContext::MD_mem_parallel_loop_access), in PropagateCallSiteMetadata()
943 I.getMetadata(LLVMContext::MD_access_group), AccessGroup)); in PropagateCallSiteMetadata()
947 I.getMetadata(LLVMContext::MD_alias_scope), AliasScope)); in PropagateCallSiteMetadata()
[all …]
/freebsd/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/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/contrib/llvm-project/llvm/include/llvm/Frontend/HLSL/
H A DHLSLResource.h44 MDNode *getMetadata() { return Entry; } in getMetadata() function
/freebsd/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()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVPreLegalizer.cpp57 MI.getOperand(3).getMetadata()->getOperand(0)) in addConstantsToTrack()
188 Type *ElemTy = getMDOperandAsType(MI.getOperand(3).getMetadata(), 0); in insertBitcasts()
455 Type *ElementTy = getMDOperandAsType(MI.getOperand(2).getMetadata(), 0); in generateAssignInstrs()
470 Type *Ty = getMDOperandAsType(MI.getOperand(2).getMetadata(), 0); in generateAssignInstrs()
635 const MDNode *IAMD = I1->getOperand(1).getMetadata(); in insertInlineAsmProcess()
657 addStringImm(cast<MDString>(I1->getOperand(2).getMetadata()->getOperand(0)) in insertInlineAsmProcess()
743 MI.getOperand(2).getMetadata()); in insertSpirvDecorations()

1234567