/external/smali/smalidea/src/test/java/org/jf/smalidea/dexlib/ |
SmalideaMethodTest.java | 42 import org.jf.dexlib2.iface.instruction.Instruction; 43 import org.jf.dexlib2.iface.instruction.SwitchElement; 44 import org.jf.dexlib2.iface.instruction.formats.*; 115 List<? extends Instruction> instructions = Lists.newArrayList(impl.getInstructions()); 118 Instruction10t instruction = (Instruction10t)instructions.get(0); local 119 Assert.assertEquals(Opcode.GOTO, instruction.getOpcode()); 120 Assert.assertEquals(1, instruction.getCodeOffset()); 124 Instruction10x instruction = (Instruction10x)instructions.get(1); local 125 Assert.assertEquals(Opcode.RETURN_VOID, instruction.getOpcode()) 129 Instruction11n instruction = (Instruction11n)instructions.get(2); local 136 Instruction11x instruction = (Instruction11x)instructions.get(3); local 142 Instruction12x instruction = (Instruction12x)instructions.get(4); local 149 Instruction20t instruction = (Instruction20t)instructions.get(5); local 155 Instruction21c instruction = (Instruction21c)instructions.get(6); local 163 Instruction21ih instruction = (Instruction21ih)instructions.get(7); local 172 Instruction21lh instruction = (Instruction21lh)instructions.get(8); local 180 Instruction21s instruction = (Instruction21s)instructions.get(9); local 187 Instruction21t instruction = (Instruction21t)instructions.get(10); local 194 Instruction22b instruction = (Instruction22b)instructions.get(11); local 202 Instruction22c instruction = (Instruction22c)instructions.get(12); local 211 Instruction22s instruction = (Instruction22s)instructions.get(13); local 219 Instruction22t instruction = (Instruction22t)instructions.get(14); local 227 Instruction22x instruction = (Instruction22x)instructions.get(15); local 234 Instruction23x instruction = (Instruction23x)instructions.get(16); local 242 Instruction30t instruction = (Instruction30t)instructions.get(17); local 248 Instruction31c instruction = (Instruction31c)instructions.get(18); local 255 Instruction31i instruction = (Instruction31i)instructions.get(19); local 262 Instruction32x instruction = (Instruction32x)instructions.get(20); local 269 Instruction35c instruction = (Instruction35c)instructions.get(21); local 280 Instruction3rc instruction = (Instruction3rc)instructions.get(22); local 288 Instruction51l instruction = (Instruction51l)instructions.get(23); local [all...] |
/external/tensorflow/tensorflow/compiler/xla/service/ |
call_graph.h | 56 CallContext GetInstructionCallContext(const HloInstruction* instruction); 58 // Represents an HLO instruction which calls one or more computations. 61 CallSite(HloInstruction* instruction, 64 : instruction_(CHECK_NOTNULL(instruction)), 68 // Returns the instruction associated with this call site. 69 HloInstruction* instruction() const { return instruction_; } function in class:xla::CallSite 82 // The calling instruction. 104 // Returns the callsite associated with the given instruction. If this 105 // instruction calls no computations nullptr is returned. 106 // Prerequisite: instruction is in the computation associated with this cal [all...] |
hlo_ordering.cc | 56 // If the common ancestor is a while instruction there is an additional 82 // instruction, the definition instruction of the phis values are 84 // the while instruction. However, the program point where these values are 131 if (ExecutesBefore(use.instruction, value.defining_instruction())) { 132 VLOG(4) << " use instruction executes before value-defining instruction"; 136 // If the use is at the instruction where the value is defined, then the use 137 // is before the def if the instruction allows buffer sharing (in place 139 if (use.instruction == value.defining_instruction() & 341 const HloInstruction* instruction = instruction_position.first; local [all...] |
hlo_tfgraph_builder_test.cc | 93 HloInstruction *instruction = builder.AddInstruction( local 98 instruction->set_metadata(metadata);
|
hlo_value.h | 34 // instruction. 36 HloInstruction* instruction; member in struct:xla::HloPosition 45 return instruction == other.instruction && index == other.index; 49 // Stable less-than operator using instruction id and index. 51 return instruction->unique_id() < other.instruction->unique_id() || 52 (instruction->unique_id() == other.instruction->unique_id() && 61 // Instruction at which the value is used 62 HloInstruction* instruction; member in struct:xla::HloUse [all...] |
tuple_points_to_analysis.h | 46 // a particular HLO instruction. The structure of PointsToSet mirrors the 47 // structure of the instruction's shape, which may be an arbitrary tree (eg, a 49 // instruction's output and contains the set of Buffers which might define 109 // Add a tuple source instruction for the given index. 155 // This class describes a particular subshape in a computation (instruction and 160 BufferAlias(HloInstruction* instruction, const ShapeIndex& index) 161 : instruction_(instruction), index_(index) {} 163 // Return the instruction/index of the subshape. 164 HloInstruction* instruction() const { return instruction_; } function in class:BufferAlias 182 // the potential sources of each buffer in each instruction's output [all...] |
while_loop_invariant_code_motion.cc | 43 HloInstruction* instruction; member in struct:xla::DFSFrame 55 if (frame->operand_index == frame->instruction->operand_count()) { 56 HloInstruction* old_instruction = frame->instruction; 88 frame->instruction->mutable_operand(frame->operand_index++); 98 // Returns true if `instruction` is worth hoisting only if it lets us hoist some 99 // instruction using it. The rationale is that hoisting these instructions will 101 static bool NotWorthHoistingIndividually(const HloInstruction& instruction) { 102 switch (instruction.opcode()) { 116 /*input_shape=*/instruction.operand(0)->shape(), 117 /*output_shape=*/instruction.shape(), instruction.dimensions()) [all...] |
/external/tensorflow/tensorflow/compiler/xla/tests/ |
test_utils.cc | 161 const HloInstruction* const instruction = use.instruction; local 162 const HloOpcode opcode = instruction->opcode(); 166 op_num == 1 && LooksLikeSum(*instruction->to_apply())) || 168 LooksLikeSum(*instruction->scatter()))); 198 HloInstruction* instruction = use.instruction; local 199 const HloOpcode opcode = instruction->opcode(); 203 constrained_uses.push_back(instruction); 206 instruction->fused_parameter(op_num) [all...] |
/toolchain/binutils/binutils-2.27/opcodes/ |
sh64-dis.c | 53 to determine an instruction's operator. 54 The index is as same as the instruction in the opcode table. 58 /* Initialize the SH64 opcode mask table for each instruction in SHmedia 182 unsigned long instruction; local 210 /* Rearrange the bytes to make up an instruction. */ 212 instruction = bfd_getl32 (insn); 214 instruction = bfd_getb32 (insn); 220 && ((instruction & shmedia_opcode_mask_table[n]) != op->opcode_base); 227 fprintf_fn (stream, ".long 0x%08lx", instruction); 235 unsigned long temp = instruction >> op->nibbles[i] [all...] |
/external/proguard/src/proguard/optimize/evaluation/ |
SimpleEnumUseChecker.java | 28 import proguard.classfile.instruction.*; 29 import proguard.classfile.instruction.visitor.InstructionVisitor; 124 Instruction instruction = InstructionFactory.create(codeAttribute.code, local 127 instruction.accept(clazz, method, codeAttribute, offset, this); 149 // Check if the instruction is storing a simple enum in a 169 // Check if the instruction is returning a simple enum as a 219 // Check if the instruction is generalizing a simple enum to a 228 // Check if the instruction is calling a simple enum. 272 // Check if the instruction is popping a different type [all...] |
SimpleEnumUseSimplifier.java | 29 import proguard.classfile.instruction.*; 30 import proguard.classfile.instruction.visitor.InstructionVisitor; 128 Instruction instruction = InstructionFactory.create(codeAttribute.code, local 131 instruction.accept(clazz, method, codeAttribute, offset, this); 266 // Check if the instruction is calling a simple enum. 500 * Returns whether the instruction at the given offset is pushing a simple 516 * Returns whether the instruction at the given offset is popping a simple 526 * Returns whether the instruction at the given offset is popping a simple 540 * Returns whether the instruction at the given offset is popping a simpl [all...] |
EvaluationSimplifier.java | 27 import proguard.classfile.instruction.*; 28 import proguard.classfile.instruction.visitor.InstructionVisitor; 146 Instruction instruction = InstructionFactory.create(codeAttribute.code, local 149 instruction.accept(clazz, method, codeAttribute, offset, this); 407 * Replaces the push instruction at the given offset by a simpler push 408 * instruction, if possible. 412 Instruction instruction) 420 replaceIntegerPushInstruction(clazz, offset, instruction); [all...] |
/external/proguard/src/proguard/classfile/editor/ |
CodeAttributeEditor.java | 32 import proguard.classfile.instruction.*; 33 import proguard.classfile.instruction.visitor.InstructionVisitor; 73 /*private*/public Instruction[] preInsertions = new Instruction[ClassConstants.TYPICAL_CODE_LENGTH]; 74 /*private*/public Instruction[] replacements = new Instruction[ClassConstants.TYPICAL_CODE_LENGTH]; 75 /*private*/public Instruction[] postInsertions = new Instruction[ClassConstants.TYPICAL_CODE_LENGTH]; 123 preInsertions = new Instruction[codeLength]; 124 replacements = new Instruction[codeLength] 206 CompositeInstruction instruction = local 254 CompositeInstruction instruction = local 302 CompositeInstruction instruction = local 648 Instruction instruction = InstructionFactory.create(oldCode, oldOffset); local 730 Instruction instruction = InstructionFactory.create(oldCode, oldOffset); local 1201 Instruction instruction = instructions[index]; local 1244 Instruction instruction = instructions[index]; 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/compiler/optimizing/ |
register_allocation_resolver.cc | 59 HInstruction* instruction = liveness_.GetInstructionFromSsaIndex(i); local 60 LiveInterval* current = instruction->GetLiveInterval(); 61 LocationSummary* locations = instruction->GetLocations(); 63 if (instruction->IsParameterValue()) { 76 } else if (instruction->IsCurrentMethod()) { 79 } else if (instruction->IsPhi() && instruction->AsPhi()->IsCatchPhi()) { 147 HInstruction* instruction = liveness_.GetInstructionFromSsaIndex(i); local 148 ConnectSiblings(instruction->GetLiveInterval()); 234 HInstruction* instruction = liveness_.GetInstructionFromSsaIndex(i) local [all...] |
scheduler.cc | 40 // A `nullptr` node indicates an instruction out of scheduling range (eg. in 100 static bool IsArrayAccess(const HInstruction* instruction) { 101 return instruction->IsArrayGet() || instruction->IsArraySet(); 104 static bool IsInstanceFieldAccess(const HInstruction* instruction) { 105 return instruction->IsInstanceFieldGet() || 106 instruction->IsInstanceFieldSet() || 107 instruction->IsUnresolvedInstanceFieldGet() || 108 instruction->IsUnresolvedInstanceFieldSet(); 111 static bool IsStaticFieldAccess(const HInstruction* instruction) { 407 const HInstruction* instruction = node->GetInstruction(); local 456 const HInstruction* instruction = node->GetInstruction(); local 481 const HInstruction* instruction = prev_select_->GetInstruction(); local 567 HInstruction* instruction = it.Current(); local [all...] |
ssa_liveness_analysis.cc | 39 // Each instruction gets a lifetime position, and a block gets a lifetime 45 // to differentiate between the start and end of an instruction. Adding 2 to 46 // the lifetime position for each instruction ensures the start of an 47 // instruction is different than the end of the previous instruction. 117 << "Instruction " << current->DebugName() << current->GetId() 141 // that instruction is defined, and killing instructions that are being visited. 183 // Kill the instruction and shorten its interval. 197 HInstruction* instruction = environment->GetInstructionAt(i); local 198 bool should_be_live = ShouldBeLiveForEnvironment(current, instruction); [all...] |
/art/disassembler/ |
disassembler_mips.cc | 38 bool Matches(uint32_t instruction) const { 39 return (instruction & mask) == value; 519 uint32_t instruction = ReadU32(instr_ptr); local 521 uint32_t rs = (instruction >> 21) & 0x1f; // I-type, R-type. 522 uint32_t rt = (instruction >> 16) & 0x1f; // I-type, R-type. 523 uint32_t rd = (instruction >> 11) & 0x1f; // R-type. 524 uint32_t sa = (instruction >> 6) & 0x1f; // R-type. 530 uint32_t op = (instruction >> 26) & 0x3f; 531 uint32_t function = (instruction & 0x3f); // R-type. 535 if (gMipsInstructions[i].Matches(instruction)) { [all...] |
/art/tools/veridex/ |
flow_analysis.cc | 43 // the iteration if the instruction has not been visited. 82 const Instruction& instruction = pair.Inst(); local 84 if (instruction.IsBranch()) { 85 SetAsBranchTarget(dex_pc + instruction.GetTargetOffset()); 86 } else if (instruction.IsSwitch()) { 87 DexSwitchTable table(instruction, dex_pc); 139 int VeriFlowAnalysis::GetBranchFlags(const Instruction& instruction) const { 140 switch (instruction.Opcode()) [all...] |
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/instr/ |
DuplicateFrameEliminator.java | 26 private boolean instruction; field in class:DuplicateFrameEliminator 30 instruction = true; 36 if (instruction) { 37 instruction = false; 44 instruction = true; 50 instruction = true; 56 instruction = true; 62 instruction = true; 69 instruction = true; 76 instruction = true [all...] |
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/flow/ |
LabelInfoTest.java | 164 final Instruction instruction = new Instruction( local 166 LabelInfo.setInstruction(label, instruction); 167 assertSame(instruction, LabelInfo.getInstruction(label));
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_fs_builder.h | 43 /** Type used in this IR to represent a source of an instruction. */ 46 /** Type used in this IR to represent the destination of an instruction. */ 49 /** Type used in this IR to represent an instruction. */ 50 typedef fs_inst instruction; typedef in class:brw::fs_builder 68 * before instruction \p inst in basic block \p block. The default 70 * instruction passed as argument. 98 * instruction list of the shader, inheriting other code generation 251 * Insert an instruction into the program. 253 instruction * 254 emit(const instruction &inst) cons [all...] |
brw_vec4_builder.h | 43 /** Type used in this IR to represent a source of an instruction. */ 46 /** Type used in this IR to represent the destination of an instruction. */ 49 /** Type used in this IR to represent an instruction. */ 50 typedef vec4_instruction instruction; typedef in class:brw::vec4_builder 65 * before instruction \p inst in basic block \p block. The default 67 * instruction passed as argument. 69 vec4_builder(backend_shader *shader, bblock_t *block, instruction *inst) : 94 * instruction list of the shader, inheriting other code generation 216 * Insert an instruction into the program. 218 instruction * [all...] |
/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/dexlib2/src/main/java/org/jf/dexlib2/analysis/ |
AnalyzedInstruction.java | 38 import org.jf.dexlib2.iface.instruction.*; 39 import org.jf.dexlib2.iface.instruction.formats.Instruction22c; 51 * The MethodAnalyzer containing this instruction 57 * The actual instruction 60 protected Instruction instruction; field in class:AnalyzedInstruction 63 * The index of the instruction, where the first instruction in the method is at index 0, and so on 80 * This contains the register types *before* the instruction has executed 86 * This contains the register types *after* the instruction has execute [all...] |