summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/AMDILOperands.td
blob: b22c67bfdba7e9d4b22d10c5c4f33d19da5fc0b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//===- AMDILOperands.td - AMD IL Operands ------------===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//==-----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===//
// Custom memory operand
//===----------------------------------------------------------------------===//

def MEMI32  : Operand<i32> {
    let PrintMethod = "printMemOperand";
    let MIOperandInfo = (ops GPRI32, GPRI32);
}

def MEMI64 : Operand<i64> {
  let PrintMethod = "printMemOperand";
  let MIOperandInfo = (ops GPRI64, GPRI64);
}

// Call target types
def calltarget   : Operand<i32>;
def brtarget   : Operand<OtherVT>;

// def v2i8imm : Operand<v2i8>;
// def v4i8imm : Operand<v4i8>;
// def v2i16imm : Operand<v2i16>;
// def v4i16imm : Operand<v4i16>;
// def v2i32imm : Operand<v2i32>;
// def v4i32imm : Operand<v4i32>;
// def v2i64imm : Operand<v2i64>;
// def v2f32imm : Operand<v2f32>;
// def v4f32imm : Operand<v4f32>;
// def v2f64imm : Operand<v2f64>;