Searched refs:NamedMD (Results 1 – 3 of 3) sorted by relevance
59 auto NamedMD = M.getNamedMetadata(Name); in unifyVersionMD() local60 if (!NamedMD || NamedMD->getNumOperands() <= 1) in unifyVersionMD()64 for (auto VersionMD : NamedMD->operands()) { in unifyVersionMD()78 NamedMD->eraseFromParent(); in unifyVersionMD()79 NamedMD = M.getOrInsertNamedMetadata(Name); in unifyVersionMD()80 NamedMD->addOperand(MaxMD); in unifyVersionMD()92 auto NamedMD = M.getNamedMetadata(Name); in unifyExtensionMD() local93 if (!NamedMD || NamedMD->getNumOperands() == 1) in unifyExtensionMD()97 for (auto MD : NamedMD->operands()) in unifyExtensionMD()102 NamedMD->eraseFromParent(); in unifyExtensionMD()[all …]
34 auto NamedMD = M.getNamedMetadata("amdgpu.pal.metadata.msgpack"); in readFromIR() local35 if (NamedMD && NamedMD->getNumOperands()) { in readFromIR()39 auto MDN = dyn_cast<MDTuple>(NamedMD->getOperand(0)); in readFromIR()47 NamedMD = M.getNamedMetadata("amdgpu.pal.metadata"); in readFromIR()48 if (!NamedMD || !NamedMD->getNumOperands()) in readFromIR()54 auto Tuple = dyn_cast<MDTuple>(NamedMD->getOperand(0)); in readFromIR()
926 const char *LLVMGetNamedMetadataName(LLVMNamedMDNodeRef NamedMD,