Home
last modified time | relevance | path

Searched refs:AluOp (Results 1 – 12 of 12) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_alu_defines.cpp31 const std::map<EAluOp, AluOp> alu_ops = {
32 {op0_nop ,AluOp(0, 0, AluOp::a, AluOp::a, AluOp::a, "NOP")},
33 {op0_group_barrier ,AluOp(0, 0, AluOp::a, AluOp::a, AluOp::a, "GROUP_BARRIER")},
34 {op0_group_seq_begin ,AluOp(0, 0, AluOp::a, AluOp::a, AluOp::a, "GROUP_SEQ_BEGIN")},
35 {op0_group_seq_end ,AluOp(0, 0, AluOp::a, AluOp::a, AluOp::a, "GROUP_SEQ_END")},
36 {op0_pred_set_clr ,AluOp(0, 1, AluOp::a, AluOp::a, AluOp::a, "PRED_SET_CLR")},
37 {op0_store_flags ,AluOp(0, 0, AluOp::v, AluOp::v, AluOp::v, "STORE_FLAGS")},
38 {op0_lds_1a ,AluOp(0, 0, AluOp::v, AluOp::v, AluOp::v, "LDS_1A")},
39 {op0_lds_1a1d ,AluOp(0, 0, AluOp::v, AluOp::v, AluOp::v, "LDS_1A1D")},
40 {op0_lds_2a ,AluOp(0, 0, AluOp::v, AluOp::v, AluOp::v, "LDS_2A")},
[all …]
Dsfn_alu_defines.h306 struct AluOp { struct
315 AluOp(int ns, int f, uint8_t um_r600, uint8_t um_r700, uint8_t um_eg, const char *n): in AluOp() argument
334 extern const std::map<EAluOp, AluOp> alu_ops; argument
Dsfn_instr_alugroup.cpp66 assert(opinfo->second.can_channel(AluOp::t, s_chip_class)); in add_instruction()
85 opinfo->second.can_channel(AluOp::t, s_chip_class) && in add_instruction()
111 if (!opinfo->second.can_channel(AluOp::t, s_chip_class)) in add_trans_instructions()
Dsfn_scheduler.cpp830 if (opinfo->second.can_channel(AluOp::t, m_chip_class) && in collect_ready_alu_vec()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiAluCode.h48 inline static unsigned encodeLanaiAluCode(unsigned AluOp) { in encodeLanaiAluCode() argument
50 return AluOp & OP_ENCODING_MASK; in encodeLanaiAluCode()
53 inline static unsigned getAluOp(unsigned AluOp) { in getAluOp() argument
55 return AluOp & ALU_MASK; in getAluOp()
58 inline static bool isPreOp(unsigned AluOp) { return AluOp & Lanai_PRE_OP; } in isPreOp() argument
60 inline static bool isPostOp(unsigned AluOp) { return AluOp & Lanai_POST_OP; } in isPostOp() argument
62 inline static unsigned makePreOp(unsigned AluOp) { in makePreOp() argument
63 assert(!isPostOp(AluOp) && "Operator can't be a post- and pre-op"); in makePreOp()
64 return AluOp | Lanai_PRE_OP; in makePreOp()
67 inline static unsigned makePostOp(unsigned AluOp) { in makePostOp() argument
[all …]
DLanaiISelDAGToDAG.cpp78 SDValue &AluOp);
79 bool selectAddrRr(SDValue Addr, SDValue &R1, SDValue &R2, SDValue &AluOp);
82 SDValue &AluOp);
91 SDValue &AluOp, bool RiMode);
122 SDValue &Offset, SDValue &AluOp, in selectAddrRiSpls() argument
133 AluOp = CurDAG->getTargetConstant(LPAC::ADD, DL, MVT::i32); in selectAddrRiSpls()
146 AluOp = CurDAG->getTargetConstant(LPAC::ADD, DL, MVT::i32); in selectAddrRiSpls()
158 AluOp = CurDAG->getTargetConstant(LPAC::ADD, DL, MVT::i32); in selectAddrRiSpls()
170 AluOp = CurDAG->getTargetConstant(LPAC::ADD, DL, MVT::i32); in selectAddrRiSpls()
197 AluOp = CurDAG->getTargetConstant(LPAC::ADD, DL, MVT::i32); in selectAddrRiSpls()
[all …]
DLanaiInstrInfo.td174 def AluOp : Operand<i32> {
192 let MIOperandInfo = (ops GPR:$base, i32lo16s:$offset, AluOp:$Opcode);
204 let MIOperandInfo = (ops GPR:$Op1, GPR:$Op2, AluOp:$Opcode);
226 let MIOperandInfo = (ops GPR:$base, imm10:$offset, AluOp:$Opcode);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/MCTargetDesc/
DLanaiMCCodeEmitter.cpp137 const MCOperand AluOp = Inst.getOperand(3); in adjustPqBits() local
138 unsigned AluCode = AluOp.getImm(); in adjustPqBits()
191 const MCOperand AluOp = Inst.getOperand(OpNo + 2); in getRiMemoryOpValue() local
196 assert((LPAC::getAluOp(AluOp.getImm()) == LPAC::ADD) && in getRiMemoryOpValue()
206 if (LPAC::isPreOp(AluOp.getImm())) in getRiMemoryOpValue()
208 if (LPAC::isPostOp(AluOp.getImm())) in getRiMemoryOpValue()
232 unsigned AluOp = AluMCOp.getImm(); in getRrMemoryOpValue() local
233 Encoding |= LPAC::encodeLanaiAluCode(AluOp) << 5; in getRrMemoryOpValue()
235 if (LPAC::isPreOp(AluOp)) in getRrMemoryOpValue()
237 if (LPAC::isPostOp(AluOp)) in getRrMemoryOpValue()
[all …]
DLanaiInstPrinter.cpp242 const MCOperand &AluOp = MI->getOperand(OpNo + 2); in printMemRiOperand() local
243 const unsigned AluCode = AluOp.getImm(); in printMemRiOperand()
257 const MCOperand &AluOp = MI->getOperand(OpNo + 2); in printMemRrOperand() local
258 const unsigned AluCode = AluOp.getImm(); in printMemRrOperand()
278 const MCOperand &AluOp = MI->getOperand(OpNo + 2); in printMemSplsOperand() local
279 const unsigned AluCode = AluOp.getImm(); in printMemSplsOperand()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/Disassembler/
DLanaiDisassembler.cpp91 unsigned AluOp = LPAC::ADD; in PostOperandDecodeAdjust() local
101 AluOp = (Insn >> 8) & 0x7; in PostOperandDecodeAdjust()
102 if (AluOp == 7) in PostOperandDecodeAdjust()
105 AluOp |= 0x20 | (((Insn >> 3) & 0xf) << 1); in PostOperandDecodeAdjust()
119 AluOp = LPAC::makePostOp(AluOp); in PostOperandDecodeAdjust()
124 AluOp = LPAC::makePreOp(AluOp); in PostOperandDecodeAdjust()
127 Instr.addOperand(MCOperand::createImm(AluOp)); in PostOperandDecodeAdjust()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/AsmParser/
DLanaiAsmParser.cpp131 unsigned AluOp; member
186 return Mem.AluOp; in getMemOp()
615 Op->Mem.AluOp = LPAC::ADD; in MorphToMemImm()
623 unsigned AluOp) { in MorphToMemRegReg()
627 Op->Mem.AluOp = AluOp; in MorphToMemRegReg()
635 unsigned AluOp) { in MorphToMemRegImm()
639 Op->Mem.AluOp = AluOp; in MorphToMemRegImm()
886 unsigned AluOp = LPAC::ADD; in parseMemoryOperand() local
966 AluOp = parseAluOperator(PreOp, PostOp); in parseMemoryOperand()
979 AluOp = AluWithPrePost(AluOp, PreOp, PostOp); in parseMemoryOperand()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBPFISelDAGToDAG.cpp173 SDValue AluOp = CurDAG->getTargetConstant(ISD::ADD, DL, MVT::i32);; in SelectInlineAsmMemoryOperand() local
176 OutOps.push_back(AluOp); in SelectInlineAsmMemoryOperand()