Searched refs:KernelMDNode (Results 1 – 1 of 1) sorted by relevance
108 AccessQualFromMD(MDNode *KernelMDNode, unsigned ArgIdx) { in AccessQualFromMD() argument109 MDNode *ArgAQNode = cast<MDNode>(KernelMDNode->getOperand(2)); in AccessQualFromMD()114 ArgTypeFromMD(MDNode *KernelMDNode, unsigned ArgIdx) { in ArgTypeFromMD() argument115 MDNode *ArgTypeNode = cast<MDNode>(KernelMDNode->getOperand(3)); in ArgTypeFromMD()120 GetArgMD(MDNode *KernelMDNode, unsigned OpIdx) { in GetArgMD() argument123 MDNode *Node = cast<MDNode>(KernelMDNode->getOperand(i + 1)); in GetArgMD()212 bool replaceImageAndSamplerUses(Function *F, MDNode *KernelMDNode) { in replaceImageAndSamplerUses() argument221 StringRef Type = ArgTypeFromMD(KernelMDNode, Arg.getArgNo()); in replaceImageAndSamplerUses()225 StringRef AccessQual = AccessQualFromMD(KernelMDNode, Arg.getArgNo()); in replaceImageAndSamplerUses()253 addImplicitArgs(Function *F, MDNode *KernelMDNode) { in addImplicitArgs() argument[all …]