/external/proguard/src/proguard/optimize/info/ |
SideEffectInstructionChecker.java | 27 import proguard.classfile.instruction.*; 28 import proguard.classfile.instruction.visitor.InstructionVisitor; 35 * This class can tell whether an instruction has any side effects outside of 70 * Returns whether the given instruction has side effects outside of its 77 Instruction instruction) 81 instruction.accept(clazz, method, codeAttribute, offset, this); 89 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {} 148 // This instruction may have a side effect [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/ |
AnalyzedInstruction.java | 34 import org.jf.dexlib2.iface.instruction.*; 44 * The actual instruction 46 protected Instruction instruction; field in class:AnalyzedInstruction 49 * The index of the instruction, where the first instruction in the method is at index 0, and so on 64 * This contains the register types *before* the instruction has executed 69 * This contains the register types *after* the instruction has executed 74 * When deodexing, we might need to deodex this instruction multiple times, when we merge in new register 75 * information. When this happens, we need to restore the original (odexed) instruction, so we can deodex it agai [all...] |
MethodAnalyzer.java | 40 import org.jf.dexlib2.iface.instruction.*; 41 import org.jf.dexlib2.iface.instruction.formats.*; 46 import org.jf.dexlib2.immutable.instruction.*; 80 // This contains all the AnalyzedInstruction instances, keyed by the code unit address of the instruction 84 // Which instructions have been analyzed, keyed by instruction index 89 //This is a dummy instruction that occurs immediately before the first real instruction. We can initialize the 90 //register types for this instruction to the parameter types, in order to have them propagate to all of its 91 //successors, e.g. the first real instruction, the first instructions in any exception handlers covering the first 92 //instruction, etc 248 Instruction instruction = analyzedInstruction.getInstruction(); local [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/instruction/ |
ImmutableInstructionFactory.java | 32 package org.jf.dexlib2.immutable.instruction; 35 import org.jf.dexlib2.iface.instruction.SwitchElement;
|
/external/proguard/src/proguard/optimize/evaluation/ |
EvaluationSimplifier.java | 27 import proguard.classfile.instruction.*; 28 import proguard.classfile.instruction.visitor.InstructionVisitor; 148 Instruction instruction = InstructionFactory.create(codeAttribute.code, local 151 instruction.accept(clazz, method, codeAttribute, offset, this); 373 * Replaces the push instruction at the given offset by a simpler push 374 * instruction, if possible. 378 Instruction instruction) 386 replaceIntegerPushInstruction(clazz, offset, instruction); [all...] |
/external/proguard/src/proguard/classfile/editor/ |
CodeAttributeEditor.java | 28 import proguard.classfile.instruction.*; 29 import proguard.classfile.instruction.visitor.InstructionVisitor; 66 /*private*/public Instruction[] preInsertions = new Instruction[ClassConstants.TYPICAL_CODE_LENGTH]; 67 /*private*/public Instruction[] replacements = new Instruction[ClassConstants.TYPICAL_CODE_LENGTH]; 68 /*private*/public Instruction[] postInsertions = new Instruction[ClassConstants.TYPICAL_CODE_LENGTH]; 116 preInsertions = new Instruction[codeLength]; 117 replacements = new Instruction[codeLength] 200 CompositeInstruction instruction = local 249 CompositeInstruction instruction = local 297 CompositeInstruction instruction = local 637 Instruction instruction = InstructionFactory.create(oldCode, oldOffset); local 719 Instruction instruction = InstructionFactory.create(oldCode, oldOffset); local 1133 Instruction instruction = instructions[index]; local 1176 Instruction instruction = instructions[index]; local [all...] |
CodeAttributeComposer.java | 28 import proguard.classfile.instruction.*; 29 import proguard.classfile.instruction.visitor.InstructionVisitor; 134 * precisely, the maximum old instruction 173 * Appends the given instruction with the given old offset. 176 * @param oldInstructionOffset the old offset of the instruction, to which 179 * @param instruction the instruction to be appended. 182 Instruction instruction) 186 instruction = instruction.shrink() 349 Instruction instruction = InstructionFactory.create(code, instructionOffset); local [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/ |
CodeItem.java | 38 import org.jf.dexlib2.dexbacked.instruction.DexBackedInstruction; 40 import org.jf.dexlib2.iface.instruction.*; 41 import org.jf.dexlib2.iface.instruction.formats.*; 121 Instruction instruction = DexBackedInstruction.readFrom(reader); local 123 // if we read past the end of the instruction list 125 out.annotateTo(end, "truncated instruction"); 128 switch (instruction.getOpcode().format) { 130 annotateInstruction10x(out, instruction); 133 annotateInstruction35c(out, (Instruction35c)instruction); [all...] |
/art/runtime/quick/ |
inline_method_analyser.cc | 38 COMPILE_ASSERT(InlineMethodAnalyser::IsInstructionIGet(Instruction::IGET), 40 COMPILE_ASSERT(InlineMethodAnalyser::IsInstructionIGet(Instruction::IGET_WIDE), 42 COMPILE_ASSERT(InlineMethodAnalyser::IsInstructionIGet(Instruction::IGET_OBJECT), 44 COMPILE_ASSERT(InlineMethodAnalyser::IsInstructionIGet(Instruction::IGET_BOOLEAN), 46 COMPILE_ASSERT(InlineMethodAnalyser::IsInstructionIGet(Instruction::IGET_BYTE), 48 COMPILE_ASSERT(InlineMethodAnalyser::IsInstructionIGet(Instruction::IGET_CHAR), 50 COMPILE_ASSERT(InlineMethodAnalyser::IsInstructionIGet(Instruction::IGET_SHORT), 53 COMPILE_ASSERT(InlineMethodAnalyser::IsInstructionIPut(Instruction::IPUT), 55 COMPILE_ASSERT(InlineMethodAnalyser::IsInstructionIPut(Instruction::IPUT_WIDE), 57 COMPILE_ASSERT(InlineMethodAnalyser::IsInstructionIPut(Instruction::IPUT_OBJECT) 96 const Instruction* instruction = Instruction::At(code_item->insns_); local 169 const Instruction* instruction = Instruction::At(code_item->insns_); local 202 const Instruction* instruction = Instruction::At(code_item->insns_); local 265 const Instruction* instruction = Instruction::At(code_item->insns_); local [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);
|
/external/libnfc-nxp/src/ |
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)
|
phHciNfc_RFReaderA.c | 824 uint8_t instruction=0, local 831 /* Get the instruction bits from the Message Header */ 832 instruction = (uint8_t) GET_BITS8( message->msg_header, 835 HCI_DEBUG ("HCI : instruction : %02X\n", instruction); 838 if ((EVT_TARGET_DISCOVERED == instruction) [all...] |
phHciNfc_NfcIPMgmt.c | 437 uint8_t instruction=0; local 443 /* Get the instruction bits from the Message Header */ 444 instruction = (uint8_t) GET_BITS8( message->msg_header, 446 if (NXP_EVT_NFC_ACTIVATED == instruction) 639 uint8_t instruction=0; local 644 /* Get the instruction bits from the Message Header */ 645 instruction = (uint8_t) GET_BITS8( message->msg_header, 647 if (NXP_EVT_NFC_ACTIVATED == instruction) 756 uint8_t instruction=0; local 763 /* Get the instruction bits from the Message Header * [all...] |
/external/lldb/source/Expression/ |
IRExecutionUnit.cpp | 214 Instruction *instruction = instruction_list.GetInstructionAtIndex(instruction_index).get(); local 215 instruction->Dump (&stream,
|
/external/lldb/source/Target/ |
ThreadPlanTracer.cpp | 192 uint8_t buffer[16] = {0}; // Must be big enough for any single instruction 223 Instruction *instruction = instruction_list.GetInstructionAtIndex(0).get(); local 224 instruction->Dump (stream,
|
/external/mesa3d/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);
|
/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...] |
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/Format/ |
InstructionMethodItem.java | 40 import org.jf.dexlib2.iface.instruction.*; 41 import org.jf.dexlib2.iface.instruction.formats.Instruction20bc; 42 import org.jf.dexlib2.iface.instruction.formats.Instruction31t; 43 import org.jf.dexlib2.iface.instruction.formats.UnknownInstruction; 53 public class InstructionMethodItem<T extends Instruction> extends MethodItem { 55 @Nonnull protected final T instruction; field in class:InstructionMethodItem 57 public InstructionMethodItem(@Nonnull MethodDefinition methodDef, int codeAddress, @Nonnull T instruction) { 60 this.instruction = instruction; 84 Opcode opcode = instruction.getOpcode() 371 FiveRegisterInstruction instruction = (FiveRegisterInstruction)this.instruction; local 416 RegisterRangeInstruction instruction = (RegisterRangeInstruction)this.instruction; local [all...] |
/art/compiler/optimizing/ |
builder.cc | 39 * converting a DEX instruction to multiple HInstruction, and where those 40 * instructions do not die at the following instruction, but instead spans 49 void Add(HInstruction* instruction) { 51 DCHECK(instruction->GetType() != Primitive::kPrimLong 52 && instruction->GetType() != Primitive::kPrimDouble); 54 instruction->GetBlock()->AddInstruction(temp); 55 DCHECK(temp->GetPrevious() == instruction); 140 void HGraphBuilder::If_22t(const Instruction& instruction, uint32_t dex_offset) { 141 HInstruction* first = LoadLocal(instruction.VRegA(), Primitive::kPrimInt) 203 const Instruction& instruction = *Instruction::At(code_ptr); local 246 const Instruction& instruction = *Instruction::At(code_ptr); local 782 HIntConstant* instruction = new (arena_) HIntConstant(constant); local 790 HLongConstant* instruction = new (arena_) HLongConstant(constant); local [all...] |
/external/chromium_org/courgette/ |
assembly_program.cc | 39 class Instruction { 44 explicit Instruction(OP op) : op_(op), info_(0) {} 45 Instruction(OP op, unsigned int info) : op_(op), info_(info) {} 51 DISALLOW_COPY_AND_ASSIGN(Instruction); 57 class OriginInstruction : public Instruction { 59 explicit OriginInstruction(RVA rva) : Instruction(ORIGIN, 0), rva_(rva) {} 66 class PeRelocsInstruction : public Instruction { 68 PeRelocsInstruction() : Instruction(MAKEPERELOCS) {} 72 class ElfRelocsInstruction : public Instruction { 74 ElfRelocsInstruction() : Instruction(MAKEELFRELOCS) { 149 Instruction* instruction = instructions_[i]; local 406 Instruction* instruction = instructions_[i]; local 523 Instruction* instruction = instructions_[i]; local [all...] |
/external/proguard/src/proguard/classfile/util/ |
DynamicClassReferenceInitializer.java | 28 import proguard.classfile.instruction.*; 29 import proguard.classfile.instruction.visitor.InstructionVisitor; 87 private final Instruction[] CONSTANT_CLASS_FOR_NAME_INSTRUCTIONS = new Instruction[] 94 private final Instruction[] CLASS_FOR_NAME_CAST_INSTRUCTIONS = new Instruction[] 118 private final Instruction[] DOT_CLASS_JAVAC_INSTRUCTIONS = new Instruction[] 141 private final Instruction[] DOT_CLASS_JIKES_INSTRUCTIONS = new Instruction[] [all...] |
InstructionSequenceMatcher.java | 27 import proguard.classfile.instruction.*; 28 import proguard.classfile.instruction.visitor.InstructionVisitor; 33 * This InstructionVisitor checks whether a given pattern instruction sequence 35 * instruction sequence can be wildcards that are matched. 63 private final Instruction[] patternInstructions; 83 * instruction. 84 * @param patternInstructions the pattern instruction sequence. 87 Instruction[] patternInstructions) 99 * Starts matching from the first instruction again next time. 132 * Returns the matched instruction offset of the specified patter [all...] |