/external/llvm/lib/Target/ARM/ |
D | ARMInstrVFP.td | 105 def VLDRS : ASI5<0b1101, 0b01, (outs SPR:$Sd), (ins addrmode5:$addr), 107 [(set SPR:$Sd, (alignedload32 addrmode5:$addr))]> { 113 def VLDRH : AHI5<0b1101, 0b01, (outs SPR:$Sd), (ins addrmode5fp16:$addr), 124 def VSTRS : ASI5<0b1101, 0b00, (outs), (ins SPR:$Sd, addrmode5:$addr), 126 [(alignedstore32 SPR:$Sd, addrmode5:$addr)]> { 132 def VSTRH : AHI5<0b1101, 0b00, (outs), (ins SPR:$Sd, addrmode5fp16:$addr), 343 (outs SPR:$Sd), (ins SPR:$Sn, SPR:$Sm), 345 [(set SPR:$Sd, (fadd SPR:$Sn, SPR:$Sm))]> { 353 (outs SPR:$Sd), (ins SPR:$Sn, SPR:$Sm), 365 (outs SPR:$Sd), (ins SPR:$Sn, SPR:$Sm), [all …]
|
D | ARMRegisterInfo.td | 272 def SPR : RegisterClass<"ARM", [f32], 32, (sequence "S%u", 0, 31)> { 273 let AltOrders = [(add (decimate SPR, 2), SPR), 274 (add (decimate SPR, 4), 275 (decimate SPR, 2), 276 (decimate (rotl SPR, 1), 4), 277 (decimate (rotl SPR, 1), 2))]; 283 // Subset of SPR which can be used as a source of NEON scalars for 16-bit 303 // 32-bit SPR subregs). 320 // Subset of QPR that have 32-bit SPR subregs.
|
D | ARMInstrNEON.td | 4219 def : Pat<(v2f32 (fmul DPR:$Rn, (NEONvdup (f32 SPR:$Rm)))), 4221 (INSERT_SUBREG (v2f32 (IMPLICIT_DEF)), SPR:$Rm, ssub_0), 4223 def : Pat<(v4f32 (fmul QPR:$Rn, (NEONvdup (f32 SPR:$Rm)))), 4225 (INSERT_SUBREG (v2f32 (IMPLICIT_DEF)), SPR:$Rm, ssub_0), 5935 def : Pat<(v2f32 (insertelt DPR:$src1, SPR:$src2, imm:$src3)), 5937 SPR:$src2, (SSubReg_f32_reg imm:$src3))>; 5938 def : Pat<(v4f32 (insertelt QPR:$src1, SPR:$src2, imm:$src3)), 5940 SPR:$src2, (SSubReg_f32_reg imm:$src3))>; 5947 def : Pat<(v2f32 (scalar_to_vector SPR:$src)), 5948 (INSERT_SUBREG (v2f32 (IMPLICIT_DEF)), SPR:$src, ssub_0)>; [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMInstrVFP.td | 125 def VLDRS : ASI5<0b1101, 0b01, (outs SPR:$Sd), (ins addrmode5:$addr), 127 [(set SPR:$Sd, (alignedload32 addrmode5:$addr))]> { 144 def VSTRS : ASI5<0b1101, 0b00, (outs), (ins SPR:$Sd, addrmode5:$addr), 146 [(alignedstore32 SPR:$Sd, addrmode5:$addr)]> { 344 (outs SPR:$Sd), (ins SPR:$Sn, SPR:$Sm), 346 [(set SPR:$Sd, (fadd SPR:$Sn, SPR:$Sm))]>, 369 (outs SPR:$Sd), (ins SPR:$Sn, SPR:$Sm), 371 [(set SPR:$Sd, (fsub SPR:$Sn, SPR:$Sm))]>, 394 (outs SPR:$Sd), (ins SPR:$Sn, SPR:$Sm), 396 [(set SPR:$Sd, (fdiv SPR:$Sn, SPR:$Sm))]>, [all …]
|
D | ARMRegisterInfo.td | 298 def SPR : RegisterClass<"ARM", [f32], 32, (sequence "S%u", 0, 31)> { 299 let AltOrders = [(add (decimate SPR, 2), SPR), 300 (add (decimate SPR, 4), 301 (decimate SPR, 2), 302 (decimate (rotl SPR, 1), 4), 303 (decimate (rotl SPR, 1), 2))]; 311 let AltOrders = [(add (decimate HPR, 2), SPR), 322 // Subset of SPR which can be used as a source of NEON scalars for 16-bit 345 // 32-bit SPR subregs). 367 // Subset of QPR that have 32-bit SPR subregs.
|
D | ARMRegisterBanks.td | 14 def FPRRegBank : RegisterBank<"FPRB", [HPR, SPR, DPR, QPR]>;
|
D | ARMInstrNEON.td | 4310 def : Pat<(v2f32 (fmul DPR:$Rn, (NEONvdup (f32 SPR:$Rm)))), 4312 (INSERT_SUBREG (v2f32 (IMPLICIT_DEF)), SPR:$Rm, ssub_0), 4314 def : Pat<(v4f32 (fmul QPR:$Rn, (NEONvdup (f32 SPR:$Rm)))), 4316 (INSERT_SUBREG (v2f32 (IMPLICIT_DEF)), SPR:$Rm, ssub_0), 6210 def : Pat<(v2f32 (insertelt DPR:$src1, SPR:$src2, imm:$src3)), 6212 SPR:$src2, (SSubReg_f32_reg imm:$src3))>; 6213 def : Pat<(v4f32 (insertelt QPR:$src1, SPR:$src2, imm:$src3)), 6215 SPR:$src2, (SSubReg_f32_reg imm:$src3))>; 6222 def : Pat<(v2f32 (scalar_to_vector SPR:$src)), 6223 (INSERT_SUBREG (v2f32 (IMPLICIT_DEF)), SPR:$src, ssub_0)>; [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/ |
D | PPCRegisterInfo.td | 48 // SPR - One of the 32-bit special-purpose registers 49 class SPR<bits<10> num, string n> : PPCReg<n> { 213 def LR : SPR<8, "lr">, DwarfRegNum<[-2, 65]>; 215 def LR8 : SPR<8, "lr">, DwarfRegNum<[65, -2]>; 218 def CTR : SPR<9, "ctr">, DwarfRegNum<[-2, 66]>; 219 def CTR8 : SPR<9, "ctr">, DwarfRegNum<[66, -2]>; 222 def VRSAVE: SPR<256, "vrsave">, DwarfRegNum<[109]>; 228 def SPEFSCR: SPR<512, "spefscr">, DwarfRegNum<[612, 112]>; 230 def XER: SPR<1, "xer">, DwarfRegNum<[76]>; 233 // (which really is SPR register 1); this is the only bit interesting to a [all …]
|
D | PPCInstrFormats.td | 1553 bits<10> SPR; 1556 let Inst{11} = SPR{4}; 1557 let Inst{12} = SPR{3}; 1558 let Inst{13} = SPR{2}; 1559 let Inst{14} = SPR{1}; 1560 let Inst{15} = SPR{0}; 1561 let Inst{16} = SPR{9}; 1562 let Inst{17} = SPR{8}; 1563 let Inst{18} = SPR{7}; 1564 let Inst{19} = SPR{6}; [all …]
|
D | PPCInstr64Bit.td | 363 def MFSPR8 : XFXForm_1<31, 339, (outs g8rc:$RT), (ins i32imm:$SPR), 364 "mfspr $RT, $SPR", IIC_SprMFSPR>; 365 def MTSPR8 : XFXForm_1<31, 467, (outs), (ins i32imm:$SPR, g8rc:$RT), 366 "mtspr $SPR, $RT", IIC_SprMTSPR>; 370 // 64-bit SPR manipulation instrs.
|
D | PPCInstrInfo.td | 2529 def MFSPR : XFXForm_1<31, 339, (outs gprc:$RT), (ins i32imm:$SPR), 2530 "mfspr $RT, $SPR", IIC_SprMFSPR>; 2531 def MTSPR : XFXForm_1<31, 467, (outs), (ins i32imm:$SPR, gprc:$RT), 2532 "mtspr $SPR, $RT", IIC_SprMTSPR>; 2534 def MFTB : XFXForm_1<31, 371, (outs gprc:$RT), (ins i32imm:$SPR), 2535 "mftb $RT, $SPR", IIC_SprMFTB>; 2537 def MFPMR : XFXForm_1<31, 334, (outs gprc:$RT), (ins i32imm:$SPR), 2538 "mfpmr $RT, $SPR", IIC_SprMFPMR>; 2540 def MTPMR : XFXForm_1<31, 462, (outs), (ins i32imm:$SPR, gprc:$RT), 2541 "mtpmr $SPR, $RT", IIC_SprMTPMR>; [all …]
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCRegisterInfo.td | 42 // SPR - One of the 32-bit special-purpose registers 43 class SPR<bits<10> num, string n> : PPCReg<n> { 205 def LR : SPR<8, "lr">, DwarfRegNum<[-2, 65]>; 207 def LR8 : SPR<8, "lr">, DwarfRegNum<[65, -2]>; 210 def CTR : SPR<9, "ctr">, DwarfRegNum<[-2, 66]>; 211 def CTR8 : SPR<9, "ctr">, DwarfRegNum<[66, -2]>; 214 def VRSAVE: SPR<256, "vrsave">, DwarfRegNum<[109]>; 217 // (which really is SPR register 1); this is the only bit interesting to a 219 def CARRY: SPR<1, "ca">, DwarfRegNum<[76]>;
|
D | PPCInstrFormats.td | 1345 bits<10> SPR; 1348 let Inst{11} = SPR{4}; 1349 let Inst{12} = SPR{3}; 1350 let Inst{13} = SPR{2}; 1351 let Inst{14} = SPR{1}; 1352 let Inst{15} = SPR{0}; 1353 let Inst{16} = SPR{9}; 1354 let Inst{17} = SPR{8}; 1355 let Inst{18} = SPR{7}; 1356 let Inst{19} = SPR{6}; [all …]
|
D | PPCInstr64Bit.td | 356 def MFSPR8 : XFXForm_1<31, 339, (outs g8rc:$RT), (ins i32imm:$SPR), 357 "mfspr $RT, $SPR", IIC_SprMFSPR>; 358 def MTSPR8 : XFXForm_1<31, 467, (outs), (ins i32imm:$SPR, g8rc:$RT), 359 "mtspr $SPR, $RT", IIC_SprMTSPR>; 363 // 64-bit SPR manipulation instrs.
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/ARM/GlobalISel/ |
D | arm-select-copy_to_regclass-of-fptosi.mir | 8 # G_FPTOSI selects to a (COPY_TO_REGCLASS (VTOSIZS SPR:$a), GPR), where
|
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/ARM/ |
D | ARMGenDAGISel.inc | 9491 …// Src: (st (fp_to_sint:{ *:[i32] } SPR:{ *:[f32] }:$a), addrmode5:{ *:[i32] }:$ptr)<<P:Predicate_… 9492 … // Dst: (VSTRS (VTOSIZS:{ *:[f32] } SPR:{ *:[f32] }:$a), addrmode5:{ *:[i32] }:$ptr) 9537 …// Src: (st (fp_to_uint:{ *:[i32] } SPR:{ *:[f32] }:$a), addrmode5:{ *:[i32] }:$ptr)<<P:Predicate_… 9538 … // Dst: (VSTRS (VTOUIZS:{ *:[f32] } SPR:{ *:[f32] }:$a), addrmode5:{ *:[i32] }:$ptr) 9902 …// Src: (st SPR:{ *:[f32] }:$Sd, addrmode5:{ *:[i32] }:$addr)<<P:Predicate_unindexedstore>><<P:Pre… 9903 // Dst: (VSTRS SPR:{ *:[f32] }:$Sd, addrmode5:{ *:[i32] }:$addr) 12443 …v16i8] } 0:{ *:[i64] }, (COPY_TO_REGCLASS:{ *:[f32] } i32:{ *:[i32] }:$Rn, SPR:{ *:[i32] }), ssub_… 12452 … // Src: (intrinsic_wo_chain:{ *:[f32] } 1103:{ *:[iPTR] }, SPR:{ *:[f32] }:$Sm) - Complexity = 8 12453 // Dst: (VRINTNS:{ *:[f32] } SPR:{ *:[f32] }:$Sm) 12509 … // Src: (intrinsic_wo_chain:{ *:[f32] } 1218:{ *:[iPTR] }, SPR:{ *:[f32] }:$Sm) - Complexity = 8 [all …]
|
D | ARMGenGlobalISel.inc | 6776 … // (bitconvert:{ *:[i32] } SPR:{ *:[f32] }:$Sn) => (VMOVRS:{ *:[i32] } SPR:{ *:[f32] }:$Sn) 8655 …(intrinsic_wo_chain:{ *:[f32] } 1103:{ *:[iPTR] }, SPR:{ *:[f32] }:$Sm) => (VRINTNS:{ *:[f32] } … 8705 …(intrinsic_wo_chain:{ *:[f32] } 1218:{ *:[iPTR] }, SPR:{ *:[f32] }:$Sm) => (VTOSIRS:{ *:[f32] } … 8741 …(intrinsic_wo_chain:{ *:[f32] } 1219:{ *:[iPTR] }, SPR:{ *:[f32] }:$Sm) => (VTOUIRS:{ *:[f32] } … 21788 …// (fadd:{ *:[f32] } SPR:{ *:[f32] }:$Sn, SPR:{ *:[f32] }:$Sm) => (VADDS:{ *:[f32] } SPR:{ *:[f3… 22044 …// (fsub:{ *:[f32] } SPR:{ *:[f32] }:$Sn, SPR:{ *:[f32] }:$Sm) => (VSUBS:{ *:[f32] } SPR:{ *:[f3… 22301 …l:{ *:[f32] } (fneg:{ *:[f32] } SPR:{ *:[f32] }:$a), SPR:{ *:[f32] }:$b) => (VNMULS:{ *:[f32] } … 22321 …// (fmul:{ *:[f32] } SPR:{ *:[f32] }:$b, (fneg:{ *:[f32] } SPR:{ *:[f32] }:$a)) => (VNMULS:{ *:[… 22337 …// (fmul:{ *:[f32] } SPR:{ *:[f32] }:$Sn, SPR:{ *:[f32] }:$Sm) => (VMULS:{ *:[f32] } SPR:{ *:[f3… 22527 …SPR:{ *:[f32] }:$Sn), SPR:{ *:[f32] }:$Sm, (fneg:{ *:[f32] } SPR:{ *:[f32] }:$Sdin)) => (VFNMAS:… [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 801 SelectPatternResult SPR = matchSelectPattern(&Sel, LHS, RHS); in canonicalizeMinMaxWithConstant() local 802 if (!SelectPatternResult::isMinOrMax(SPR.Flavor)) in canonicalizeMinMaxWithConstant() 806 ICmpInst::Predicate CanonicalPred = getMinMaxPred(SPR.Flavor); in canonicalizeMinMaxWithConstant() 1764 SelectPatternResult SPR = matchSelectPattern(&SI, LHS, RHS, &CastOp); in visitSelectInst() local 1765 auto SPF = SPR.Flavor; in visitSelectInst() 1779 CmpInst::Predicate Pred = getMinMaxPred(SPF, SPR.Ordered); in visitSelectInst()
|
D | InstCombineCompares.cpp | 1325 SelectPatternResult SPR = matchSelectPattern(X, A, B); in foldICmpWithZero() local 1326 if (SPR.Flavor == SPF_SMIN) { in foldICmpWithZero() 4671 SelectPatternResult SPR = matchSelectPattern(SI, A, B); in visitICmpInst() local 4672 if (SPR.Flavor != SPF_UNKNOWN) in visitICmpInst() 5184 SelectPatternResult SPR = matchSelectPattern(SI, A, B); in visitFCmpInst() local 5185 if (SPR.Flavor != SPF_UNKNOWN) in visitFCmpInst()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 1105 SelectPatternResult SPR = matchSelectPattern(&SI, LHS, RHS, &CastOp); in visitSelectInst() local 1106 auto SPF = SPR.Flavor; in visitSelectInst() 1112 CmpInst::Predicate Pred = getCmpPredicateForMinMax(SPF, SPR.Ordered); in visitSelectInst()
|
/external/llvm/lib/Analysis/ |
D | LazyValueInfo.cpp | 914 SelectPatternResult SPR = matchSelectPattern(SI, LHS, RHS); in solveBlockValueSelect() local 917 if (SelectPatternResult::isMinOrMax(SPR.Flavor) && in solveBlockValueSelect() 919 switch (SPR.Flavor) { in solveBlockValueSelect()
|
/external/capstone/arch/ARM/ |
D | ARMGenAsmWriter.inc | 8799 // (FCONSTS SPR:$Sd, vfp_f32imm:$val, pred:$p) 9448 // (VADDS SPR:$Sd, SPR:$Sn, SPR:$Sm, pred:$p) 9830 // (VCMPZS SPR:$val, pred:$p) 9848 // (VLDRS SPR:$Sd, addrmode5:$addr, pred:$p) 9885 // (VMOVS SPR:$Sd, SPR:$Sm, pred:$p) 9947 // (VRINTAS SPR:$Sd, SPR:$Sm) 9991 // (VRINTMS SPR:$Sd, SPR:$Sm) 10035 // (VRINTNS SPR:$Sd, SPR:$Sm) 10079 // (VRINTPS SPR:$Sd, SPR:$Sm) 10101 // (VRINTRS SPR:$Sd, SPR:$Sm, pred:$p) [all …]
|
D | ARMGenRegisterInfo.inc | 1178 // SPR Register Class... 1179 static uint16_t SPR[] = { 1183 // SPR Bit set. 2179 { "SPR", SPR, SPRBits, 32, sizeof(SPRBits), ARM_SPRRegClassID, 4, 4, 1, 1 },
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | LazyValueInfo.cpp | 870 SelectPatternResult SPR = matchSelectPattern(SI, LHS, RHS); in solveBlockValueSelect() local 873 if (SelectPatternResult::isMinOrMax(SPR.Flavor) && in solveBlockValueSelect() 876 switch (SPR.Flavor) { in solveBlockValueSelect()
|
D | ValueTracking.cpp | 4453 SelectPatternResult SPR = matchClamp(Pred, CmpLHS, CmpRHS, TrueVal, FalseVal); in matchMinMax() local 4454 if (SPR.Flavor != SelectPatternFlavor::SPF_UNKNOWN) in matchMinMax() 4455 return SPR; in matchMinMax() 4457 SPR = matchMinMaxOfMinMax(Pred, CmpLHS, CmpRHS, TrueVal, FalseVal, Depth); in matchMinMax() 4458 if (SPR.Flavor != SelectPatternFlavor::SPF_UNKNOWN) in matchMinMax() 4459 return SPR; in matchMinMax()
|