Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/
H A DRISCVRegisterInfo.td24 def sub_16 : SubRegIndex<16>;
36 def sub_32 : SubRegIndex<32>;
54 def sub_vrm1_0 : SubRegIndex<64, -1>;
55 def sub_vrm1_1 : SubRegIndex<64, -1>;
56 def sub_vrm1_2 : SubRegIndex<64, -1>;
57 def sub_vrm1_3 : SubRegIndex<64, -1>;
58 def sub_vrm1_4 : SubRegIndex<64, -1>;
59 def sub_vrm1_5 : SubRegIndex<64, -1>;
60 def sub_vrm1_6 : SubRegIndex<64, -1>;
61 def sub_vrm1_7 : SubRegIndex<64, -1>;
[all …]
/netbsd-src/external/apache2/llvm/dist/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.td25 def lo16 : SubRegIndex<16, 0>;
26 def hi16 : SubRegIndex<16, 16>;
29 def sub#Index : SubRegIndex<32, !shl(Index, 5)>;
33 def sub#Index#_lo16 : ComposedSubRegIndex<!cast<SubRegIndex>(sub#Index), lo16>;
34 def sub#Index#_hi16 : ComposedSubRegIndex<!cast<SubRegIndex>(sub#Index), hi16>;
41 SubRegIndex<!mul(Size, 32), !shl(Index, 5)> {
44 !cast<SubRegIndex>(sub#!add(cur, Index)));
56 list<SubRegIndex> ret2 = [sub0, sub1];
57 list<SubRegIndex> ret3 = [sub0, sub1, sub2];
58 list<SubRegIndex> ret4 = [sub0, sub1, sub2, sub3];
[all …]
H A DSIInstructions.td993 i32, v2i32, Index, !cast<SubRegIndex>(sub#Index)
996 i32, v2i32, Index, !cast<SubRegIndex>(sub#Index)
1000 f32, v2f32, Index, !cast<SubRegIndex>(sub#Index)
1003 f32, v2f32, Index, !cast<SubRegIndex>(sub#Index)
1009 i32, v3i32, Index, !cast<SubRegIndex>(sub#Index)
1012 i32, v3i32, Index, !cast<SubRegIndex>(sub#Index)
1016 f32, v3f32, Index, !cast<SubRegIndex>(sub#Index)
1019 f32, v3f32, Index, !cast<SubRegIndex>(sub#Index)
1025 i32, v4i32, Index, !cast<SubRegIndex>(sub#Index)
1028 i32, v4i32, Index, !cast<SubRegIndex>(sub#Index)
[all …]
H A DR600.td24 def sub#Index : SubRegIndex<32, !shl(Index, 5)>;
H A DR600InstrInfo.cpp57 unsigned SubRegIndex = R600RegisterInfo::getSubRegFromChannel(I); in copyPhysReg() local
59 RI.getSubReg(DestReg, SubRegIndex), in copyPhysReg()
60 RI.getSubReg(SrcReg, SubRegIndex)) in copyPhysReg()
H A DAMDGPUInstructions.td592 SubRegIndex sub_reg>
600 int sub_idx, SubRegIndex sub_reg>
/netbsd-src/external/apache2/llvm/dist/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)
/netbsd-src/external/apache2/llvm/dist/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<32>;
28 def sube32 : SubRegIndex<32>;
29 def subo32 : SubRegIndex<32>;
30 def qhisub : SubRegIndex<64>;
31 def qsub : SubRegIndex<64>;
32 def sube64 : SubRegIndex<64>;
[all …]
/netbsd-src/external/apache2/llvm/dist/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>;
73 class MxPseudoReg<string N, list<Register> SUBREGS = [], list<SubRegIndex> SUBIDX = []>
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
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_64 : SubRegIndex<64>;
19 def sub_vsx0 : SubRegIndex<128>;
20 def sub_vsx1 : SubRegIndex<128, 128>;
21 def sub_pair0 : SubRegIndex<256>;
22 def sub_pair1 : SubRegIndex<256, 256>;
/netbsd-src/external/apache2/llvm/dist/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>;
/netbsd-src/external/apache2/llvm/dist/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>;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonRegisterInfo.td93 def isub_lo : SubRegIndex<32>;
94 def isub_hi : SubRegIndex<32, 32>;
95 def vsub_lo : SubRegIndex<512>;
96 def vsub_hi : SubRegIndex<512, 512>;
97 def vsub_fake: SubRegIndex<512>;
98 def wsub_lo : SubRegIndex<1024>;
99 def wsub_hi : SubRegIndex<1024, 1024>;
100 def subreg_overflow : SubRegIndex<1, 0>;
/netbsd-src/external/apache2/llvm/dist/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<-1, -1>;
/netbsd-src/external/apache2/llvm/dist/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>;
70 def gsub_0 : SubRegIndex<32>;
71 def gsub_1 : SubRegIndex<32, 32>;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/
H A DSystemZRegisterInfo.td23 def subreg_l32 : SubRegIndex<32, 0>; // Also acts as subreg_ll32.
24 def subreg_h32 : SubRegIndex<32, 32>; // Also acts as subreg_lh32.
25 def subreg_l64 : SubRegIndex<64, 0>;
26 def subreg_h64 : SubRegIndex<64, 64>;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/BPF/
H A DBPFRegisterInfo.td14 def sub_32 : SubRegIndex<32>;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Sparc/
H A DSparcRegisterInfo.td24 def sub_even : SubRegIndex<32>;
25 def sub_odd : SubRegIndex<32, 32>;
26 def sub_even64 : SubRegIndex<64>;
27 def sub_odd64 : SubRegIndex<64, 64>;
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Target/
H A DTarget.td71 // SubRegIndex - Use instances of SubRegIndex to identify subregisters.
72 class SubRegIndex<int size, int offset = 0> {
84 // ComposedOf - A list of two SubRegIndex instances, [A, B].
85 // This indicates that this SubRegIndex is the result of composing A and B.
87 list<SubRegIndex> ComposedOf = [];
103 // the synthetic index dsub_1_dsub_2 unless some SubRegIndex is defined with
105 list<SubRegIndex> CoveringSubRegIndices = [];
110 class ComposedSubRegIndex<SubRegIndex A, SubRegIndex B>
111 : SubRegIndex<B.Size, !cond(!eq(A.Offset, -1): -1,
114 // See SubRegIndex.
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Lanai/
H A DLanaiRegisterInfo.td21 def sub_32 : SubRegIndex<32>;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/MSP430/
H A DMSP430RegisterInfo.td52 def subreg_8bit : SubRegIndex<8> { let Namespace = "MSP430"; }
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AVR/
H A DAVRRegisterInfo.td31 def sub_lo : SubRegIndex<8>;
32 def sub_hi : SubRegIndex<8, 8>;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DTargetRegisterInfo.cpp669 void TargetRegisterInfo::dumpReg(Register Reg, unsigned SubRegIndex, in dumpReg() argument
671 dbgs() << printReg(Reg, TRI, SubRegIndex) << "\n"; in dumpReg()
/netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/
H A DCodeGenRegisters.cpp1546 for (const auto &SubRegIndex : SubRegIndices) { in computeSubRegLaneMasks() local
1547 if (RegClass.getSubClassWithSubReg(&SubRegIndex) == nullptr) in computeSubRegLaneMasks()
1549 LaneMask |= SubRegIndex.LaneMask; in computeSubRegLaneMasks()
2065 CodeGenSubRegIndex *SubRegIndex = S.first; in computeRegUnitLaneMasks() local
2067 LaneBitmask LaneMask = SubRegIndex->LaneMask; in computeRegUnitLaneMasks()

12