Home
last modified time | relevance | path

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

/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsMCCodeEmitter.cpp97 static void LowerDins(MCInst& InstIn) { in LowerDins() argument
98 assert(InstIn.getNumOperands() == 5 && in LowerDins()
101 assert(InstIn.getOperand(2).isImm()); in LowerDins()
102 int64_t pos = InstIn.getOperand(2).getImm(); in LowerDins()
103 assert(InstIn.getOperand(3).isImm()); in LowerDins()
104 int64_t size = InstIn.getOperand(3).getImm(); in LowerDins()
110 InstIn.getOperand(2).setImm(pos - 32); in LowerDins()
111 InstIn.setOpcode(Mips::DINSU); in LowerDins()
116 InstIn.getOperand(3).setImm(size - 32); in LowerDins()
117 InstIn.setOpcode(Mips::DINSM); in LowerDins()