Home
last modified time | relevance | path

Searched refs:ImmOpnd (Results 1 – 24 of 24) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsAnalyzeImmediate.cpp19 MipsAnalyzeImmediate::Inst::Inst(unsigned O, unsigned I) : Opc(O), ImmOpnd(I) {} in Inst()
94 (Seq[1].Opc != SLL) || (Seq[1].ImmOpnd < 16)) in ReplaceADDiuSLLWithLUi()
98 int64_t Imm = SignExtend64<16>(Seq[0].ImmOpnd); in ReplaceADDiuSLLWithLUi()
99 int64_t ShiftedImm = (uint64_t)Imm << (Seq[1].ImmOpnd - 16); in ReplaceADDiuSLLWithLUi()
106 Seq[0].ImmOpnd = (unsigned)(ShiftedImm & 0xffff); in ReplaceADDiuSLLWithLUi()
DMipsAnalyzeImmediate.h21 unsigned Opc, ImmOpnd; member
23 Inst(unsigned Opc, unsigned ImmOpnd);
DMipsSEISelDAGToDAG.cpp843 SDValue ImmOpnd = CurDAG->getTargetConstant(SignExtend64<16>(Inst->ImmOpnd), in trySelect() local
850 RegOpnd = CurDAG->getMachineNode(Inst->Opc, DL, MVT::i64, ImmOpnd); in trySelect()
855 ImmOpnd); in trySelect()
859 ImmOpnd = CurDAG->getTargetConstant(SignExtend64<16>(Inst->ImmOpnd), DL, in trySelect()
862 SDValue(RegOpnd, 0), ImmOpnd); in trySelect()
DMipsSEInstrInfo.cpp628 BuildMI(MBB, II, DL, get(LUi), Reg).addImm(SignExtend64<16>(Inst->ImmOpnd)); in loadImmediate()
631 .addImm(SignExtend64<16>(Inst->ImmOpnd)); in loadImmediate()
636 .addImm(SignExtend64<16>(Inst->ImmOpnd)); in loadImmediate()
639 *NewImm = Inst->ImmOpnd; in loadImmediate()
DMips32r6InstrInfo.td315 Operand ImmOpnd, InstrItinClass itin>
318 dag InOperandList = (ins ImmOpnd:$imm);
330 Operand ImmOpnd, InstrItinClass itin>
333 dag InOperandList = (ins GPROpnd:$rs, GPROpnd:$rt, ImmOpnd:$bp);
747 Operand ImmOpnd, InstrItinClass itin>
750 dag InOperandList = (ins GPROpnd:$rs, GPROpnd:$rt, ImmOpnd:$imm2);
DMicroMips32r6InstrInfo.td511 Operand ImmOpnd, InstrItinClass Itin>
514 dag InOperandList = (ins GPROpnd:$rs, GPROpnd:$rt, ImmOpnd:$bp);
547 Operand ImmOpnd, InstrItinClass Itin>
550 dag InOperandList = (ins GPROpnd:$rs, GPROpnd:$rt, ImmOpnd:$imm2);
559 Operand ImmOpnd, InstrItinClass Itin>
562 dag InOperandList = (ins ImmOpnd:$imm);
DMicroMipsDSPInstrInfo.td218 RegisterOperand RO, Operand ImmOpnd> {
220 dag InOperandList = (ins RO:$rs, ImmOpnd:$sa);
DMipsDSPInstrInfo.td350 RegisterOperand RO, Operand ImmOpnd> {
352 dag InOperandList = (ins RO:$rt, ImmOpnd:$rs_sa);
DMicroMipsInstrInfo.td344 class ShiftIMM16<string opstr, Operand ImmOpnd, RegisterOperand RO,
346 MicroMipsInst16<(outs RO:$rd), (ins RO:$rt, ImmOpnd:$shamt),
DMipsInstrInfo.td1402 class shift_rotate_imm<string opstr, Operand ImmOpnd,
1406 InstSE<(outs RO:$rd), (ins RO:$rt, ImmOpnd:$shamt),
/external/llvm/lib/Target/Mips/
DMipsAnalyzeImmediate.cpp15 MipsAnalyzeImmediate::Inst::Inst(unsigned O, unsigned I) : Opc(O), ImmOpnd(I) {} in Inst()
90 (Seq[1].Opc != SLL) || (Seq[1].ImmOpnd < 16)) in ReplaceADDiuSLLWithLUi()
94 int64_t Imm = SignExtend64<16>(Seq[0].ImmOpnd); in ReplaceADDiuSLLWithLUi()
95 int64_t ShiftedImm = (uint64_t)Imm << (Seq[1].ImmOpnd - 16); in ReplaceADDiuSLLWithLUi()
102 Seq[0].ImmOpnd = (unsigned)(ShiftedImm & 0xffff); in ReplaceADDiuSLLWithLUi()
DMipsAnalyzeImmediate.h20 unsigned Opc, ImmOpnd; member
21 Inst(unsigned Opc, unsigned ImmOpnd);
DMipsSEISelDAGToDAG.cpp788 SDValue ImmOpnd = CurDAG->getTargetConstant(SignExtend64<16>(Inst->ImmOpnd), in trySelect() local
795 RegOpnd = CurDAG->getMachineNode(Inst->Opc, DL, MVT::i64, ImmOpnd); in trySelect()
800 ImmOpnd); in trySelect()
804 ImmOpnd = CurDAG->getTargetConstant(SignExtend64<16>(Inst->ImmOpnd), DL, in trySelect()
807 SDValue(RegOpnd, 0), ImmOpnd); in trySelect()
DMicroMips64r6InstrInfo.td118 Operand ImmOpnd> : MMR6Arch<instr_asm>, MipsR6Inst {
120 dag InOperandList = (ins GPROpnd:$rs, GPROpnd:$rt, ImmOpnd:$bp);
224 class SHIFT_ROTATE_IMM_MM64R6<string instr_asm, Operand ImmOpnd,
229 dag InOperandList = (ins GPR64Opnd:$rs, ImmOpnd:$sa);
DMipsSEInstrInfo.cpp492 BuildMI(MBB, II, DL, get(LUi), Reg).addImm(SignExtend64<16>(Inst->ImmOpnd)); in loadImmediate()
495 .addImm(SignExtend64<16>(Inst->ImmOpnd)); in loadImmediate()
500 .addImm(SignExtend64<16>(Inst->ImmOpnd)); in loadImmediate()
503 *NewImm = Inst->ImmOpnd; in loadImmediate()
DMips32r6InstrInfo.td276 Operand ImmOpnd, InstrItinClass itin>
279 dag InOperandList = (ins ImmOpnd:$imm);
291 Operand ImmOpnd, InstrItinClass itin>
294 dag InOperandList = (ins GPROpnd:$rs, GPROpnd:$rt, ImmOpnd:$bp);
668 Operand ImmOpnd, InstrItinClass itin>
671 dag InOperandList = (ins GPROpnd:$rs, GPROpnd:$rt, ImmOpnd:$imm2);
DMicroMips32r6InstrInfo.td508 Operand ImmOpnd> : MMR6Arch<instr_asm> {
510 dag InOperandList = (ins GPROpnd:$rs, GPROpnd:$rt, ImmOpnd:$bp);
541 Operand ImmOpnd> : MMR6Arch<instr_asm> {
543 dag InOperandList = (ins GPROpnd:$rs, GPROpnd:$rt, ImmOpnd:$imm2);
551 Operand ImmOpnd> : MMR6Arch<instr_asm> {
553 dag InOperandList = (ins ImmOpnd:$imm);
DMicroMipsDSPInstrInfo.td218 RegisterOperand RO, Operand ImmOpnd> {
220 dag InOperandList = (ins RO:$rs, ImmOpnd:$sa);
DMicroMipsInstrInfo.td336 class ShiftIMM16<string opstr, Operand ImmOpnd, RegisterOperand RO,
338 MicroMipsInst16<(outs RO:$rd), (ins RO:$rt, ImmOpnd:$shamt),
DMipsDSPInstrInfo.td349 RegisterOperand RO, Operand ImmOpnd> {
351 dag InOperandList = (ins RO:$rt, ImmOpnd:$rs_sa);
DMipsInstrInfo.td1138 class shift_rotate_imm<string opstr, Operand ImmOpnd,
1142 InstSE<(outs RO:$rd), (ins RO:$rt, ImmOpnd:$shamt),
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp6211 SDValue ImmOpnd = Base.getOperand(1); in PeepholePPC64() local
6218 if (GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(ImmOpnd)) { in PeepholePPC64()
6243 if (HImmOpnd != ImmOpnd) in PeepholePPC64()
6254 if (auto *C = dyn_cast<ConstantSDNode>(ImmOpnd)) { in PeepholePPC64()
6263 ImmOpnd = CurDAG->getTargetConstant(Offset, SDLoc(ImmOpnd), in PeepholePPC64()
6264 ImmOpnd.getValueType()); in PeepholePPC64()
6283 if (GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(ImmOpnd)) { in PeepholePPC64()
6293 ImmOpnd = CurDAG->getTargetGlobalAddress(GV, dl, MVT::i64, Offset, Flags); in PeepholePPC64()
6295 dyn_cast<ConstantPoolSDNode>(ImmOpnd)) { in PeepholePPC64()
6297 ImmOpnd = CurDAG->getTargetConstantPool(C, MVT::i64, in PeepholePPC64()
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp4365 SDValue ImmOpnd = Base.getOperand(1); in PeepholePPC64() local
4367 if (GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(ImmOpnd)) { in PeepholePPC64()
4389 if (GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(ImmOpnd)) { in PeepholePPC64()
4400 ImmOpnd = CurDAG->getTargetGlobalAddress(GV, dl, MVT::i64, Offset, Flags); in PeepholePPC64()
4402 dyn_cast<ConstantPoolSDNode>(ImmOpnd)) { in PeepholePPC64()
4404 ImmOpnd = CurDAG->getTargetConstantPool(C, MVT::i64, in PeepholePPC64()
4411 (void)CurDAG->UpdateNodeOperands(N, N->getOperand(0), ImmOpnd, in PeepholePPC64()
4414 (void)CurDAG->UpdateNodeOperands(N, ImmOpnd, Base.getOperand(0), in PeepholePPC64()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/
DRISCVInstrInfoC.td251 Operand ImmOpnd>
252 : RVInst16CB<0b100, 0b01, (outs cls:$rs1_wb), (ins cls:$rs1, ImmOpnd:$imm),