Home
last modified time | relevance | path

Searched refs:OpMD (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAbstractCallSite.cpp45 MDNode *OpMD = cast<MDNode>(Op.get()); in getCallbackUses() local
46 auto *CBCalleeIdxAsCM = cast<ConstantAsMetadata>(OpMD->getOperand(0)); in getCallbackUses()
103 MDNode *OpMD = cast<MDNode>(Op.get()); in AbstractCallSite() local
104 auto *CBCalleeIdxAsCM = cast<ConstantAsMetadata>(OpMD->getOperand(0)); in AbstractCallSite()
109 CallbackEncMD = OpMD; in AbstractCallSite()
H A DVerifier.cpp5011 const MDNode *OpMD = dyn_cast<MDNode>(Op); in visitAliasScopeListMetadata() local
5012 Check(OpMD != nullptr, "scope list must consist of MDNodes", MD); in visitAliasScopeListMetadata()
5013 visitAliasScopeMetadata(OpMD); in visitAliasScopeListMetadata()
5028 const MDNode *OpMD = dyn_cast<MDNode>(Op); in visitAccessGroupMetadata() local
5029 Check(OpMD != nullptr, "Access scope list must consist of MDNodes", MD); in visitAccessGroupMetadata()
5030 Check(IsValidAccessScope(OpMD), in visitAccessGroupMetadata()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVUtils.cpp139 auto *OpMD = dyn_cast<MDNode>(GVarMD->getOperand(I)); in buildOpSpirvDecorations() local
140 if (!OpMD) in buildOpSpirvDecorations()
142 if (OpMD->getNumOperands() == 0) in buildOpSpirvDecorations()
145 mdconst::dyn_extract<ConstantInt>(OpMD->getOperand(0)); in buildOpSpirvDecorations()
152 for (unsigned OpI = 1, OpE = OpMD->getNumOperands(); OpI != OpE; ++OpI) { in buildOpSpirvDecorations()
154 mdconst::dyn_extract<ConstantInt>(OpMD->getOperand(OpI))) in buildOpSpirvDecorations()
156 else if (MDString *OpV = dyn_cast<MDString>(OpMD->getOperand(OpI))) in buildOpSpirvDecorations()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp1031 if (const MDNode *OpMD = dyn_cast<MDNode>(Op)) in addRecursiveMetadataUses() local
1032 if (MD.insert(OpMD)) in addRecursiveMetadataUses()
1033 Queue.push_back(OpMD); in addRecursiveMetadataUses()