Home
last modified time | relevance | path

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

/external/dexmaker/src/dx/java/com/android/dx/rop/code/
DRops.java35 new Rop(RegOps.NOP, Type.VOID, StdTypeList.EMPTY, "nop");
39 new Rop(RegOps.MOVE, Type.INT, StdTypeList.INT, "move-int");
43 new Rop(RegOps.MOVE, Type.LONG, StdTypeList.LONG, "move-long");
47 new Rop(RegOps.MOVE, Type.FLOAT, StdTypeList.FLOAT, "move-float");
51 new Rop(RegOps.MOVE, Type.DOUBLE, StdTypeList.DOUBLE, "move-double");
55 new Rop(RegOps.MOVE, Type.OBJECT, StdTypeList.OBJECT, "move-object");
64 new Rop(RegOps.MOVE, Type.RETURN_ADDRESS,
69 new Rop(RegOps.MOVE_PARAM, Type.INT, StdTypeList.EMPTY,
74 new Rop(RegOps.MOVE_PARAM, Type.LONG, StdTypeList.EMPTY,
79 new Rop(RegOps.MOVE_PARAM, Type.FLOAT, StdTypeList.EMPTY,
[all …]
DDexTranslationAdvice.java67 opcode.getOpcode() == RegOps.SUB) { in hasConstantOperation()
79 case RegOps.REM: in hasConstantOperation()
80 case RegOps.ADD: in hasConstantOperation()
81 case RegOps.MUL: in hasConstantOperation()
82 case RegOps.DIV: in hasConstantOperation()
83 case RegOps.AND: in hasConstantOperation()
84 case RegOps.OR: in hasConstantOperation()
85 case RegOps.XOR: in hasConstantOperation()
88 case RegOps.SHL: in hasConstantOperation()
89 case RegOps.SHR: in hasConstantOperation()
[all …]
DRegOps.java31 public final class RegOps { class
302 private RegOps() { in RegOps() method in RegOps
384 case RegOps.IF_EQ: in flippedIfOpcode()
385 case RegOps.IF_NE: in flippedIfOpcode()
387 case RegOps.IF_LT: in flippedIfOpcode()
388 return RegOps.IF_GT; in flippedIfOpcode()
389 case RegOps.IF_GE: in flippedIfOpcode()
390 return RegOps.IF_LE; in flippedIfOpcode()
391 case RegOps.IF_LE: in flippedIfOpcode()
392 return RegOps.IF_GE; in flippedIfOpcode()
[all …]
DRop.java254 sb.append(RegOps.opName(opcode)); in toString()
372 case RegOps.AND: in isCommutative()
373 case RegOps.OR: in isCommutative()
374 case RegOps.XOR: in isCommutative()
375 case RegOps.ADD: in isCommutative()
376 case RegOps.MUL: in isCommutative()
DPlainInsn.java131 if (opcode == RegOps.SUB && cst instanceof CstInteger) { in withSourceLiteral()
132 opcode = RegOps.ADD; in withSourceLiteral()
DInsn.java157 if (opcode.getOpcode() == RegOps.MARK_LOCAL) { in getLocalAssignment()
DBasicBlockList.java140 if (insn.getOpcode().getOpcode() != RegOps.MARK_LOCAL) { in getEffectiveInstructionCount()
/external/dexmaker/src/dx/java/com/android/dx/ssa/
DSCCP.java22 import com.android.dx.rop.code.RegOps;
276 case RegOps.IF_EQ: in simulateBranch()
279 case RegOps.IF_NE: in simulateBranch()
282 case RegOps.IF_LT: in simulateBranch()
285 case RegOps.IF_GE: in simulateBranch()
288 case RegOps.IF_LE: in simulateBranch()
291 case RegOps.IF_GT: in simulateBranch()
308 case RegOps.IF_EQ: in simulateBranch()
311 case RegOps.IF_NE: in simulateBranch()
314 case RegOps.IF_LT: in simulateBranch()
[all …]
DEscapeAnalysis.java24 import com.android.dx.rop.code.RegOps;
224 if (op == RegOps.MOVE_RESULT_PSEUDO && in processInsn()
229 } else if (op == RegOps.MOVE_PARAM && in processInsn()
235 } else if (op == RegOps.MOVE_RESULT && in processInsn()
261 case RegOps.NEW_INSTANCE: in processMoveResultPseudoInsn()
262 case RegOps.CONST: in processMoveResultPseudoInsn()
267 case RegOps.NEW_ARRAY: in processMoveResultPseudoInsn()
268 case RegOps.FILLED_NEW_ARRAY: in processMoveResultPseudoInsn()
282 case RegOps.GET_STATIC: in processMoveResultPseudoInsn()
287 case RegOps.CHECK_CAST: in processMoveResultPseudoInsn()
[all …]
DNormalSsaInsn.java143 if (insn.getOpcode().getOpcode() == RegOps.MARK_LOCAL) { in getLocalAssignment()
180 return insn.getOpcode().getOpcode() == RegOps.MOVE; in isNormalMoveInsn()
186 return insn.getOpcode().getOpcode() == RegOps.MOVE_EXCEPTION; in isMoveException()
228 case RegOps.MOVE_RESULT: in hasSideEffect()
229 case RegOps.MOVE: in hasSideEffect()
230 case RegOps.CONST: in hasSideEffect()
DLiteralOpUpgrader.java27 import com.android.dx.rop.code.RegOps;
114 RegOps.flippedIfOpcode(opcode.getOpcode()), null); in run()
152 opcode.getOpcode() != RegOps.CONST) { in tryReplacingWithConstant()
157 RegOps.CONST, (Constant) type); in tryReplacingWithConstant()
160 if (opcode.getOpcode() == RegOps.MOVE_RESULT_PSEUDO) { in tryReplacingWithConstant()
167 RegOps.GOTO, null); in tryReplacingWithConstant()
DMoveParamCombiner.java20 import com.android.dx.rop.code.RegOps;
68 if (insn.getOpcode().getOpcode() != RegOps.MOVE_PARAM) { in run()
DConstCollector.java22 import com.android.dx.rop.code.RegOps;
184 if (insn.getOpcode().getOpcode() == RegOps.MOVE_RESULT_PSEUDO) { in getConstsSortedByCountUse()
DDeadCodeRemover.java19 import com.android.dx.rop.code.RegOps;
DSsaMethod.java22 import com.android.dx.rop.code.RegOps;
691 && insn.getOpcode().getOpcode() == RegOps.MARK_LOCAL) { in isRegALocal()
/external/dexmaker/src/dx/java/com/android/dx/dex/code/
DRopToDop.java20 import com.android.dx.rop.code.RegOps;
487 case RegOps.MOVE_EXCEPTION: return Dops.MOVE_EXCEPTION; in dopFor()
488 case RegOps.INVOKE_STATIC: return Dops.INVOKE_STATIC; in dopFor()
489 case RegOps.INVOKE_VIRTUAL: return Dops.INVOKE_VIRTUAL; in dopFor()
490 case RegOps.INVOKE_SUPER: return Dops.INVOKE_SUPER; in dopFor()
491 case RegOps.INVOKE_DIRECT: return Dops.INVOKE_DIRECT; in dopFor()
492 case RegOps.INVOKE_INTERFACE: return Dops.INVOKE_INTERFACE; in dopFor()
493 case RegOps.NEW_ARRAY: return Dops.NEW_ARRAY; in dopFor()
494 case RegOps.FILLED_NEW_ARRAY: return Dops.FILLED_NEW_ARRAY; in dopFor()
495 case RegOps.FILL_ARRAY_DATA: return Dops.FILL_ARRAY_DATA; in dopFor()
[all …]
DRopTranslator.java28 import com.android.dx.rop.code.RegOps;
192 if (insn.getOpcode().getOpcode()== RegOps.MOVE_PARAM) { in calculateParamsAreInOrder()
532 if (rop.getOpcode() == RegOps.MARK_LOCAL) { in visitPlainInsn()
539 if (rop.getOpcode() == RegOps.MOVE_RESULT_PSEUDO) { in visitPlainInsn()
589 if (ropOpcode == RegOps.MOVE_PARAM) { in visitPlainCstInsn()
678 if (insn.getOpcode().getOpcode() != RegOps.MOVE_RESULT_PSEUDO) { in getNextMoveResultPseudo()
710 || (rop.getOpcode() == RegOps.CHECK_CAST); in visitThrowingCstInsn()
718 if ((rop.getOpcode() == RegOps.NEW_ARRAY) && in visitThrowingCstInsn()
/external/dexmaker/src/dx/java/com/android/dx/ssa/back/
DRegisterAllocator.java19 import com.android.dx.rop.code.RegOps;
118 return ndefInsn.getOpcode().getOpcode() == RegOps.MOVE_PARAM; in isDefinitionMoveParam()
DIdenticalBlockCombiner.java24 import com.android.dx.rop.code.RegOps;
86 RegOps.MOVE_RESULT) { in process()
DFirstFitLocalCombiningAllocator.java225 if (opcode != null && opcode.getOpcode() == RegOps.MOVE_PARAM) { in getParameterIndexForReg()
476 if (checkCastInsn.getOpcode().getOpcode() != RegOps.CHECK_CAST) { in handleCheckCastResults()
669 RegOps.MOVE_RESULT_PSEUDO) { in analyzeInstructions()
/external/llvm/lib/Target/ARM/
DARMAsmPrinter.cpp296 unsigned RegOps = OpNum + 1; in PrintAsmOperand() local
297 while (MI->getOperand(RegOps).isReg()) { in PrintAsmOperand()
299 << ARMInstPrinter::getRegisterName(MI->getOperand(RegOps).getReg()); in PrintAsmOperand()
300 RegOps++; in PrintAsmOperand()