Lines Matching refs:SPIRV
27 namespace SPIRV {
116 assert(ImageTy->getOpcode() == SPIRV::OpTypeImage);
181 } // namespace SPIRV
183 template <> struct DenseMapInfo<SPIRV::SpecialTypeDescriptor> {
184 static inline SPIRV::SpecialTypeDescriptor getEmptyKey() {
185 return SPIRV::SpecialTypeDescriptor(
186 SPIRV::SpecialTypeDescriptor::STK_Empty);
188 static inline SPIRV::SpecialTypeDescriptor getTombstoneKey() {
189 return SPIRV::SpecialTypeDescriptor(SPIRV::SpecialTypeDescriptor::STK_Last);
191 static unsigned getHashValue(SPIRV::SpecialTypeDescriptor Val) {
194 static bool isEqual(SPIRV::SpecialTypeDescriptor LHS,
195 SPIRV::SpecialTypeDescriptor RHS) {
205 using StorageTy = MapVector<KeyTy, SPIRV::DTSortableEntry>;
256 class SPIRVDuplicatesTracker<SPIRV::SpecialTypeDescriptor>
257 : public SPIRVDuplicatesTrackerBase<SPIRV::SpecialTypeDescriptor> {};
265 SPIRVDuplicatesTracker<SPIRV::SpecialTypeDescriptor> ST;
273 MapVector<MachineOperand *, SPIRV::DTSortableEntry *>;
280 void buildDepsGraph(std::vector<SPIRV::DTSortableEntry *> &Graph,
289 ST.add(SPIRV::PointerTypeDescriptor(PointerElementType, AddressSpace), MF,
309 void add(const SPIRV::SpecialTypeDescriptor &TD, const MachineFunction *MF,
321 SPIRV::PointerTypeDescriptor(PointerElementType, AddressSpace), MF);
340 Register find(const SPIRV::SpecialTypeDescriptor &TD,