Home
last modified time | relevance | path

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

12345678910>>...84

/external/mesa3d/src/compiler/glsl/
Dir_optimization.h87 bool do_rebalance_tree(exec_list *instructions);
88 bool do_algebraic(exec_list *instructions, bool native_integers,
90 bool opt_conditional_discard(exec_list *instructions);
91 bool do_constant_folding(exec_list *instructions);
92 bool do_constant_variable(exec_list *instructions);
93 bool do_constant_variable_unlinked(exec_list *instructions);
94 bool do_copy_propagation(exec_list *instructions);
95 bool do_copy_propagation_elements(exec_list *instructions);
96 bool do_constant_propagation(exec_list *instructions);
102 bool do_dead_code(exec_list *instructions, bool uniform_locations_assigned);
[all …]
Dast.h62 virtual ir_rvalue *hir(exec_list *instructions,
233 virtual ir_rvalue *hir(exec_list *instructions,
236 virtual void hir_no_rvalue(exec_list *instructions,
241 ir_rvalue *do_hir(exec_list *instructions,
318 virtual ir_rvalue *hir(exec_list *instructions,
321 virtual void hir_no_rvalue(exec_list *instructions,
332 handle_method(exec_list *instructions,
420 virtual ir_rvalue *hir(exec_list *instructions,
423 virtual void hir_no_rvalue(exec_list *instructions,
433 virtual ir_rvalue *hir(exec_list *instructions,
[all …]
Dast_function.cpp35 process_parameters(exec_list *instructions, exec_list *actual_parameters, in process_parameters() argument
48 ir_rvalue *result = ast->hir(instructions, state); in process_parameters()
429 generate_call(exec_list *instructions, ir_function_signature *sig, in generate_call() argument
461 instructions, &post_call_conversions, in generate_call()
536 instructions->push_tail(var); in generate_call()
545 instructions->push_tail(call); in generate_call()
552 instructions->append_list(&post_call_conversions); in generate_call()
640 generate_array_index(void *mem_ctx, exec_list *instructions, in generate_array_index() argument
647 ir_rvalue *outer_array = generate_array_index(mem_ctx, instructions, in generate_array_index()
653 ir_rvalue *outer_array_idx = idx->hir(instructions, state); in generate_array_index()
[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 …]
Dset-nomacro-micromips.s7 # CHECK-NOT: warning: macro instruction expanded into multiple instructions
21 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
23 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
25 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
28 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
30 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
33 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
/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 …]
/external/r8/src/test/java/com/android/tools/r8/smali/
DIfSimplificationTest.java57 assertEquals(2, code.instructions.length); in ifZeroNeqZero()
58 assertTrue(code.instructions[0] instanceof Const4); in ifZeroNeqZero()
59 assertEquals(0, ((Const4) code.instructions[0]).B); in ifZeroNeqZero()
60 assertTrue(code.instructions[1] instanceof Return); in ifZeroNeqZero()
77 assertEquals(2, code.instructions.length); in ifTwoEqZero()
78 assertTrue(code.instructions[0] instanceof Const4); in ifTwoEqZero()
79 assertEquals(2, ((Const4) code.instructions[0]).B); in ifTwoEqZero()
80 assertTrue(code.instructions[1] instanceof Return); in ifTwoEqZero()
101 assertEquals(2, code.instructions.length); in b()
102 assertTrue(code.instructions[0] instanceof Const4); in b()
[all …]
DConstantFoldingTest.java62 assertEquals(2, code.instructions.length); in generateBinopTest()
64 assertTrue(code.instructions[0] instanceof WideConstant); in generateBinopTest()
65 assertEquals(result.longValue(), ((WideConstant) code.instructions[0]).decodedValue()); in generateBinopTest()
66 assertTrue(code.instructions[1] instanceof ReturnWide); in generateBinopTest()
68 assertTrue(code.instructions[0] instanceof SingleConstant); in generateBinopTest()
70 result.longValue(), (long) ((SingleConstant) code.instructions[0]).decodedValue()); in generateBinopTest()
71 assertTrue(code.instructions[1] instanceof Return); in generateBinopTest()
154 assertEquals(3, code.instructions.length); in divIntFoldDivByZero()
155 assertTrue(code.instructions[0] instanceof Const4); in divIntFoldDivByZero()
156 assertTrue(code.instructions[1] instanceof DivIntLit8); in divIntFoldDivByZero()
[all …]
DOutlineTest.java134 assertTrue(code.instructions[0] instanceof ConstString); in a()
135 assertTrue(code.instructions[1] instanceof InvokeStatic); in a()
136 InvokeStatic invoke = (InvokeStatic) code.instructions[1]; in a()
203 assertTrue(code.instructions[j] instanceof ConstString); in b()
205 assertTrue(code.instructions[firstOutlineInvoke] instanceof InvokeStatic); in b()
206 InvokeStatic invoke = (InvokeStatic) code.instructions[firstOutlineInvoke]; in b()
262 assertTrue(code.instructions[0] instanceof ConstString); in c()
263 assertTrue(code.instructions[1] instanceof InvokeStatic); in c()
264 InvokeStatic invoke = (InvokeStatic) code.instructions[1]; in c()
326 assertTrue(code.instructions[0] instanceof ConstString); in d()
[all …]
DBinopLiteralTest.java65 assertEquals(2, code.instructions.length); in lit8PassthroughTest()
66 assertTrue(code.instructions[0] instanceof Format22b); in lit8PassthroughTest()
67 assertEquals(lit8Value, ((Format22b) code.instructions[0]).CC); in lit8PassthroughTest()
68 assertTrue(code.instructions[1] instanceof Return); in lit8PassthroughTest()
90 assertEquals(2, code.instructions.length); in lit16PassthroughTest()
91 assertTrue(code.instructions[0] instanceof Format22s); in lit16PassthroughTest()
92 assertEquals(lit16Value, ((Format22s) code.instructions[0]).CCCC); in lit16PassthroughTest()
93 assertTrue(code.instructions[1] instanceof Return); in lit16PassthroughTest()
113 assertEquals(3, code.instructions.length); in lit16NotSupported()
114 assertTrue(code.instructions[0] instanceof Const16); in lit16NotSupported()
[all …]
DSwitchRewritingTest.java92 assertEquals(5, code.instructions.length); in runSingleCaseDexTest()
93 assertTrue(code.instructions[0] instanceof IfEqz); in runSingleCaseDexTest()
95 assertEquals(6, code.instructions.length); in runSingleCaseDexTest()
96 assertTrue(some16BitConst(code.instructions[0])); in runSingleCaseDexTest()
97 assertTrue(code.instructions[1] instanceof IfEq); in runSingleCaseDexTest()
152 assertTrue(code.instructions[0] instanceof PackedSwitch); in runTwoCaseSparseToPackedDexTest()
154 assertTrue(code.instructions[0] instanceof SparseSwitch); in runTwoCaseSparseToPackedDexTest()
224 assertTrue(code.instructions[0] instanceof PackedSwitch); in runLargerSwitchDexTest()
226 assertTrue(code.instructions[0] instanceof SparseSwitch); in runLargerSwitchDexTest()
293 assertEquals(5, code.instructions.length); in runSingleCaseJarTest()
[all …]
/external/guice/core/test/com/googlecode/guice/
DOSGiContainerTest.java77 Properties instructions = new Properties(); in setUp() local
81 instructions.setProperty("Export-Package", "org.aopalliance.*"); in setUp()
82 buildBundle("aopalliance", instructions, AOPALLIANCE_JAR); in setUp()
83 instructions.clear(); in setUp()
87 instructions.setProperty("Export-Package", "javax.inject.*"); in setUp()
88 buildBundle("javax.inject", instructions, JAVAX_INJECT_JAR); in setUp()
89 instructions.clear(); in setUp()
92 instructions.setProperty("Export-Package", "com.google.common.*"); in setUp()
93 instructions.setProperty("Import-Package", "*;resolution:=optional"); in setUp()
94 buildBundle("guava", instructions, GUAVA_JAR); in setUp()
[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/mesa3d/src/compiler/glsl/tests/
Dopt_add_neg_to_sub_test.cpp35 exec_list instructions; member in add_neg_to_sub
49 instructions.make_empty(); in SetUp()
50 body = new ir_factory(&instructions, mem_ctx); in SetUp()
79 visit_list_elements(&v, &instructions); in TEST_F()
81 ASSERT_FALSE(instructions.is_empty()); in TEST_F()
83 ir_instruction *const ir = (ir_instruction *) instructions.pop_head(); in TEST_F()
85 EXPECT_TRUE(instructions.is_empty()); in TEST_F()
112 visit_list_elements(&v, &instructions); in TEST_F()
114 ASSERT_FALSE(instructions.is_empty()); in TEST_F()
116 ir_instruction *const ir = (ir_instruction *) instructions.pop_head(); in TEST_F()
[all …]
/external/vixl/benchmarks/aarch32/
Dbench-dataop.cc44 void benchmark(unsigned instructions, InstructionSet isa) { in benchmark() argument
54 for (unsigned i = 0; i < instructions; ++i) { in benchmark()
66 instructions, in benchmark()
71 unsigned instructions = 0; in main() local
75 instructions = kDefaultInstructionCount; in main()
78 instructions = atoi(argv[1]); in main()
86 benchmark(instructions, A32); in main()
89 benchmark(instructions, T32); in main()
/external/smali/smalidea/src/test/java/org/jf/smalidea/dexlib/
DSmalideaMethodTest.java115 List<? extends Instruction> instructions = Lists.newArrayList(impl.getInstructions()); in testSmalideaMethod() local
118 Instruction10t instruction = (Instruction10t)instructions.get(0); in testSmalideaMethod()
124 Instruction10x instruction = (Instruction10x)instructions.get(1); in testSmalideaMethod()
129 Instruction11n instruction = (Instruction11n)instructions.get(2); in testSmalideaMethod()
136 Instruction11x instruction = (Instruction11x)instructions.get(3); in testSmalideaMethod()
142 Instruction12x instruction = (Instruction12x)instructions.get(4); in testSmalideaMethod()
149 Instruction20t instruction = (Instruction20t)instructions.get(5); in testSmalideaMethod()
155 Instruction21c instruction = (Instruction21c)instructions.get(6); in testSmalideaMethod()
163 Instruction21ih instruction = (Instruction21ih)instructions.get(7); in testSmalideaMethod()
172 Instruction21lh instruction = (Instruction21lh)instructions.get(8); in testSmalideaMethod()
[all …]
/external/vixl/benchmarks/aarch64/
Dbench-branch-link.cc40 int instructions = 0; in main() local
44 instructions = kDefaultInstructionCount; in main()
47 instructions = atoi(argv[1]); in main()
54 MacroAssembler masm(instructions * kInstructionSize); in main()
55 ExactAssemblyScope scope(&masm, instructions * kInstructionSize); in main()
60 for (int i = 0; i < instructions; i++) { in main()
Dbench-dataop.cc44 unsigned instructions = 0; in main() local
48 instructions = kDefaultInstructionCount; in main()
51 instructions = atoi(argv[1]); in main()
66 unsigned rounds = instructions / buffer_instruction_count; in main()
77 unsigned remaining = instructions % buffer_instruction_count; in main()
90 printf("A64: time for %d instructions: %gs\n", instructions, delta); in main()
Dbench-branch.cc44 int instructions = 0; in main() local
48 instructions = kDefaultInstructionCount; in main()
51 instructions = atoi(argv[1]); in main()
67 int rounds = instructions / buffer_instruction_count; in main()
80 int remaining = instructions % buffer_instruction_count; in main()
95 printf("A64: time for %d instructions: %gs\n", instructions, delta); in main()
/external/llvm/docs/
DHowToUseInstrMappings.rst14 could be to use switch cases which list all the instructions along with formats
24 TableGen uses relationship models to map instructions with each other. These
27 describe all the instructions using that model. TableGen parses all the relation
29 instructions with each other. These tables are emitted in the
36 // Used to reduce search space only to the instructions using this
40 // List of fields/attributes that should be same for all the instructions in
42 // by all the instructions related by this relationship.
45 // List of fields/attributes that are same for all the instructions
55 // each column in the relation table. These are the instructions a key
67 to define a relationship model that relates predicated instructions to their
[all …]
/external/google-breakpad/src/client/windows/unittests/
Dexception_handler_death_test.cc329 const unsigned char instructions[] = { 0xff, 0xff, 0xff, 0xff }; in TEST_F() local
340 memcpy(memory + kOffset, instructions, sizeof(instructions)); in TEST_F()
387 uint8_t suffix_bytes[kMemorySize - kOffset - sizeof(instructions)]; in TEST_F()
391 EXPECT_EQ(0, memcmp(bytes + kOffset, instructions, sizeof(instructions))); in TEST_F()
392 EXPECT_EQ(0, memcmp(bytes + kOffset + sizeof(instructions), in TEST_F()
419 const unsigned char instructions[] = { 0xff, 0xff, 0xff, 0xff }; in TEST_F() local
435 memcpy(memory + kOffset, instructions, sizeof(instructions)); in TEST_F()
481 uint8_t suffix_bytes[kMemorySize / 2 - sizeof(instructions)]; in TEST_F()
484 instructions, sizeof(instructions)) == 0); in TEST_F()
485 EXPECT_TRUE(memcmp(bytes + kOffset + sizeof(instructions), in TEST_F()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/
DImmutableMethodImplementation.java50 @Nonnull protected final ImmutableList<? extends ImmutableInstruction> instructions; field in ImmutableMethodImplementation
55 @Nullable Iterable<? extends Instruction> instructions, in ImmutableMethodImplementation() argument
59 this.instructions = ImmutableInstruction.immutableListOf(instructions); in ImmutableMethodImplementation()
65 … @Nullable ImmutableList<? extends ImmutableInstruction> instructions, in ImmutableMethodImplementation() argument
69 this.instructions = ImmutableUtils.nullToEmptyList(instructions); in ImmutableMethodImplementation()
90 …ide public ImmutableList<? extends ImmutableInstruction> getInstructions() { return instructions; } in getInstructions()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARM.td34 "Enable VFP2 instructions">;
36 "Enable VFP3 instructions",
39 "Enable NEON instructions",
42 "Enable Thumb2 instructions">;
50 "Enable divide instructions">;
52 "Enable Thumb2 extract and pack instructions">;
54 "Has data barrier (dmb / dsb) instructions">;
60 // Some processors have FP multiply-accumulate instructions that don't
61 // play nicely with other VFP / NEON instructions, and it's generally better
64 "Disable VFP / NEON MAC instructions">;
[all …]
/external/llvm/lib/Target/PowerPC/
DPPC.td55 "Enable 64-bit instructions">;
63 "Enable Altivec instructions">;
65 "Enable SPE instructions">;
87 "Enable the fri[mnpz] instructions">;
89 "Enable fc[ft]* (unsigned and single-precision) and lfiwzx instructions">;
95 "Enable extended divide instructions">;
103 "Enable Book E instructions",
109 "Enable E500/E500mc instructions">;
111 "Enable PPC 4xx instructions">;
113 "Enable PPC 6xx instructions">;
[all …]

12345678910>>...84