Lines Matching refs:PT
54 auto *PT = cast<PointerType>(V->getType()); in isProgramMemoryAddress() local
55 assert(PT != nullptr && "unexpected MemSDNode"); in isProgramMemoryAddress()
56 return PT->getAddressSpace() == ProgramMemory || in isProgramMemoryAddress()
57 PT->getAddressSpace() == ProgramMemory1 || in isProgramMemoryAddress()
58 PT->getAddressSpace() == ProgramMemory2 || in isProgramMemoryAddress()
59 PT->getAddressSpace() == ProgramMemory3 || in isProgramMemoryAddress()
60 PT->getAddressSpace() == ProgramMemory4 || in isProgramMemoryAddress()
61 PT->getAddressSpace() == ProgramMemory5; in isProgramMemoryAddress()
65 auto *PT = cast<PointerType>(V->getType()); in getAddressSpace() local
66 assert(PT != nullptr && "unexpected MemSDNode"); in getAddressSpace()
67 unsigned AS = PT->getAddressSpace(); in getAddressSpace()