Home
last modified time | relevance | path

Searched refs:imm0 (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_peephole.cpp520 ImmediateValue &imm0, ImmediateValue &imm1) in expr() argument
522 struct Storage *const a = &imm0.reg, *const b = &imm1.reg; in expr()
740 ImmediateValue &imm0, in expr() argument
744 struct Storage *const a = &imm0.reg, *const b = &imm1.reg, *const c = &imm2.reg; in expr()
931 ConstantFolding::opnd(Instruction *i, ImmediateValue &imm0, int s) in opnd() argument
947 uint64_t val = imm0.reg.data.u64; in opnd()
960 tryCollapseChainedMULs(i, s, imm0); in opnd()
964 if (imm0.isInteger(1) && i->dType == TYPE_S32) { in opnd()
970 } else if (imm0.isInteger(0) || imm0.isInteger(1)) { in opnd()
978 } else if (!imm0.isNegative() && imm0.isPow2()) { in opnd()
[all …]
/external/mesa3d/src/gallium/state_trackers/xa/
Dxa_tgsi.c386 struct ureg_src imm0, in xrender_tex() argument
397 TGSI_SWIZZLE_Y), ureg_scalar(imm0, in xrender_tex()
401 TGSI_SWIZZLE_X, TGSI_SWIZZLE_Y), ureg_scalar(imm0, in xrender_tex()
415 ureg_scalar(imm0, TGSI_SWIZZLE_W)); in xrender_tex()
435 ureg_scalar(imm0, TGSI_SWIZZLE_W)); in xrender_tex()
447 struct ureg_src imm0 = { 0 }; in create_fs() local
484 imm0 = ureg_imm4f(ureg, 0, 0, 0, 1); in create_fs()
532 xrender_tex(ureg, src, src_input, src_sampler, imm0, in create_fs()
569 ureg_scalar(imm0, TGSI_SWIZZLE_X)); in create_fs()
576 xrender_tex(ureg, mask, mask_pos, mask_sampler, imm0, in create_fs()
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/AArch64/
DAArch64GenFastISel.inc8808 unsigned fastEmit_ISD_Constant_MVT_i32_i(MVT RetVT, uint64_t imm0) {
8811 return fastEmitInst_i(AArch64::MOVi32imm, &AArch64::GPR32RegClass, imm0);
8814 unsigned fastEmit_ISD_Constant_MVT_i64_i(MVT RetVT, uint64_t imm0) {
8817 return fastEmitInst_i(AArch64::MOVi64imm, &AArch64::GPR64RegClass, imm0);
8820 unsigned fastEmit_ISD_Constant_i(MVT VT, MVT RetVT, uint64_t imm0) {
8822 case MVT::i32: return fastEmit_ISD_Constant_MVT_i32_i(RetVT, imm0);
8823 case MVT::i64: return fastEmit_ISD_Constant_MVT_i64_i(RetVT, imm0);
8830 unsigned fastEmit_i(MVT VT, MVT RetVT, unsigned Opcode, uint64_t imm0) override {
8831 if (VT == MVT::i32 && Predicate_imm0_255(imm0))
8832 if (unsigned Reg = fastEmit_i_Predicate_imm0_255(VT, RetVT, Opcode, imm0))
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86GenFastISel.inc4858 unsigned FastEmit_ISD_Constant_MVT_i8_i(MVT RetVT, uint64_t imm0) {
4861 return FastEmitInst_i(X86::MOV8ri, X86::GR8RegisterClass, imm0);
4864 unsigned FastEmit_ISD_Constant_MVT_i16_i(MVT RetVT, uint64_t imm0) {
4867 return FastEmitInst_i(X86::MOV16ri, X86::GR16RegisterClass, imm0);
4870 unsigned FastEmit_ISD_Constant_MVT_i32_i(MVT RetVT, uint64_t imm0) {
4873 return FastEmitInst_i(X86::MOV32ri, X86::GR32RegisterClass, imm0);
4876 unsigned FastEmit_ISD_Constant_MVT_i64_i(MVT RetVT, uint64_t imm0) {
4879 return FastEmitInst_i(X86::MOV64ri, X86::GR64RegisterClass, imm0);
4882 unsigned FastEmit_ISD_Constant_i(MVT VT, MVT RetVT, uint64_t imm0) {
4884 case MVT::i8: return FastEmit_ISD_Constant_MVT_i8_i(RetVT, imm0);
[all …]
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/Mips/
DMipsGenFastISel.inc3993 unsigned fastEmit_ISD_Constant_MVT_i32_i(MVT RetVT, uint64_t imm0) {
3997 return fastEmitInst_i(Mips::LwConstant32, &Mips::CPU16RegsRegClass, imm0);
4002 unsigned fastEmit_ISD_Constant_i(MVT VT, MVT RetVT, uint64_t imm0) {
4004 case MVT::i32: return fastEmit_ISD_Constant_MVT_i32_i(RetVT, imm0);
4011 unsigned fastEmit_i(MVT VT, MVT RetVT, unsigned Opcode, uint64_t imm0) override {
4013 case ISD::Constant: return fastEmit_ISD_Constant_i(VT, RetVT, imm0);
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/ARM/
DARMGenFastISel.inc6741 unsigned fastEmit_ISD_Constant_MVT_i32_i(MVT RetVT, uint64_t imm0) {
6745 return fastEmitInst_i(ARM::t2MOVi32imm, &ARM::rGPRRegClass, imm0);
6750 unsigned fastEmit_ISD_Constant_i(MVT VT, MVT RetVT, uint64_t imm0) {
6752 case MVT::i32: return fastEmit_ISD_Constant_MVT_i32_i(RetVT, imm0);
6759 unsigned fastEmit_i(MVT VT, MVT RetVT, unsigned Opcode, uint64_t imm0) override {
6761 case ISD::Constant: return fastEmit_ISD_Constant_i(VT, RetVT, imm0);
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/X86/
DX86GenFastISel.inc14947 unsigned fastEmit_ISD_Constant_MVT_i8_i(MVT RetVT, uint64_t imm0) {
14950 return fastEmitInst_i(X86::MOV8ri, &X86::GR8RegClass, imm0);
14953 unsigned fastEmit_ISD_Constant_MVT_i16_i(MVT RetVT, uint64_t imm0) {
14956 return fastEmitInst_i(X86::MOV16ri, &X86::GR16RegClass, imm0);
14959 unsigned fastEmit_ISD_Constant_i(MVT VT, MVT RetVT, uint64_t imm0) {
14961 case MVT::i8: return fastEmit_ISD_Constant_MVT_i8_i(RetVT, imm0);
14962 case MVT::i16: return fastEmit_ISD_Constant_MVT_i16_i(RetVT, imm0);
14969 unsigned fastEmit_i(MVT VT, MVT RetVT, unsigned Opcode, uint64_t imm0) override {
14971 case ISD::Constant: return fastEmit_ISD_Constant_i(VT, RetVT, imm0);