Searched refs:KernelMDNode (Results 1 – 1 of 1) sorted by relevance
109 AccessQualFromMD(MDNode *KernelMDNode, unsigned ArgIdx) { in AccessQualFromMD() argument110 MDNode *ArgAQNode = cast<MDNode>(KernelMDNode->getOperand(2)); in AccessQualFromMD()115 ArgTypeFromMD(MDNode *KernelMDNode, unsigned ArgIdx) { in ArgTypeFromMD() argument116 MDNode *ArgTypeNode = cast<MDNode>(KernelMDNode->getOperand(3)); in ArgTypeFromMD()121 GetArgMD(MDNode *KernelMDNode, unsigned OpIdx) { in GetArgMD() argument124 MDNode *Node = cast<MDNode>(KernelMDNode->getOperand(i + 1)); in GetArgMD()213 bool replaceImageAndSamplerUses(Function *F, MDNode *KernelMDNode) { in replaceImageAndSamplerUses() argument222 StringRef Type = ArgTypeFromMD(KernelMDNode, Arg.getArgNo()); in replaceImageAndSamplerUses()226 StringRef AccessQual = AccessQualFromMD(KernelMDNode, Arg.getArgNo()); in replaceImageAndSamplerUses()254 addImplicitArgs(Function *F, MDNode *KernelMDNode) { in addImplicitArgs() argument[all …]