Home
last modified time | relevance | path

Searched refs:Rop (Results 1 – 25 of 33) sorted by relevance

12

/external/dexmaker/src/dx/java/com/android/dx/rop/code/
DRops.java34 public static final Rop NOP =
35 new Rop(RegOps.NOP, Type.VOID, StdTypeList.EMPTY, "nop");
38 public static final Rop MOVE_INT =
39 new Rop(RegOps.MOVE, Type.INT, StdTypeList.INT, "move-int");
42 public static final Rop MOVE_LONG =
43 new Rop(RegOps.MOVE, Type.LONG, StdTypeList.LONG, "move-long");
46 public static final Rop MOVE_FLOAT =
47 new Rop(RegOps.MOVE, Type.FLOAT, StdTypeList.FLOAT, "move-float");
50 public static final Rop MOVE_DOUBLE =
51 new Rop(RegOps.MOVE, Type.DOUBLE, StdTypeList.DOUBLE, "move-double");
[all …]
DRop.java27 public final class Rop { class
94 public Rop(int opcode, Type result, TypeList sources, in Rop() method in Rop
141 public Rop(int opcode, Type result, TypeList sources, in Rop() method in Rop
159 public Rop(int opcode, Type result, TypeList sources, int branchingness, in Rop() method in Rop
176 public Rop(int opcode, Type result, TypeList sources, String nickname) { in Rop() method in Rop
177 this(opcode, result, sources, StdTypeList.EMPTY, Rop.BRANCH_NONE, in Rop()
194 public Rop(int opcode, Type result, TypeList sources, TypeList exceptions, in Rop() method in Rop
196 this(opcode, result, sources, exceptions, Rop.BRANCH_THROW, false, in Rop()
210 public Rop(int opcode, TypeList sources, TypeList exceptions) { in Rop() method in Rop
211 this(opcode, Type.VOID, sources, exceptions, Rop.BRANCH_THROW, true, in Rop()
[all …]
DPlainInsn.java40 public PlainInsn(Rop opcode, SourcePosition position, in PlainInsn()
45 case Rop.BRANCH_SWITCH: in PlainInsn()
46 case Rop.BRANCH_THROW: { in PlainInsn()
51 if (result != null && opcode.getBranchingness() != Rop.BRANCH_NONE) { in PlainInsn()
66 public PlainInsn(Rop opcode, SourcePosition position, RegisterSpec result, in PlainInsn()
115 Rop newRop = Rops.ropFor(getOpcode().getOpcode(), getResult(), in withSourceLiteral()
127 Rop newRop; in withSourceLiteral()
DTranslationAdvice.java39 public boolean hasConstantOperation(Rop opcode, in hasConstantOperation()
51 public boolean requiresSourcesInOrder(Rop opcode, RegisterSpecList sources); in requiresSourcesInOrder()
DConservativeTranslationAdvice.java37 public boolean hasConstantOperation(Rop opcode, in hasConstantOperation()
43 public boolean requiresSourcesInOrder(Rop opcode, in requiresSourcesInOrder()
DBasicBlock.java79 Rop one = insns.get(i).getOpcode(); in BasicBlock()
80 if (one.getBranchingness() != Rop.BRANCH_NONE) { in BasicBlock()
87 if (lastInsn.getOpcode().getBranchingness() == Rop.BRANCH_NONE) { in BasicBlock()
DPlainCstInsn.java39 public PlainCstInsn(Rop opcode, SourcePosition position, in PlainCstInsn()
44 if (opcode.getBranchingness() != Rop.BRANCH_NONE) { in PlainCstInsn()
DSwitchInsn.java41 public SwitchInsn(Rop opcode, SourcePosition position, RegisterSpec result, in SwitchInsn()
45 if (opcode.getBranchingness() != Rop.BRANCH_SWITCH) { in SwitchInsn()
DFillArrayDataInsn.java51 public FillArrayDataInsn(Rop opcode, SourcePosition position, in FillArrayDataInsn()
57 if (opcode.getBranchingness() != Rop.BRANCH_NONE) { in FillArrayDataInsn()
DThrowingInsn.java62 public ThrowingInsn(Rop opcode, SourcePosition position, in ThrowingInsn()
67 if (opcode.getBranchingness() != Rop.BRANCH_THROW) { in ThrowingInsn()
DThrowingCstInsn.java42 public ThrowingCstInsn(Rop opcode, SourcePosition position, in ThrowingCstInsn()
47 if (opcode.getBranchingness() != Rop.BRANCH_THROW) { in ThrowingCstInsn()
DDexTranslationAdvice.java57 public boolean hasConstantOperation(Rop opcode, in hasConstantOperation()
102 public boolean requiresSourcesInOrder(Rop opcode, in requiresSourcesInOrder()
DInsn.java32 private final Rop opcode;
51 public Insn(Rop opcode, SourcePosition position, RegisterSpec result, in Insn()
124 public final Rop getOpcode() { in getOpcode()
DCstInsn.java38 public CstInsn(Rop opcode, SourcePosition position, RegisterSpec result, in CstInsn()
/external/dexmaker/src/main/java/com/google/dexmaker/
DBinaryOp.java19 import com.android.dx.rop.code.Rop;
42 @Override Rop rop(TypeList types) { in ADD()
49 @Override Rop rop(TypeList types) { in SUBTRACT()
56 @Override Rop rop(TypeList types) { in MULTIPLY()
63 @Override Rop rop(TypeList types) { in DIVIDE()
70 @Override Rop rop(TypeList types) { in REMAINDER()
77 @Override Rop rop(TypeList types) { in AND()
84 @Override Rop rop(TypeList types) { in OR()
91 @Override Rop rop(TypeList types) { in XOR()
98 @Override Rop rop(TypeList types) { in SHIFT_LEFT()
[all …]
DComparison.java19 import com.android.dx.rop.code.Rop;
30 @Override Rop rop(TypeList types) { in LT()
37 @Override Rop rop(TypeList types) { in LE()
44 @Override Rop rop(TypeList types) { in EQ()
51 @Override Rop rop(TypeList types) { in GE()
58 @Override Rop rop(TypeList types) { in GT()
65 @Override Rop rop(TypeList types) { in NE()
70 abstract Rop rop(TypeList types); in rop()
DUnaryOp.java19 import com.android.dx.rop.code.Rop;
29 @Override Rop rop(TypeId<?> type) { in NOT()
36 @Override Rop rop(TypeId<?> type) { in NEGATE()
41 abstract Rop rop(TypeId<?> type); in rop()
DCode.java24 import com.android.dx.rop.code.Rop;
25 import static com.android.dx.rop.code.Rop.BRANCH_GOTO;
26 import static com.android.dx.rop.code.Rop.BRANCH_NONE;
27 import static com.android.dx.rop.code.Rop.BRANCH_RETURN;
436 case Rop.BRANCH_IF: in addInstruction()
443 case Rop.BRANCH_THROW: in addInstruction()
477 Rop rop = value == null in loadConstant()
515 Rop rop = op.rop(StdTypeList.make(a.type.ropType, b.type.ropType)); in op()
536 Rop rop = comparison.rop(StdTypeList.make(a.type.ropType, b.type.ropType)); in compare()
549 Rop rop; in compareFloatingPoint()
[all …]
/external/dexmaker/src/dx/java/com/android/dx/dex/code/
DRopTranslator.java32 import com.android.dx.rop.code.Rop;
283 Rop lastRop = lastInsn.getOpcode(); in outputBlock()
284 if ((lastRop.getBranchingness() == Rop.BRANCH_IF) && in outputBlock()
531 Rop rop = insn.getOpcode(); in visitPlainInsn()
549 case Rop.BRANCH_NONE: in visitPlainInsn()
550 case Rop.BRANCH_RETURN: in visitPlainInsn()
551 case Rop.BRANCH_THROW: { in visitPlainInsn()
555 case Rop.BRANCH_GOTO: { in visitPlainInsn()
563 case Rop.BRANCH_IF: { in visitPlainInsn()
581 Rop rop = insn.getOpcode(); in visitPlainCstInsn()
[all …]
DRopToDop.java21 import com.android.dx.rop.code.Rop;
39 private static final HashMap<Rop, Dop> MAP;
226 MAP = new HashMap<Rop, Dop>(400);
458 Rop rop = insn.getOpcode(); in dopFor()
/external/dexmaker/src/dx/java/com/android/dx/ssa/
DLiteralOpUpgrader.java23 import com.android.dx.rop.code.Rop;
97 Rop opcode = originalRopInsn.getOpcode(); in run()
108 if (opcode.getBranchingness() == Rop.BRANCH_IF) { in run()
148 Rop opcode = originalRopInsn.getOpcode(); in tryReplacingWithConstant()
190 Rop newRop = Rops.ropFor(newOpcode, insn.getResult(), newSources, cst); in replacePlainInsn()
DNormalSsaInsn.java128 public Rop getOpcode() { in getOpcode()
218 Rop opcode = getOpcode(); in hasSideEffect()
220 if (opcode.getBranchingness() != Rop.BRANCH_NONE) { in hasSideEffect()
DConstCollector.java25 import com.android.dx.rop.code.Rop;
109 Rop constRop = Rops.opConst(cst); in run()
111 if (constRop.getBranchingness() == Rop.BRANCH_NONE) { in run()
DSCCP.java24 import com.android.dx.rop.code.Rop;
242 Rop opcode = insn.getOpcode(); in simulateBranch()
249 if (opcode.getBranchingness() == Rop.BRANCH_IF) { in simulateBranch()
472 if (ropInsn.getOpcode().getBranchingness() != Rop.BRANCH_NONE in simulateStmt()
/external/dexmaker/src/dx/java/com/android/dx/ssa/back/
DSsaToRop.java24 import com.android.dx.rop.code.Rop;
283 Rop opcode = lastInsn.getOpcode(); in verifyValidExitPredecessor()
285 if (opcode.getBranchingness() != Rop.BRANCH_RETURN in verifyValidExitPredecessor()

12