Home
last modified time | relevance | path

Searched refs:SubRegIndex (Results 1 – 25 of 37) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCRegisterInfoDMR.td26 def sub_dmrrow0 : SubRegIndex<128>;
27 def sub_dmrrow1 : SubRegIndex<128, 128>;
28 def sub_dmrrowp0 : SubRegIndex<256>;
29 def sub_dmrrowp1 : SubRegIndex<256, 256>;
30 def sub_wacc_lo : SubRegIndex<512>;
31 def sub_wacc_hi : SubRegIndex<512, 512>;
32 def sub_dmr0 : SubRegIndex<1024>;
33 def sub_dmr1 : SubRegIndex<1024, 1024>;
H A DPPCRegisterInfo.td13 def sub_lt : SubRegIndex<1>;
14 def sub_gt : SubRegIndex<1, 1>;
15 def sub_eq : SubRegIndex<1, 2>;
16 def sub_un : SubRegIndex<1, 3>;
17 def sub_32 : SubRegIndex<32>;
18 def sub_32_hi_phony : SubRegIndex<32,32>;
19 def sub_64 : SubRegIndex<64>;
20 def sub_64_hi_phony : SubRegIndex<64,64>;
21 def sub_vsx0 : SubRegIndex<128>;
22 def sub_vsx1 : SubRegIndex<128, 128>;
[all …]
H A DPPCRegisterInfoMMA.td15 def sub_pair0 : SubRegIndex<256>;
16 def sub_pair1 : SubRegIndex<256, 256>;
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600ExpandSpecialInstrs.cpp210 unsigned SubRegIndex = R600RegisterInfo::getSubRegFromChannel(Chan); in runOnMachineFunction() local
211 Src0 = TRI.getSubReg(Src0, SubRegIndex); in runOnMachineFunction()
212 Src1 = TRI.getSubReg(Src1, SubRegIndex); in runOnMachineFunction()
225 unsigned SubRegIndex = R600RegisterInfo::getSubRegFromChannel(Chan); in runOnMachineFunction() local
226 DstReg = TRI.getSubReg(DstReg, SubRegIndex); in runOnMachineFunction()
H A DSIRegisterInfo.td15 def lo16 : SubRegIndex<16, 0>;
16 def hi16 : SubRegIndex<16, 16>;
19 def sub#Index : SubRegIndex<32, !shl(Index, 5)>;
23 def sub#Index#_lo16 : ComposedSubRegIndex<!cast<SubRegIndex>(sub#Index), lo16>;
24 def sub#Index#_hi16 : ComposedSubRegIndex<!cast<SubRegIndex>(sub#Index), hi16>;
30 SubRegIndex<!mul(Size, 32), !shl(Index, 5)> {
32 !foreach(cur, !range(Size), !cast<SubRegIndex>(sub#!add(cur, Index)));
44 list<SubRegIndex> ret2 = [sub0, sub1];
45 list<SubRegIndex> ret3 = [sub0, sub1, sub2];
46 list<SubRegIndex> ret4 = [sub0, sub1, sub2, sub3];
[all …]
H A DSIInstructions.td1296 i32, v2i32, Index, !cast<SubRegIndex>(sub#Index)
1300 f32, v2f32, Index, !cast<SubRegIndex>(sub#Index)
1309 i32, v3i32, Index, !cast<SubRegIndex>(sub#Index)
1312 i32, v3i32, Index, !cast<SubRegIndex>(sub#Index)
1316 f32, v3f32, Index, !cast<SubRegIndex>(sub#Index)
1319 f32, v3f32, Index, !cast<SubRegIndex>(sub#Index)
1325 i32, v4i32, Index, !cast<SubRegIndex>(sub#Index)
1328 i32, v4i32, Index, !cast<SubRegIndex>(sub#Index)
1332 f32, v4f32, Index, !cast<SubRegIndex>(sub#Index)
1335 f32, v4f32, Index, !cast<SubRegIndex>(sub#Index)
[all …]
H A DR600.td23 def sub#Index : SubRegIndex<32, !shl(Index, 5)>;
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVERegisterInfo.td50 def sub_i32 : SubRegIndex<32, 32>; // Low 32 bit (32..63)
51 def sub_f32 : SubRegIndex<32>; // High 32 bit (0..31)
52 def sub_even : SubRegIndex<64>; // High 64 bit (0..63)
53 def sub_odd : SubRegIndex<64, 64>; // Low 64 bit (64..127)
54 def sub_vm_even : SubRegIndex<256>; // High 256 bit (0..255)
55 def sub_vm_odd : SubRegIndex<256, 256>; // Low 256 bit (256..511)
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVRegisterInfo.td31 def sub_16 : SubRegIndex<16>;
41 def sub_32 : SubRegIndex<32>;
51 def sub_vrm4_0 : SubRegIndex<256>;
52 def sub_vrm4_1 : SubRegIndex<256, 256>;
53 def sub_vrm2_0 : SubRegIndex<128>;
54 def sub_vrm2_1 : SubRegIndex<128, 128>;
57 def sub_vrm1_0 : SubRegIndex<64>;
58 def sub_vrm1_1 : SubRegIndex<64, 64>;
67 def sub_gpr_even : SubRegIndex<32> {
71 def sub_gpr_odd : SubRegIndex<32, 32> {
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kRegisterInfo.td17 list<Register> SUBREGS = [], list<SubRegIndex> SUBIDX,
28 def MxSubRegIndex8Lo : SubRegIndex<8, 0>;
29 def MxSubRegIndex16Lo : SubRegIndex<16, 0>;
86 class MxPseudoReg<string N, list<Register> SUBREGS = [], list<SubRegIndex> SUBIDX = []>
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64RegisterInfo.td22 def sub_32 : SubRegIndex<32>;
24 def bsub : SubRegIndex<8>;
25 def hsub : SubRegIndex<16>;
26 def ssub : SubRegIndex<32>;
27 def dsub : SubRegIndex<64>;
28 def sube32 : SubRegIndex<32>;
29 def subo32 : SubRegIndex<32>;
30 def sube64 : SubRegIndex<64>;
31 def subo64 : SubRegIndex<64>;
33 def zsub : SubRegIndex<128>;
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsRegisterInfo.td13 def sub_32 : SubRegIndex<32>;
14 def sub_64 : SubRegIndex<64>;
15 def sub_lo : SubRegIndex<32>;
16 def sub_hi : SubRegIndex<32, 32>;
17 def sub_dsp16_19 : SubRegIndex<4, 16>;
18 def sub_dsp20 : SubRegIndex<1, 20>;
19 def sub_dsp21 : SubRegIndex<1, 21>;
20 def sub_dsp22 : SubRegIndex<1, 22>;
21 def sub_dsp23 : SubRegIndex<1, 23>;
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYRegisterInfo.td27 def sub32_0 : SubRegIndex<32, 0>;
28 def sub32_32 : SubRegIndex<32, 32>;
29 def sub64_0 : SubRegIndex<64, 0>;
30 def sub64_64 : SubRegIndex<64,64>;
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86RegisterInfo.td23 def sub_8bit : SubRegIndex<8>;
24 def sub_8bit_hi : SubRegIndex<8, 8>;
25 def sub_8bit_hi_phony : SubRegIndex<8, 8>;
26 def sub_16bit : SubRegIndex<16>;
27 def sub_16bit_hi : SubRegIndex<16, 16>;
28 def sub_32bit : SubRegIndex<32>;
29 def sub_xmm : SubRegIndex<128>;
30 def sub_ymm : SubRegIndex<256>;
31 def sub_mask_0 : SubRegIndex<-1>;
32 def sub_mask_1 : SubRegIndex<
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMRegisterInfo.td37 def qqsub_0 : SubRegIndex<256>;
38 def qqsub_1 : SubRegIndex<256, 256>;
41 def qsub_0 : SubRegIndex<128>;
42 def qsub_1 : SubRegIndex<128, 128>;
46 def dsub_0 : SubRegIndex<64>;
47 def dsub_1 : SubRegIndex<64, 64>;
55 def ssub_0 : SubRegIndex<32>;
56 def ssub_1 : SubRegIndex<32, 32>;
72 def gsub_0 : SubRegIndex<32>;
73 def gsub_1 : SubRegIndex<32, 32>;
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchRegisterInfo.td33 def sub_32 : SubRegIndex<32>;
40 def sub_64 : SubRegIndex<64>;
46 def sub_128 : SubRegIndex<128>;
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonRegisterInfo.td118 def isub_lo : SubRegIndex<32>;
119 def isub_hi : SubRegIndex<32, 32>;
120 def vsub_lo : SubRegIndex<-1, -1>;
121 def vsub_hi : SubRegIndex<-1, -1>;
122 def vsub_fake: SubRegIndex<-1, -1>;
123 def wsub_lo : SubRegIndex<-1, -1>;
124 def wsub_hi : SubRegIndex<-1, -1>;
125 def subreg_overflow : SubRegIndex<1, 0>;
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZRegisterInfo.td23 def subreg_l32 : SubRegIndex<32, 0>; // Also acts as subreg_hl32.
24 def subreg_h32 : SubRegIndex<32, 32>; // Also acts as subreg_hh32.
25 def subreg_l64 : SubRegIndex<64, 0>;
26 def subreg_h64 : SubRegIndex<64, 64>;
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFRegisterInfo.td14 def sub_32 : SubRegIndex<32>;
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcRegisterInfo.td25 def sub_even : SubRegIndex<32>;
26 def sub_odd : SubRegIndex<32, 32>;
27 def sub_even64 : SubRegIndex<64>;
28 def sub_odd64 : SubRegIndex<64, 64>;
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiRegisterInfo.td21 def sub_32 : SubRegIndex<32>;
/freebsd/contrib/llvm-project/llvm/include/llvm/Target/
H A DTarget.td97 // SubRegIndex - Use instances of SubRegIndex to identify subregisters.
98 class SubRegIndex<int size, int offset = 0> {
116 // ComposedOf - A list of two SubRegIndex instances, [A, B].
117 // This indicates that this SubRegIndex is the result of composing A and B.
119 list<SubRegIndex> ComposedOf = [];
135 // the synthetic index dsub_1_dsub_2 unless some SubRegIndex is defined with
137 list<SubRegIndex> CoveringSubRegIndices = [];
142 class ComposedSubRegIndex<SubRegIndex A, SubRegIndex B>
143 : SubRegIndex<B.Size, !cond(!eq(A.Offset, -1): -1,
146 // See SubRegIndex.
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430RegisterInfo.td52 def subreg_8bit : SubRegIndex<8> { let Namespace = "MSP430"; }
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRRegisterInfo.td26 def sub_lo : SubRegIndex<8>;
27 def sub_hi : SubRegIndex<8, 8>;
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetRegisterInfo.cpp677 void TargetRegisterInfo::dumpReg(Register Reg, unsigned SubRegIndex, in dumpReg() argument
679 dbgs() << printReg(Reg, TRI, SubRegIndex) << "\n"; in dumpReg()

12