Lines Matching defs:V
54 template <typename T> bool isProgramMemoryAddress(T *V) {
55 auto *PT = cast<PointerType>(V->getType());
65 template <typename T> AddressSpace getAddressSpace(T *V) {
66 auto *PT = cast<PointerType>(V->getType());
75 auto *V = N->getMemOperand()->getValue();
76 if (V != nullptr && isProgramMemoryAddress(V))
86 auto *V = N->getMemOperand()->getValue();
87 if (V == nullptr || !isProgramMemoryAddress(V))
89 AddressSpace AS = getAddressSpace(V);