Home
last modified time | relevance | path

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

/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsMCCodeEmitter.cpp85 static void LowerDextDins(MCInst& InstIn) { in LowerDextDins() argument
86 int Opcode = InstIn.getOpcode(); in LowerDextDins()
89 assert(InstIn.getNumOperands() == 4 && in LowerDextDins()
92 assert(InstIn.getNumOperands() == 5 && in LowerDextDins()
95 assert(InstIn.getOperand(2).isImm()); in LowerDextDins()
96 int64_t pos = InstIn.getOperand(2).getImm(); in LowerDextDins()
97 assert(InstIn.getOperand(3).isImm()); in LowerDextDins()
98 int64_t size = InstIn.getOperand(3).getImm(); in LowerDextDins()
104 InstIn.getOperand(2).setImm(pos - 32); in LowerDextDins()
105 InstIn.setOpcode((Opcode == Mips::DEXT) ? Mips::DEXTU : Mips::DINSU); in LowerDextDins()
[all …]