Lines Matching refs:StringRef
29 #include "llvm/ADT/StringRef.h"
54 static StringRef GetImageSizeFunc = "llvm.OpenCL.image.get.size";
55 static StringRef GetImageFormatFunc = "llvm.OpenCL.image.get.format";
56 static StringRef GetImageResourceIDFunc = "llvm.OpenCL.image.get.resource.id";
57 static StringRef GetSamplerResourceIDFunc =
60 static StringRef ImageSizeArgMDType = "__llvm_image_size";
61 static StringRef ImageFormatArgMDType = "__llvm_image_format";
63 static StringRef KernelsMDNodeName = "opencl.kernels";
64 static StringRef KernelArgMDNodeNames[] = {
82 IsImageType(StringRef TypeString) {
87 IsSamplerType(StringRef TypeString) {
123 static StringRef
129 static StringRef
180 StringRef Name = F->getName();
213 StringRef Name = F->getName();
237 StringRef Type = ArgTypeFromMD(KernelMDNode, Arg.getArgNo());
241 StringRef AccessQual = AccessQualFromMD(KernelMDNode, Arg.getArgNo());
377 StringRef getPassName() const override {