Searched refs:mdName (Results 1 – 2 of 2) sorted by relevance
134 bool Builder::SetNamedMetaDataOnCallInstr(Instruction* inst, StringRef mdName) in SetNamedMetaDataOnCallInstr() argument139 MDNode* N = MDNode::get(JM()->mContext, MDString::get(JM()->mContext, mdName)); in SetNamedMetaDataOnCallInstr()140 pCallInstr->setMetadata(mdName, N); in SetNamedMetaDataOnCallInstr()151 if (SetNamedMetaDataOnCallInstr(srcInst, mdName)) in SetNamedMetaDataOnCallInstr()162 bool Builder::HasNamedMetaDataOnCallInstr(Instruction* inst, StringRef mdName) in HasNamedMetaDataOnCallInstr() argument171 return (pCallInstr->getMetadata(mdName) != nullptr); in HasNamedMetaDataOnCallInstr()
130 bool SetNamedMetaDataOnCallInstr(Instruction* inst, StringRef mdName);131 bool HasNamedMetaDataOnCallInstr(Instruction* inst, StringRef mdName);