Searched refs:OpMD (Results 1 – 4 of 4) sorted by relevance
45 MDNode *OpMD = cast<MDNode>(Op.get()); in getCallbackUses() local46 auto *CBCalleeIdxAsCM = cast<ConstantAsMetadata>(OpMD->getOperand(0)); in getCallbackUses()103 MDNode *OpMD = cast<MDNode>(Op.get()); in AbstractCallSite() local104 auto *CBCalleeIdxAsCM = cast<ConstantAsMetadata>(OpMD->getOperand(0)); in AbstractCallSite()109 CallbackEncMD = OpMD; in AbstractCallSite()
5011 const MDNode *OpMD = dyn_cast<MDNode>(Op); in visitAliasScopeListMetadata() local5012 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() local5029 Check(OpMD != nullptr, "Access scope list must consist of MDNodes", MD); in visitAccessGroupMetadata()5030 Check(IsValidAccessScope(OpMD), in visitAccessGroupMetadata()
139 auto *OpMD = dyn_cast<MDNode>(GVarMD->getOperand(I)); in buildOpSpirvDecorations() local140 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()
1031 if (const MDNode *OpMD = dyn_cast<MDNode>(Op)) in addRecursiveMetadataUses() local1032 if (MD.insert(OpMD)) in addRecursiveMetadataUses()1033 Queue.push_back(OpMD); in addRecursiveMetadataUses()