Home
last modified time | relevance | path

Searched refs:instructions (Results 1 – 25 of 4178) sorted by relevance

12345678910>>...168

/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_rematerialization_test_utils_test.cc42 std::vector<HloInstruction*> instructions(computation->instructions().begin(), in TEST_F() local
43 computation->instructions().end()); in TEST_F()
44 EXPECT_EQ(instructions[0]->name(), "param"); in TEST_F()
45 EXPECT_EQ(instructions[1]->name(), "reshape"); in TEST_F()
46 EXPECT_THAT(instructions[1]->operands(), in TEST_F()
47 UnorderedElementsAre(instructions[0])); in TEST_F()
48 EXPECT_EQ(instructions[2]->name(), "broadcast"); in TEST_F()
49 EXPECT_THAT(instructions[2]->operands(), in TEST_F()
50 UnorderedElementsAre(instructions[1])); in TEST_F()
51 EXPECT_EQ(instructions[3]->name(), "negate"); in TEST_F()
[all …]
Dwhile_loop_all_reduce_code_motion_test.cc94 *(std::find_if(module->entry_computation()->instructions().begin(), in TEST_F()
95 module->entry_computation()->instructions().end(), in TEST_F()
101 EXPECT_THAT(transformed_while->while_body()->instructions(), in TEST_F()
107 *(std::find_if(module->entry_computation()->instructions().begin(), in TEST_F()
108 module->entry_computation()->instructions().end(), in TEST_F()
193 *(std::find_if(module->entry_computation()->instructions().begin(), in TEST_F()
194 module->entry_computation()->instructions().end(), in TEST_F()
200 EXPECT_THAT(transformed_while->while_body()->instructions(), in TEST_F()
203 absl::c_copy_if(module->entry_computation()->instructions(), in TEST_F()
272 *(std::find_if(module->entry_computation()->instructions().begin(), in TEST_F()
[all …]
/external/mesa3d/src/compiler/glsl/
Dir_optimization.h100 bool do_rebalance_tree(exec_list *instructions);
101 bool do_algebraic(exec_list *instructions, bool native_integers,
103 bool opt_conditional_discard(exec_list *instructions);
104 bool do_constant_folding(exec_list *instructions);
105 bool do_constant_variable(exec_list *instructions);
106 bool do_constant_variable_unlinked(exec_list *instructions);
107 bool do_copy_propagation_elements(exec_list *instructions);
108 bool do_constant_propagation(exec_list *instructions);
114 bool do_dead_code(exec_list *instructions, bool uniform_locations_assigned);
115 bool do_dead_code_local(exec_list *instructions);
[all …]
Dbuiltin_int64.h89 exec_list *const f0013_parent_instructions = body.instructions; in udivmod64()
92 body.instructions = &f0013->then_instructions; in udivmod64()
105 exec_list *const f0019_parent_instructions = body.instructions; in udivmod64()
107 body.instructions = &f0019->body_instructions; in udivmod64()
112 exec_list *const f001A_parent_instructions = body.instructions; in udivmod64()
115 body.instructions = &f001A->then_instructions; in udivmod64()
120 body.instructions = f001A_parent_instructions; in udivmod64()
132 exec_list *const f001C_parent_instructions = body.instructions; in udivmod64()
135 body.instructions = &f001C->then_instructions; in udivmod64()
144 body.instructions = f001C_parent_instructions; in udivmod64()
[all …]
/external/rust/crates/tinytemplate/src/
Dcompiler.rs32 instructions: Vec<Instruction<'template>>, field
45 instructions: vec![], in new()
80 .push((discriminant, Block::Branch(self.instructions.len()))); in compile()
81 self.instructions in compile()
86 let num_instructions = self.instructions.len() + 1; in compile()
89 .push((discriminant, Block::Branch(self.instructions.len()))); in compile()
90 self.instructions.push(Instruction::Goto(UNKNOWN)) in compile()
94 let num_instructions = self.instructions.len(); in compile()
100 self.instructions.push(instruction); in compile()
106 self.instructions.push(Instruction::PopContext) in compile()
[all …]
/external/llvm-project/llvm/test/MC/Mips/
Dset-nomacro.s3 # CHECK-NOT: warning: macro instruction expanded into multiple instructions
81 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
83 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
85 # CHECK: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
88 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
90 # CHECK: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
92 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
94 # CHECK: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
96 # CHECK: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
99 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
[all …]
/external/llvm/test/MC/Mips/
Dset-nomacro.s3 # CHECK-NOT: warning: macro instruction expanded into multiple instructions
81 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
83 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
85 # CHECK: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
88 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
90 # CHECK: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
92 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
94 # CHECK: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
96 # CHECK: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
99 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
[all …]
/external/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
Dspirv_builder.c229 spirv_buffer_prepare(&b->instructions, b->mem_ctx, 1); in spirv_builder_emit_vertex()
230 spirv_buffer_emit_word(&b->instructions, SpvOpEmitVertex | (1 << 16)); in spirv_builder_emit_vertex()
236 spirv_buffer_prepare(&b->instructions, b->mem_ctx, 1); in spirv_builder_end_primitive()
237 spirv_buffer_emit_word(&b->instructions, SpvOpEndPrimitive | (1 << 16)); in spirv_builder_end_primitive()
325 spirv_buffer_prepare(&b->instructions, b->mem_ctx, 3); in spirv_builder_emit_undef()
326 spirv_buffer_emit_word(&b->instructions, SpvOpUndef | (3 << 16)); in spirv_builder_emit_undef()
327 spirv_buffer_emit_word(&b->instructions, result_type); in spirv_builder_emit_undef()
328 spirv_buffer_emit_word(&b->instructions, result); in spirv_builder_emit_undef()
338 spirv_buffer_prepare(&b->instructions, b->mem_ctx, 5); in spirv_builder_function()
339 spirv_buffer_emit_word(&b->instructions, SpvOpFunction | (5 << 16)); in spirv_builder_function()
[all …]
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/analysis/
DLineImpl.java50 private static LineImpl getInstance(final CounterImpl instructions, in getInstance() argument
52 final int im = instructions.getMissedCount(); in getInstance()
53 final int ic = instructions.getCoveredCount(); in getInstance()
60 return new Var(instructions, branches); in getInstance()
67 Var(final CounterImpl instructions, final CounterImpl branches) { in Var() argument
68 super(instructions, branches); in Var()
72 public LineImpl increment(final ICounter instructions, in increment() argument
74 this.instructions = this.instructions.increment(instructions); in increment()
90 public LineImpl increment(final ICounter instructions, in increment() argument
92 return getInstance(this.instructions.increment(instructions), in increment()
[all …]
DMethodCoverageCalculator.java34 private final Map<AbstractInsnNode, Instruction> instructions; field in MethodCoverageCalculator
54 final Map<AbstractInsnNode, Instruction> instructions) { in MethodCoverageCalculator() argument
55 this.instructions = instructions; in MethodCoverageCalculator()
73 for (final Entry<AbstractInsnNode, Instruction> entry : instructions in calculate()
90 final Instruction instruction = instructions.get(node); in applyMerges()
94 instructions.put(representativeNode, in applyMerges()
95 instructions.get(representativeNode).merge(instruction)); in applyMerges()
102 instructions.put(entry.getKey(), in applyMerges()
103 instructions.get(entry.getValue())); in applyMerges()
114 newBranches.add(instructions.get(b)); in applyReplacements()
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/fuzz/
Dtransformation_add_function_test.cpp583 std::vector<protobufs::Instruction> instructions; in TEST() local
584 instructions.push_back(MakeInstructionMessage( in TEST()
588 instructions.push_back(MakeInstructionMessage(SpvOpLabel, 0, 31, {})); in TEST()
589 instructions.push_back( in TEST()
591 instructions.push_back(MakeInstructionMessage(SpvOpLabel, 0, 20, {})); in TEST()
592 instructions.push_back(MakeInstructionMessage( in TEST()
597 instructions.push_back(MakeInstructionMessage(SpvOpBranchConditional, 0, 0, in TEST()
601 instructions.push_back(MakeInstructionMessage(SpvOpLabel, 0, 23, {})); in TEST()
602 instructions.push_back(MakeInstructionMessage( in TEST()
607 instructions.push_back( in TEST()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/fuzz/
Dtransformation_add_function_test.cpp583 std::vector<protobufs::Instruction> instructions; in TEST() local
584 instructions.push_back(MakeInstructionMessage( in TEST()
588 instructions.push_back(MakeInstructionMessage(SpvOpLabel, 0, 31, {})); in TEST()
589 instructions.push_back( in TEST()
591 instructions.push_back(MakeInstructionMessage(SpvOpLabel, 0, 20, {})); in TEST()
592 instructions.push_back(MakeInstructionMessage( in TEST()
597 instructions.push_back(MakeInstructionMessage(SpvOpBranchConditional, 0, 0, in TEST()
601 instructions.push_back(MakeInstructionMessage(SpvOpLabel, 0, 23, {})); in TEST()
602 instructions.push_back(MakeInstructionMessage( in TEST()
607 instructions.push_back( in TEST()
[all …]
/external/deqp-deps/SPIRV-Tools/test/fuzz/
Dtransformation_add_function_test.cpp583 std::vector<protobufs::Instruction> instructions; in TEST() local
584 instructions.push_back(MakeInstructionMessage( in TEST()
588 instructions.push_back(MakeInstructionMessage(SpvOpLabel, 0, 31, {})); in TEST()
589 instructions.push_back( in TEST()
591 instructions.push_back(MakeInstructionMessage(SpvOpLabel, 0, 20, {})); in TEST()
592 instructions.push_back(MakeInstructionMessage( in TEST()
597 instructions.push_back(MakeInstructionMessage(SpvOpBranchConditional, 0, 0, in TEST()
601 instructions.push_back(MakeInstructionMessage(SpvOpLabel, 0, 23, {})); in TEST()
602 instructions.push_back(MakeInstructionMessage( in TEST()
607 instructions.push_back( in TEST()
[all …]
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DOldClassInstrumentor.java182 ListIterator<AbstractInsnNode> instructions, MethodInsnNode targetMethod) { in interceptInvokeVirtualMethod() argument
183 interceptInvokeVirtualMethodWithoutInvokeDynamic(mutableClass, instructions, targetMethod); in interceptInvokeVirtualMethod()
191 ListIterator<AbstractInsnNode> instructions, MethodInsnNode targetMethod) { in interceptInvokeVirtualMethodWithoutInvokeDynamic() argument
194 instructions.remove(); // remove the method invocation in interceptInvokeVirtualMethodWithoutInvokeDynamic()
198 instructions.add(new LdcInsnNode(argumentTypes.length)); in interceptInvokeVirtualMethodWithoutInvokeDynamic()
199 instructions.add(new TypeInsnNode(Opcodes.ANEWARRAY, "java/lang/Object")); in interceptInvokeVirtualMethodWithoutInvokeDynamic()
207 instructions.add(new InsnNode(Opcodes.DUP_X1)); // A B [] C [] in interceptInvokeVirtualMethodWithoutInvokeDynamic()
208 instructions.add(new InsnNode(Opcodes.SWAP)); // A B [] [] C in interceptInvokeVirtualMethodWithoutInvokeDynamic()
209 instructions.add(new LdcInsnNode(i)); // A B [] [] C 2 in interceptInvokeVirtualMethodWithoutInvokeDynamic()
210 instructions.add(new InsnNode(Opcodes.SWAP)); // A B [] [] 2 C in interceptInvokeVirtualMethodWithoutInvokeDynamic()
[all …]
/external/tensorflow/tensorflow/python/util/
Ddeprecation_test.py90 instructions = "This is how you update..."
92 @deprecation.deprecated(date, instructions, warn_once=True)
104 instructions = "This is how you update..."
106 @deprecation.deprecated(date, instructions, warn_once=True)
122 instructions = "This is how you update..."
124 @deprecation.deprecated(date, instructions, warn_once=True)
139 instructions = "This is how you update..."
141 @deprecation.deprecated(date, instructions, warn_once=True)
155 instructions = "This is how you update..."
158 date, instructions, warn_once=True)(
[all …]
/external/mesa3d/src/panfrost/midgard/
Dmidgard_schedule.c66 …dynarray *table, unsigned index, uint16_t mask, midgard_instruction **instructions, unsigned child) in add_dependency() argument
75 BITSET_WORD *dependents = instructions[*parent]->dependents; in add_dependency()
82 instructions[child]->nr_dependencies++; in add_dependency()
99 mir_create_dependency_graph(midgard_instruction **instructions, unsigned count, unsigned node_count) in mir_create_dependency_graph() argument
113 instructions[i]->dependents = in mir_create_dependency_graph()
116 instructions[i]->nr_dependencies = 0; in mir_create_dependency_graph()
121 if (instructions[i]->compact_branch) in mir_create_dependency_graph()
124 unsigned dest = instructions[i]->dest; in mir_create_dependency_graph()
125 unsigned mask = mir_bytemask(instructions[i]); in mir_create_dependency_graph()
127 mir_foreach_src((*instructions), s) { in mir_create_dependency_graph()
[all …]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/filter/
DAbstractMatcherTest.java44 matcher.cursor = m.instructions.getFirst(); in skipNonOpcodes()
46 assertSame(m.instructions.getLast(), matcher.cursor); in skipNonOpcodes()
50 assertSame(m.instructions.getLast(), matcher.cursor); in skipNonOpcodes()
63 matcher.cursor = m.instructions.getFirst(); in nextIs()
68 matcher.cursor = m.instructions.getFirst(); in nextIs()
70 assertSame(m.instructions.getLast(), matcher.cursor); in nextIs()
82 matcher.cursor = m.instructions.getFirst(); in nextIsSwitch()
87 m.instructions.clear(); in nextIsSwitch()
90 matcher.cursor = m.instructions.getFirst(); in nextIsSwitch()
92 assertSame(m.instructions.getLast(), matcher.cursor); in nextIsSwitch()
[all …]
/external/guice/core/test/com/googlecode/guice/
DOSGiContainerTest.java71 Properties instructions = new Properties(); in setUp() local
75 instructions.setProperty("Export-Package", "org.aopalliance.*"); in setUp()
76 buildBundle("aopalliance", instructions, AOPALLIANCE_JAR); in setUp()
77 instructions.clear(); in setUp()
81 instructions.setProperty("Export-Package", "javax.inject.*"); in setUp()
82 buildBundle("javax.inject", instructions, JAVAX_INJECT_JAR); in setUp()
83 instructions.clear(); in setUp()
86 instructions.setProperty("Export-Package", "com.google.common.*"); in setUp()
87 instructions.setProperty("Import-Package", "*;resolution:=optional"); in setUp()
88 buildBundle("guava", instructions, GUAVA_JAR); in setUp()
[all …]
/external/mesa3d/src/compiler/glsl/tests/
Dlower_int64_test.cpp51 exec_list instructions; member in expand_source
65 instructions.make_empty(); in SetUp()
66 body = new ir_factory(&instructions, mem_ctx); in SetUp()
126 check_instructions(exec_list *instructions, in check_instructions() argument
153 ASSERT_FALSE(instructions->is_empty()); in check_instructions()
154 ir = (ir_instruction *) instructions->pop_head(); in check_instructions()
163 ASSERT_FALSE(instructions->is_empty()); in check_instructions()
164 ir = (ir_instruction *) instructions->pop_head(); in check_instructions()
172 ASSERT_FALSE(instructions->is_empty()); in check_instructions()
173 ir = (ir_instruction *) instructions->pop_head(); in check_instructions()
[all …]
Dopt_add_neg_to_sub_test.cpp35 exec_list instructions; member in add_neg_to_sub
51 instructions.make_empty(); in SetUp()
52 body = new ir_factory(&instructions, mem_ctx); in SetUp()
83 visit_list_elements(&v, &instructions); in TEST_F()
85 ASSERT_FALSE(instructions.is_empty()); in TEST_F()
87 ir_instruction *const ir = (ir_instruction *) instructions.pop_head(); in TEST_F()
89 EXPECT_TRUE(instructions.is_empty()); in TEST_F()
116 visit_list_elements(&v, &instructions); in TEST_F()
118 ASSERT_FALSE(instructions.is_empty()); in TEST_F()
120 ir_instruction *const ir = (ir_instruction *) instructions.pop_head(); in TEST_F()
[all …]
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/builder/
DPayloadAlignmentTest.java56 List<? extends Instruction> instructions = in testPayloadAlignmentRemoveNop() local
59 Assert.assertEquals(instructions.size(), 1); in testPayloadAlignmentRemoveNop()
61 Instruction instruction = instructions.get(0); in testPayloadAlignmentRemoveNop()
73 List<? extends Instruction> instructions = in testPayloadAlignmentAddNop() local
76 Assert.assertEquals(instructions.size(), 3); in testPayloadAlignmentAddNop()
78 Instruction instruction = instructions.get(0); in testPayloadAlignmentAddNop()
81 instruction = instructions.get(1); in testPayloadAlignmentAddNop()
84 instruction = instructions.get(2); in testPayloadAlignmentAddNop()
101 …List<Instruction> instructions = Lists.newArrayList(implBuilder.getMethodImplementation().getInstr… in testPayloadAlignmentRemoveNopWithReferent() local
103 checkInstructions(instructions, in testPayloadAlignmentRemoveNopWithReferent()
[all …]
DFixGotoTest.java33 List<? extends Instruction> instructions = Lists.newArrayList(impl.getInstructions()); in testFixGotoToGoto16() local
34 Assert.assertEquals(502, instructions.size()); in testFixGotoToGoto16()
36 Assert.assertEquals(Opcode.GOTO_16, instructions.get(0).getOpcode()); in testFixGotoToGoto16()
37 Assert.assertEquals(502, ((OffsetInstruction)instructions.get(0)).getCodeOffset()); in testFixGotoToGoto16()
56 List<? extends Instruction> instructions = Lists.newArrayList(impl.getInstructions()); in testFixGotoToGoto32() local
57 Assert.assertEquals(70002, instructions.size()); in testFixGotoToGoto32()
59 Assert.assertEquals(Opcode.GOTO_32, instructions.get(0).getOpcode()); in testFixGotoToGoto32()
60 Assert.assertEquals(70003, ((OffsetInstruction)instructions.get(0)).getCodeOffset()); in testFixGotoToGoto32()
79 List<? extends Instruction> instructions = Lists.newArrayList(impl.getInstructions()); in testFixGoto16ToGoto32() local
80 Assert.assertEquals(70002, instructions.size()); in testFixGoto16ToGoto32()
[all …]
/external/llvm-project/llvm/test/MC/RISCV/rvv/
Dzvlsseg.s14 …CHECK-ERROR: instruction requires the following: 'Zvlsseg' (Vector segment load/store instructions)
20 …CHECK-ERROR: instruction requires the following: 'Zvlsseg' (Vector segment load/store instructions)
26 …CHECK-ERROR: instruction requires the following: 'Zvlsseg' (Vector segment load/store instructions)
32 …CHECK-ERROR: instruction requires the following: 'Zvlsseg' (Vector segment load/store instructions)
38 …CHECK-ERROR: instruction requires the following: 'Zvlsseg' (Vector segment load/store instructions)
44 …CHECK-ERROR: instruction requires the following: 'Zvlsseg' (Vector segment load/store instructions)
50 …CHECK-ERROR: instruction requires the following: 'Zvlsseg' (Vector segment load/store instructions)
56 …CHECK-ERROR: instruction requires the following: 'Zvlsseg' (Vector segment load/store instructions)
62 …CHECK-ERROR: instruction requires the following: 'Zvlsseg' (Vector segment load/store instructions)
68 …CHECK-ERROR: instruction requires the following: 'Zvlsseg' (Vector segment load/store instructions)
[all …]
/external/mesa3d/src/amd/compiler/
Daco_reduce_assign.cpp44 for (aco_ptr<Instruction>& instr : block.instructions) { in setup_reduce_temp()
75 std::vector<aco_ptr<Instruction>>::iterator it = block.instructions.begin(); in setup_reduce_temp()
78 block.instructions.insert(it, std::move(end)); in setup_reduce_temp()
89 for (it = block.instructions.begin(); it != block.instructions.end(); ++it) { in setup_reduce_temp()
104 it = block.instructions.insert(it, std::move(create)); in setup_reduce_temp()
111 …std::vector<aco_ptr<Instruction>>& instructions = program->blocks[last_top_level_block_idx].instru… in setup_reduce_temp() local
112instructions.insert(std::next(instructions.begin(), instructions.size() - 1), std::move(create)); in setup_reduce_temp()
142 it = block.instructions.insert(it, std::move(create)); in setup_reduce_temp()
146 …std::vector<aco_ptr<Instruction>>& instructions = program->blocks[last_top_level_block_idx].instru… in setup_reduce_temp() local
147instructions.insert(std::next(instructions.begin(), instructions.size() - 1), std::move(create)); in setup_reduce_temp()
/external/capstone/arch/M680X/
Dm6801.inc2 // Additional instructions only supported on M6801/3
4 // 0x0x, inherent instructions
7 // 0x2x, relative branch instructions
9 // 0x3x, inherent instructions
14 // 0x8x, immediate instructions with Register D
16 // 0x9x, direct instructions with register D
19 // 0xAx, indexed instructions with Register D
21 // 0xBx, extended instructions with register D
23 // 0xCx, immediate instructions with register D
26 // 0xDx direct instructions with register D
[all …]

12345678910>>...168