Lines Matching refs:GlobalValue
36 typedef std::map<const GlobalValue *, key_val_pair_t> global_val_annot_t;
99 static void cacheAnnotationFromMD(const Module *m, const GlobalValue *gv) { in cacheAnnotationFromMD()
109 GlobalValue *entity = in cacheAnnotationFromMD()
110 mdconst::dyn_extract_or_null<GlobalValue>(elem->getOperand(0)); in cacheAnnotationFromMD()
133 bool findOneNVVMAnnotation(const GlobalValue *gv, const std::string &prop, in findOneNVVMAnnotation()
149 findOneNVVMAnnotation(const GlobalValue &GV, const std::string &PropName) { in findOneNVVMAnnotation()
156 bool findAllNVVMAnnotation(const GlobalValue *gv, const std::string &prop, in findAllNVVMAnnotation()
172 if (const GlobalValue *gv = dyn_cast<GlobalValue>(&val)) { in isTexture()
183 if (const GlobalValue *gv = dyn_cast<GlobalValue>(&val)) { in isSurface()
226 if (const GlobalValue *gv = dyn_cast<GlobalValue>(&val)) { in isSampler()
253 if(const GlobalValue *gv = dyn_cast<GlobalValue>(&val)) { in isManaged()