/dalvik/dx/src/com/android/dx/rop/code/ |
BasicBlockList.java | 138 Insn insn = insns.get(j); local 140 if (insn.getOpcode().getOpcode() != RegOps.MARK_LOCAL) { 173 public void forEachInsn(Insn.Visitor visitor) { 313 implements Insn.Visitor { 334 public void visitPlainInsn(PlainInsn insn) { 335 visit(insn); 339 public void visitPlainCstInsn(PlainCstInsn insn) { 340 visit(insn); 344 public void visitSwitchInsn(SwitchInsn insn) { [all...] |
LocalVariableExtractor.java | 121 Insn insn = insns.get(i); local 124 result = insn.getLocalAssignment(); 132 result = insn.getResult(); 151 * If this insn represents a local moving from one register 164 resultInfo.addAssignment(insn, result);
|
/external/dexmaker/src/dx/java/com/android/dx/rop/code/ |
BasicBlockList.java | 138 Insn insn = insns.get(j); local 140 if (insn.getOpcode().getOpcode() != RegOps.MARK_LOCAL) { 173 public void forEachInsn(Insn.Visitor visitor) { 313 implements Insn.Visitor { 334 public void visitPlainInsn(PlainInsn insn) { 335 visit(insn); 339 public void visitPlainCstInsn(PlainCstInsn insn) { 340 visit(insn); 344 public void visitSwitchInsn(SwitchInsn insn) { [all...] |
LocalVariableExtractor.java | 121 Insn insn = insns.get(i); local 124 result = insn.getLocalAssignment(); 132 result = insn.getResult(); 151 * If this insn represents a local moving from one register 164 resultInfo.addAssignment(insn, result);
|
/cts/tools/dasm/src/dasm/ |
parser.cup | 86 terminal str_token Str, Word, Insn; 685 Insn:i 689 Insn:i Word:n 693 Insn:i Relative:n 697 Insn:i Word:n1 Num:n2 701 Insn:i Word:n1 Int:n2 705 Insn:i Word:n1 Word:n2 709 Insn:i Word:n1 Relative:n2 713 Insn:i Word:n1 Word:n2 Word:n3 717 Insn:i Word:n1 Word:n2 Relative:n [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
RopTranslator.java | 22 import com.android.dexgen.rop.code.Insn; 183 method.getBlocks().forEachInsn(new Insn.BaseVisitor() { 184 public void visitPlainCstInsn(PlainCstInsn insn) { 185 if (insn.getOpcode().getOpcode()== RegOps.MOVE_PARAM) { 187 ((CstInteger) insn.getConstant()).getValue(); 191 == insn.getResult().getReg()); 264 Insn lastInsn = block.getLastInsn(); 292 TargetInsn insn = local 296 output.add(insn); 443 * @param insn {@code non-null;} instruction in questio 668 Insn insn local [all...] |
/dalvik/dx/src/com/android/dx/dex/code/ |
RopTranslator.java | 24 import com.android.dx.rop.code.Insn; 188 method.getBlocks().forEachInsn(new Insn.BaseVisitor() { 190 public void visitPlainCstInsn(PlainCstInsn insn) { 191 if (insn.getOpcode().getOpcode()== RegOps.MOVE_PARAM) { 193 ((CstInteger) insn.getConstant()).getValue(); 197 == insn.getResult().getReg()); 270 Insn lastInsn = block.getLastInsn(); 298 TargetInsn insn = local 302 output.add(insn); 449 * @param insn {@code non-null;} instruction in questio 677 Insn insn local [all...] |
/external/dexmaker/src/dx/java/com/android/dx/dex/code/ |
RopTranslator.java | 24 import com.android.dx.rop.code.Insn; 189 method.getBlocks().forEachInsn(new Insn.BaseVisitor() { 191 public void visitPlainCstInsn(PlainCstInsn insn) { 192 if (insn.getOpcode().getOpcode()== RegOps.MOVE_PARAM) { 194 ((CstInteger) insn.getConstant()).getValue(); 198 == insn.getResult().getReg()); 271 Insn lastInsn = block.getLastInsn(); 299 TargetInsn insn = local 303 output.add(insn); 450 * @param insn {@code non-null;} instruction in questio 675 Insn insn local [all...] |
/dalvik/dx/src/com/android/dx/ssa/ |
PhiInsn.java | 19 import com.android.dx.rop.code.Insn; 38 * result register. The original result register of the phi insn 54 * Constructs a new phi insn with no operands. 56 * @param resultReg the result reg for this phi insn 57 * @param block block containing this insn. 65 * Makes a phi insn with a void result type. 67 * @param resultReg the result register for this phi insn. 68 * @param block block containing this insn. 92 * @param ssaMeth method that contains this insn 187 public Insn getOriginalRopInsn() [all...] |
SCCP.java | 20 import com.android.dx.rop.code.Insn; 115 for (SsaInsn insn : ssaMeth.getUseListForRegister(reg)) { 116 varyingWorklist.add(insn); 119 for (SsaInsn insn : ssaMeth.getUseListForRegister(reg)) { 120 ssaWorklist.add(insn); 157 * @param insn PHI to simulate. 159 private void simulatePhi(PhiInsn insn) { 160 int phiResultReg = insn.getResult().getReg(); 166 RegisterSpecList sources = insn.getSources(); 172 int predBlockIndex = insn.predBlockIndexForSourcesIndex(i) 564 SsaInsn insn = varyingWorklist.remove(listSize); local 578 SsaInsn insn = ssaWorklist.remove(listSize); local [all...] |
EscapeAnalysis.java | 21 import com.android.dx.rop.code.Insn; 151 * @param insn {@code non-null;} an instruction that must always be 155 private SsaInsn getMoveForInsn(SsaInsn insn) { 156 int succ = insn.getBlock().getSuccessors().nextSetBit(0); 215 * @param insn {@code non-null;} instruction to process 217 private void processInsn(SsaInsn insn) { 218 int op = insn.getOpcode().getOpcode(); 219 RegisterSpec result = insn.getResult(); 226 escSet = processMoveResultPseudoInsn(insn); 247 * @param insn {@code non-null;} move result pseudo instruction to proces 646 SsaInsn insn = ssaMeth.getDefinitionForRegister(i); local [all...] |
SsaBasicBlock.java | 21 import com.android.dx.rop.code.Insn; 50 /** {@code non-null;} insn list associated with this instance */ 198 * Adds a phi insn to the beginning of this block. The result type of 208 * Adds a phi insn to the beginning of this block. This is to be used 219 * Adds an insn to the head of this basic block, just after any phi 222 * @param insn {@code non-null;} rop-form insn to add 224 public void addInsnToHead(Insn insn) { 225 SsaInsn newInsn = SsaInsn.makeFromRop(insn, this) 259 SsaInsn insn = insns.get(i); local 294 SsaInsn insn = insns.get(countPhiInsns); local 715 SsaInsn insn = toSchedule.get(i); local 736 SsaInsn insn = toSchedule.get(i); local [all...] |
SsaMethod.java | 20 import com.android.dx.rop.code.Insn; 72 * indexed by register: the insn where said register is defined or null 218 * Gets a new {@code GOTO} insn. 393 for (SsaInsn insn : block.getInsns()) { 394 insn.mapRegisters(mapper); 403 * Returns the insn that defines the given register 405 * @return insn (actual instance from code) that defined this reg or null 420 public void visitMoveInsn (NormalSsaInsn insn) { 421 definitionList[insn.getResult().getReg()] = insn; 687 Insn insn = use.getOriginalRopInsn(); local 827 SsaInsn insn = insns.get(i); local [all...] |
/external/llvm/utils/TableGen/ |
FixedLenDecoderEmitter.cpp | 373 // Populates the insn given the uid. 374 void insnWithID(insn_t &Insn, unsigned Opcode) const { 387 Insn.push_back(BIT_UNSET); 389 Insn.push_back(bitFromBits(Bits, i)); 398 // Populates the field of the insn given the start position and the number of 403 bool fieldFromInsn(uint64_t &Field, insn_t &Insn, unsigned StartBit, 434 const insn_t &Insn) const; 511 insn_t Insn; 513 // Populates the insn given the uid. 514 Owner->insnWithID(Insn, Owner->Opcodes[i]) [all...] |
/dalvik/dx/src/com/android/dx/cf/code/ |
Ropper.java | 22 import com.android.dx.rop.code.Insn; 702 ArrayList<Insn> insns = machine.getInsns(); 869 Insn insn = insns.get(i); local 870 if (insn.canThrow()) { 871 insn = insn.withAddedCatch(Type.OBJECT); 872 insns.set(i, insn); 899 Insn extraInsn = insns.get(--insnSz); 932 Insn lastInsn = (insnSz == 0) ? null : insns.get(insnSz - 1) 1037 Insn insn = new PlainCstInsn(Rops.opMoveParam(one), pos, result, local 1057 Insn insn; local 1119 Insn insn = new ThrowingInsn(Rops.MONITOR_EXIT, returnPos, local 1145 Insn insn = new PlainInsn(returnOp, returnPos, null, sources); local 1172 Insn insn; local 1216 Insn insn = new PlainInsn(Rops.opMoveException(one), local 1629 Insn insn = insns.get(i); local [all...] |
RopperMachine.java | 20 import com.android.dx.rop.code.Insn; 77 private final ArrayList<Insn> insns; 142 this.insns = new ArrayList<Insn>(25); 159 public ArrayList<Insn> getInsns() { 246 * @return true if at least one of the insn processed since the last 359 Insn insn; local 375 insn = new ThrowingCstInsn(rop, pos, sources, catches, 377 insns.add(insn); 381 insn = new PlainInsn(rop, pos, dimsReg, RegisterSpecList.EMPTY) [all...] |
/dalvik/dexgen/src/com/android/dexgen/rop/code/ |
LocalVariableExtractor.java | 121 Insn insn = insns.get(i); local 124 result = insn.getLocalAssignment(); 132 result = insn.getResult(); 151 * If this insn represents a local moving from one register 164 resultInfo.addAssignment(insn, result);
|
/external/dexmaker/src/dx/java/com/android/dx/ssa/ |
PhiInsn.java | 34 * result register. The original result register of the phi insn 50 * Constructs a new phi insn with no operands. 52 * @param resultReg the result reg for this phi insn 53 * @param block block containing this insn. 61 * Makes a phi insn with a void result type. 63 * @param resultReg the result register for this phi insn. 64 * @param block block containing this insn. 88 * @param ssaMeth method that contains this insn 183 public Insn getOriginalRopInsn() { 210 // How'd this happen? A phi insn with no operand [all...] |
DeadCodeRemover.java | 26 import com.android.dx.rop.code.Insn; 47 * (does it correspond to a no-side-effect insn?) 97 // This insn has already been deleted. 106 // Delete this insn from all usage lists. 121 // Schedule this insn for later deletion. 142 SsaInsn insn = block.getInsns().get(i); local 143 RegisterSpecList sources = insn.getSources(); 148 deletedInsns.add(insn); 154 useList[source.getReg()].remove(insn); 158 RegisterSpec result = insn.getResult() [all...] |
SCCP.java | 20 import com.android.dx.rop.code.Insn; 116 for (SsaInsn insn : ssaMeth.getUseListForRegister(reg)) { 117 varyingWorklist.add(insn); 120 for (SsaInsn insn : ssaMeth.getUseListForRegister(reg)) { 121 ssaWorklist.add(insn); 158 * @param insn PHI to simulate. 160 private void simulatePhi(PhiInsn insn) { 161 int phiResultReg = insn.getResult().getReg(); 167 RegisterSpecList sources = insn.getSources(); 173 int predBlockIndex = insn.predBlockIndexForSourcesIndex(i) 565 SsaInsn insn = varyingWorklist.remove(listSize); local 579 SsaInsn insn = ssaWorklist.remove(listSize); local [all...] |
EscapeAnalysis.java | 21 import com.android.dx.rop.code.Insn; 152 * @param insn {@code non-null;} an instruction that must always be 156 private SsaInsn getMoveForInsn(SsaInsn insn) { 157 int succ = insn.getBlock().getSuccessors().nextSetBit(0); 216 * @param insn {@code non-null;} instruction to process 218 private void processInsn(SsaInsn insn) { 219 int op = insn.getOpcode().getOpcode(); 220 RegisterSpec result = insn.getResult(); 227 escSet = processMoveResultPseudoInsn(insn); 248 * @param insn {@code non-null;} move result pseudo instruction to proces 647 SsaInsn insn = ssaMeth.getDefinitionForRegister(i); local [all...] |
SsaBasicBlock.java | 21 import com.android.dx.rop.code.Insn; 51 /** {@code non-null;} insn list associated with this instance */ 199 * Adds a phi insn to the beginning of this block. The result type of 209 * Adds a phi insn to the beginning of this block. This is to be used 220 * Adds an insn to the head of this basic block, just after any phi 223 * @param insn {@code non-null;} rop-form insn to add 225 public void addInsnToHead(Insn insn) { 226 SsaInsn newInsn = SsaInsn.makeFromRop(insn, this) 260 SsaInsn insn = insns.get(i); local 295 SsaInsn insn = insns.get(countPhiInsns); local 716 SsaInsn insn = toSchedule.get(i); local 737 SsaInsn insn = toSchedule.get(i); local [all...] |
/external/dexmaker/src/dx/java/com/android/dx/ssa/back/ |
IdenticalBlockCombiner.java | 22 import com.android.dx.rop.code.Insn;
|
/dalvik/dx/src/com/android/dx/command/dump/ |
BlockDumper.java | 35 import com.android.dx.rop.code.Insn; 320 Insn one = il.get(i);
|
/external/dexmaker/src/main/java/com/google/dexmaker/ |
Code.java | 20 import com.android.dx.rop.code.Insn; 290 List<Insn> moveParameterInstructions = new ArrayList<Insn>(); 400 private void addInstruction(Insn insn) { 401 addInstruction(insn, null); 408 private void addInstruction(Insn insn, Label branch) { 412 currentLabel.instructions.add(insn); 414 switch (insn.getOpcode().getBranchingness()) [all...] |