Home
last modified time | relevance | path

Searched refs:getNamedMetadata (Results 1 – 25 of 45) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUUnifyMetadata.cpp56 auto NamedMD = M.getNamedMetadata(Name); in unifyVersionMD()
89 auto NamedMD = M.getNamedMetadata(Name); in unifyExtensionMD()
H A DAMDGPUHSAMetadataStreamer.cpp202 auto Node = Mod.getNamedMetadata("llvm.printf.fmts"); in emitPrintf()
217 auto Node = Func.getParent()->getNamedMetadata("opencl.ocl.version"); in emitKernelLanguage()
417 if (M->getNamedMetadata("llvm.printf.fmts")) in emitHiddenKernelArgs()
627 if (M->getNamedMetadata("llvm.printf.fmts")) { in emitHiddenKernelArgs()
H A DR600OpenCLImageTypeLoweringPass.cpp318 NamedMDNode *KernelsMDNode = M.getNamedMetadata(KernelsMDNodeName); in transformKernels()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILResource.cpp26 NamedMDNode *Entry = M.getNamedMetadata(MDName); in collect()
37 NamedMDNode *Entry = M.getNamedMetadata(MDName); in collect()
329 NamedMDNode *Entry = M.getNamedMetadata(MDName); in write()
351 NamedMDNode *Entry = M.getNamedMetadata("hlsl.uavs"); in write()
H A DDXILMetadata.cpp291 if (auto *NamedResources = M.getNamedMetadata("dx.resources")) in createEntryMD()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DDebugify.cpp85 if (M.getNamedMetadata("llvm.dbg.cu")) { in applyDebugifyMetadata()
249 NamedMDNode *DebugifyMD = M.getNamedMetadata("llvm.debugify"); in stripDebugifyMetadata()
255 if (auto *MIRDebugifyMD = M.getNamedMetadata("llvm.mir.debugify")) { in stripDebugifyMetadata()
302 if (!M.getNamedMetadata("llvm.dbg.cu")) { in collectDebugInfoMetadata()
548 if (!M.getNamedMetadata("llvm.dbg.cu")) { in checkDebugInfoMetadata()
622 (cast<DICompileUnit>(M.getNamedMetadata("llvm.dbg.cu")->getOperand(0))) in checkDebugInfoMetadata()
718 NamedMDNode *NMD = M.getNamedMetadata("llvm.debugify"); in checkDebugifyMetadata()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineDebugify.cpp153 NamedMDNode *NMD = M.getNamedMetadata("llvm.mir.debugify"); in applyDebugifyMetadataToMachineFunction()
191 assert(!M.getNamedMetadata("llvm.mir.debugify") && in runOnModule()
H A DMachineStripDebug.cpp35 NamedMDNode *DebugifyMD = M.getNamedMetadata("llvm.debugify"); in runOnModule()
H A DMachineCheckDebugify.cpp33 NamedMDNode *NMD = M.getNamedMetadata("llvm.mir.debugify"); in runOnModule()
H A DPseudoProbeInserter.cpp46 ShouldRun = M.getNamedMetadata(PseudoProbeDescMetadataName); in doInitialization()
H A DMIRFSDiscriminator.cpp100 bool HasPseudoProbe = MF.getFunction().getParent()->getNamedMetadata( in runOnMachineFunction()
H A DTargetLoweringObjectFileImpl.cpp309 if (NamedMDNode *LinkerOptions = M.getNamedMetadata("llvm.linker.options")) { in emitModuleMetadata()
325 if (NamedMDNode *DependentLibraries = M.getNamedMetadata("llvm.dependent-libraries")) { in emitModuleMetadata()
338 if (NamedMDNode *FuncInfo = M.getNamedMetadata(PseudoProbeDescMetadataName)) { in emitModuleMetadata()
361 if (NamedMDNode *LLVMStats = M.getNamedMetadata("llvm.stats")) { in emitModuleMetadata()
1234 if (auto *LinkerOptions = M.getNamedMetadata("llvm.linker.options")) { in emitModuleMetadata()
1864 if (NamedMDNode *LinkerOptions = M.getNamedMetadata("llvm.linker.options")) { in emitLinkerDirectives()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DModule.h505 NamedMDNode *getNamedMetadata(const Twine &Name) const;
857 auto *CUs = getNamedMetadata("llvm.dbg.cu"); in debug_compile_units_begin()
862 auto *CUs = getNamedMetadata("llvm.dbg.cu"); in debug_compile_units_end()
870 auto *CUs = getNamedMetadata("llvm.dbg.cu"); in debug_compile_units()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVMetadata.cpp40 F.getParent()->getNamedMetadata("opencl.kernels"); in getOCLKernelArgAttribute()
H A DSPIRVAsmPrinter.cpp467 NamedMDNode *Node = M.getNamedMetadata("spirv.ExecutionMode"); in outputExecutionMode()
506 if (ST->isOpenCLEnv() && !M.getNamedMetadata("spirv.ExecutionMode") && in outputExecutionMode()
507 !M.getNamedMetadata("opencl.enable.FP_CONTRACT")) { in outputExecutionMode()
H A DSPIRVModuleAnalysis.cpp145 if (auto MemModel = M.getNamedMetadata("spirv.MemoryModel")) { in setBaseInfo()
167 if (auto VerNode = M.getNamedMetadata("opencl.ocl.version")) { in setBaseInfo()
193 if (auto ExtNode = M.getNamedMetadata("opencl.used.extensions")) { in setBaseInfo()
1203 auto Node = M.getNamedMetadata("spirv.ExecutionMode"); in collectReqs()
H A DSPIRVCallLowering.cpp97 if (F.getParent()->getNamedMetadata("spv.cloned_funcs")) in fixFunctionTypeIfPtrArgs()
128 auto *NamedMD = F.getParent()->getNamedMetadata("spv.cloned_funcs"); in getOriginalFunctionType()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyAsmPrinter.cpp421 if (const NamedMDNode *Named = M.getNamedMetadata("wasm.custom_sections")) { in emitEndOfAsmFile()
448 if (const NamedMDNode *Debug = M.getNamedMetadata("llvm.dbg.cu")) { in EmitProducerInfo()
460 if (const NamedMDNode *Ident = M.getNamedMetadata("llvm.ident")) { in EmitProducerInfo()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DCrossDSOCFI.cpp74 NamedMDNode *CfiFunctionsMD = M.getNamedMetadata("cfi.functions"); in buildCFICheck()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DIRSymtab.cpp158 M->getNamedMetadata("llvm.linker.options")) { in addModule()
168 if (NamedMDNode *N = M->getNamedMetadata("llvm.dependent-libraries")) { in addModule()
H A DOffloadBinary.cpp115 auto *MD = M->getNamedMetadata("llvm.embedded.objects"); in extractFromBitcode()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUPALMetadata.cpp32 auto NamedMD = M.getNamedMetadata("amdgpu.pal.metadata.msgpack"); in readFromIR()
45 NamedMD = M.getNamedMetadata("amdgpu.pal.metadata"); in readFromIR()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DModule.cpp262 NamedMDNode *Module::getNamedMetadata(const Twine &Name) const { in getNamedMetadata() function in Module
347 return getNamedMetadata("llvm.module.flags"); in getModuleFlagsMetadata()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSampleProfileLoaderBaseImpl.h94 M.getNamedMetadata(PseudoProbeDescMetadataName)) {
125 return M.getNamedMetadata(PseudoProbeDescMetadataName);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DGCOVProfiling.cpp512 if (NamedMDNode *GCov = M->getNamedMetadata("llvm.gcov")) { in mangleName()
560 NamedMDNode *CUNode = M.getNamedMetadata("llvm.dbg.cu"); in runOnModule()
1094 NamedMDNode *CUNodes = M->getNamedMetadata("llvm.dbg.cu"); in insertCounterWriteout()

12