HomeSort by relevance Sort by last modified time
    Searched defs:instruction (Results 26 - 50 of 106) sorted by null

12 3 4 5

  /external/proguard/src/proguard/optimize/info/
SideEffectMethodMarker.java 26 import proguard.classfile.instruction.*;
137 // Get the current instruction.
138 Instruction instruction = InstructionFactory.create(code, offset); local
145 instruction))
150 // Go to the next instruction.
151 offset += instruction.length(offset);
SideEffectInstructionChecker.java 27 import proguard.classfile.instruction.*;
28 import proguard.classfile.instruction.visitor.InstructionVisitor;
33 * This class can tell whether an instruction has any side effects. Return
59 public boolean hasSideEffects(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction)
63 instruction.accept(clazz, method, codeAttribute, offset, this);
71 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {}
  /external/proguard/src/proguard/optimize/peephole/
UnreachableCodeRemover.java 27 import proguard.classfile.instruction.Instruction;
28 import proguard.classfile.instruction.visitor.InstructionVisitor;
123 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction)
127 System.out.println(" "+(reachableCodeMarker.isReachable(offset) ? "+" : "-")+" "+instruction.toString(offset));
130 // Is this instruction unreachable?
136 // Visit the instruction, if required.
139 instruction.accept(clazz, method, codeAttribute, offset, extraInstructionVisitor);
InstructionSequenceReplacer.java 28 import proguard.classfile.instruction.*;
29 import proguard.classfile.instruction.visitor.InstructionVisitor;
33 * This InstructionVisitor replaces a given pattern instruction sequence by
34 * another given replacement instruction sequence. The arguments of the
35 * instruction sequences can be wildcards that are matched and replaced.
49 private final Instruction[] replacementInstructions;
60 * instruction.
61 * @param patternInstructions the pattern instruction sequence.
62 * @param replacementInstructions the replacement instruction sequence.
70 Instruction[] patternInstructions
    [all...]
  /external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Analysis/
