181ad6265SDimitry Andric//===-- SPIRVRegisterBanks.td - Describe SPIR-V RegBanks ---*- tablegen -*-===// 281ad6265SDimitry Andric// 381ad6265SDimitry Andric// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 481ad6265SDimitry Andric// See https://llvm.org/LICENSE.txt for license information. 581ad6265SDimitry Andric// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 681ad6265SDimitry Andric// 781ad6265SDimitry Andric//===----------------------------------------------------------------------===// 881ad6265SDimitry Andric 981ad6265SDimitry Andric// Although RegisterBankSelection is disabled we need to distinct the banks 1081ad6265SDimitry Andric// as InstructionSelector RegClass checking code relies on them 11*0fca6ea1SDimitry Andric 1281ad6265SDimitry Andricdef TYPERegBank : RegisterBank<"TYPEBank", [TYPE]>; 13*0fca6ea1SDimitry Andricdef IDRegBank : RegisterBank<"IDBank", [ID, ID64, fID, fID64, pID32, pID64, vID, vfID, vpID32, vpID64]>; 14