CustomInlineMethodResolver.java 81 assert analyzedInstruction.instruction instanceof OdexedInvokeInline;
83 OdexedInvokeInline instruction = (OdexedInvokeInline)analyzedInstruction.instruction; local
84 int methodIndex = instruction.getInlineIndex();
SyntheticAccessorResolver.java 33 import org.jf.dexlib.Code.Instruction;
81 Instruction[] instructions = encodedMethod.codeItem.getInstructions();
92 InstructionWithReference instruction = (InstructionWithReference)instructions[0]; local
93 Item referencedItem = instruction.getReferencedItem();
108 Instruction22c instruction = (Instruction22c)instructions[0]; local
109 Item referencedItem = instruction.getReferencedItem();
115 if (instruction.opcode.setsRegister() || instruction.opcode.setsWideRegister()) {
116 //If the instruction sets a register, that means it is a getter - it gets the field value and
AnalyzedInstruction.java 41 * The actual instruction
43 protected Instruction instruction; field in class:AnalyzedInstruction
46 * The index of the instruction, where the first instruction in the method is at index 0, and so on
61 * This contains the register types *before* the instruction has executed
66 * This contains the register types *after* the instruction has executed
71 * When deodexing, we might need to deodex this instruction multiple times, when we merge in new register
72 * information. When this happens, we need to restore the original (odexed) instruction, so we can deodex it again
74 protected final Instruction originalInstruction
    [all...]
  /external/proguard/src/proguard/optimize/evaluation/
EvaluationSimplifier.java 27 import proguard.classfile.instruction.*;
28 import proguard.classfile.instruction.visitor.InstructionVisitor;
145 Instruction instruction = InstructionFactory.create(codeAttribute.code, local
148 instruction.accept(clazz, method, codeAttribute, offset, this);
370 * Replaces the push instruction at the given offset by a simpler push
371 * instruction, if possible.
375 Instruction instruction)
383 replaceIntegerPushInstruction(clazz, offset, instruction);
    [all...]
PartialEvaluator.java 27 import proguard.classfile.instruction.*;
217 // Find all instruction offsets,...
220 // Start executing the first instruction block.
246 Instruction instruction = InstructionFactory.create(codeAttribute.code, local
248 System.out.println(instruction.toString(offset));
274 offset += instruction.length(offset);
299 * Returns whether the instruction at the given offset has ever been
309 * Returns whether there is an instruction at the given offset.
318 * Returns whether the instruction at the given offset is the target of
709 Instruction instruction = InstructionFactory.create(code, instructionOffset); local
    [all...]
  /external/proguard/src/proguard/preverify/
CodeSubroutineInliner.java 27 import proguard.classfile.instruction.*;
28 import proguard.classfile.instruction.visitor.InstructionVisitor;
118 Instruction instruction = InstructionFactory.create(codeAttribute.code, offset); local
119 int instructionLength = instruction.length(offset);
128 System.out.println(" Skipping original subroutine instruction "+instruction.toString(offset));
136 // Copy the instruction, inlining any subroutine call recursively.
137 instruction.accept(clazz, method, codeAttribute, offset, this);
245 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction
362 Instruction instruction = InstructionFactory.create(codeAttribute.code, offset); local
    [all...]
  /external/proguard/src/proguard/classfile/editor/
CodeAttributeComposer.java 28 import proguard.classfile.instruction.*;
29 import proguard.classfile.instruction.visitor.InstructionVisitor;
161 * Appends the given instruction with the given old offset.
162 * @param oldInstructionOffset the old offset of the instruction, to which
165 * @param instruction the instruction to be appended.
168 Instruction instruction)
172 println("["+codeLength+"] <- ", instruction.toString(oldInstructionOffset));
176 int newCodeLength = codeLength + instruction.length(codeLength)
276 Instruction instruction = InstructionFactory.create(code, instructionOffset); local
    [all...]
CodeAttributeEditor.java 28 import proguard.classfile.instruction.*;
29 import proguard.classfile.instruction.visitor.InstructionVisitor;
62 /*private*/public Instruction[] preInsertions = new Instruction[ClassConstants.TYPICAL_CODE_LENGTH];
63 /*private*/public Instruction[] replacements = new Instruction[ClassConstants.TYPICAL_CODE_LENGTH];
64 /*private*/public Instruction[] postInsertions = new Instruction[ClassConstants.TYPICAL_CODE_LENGTH];
101 preInsertions = new Instruction[codeLength];
102 replacements = new Instruction[codeLength]
562 Instruction instruction = InstructionFactory.create(oldCode, oldOffset); local
644 Instruction instruction = InstructionFactory.create(oldCode, oldOffset); local
1097 Instruction instruction = instructions[index]; local
1140 Instruction instruction = instructions[index]; local
    [all...]
  /art/runtime/
disassembler_mips.cc 34 bool Matches(uint32_t instruction) const {
35 return (instruction & mask) == value;
172 uint32_t instruction = ReadU32(instr_ptr); local
174 uint32_t rs = (instruction >> 21) & 0x1f; // I-type, R-type.
175 uint32_t rt = (instruction >> 16) & 0x1f; // I-type, R-type.
176 uint32_t rd = (instruction >> 11) & 0x1f; // R-type.
177 uint32_t sa = (instruction >> 6) & 0x1f; // R-type.
183 uint32_t op = (instruction >> 26) & 0x3f;
184 uint32_t function = (instruction & 0x3f); // R-type.
188 if (gMipsInstructions[i].Matches(instruction)) {
    [all...]
  /external/libnfc-nxp/src/
phHciNfc_CE_A.c 630 uint8_t instruction=0; local
640 /* Get the instruction bits from the Message Header */
641 instruction = (uint8_t) GET_BITS8( message->msg_header,
647 switch(instruction)
phHciNfc_CE_B.c 628 uint8_t instruction=0; local
638 /* Get the instruction bits from the Message Header */
639 instruction = (uint8_t) GET_BITS8( message->msg_header,
645 switch(instruction)
phHciNfc_ISO15693.c 584 uint8_t instruction=0, local
591 /* Get the instruction bits from the Message Header */
592 instruction = (uint8_t) GET_BITS8( message->msg_header,
595 if ((EVT_TARGET_DISCOVERED == instruction)
phHciNfc_Jewel.c 657 uint8_t instruction=0, local
664 /* Get the instruction bits from the Message Header */
665 instruction = (uint8_t) GET_BITS8( message->msg_header,
668 if ((EVT_TARGET_DISCOVERED == instruction)
phHciNfc_RFReaderB.c 633 uint8_t instruction=0, local
640 /* Get the instruction bits from the Message Header */
641 instruction = (uint8_t) GET_BITS8( message->msg_header,
644 if ((EVT_TARGET_DISCOVERED == instruction)
    [all...]
phHciNfc_Felica.c 774 uint8_t instruction=0, local
781 /* Get the instruction bits from the Message Header */
782 instruction = (uint8_t) GET_BITS8( message->msg_header,
785 HCI_DEBUG ("HCI : instruction : %02X\n", instruction);
787 if ((EVT_TARGET_DISCOVERED == instruction)
    [all...]
phHciNfc_Generic.c 212 uint8_t instruction
904 uint8_t instruction=0; local
912 /* Get the instruction bits from the Message Header */
913 instruction = (uint8_t) GET_BITS8( message->msg_header,
934 else if( ((uint8_t) ANY_OK != instruction)
995 uint8_t instruction = 0 local
1069 uint8_t instruction=0; local
1187 uint8_t instruction=0; local
    [all...]
phHciNfc_PollingLoop.c 694 uint8_t instruction=0; local
702 /* Get the instruction bits from the Message Header */
703 instruction = (uint8_t) GET_BITS8( message->msg_header,
706 switch(instruction)
  /external/proguard/src/proguard/classfile/instruction/
ConstantInstruction.java 21 package proguard.classfile.instruction;
27 import proguard.classfile.instruction.visitor.InstructionVisitor;
31 * This Instruction represents an instruction that refers to an entry in the
36 public class ConstantInstruction extends Instruction
77 * Copies the given instruction into this instruction.
78 * @param constantInstruction the instruction to be copied.
79 * @return this instruction.
91 // Implementations for Instruction
    [all...]
Instruction.java 21 package proguard.classfile.instruction;
25 import proguard.classfile.instruction.visitor.InstructionVisitor;
32 public abstract class Instruction
664 * Returns the canonical opcode of this instruction, i.e. typically the
674 * Shrinks this instruction to its shortest possible form.
675 * @return this instruction.
677 public abstract Instruction shrink();
682 * Writes the Instruction at the given offset in the given code attribute.
691 * Writes the Instruction at the given offset in the given code array.
710 * Returns whether the instruction is wide, i.e. preceded by a wide opcode
    [all...]
  /external/chromium_org/native_client_sdk/src/examples/api/file_io/
file_io.cc 101 // Parse message into: instruction file_name_length file_name [file_text]
103 std::string instruction; local
108 reader >> instruction >> file_name_length;
118 // Dispatch the instruction
119 if (instruction == kLoadPrefix) {
122 } else if (instruction == kSavePrefix) {
128 } else if (instruction == kDeletePrefix) {
131 } else if (instruction == kListPrefix) {
135 } else if (instruction == kMakeDirPrefix) {
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
brw_wm.c 42 /** Return number of src args for given instruction */
283 void *instruction = c->instruction; local
288 c->instruction = instruction;
308 if (!c->instruction) {
309 c->instruction = rzalloc_array(c, struct brw_wm_instruction, BRW_WM_MAX_INSN);

Completed in 836 milliseconds

12 3 4 5