Home
last modified time | relevance | path

Searched refs:ins (Results 1 – 22 of 22) sorted by relevance

/art/libdexfile/dex/
Ddex_instruction_test.cc80 DexInstructionIterator ins(instruction, /*dex_pc=*/ 0u); in TEST() local
81 ASSERT_EQ(4u, ins->SizeInCodeUnits()); in TEST()
83 ASSERT_TRUE(ins->HasVRegA()); in TEST()
84 ASSERT_EQ(4, ins->VRegA()); in TEST()
85 ASSERT_EQ(4u, ins->VRegA_45cc()); in TEST()
86 ASSERT_EQ(4u, ins->VRegA_45cc(instruction[0])); in TEST()
88 ASSERT_TRUE(ins->HasVRegB()); in TEST()
89 ASSERT_EQ(16, ins->VRegB()); in TEST()
90 ASSERT_EQ(16u, ins->VRegB_45cc()); in TEST()
92 ASSERT_TRUE(ins->HasVRegC()); in TEST()
[all …]
/art/compiler/optimizing/
Dload_store_elimination.cc3189 void AddMaterialization(HBasicBlock* blk, HInstruction* ins) { in AddMaterialization() argument
3198 << *ins; in AddMaterialization()
3199 materializations_[blk->GetBlockId()] = ins; in AddMaterialization()
3200 LSE_VLOG << "In block " << blk->GetBlockId() << " materialization is " << *ins; in AddMaterialization()
3201 helper_->NotifyNewMaterialization(ins); in AddMaterialization()
3284 for (auto& [ins, idx] : to_replace) { in ReplaceInput()
3285 HInstruction* merged_inst = GetMaterialization(ins->GetBlock()); in ReplaceInput()
3286 if (ins->IsPhi() && merged_inst->IsPhi() && ins->GetBlock() == merged_inst->GetBlock()) { in ReplaceInput()
3288 ins->ReplaceInput(merged_inst->InputAt(idx), idx); in ReplaceInput()
3290 ins->ReplaceInput(merged_inst, idx); in ReplaceInput()
[all …]
Dreference_type_propagation_test.cc342 std::vector<HInstruction*> ins(vals.begin(), vals.end()); in RunVisitListTest() local
343 CHECK(std::none_of(ins.begin(), ins.end(), [](auto x) { return x == nullptr; })); in RunVisitListTest()
344 mutator(ins, maybe_null_val); in RunVisitListTest()
345 propagation_->Visit(ArrayRef<HInstruction* const>(ins)); in RunVisitListTest()
427 std::vector<HInstruction*> ins(vals.begin(), vals.end()); in RunVisitListTest() local
430 mutator(ins); in RunVisitListTest()
431 propagation_->Visit(ArrayRef<HInstruction* const>(ins)); in RunVisitListTest()
493 std::for_each(lst.begin(), lst.end(), [&](HInstruction* ins) { in TEST_P() argument
494 ins->AsPhi()->SetCanBeNull(next_null()); in TEST_P()
Doptimizing_unit_test.h392 void ManuallyBuildEnvFor(HInstruction* ins, const std::initializer_list<HInstruction*>& env) { in ManuallyBuildEnvFor() argument
394 OptimizingUnitTestHelper::ManuallyBuildEnvFor(ins, &current_locals); in ManuallyBuildEnvFor()
466 for (auto [ins, idx] : ZipCount(MakeIterationRange(args))) { in MakeInvoke()
467 res->SetRawInputAt(idx, ins); in MakeInvoke()
472 HPhi* MakePhi(const std::vector<HInstruction*>& ins) { in MakePhi() argument
473 EXPECT_GE(ins.size(), 2u) << "Phi requires at least 2 inputs"; in MakePhi()
475 new (GetAllocator()) HPhi(GetAllocator(), kNoRegNumber, ins.size(), ins[0]->GetType()); in MakePhi()
476 for (auto [i, idx] : ZipCount(MakeIterationRange(ins))) { in MakePhi()
Dload_store_elimination_test.cc388 void CheckFinalInstruction(HInstruction* ins, ComparisonPlacement placement) { in CheckFinalInstruction() argument
393 if (ins->IsIntConstant()) { in CheckFinalInstruction()
395 EXPECT_TRUE(ins->AsIntConstant()->IsTrue()) << kind << " " << *ins; in CheckFinalInstruction()
397 EXPECT_TRUE(ins->AsIntConstant()->IsFalse()) << kind << " " << *ins; in CheckFinalInstruction()
403 EXPECT_TRUE(ins->AsIntConstant()->IsFalse()) << kind << " " << *ins; in CheckFinalInstruction()
405 EXPECT_TRUE(ins->AsIntConstant()->IsTrue()) << kind << " " << *ins; in CheckFinalInstruction()
412 << " Instead we got:" << std::endl << ins->DumpWithArgs(); in CheckFinalInstruction()
415 ASSERT_TRUE(ins->IsEqual() || ins->IsNotEqual()) << *ins; in CheckFinalInstruction()
416 HInstruction* other = kind.position_ == Position::kLeft ? ins->AsBinaryOperation()->GetRight() in CheckFinalInstruction()
417 : ins->AsBinaryOperation()->GetLeft(); in CheckFinalInstruction()
[all …]
Dnodes.cc2024 return const_cast<HInstruction*>(rhs.ins)->Dump(os, /* dump_args= */ false); in operator <<()
2030 return const_cast<HInstruction*>(rhs.ins)->Dump(os, /* dump_args= */ true); in operator <<()
Dnodes.h2256 const HInstruction* ins; member
2263 const HInstruction* ins; member
/art/test/dexdump/
Dall.txt110 ins : 1
127 ins : 0
157 ins : 0
205 ins : 0
253 ins : 0
277 ins : 0
304 ins : 0
325 ins : 0
353 ins : 0
380 ins : 0
[all …]
Dquoting.txt54 ins : 1
74 ins : 2
102 ins : 1
Dconst-method-handle.txt58 ins : 1
77 ins : 1
137 ins : 1
156 ins : 1
198 ins : 1
228 ins : 1
250 ins : 0
267 ins : 0
Dinvoke-custom.txt59 ins : 2
104 ins : 1
123 ins : 2
158 ins : 2
193 ins : 4
229 ins : 2
265 ins : 2
300 ins : 4
336 ins : 2
373 ins : 2
[all …]
Dinvoke-polymorphic.txt58 ins : 1
77 ins : 1
Dall-dex-files.txt110 ins : 1
127 ins : 0
157 ins : 0
205 ins : 0
253 ins : 0
277 ins : 0
304 ins : 0
325 ins : 0
353 ins : 0
380 ins : 0
[all …]
Dstaticfields.txt113 ins : 1
Dvalues.txt324 ins : 0
343 ins : 1
Dbytecodes.txt132 ins : 1
180 ins : 1
233 ins : 1
280 ins : 1
448 ins : 0
498 ins : 1
650 ins : 2
818 ins : 1
912 ins : 1
1037 ins : 2
[all …]
Dcheckers.txt58 ins : 1
75 ins : 2
106 ins : 2
123 ins : 2
168 ins : 2
288 ins : 3
327 ins : 2
420 ins : 1
445 ins : 1
464 ins : 2
[all …]
/art/runtime/interpreter/mterp/arm64ng/
Dmain.S318 .macro FETCH_CODE_ITEM_INFO code_item, registers, outs, ins, load_ins
325 ubfx \ins, w13, #COMPACT_CODE_ITEM_INS_SIZE_SHIFT, #4
344 add \ins, \ins, w12
354 add \registers, \registers, \ins
364 ldrh \ins, [\code_item, #CODE_ITEM_INS_SIZE_OFFSET]
1549 .macro SETUP_REFERENCE_PARAMETER_IN_GPR gpr32, regs, refs, ins, arg_offset, finished
1551 sub \ins, \ins, #1
1554 cbz \ins, \finished
1558 .macro SETUP_REFERENCE_PARAMETERS_IN_STACK regs, refs, ins, stack_ptr, arg_offset
1561 sub \ins, \ins, #1
[all …]
/art/runtime/interpreter/mterp/armng/
Dmain.S338 .macro FETCH_CODE_ITEM_INFO code_item, registers, outs, ins, load_ins
346 ubfx \ins, lr, #COMPACT_CODE_ITEM_INS_SIZE_SHIFT, #4
370 add \ins, \ins, lr
382 add \registers, \registers, \ins
392 ldrh \ins, [\code_item, #CODE_ITEM_INS_SIZE_OFFSET]
1565 .macro SETUP_REFERENCE_PARAMETER_IN_GPR gpr32, regs, refs, ins, arg_offset, finished
1567 subs \ins, \ins, #1
1573 .macro SETUP_REFERENCE_PARAMETERS_IN_STACK regs, refs, ins, stack_ptr, arg_offset
1576 subs \ins, \ins, #1
/art/runtime/interpreter/mterp/x86_64ng/
Dmain.S286 .macro FETCH_CODE_ITEM_INFO code_item, registers, outs, ins, load_ins
298 movl %r10d, \ins
299 sarl $$COMPACT_CODE_ITEM_INS_SIZE_SHIFT, \ins
300 andl $$0xf, \ins
325 addl %r10d, \ins
337 addl \ins, \registers
347 movzwl CODE_ITEM_INS_SIZE_OFFSET(\code_item), \ins
1653 .macro SETUP_REFERENCE_PARAMETER_IN_GPR gpr32, regs, refs, ins, arg_offset, finished
1657 subl MACRO_LITERAL(1), REG_VAR(ins)
1662 .macro SETUP_REFERENCE_PARAMETERS_IN_STACK regs, refs, ins, stack_ptr, arg_offset
[all …]
/art/runtime/interpreter/
Dinterpreter_common.h155 NeedsMethodExitEvent(const instrumentation::Instrumentation* ins) in NeedsMethodExitEvent() argument
157 return ins->HasMethodExitListeners() || ins->HasWatchedFramePopListeners(); in NeedsMethodExitEvent()
/art/runtime/interpreter/mterp/x86ng/
Dmain.S327 .macro FETCH_CODE_ITEM_INFO code_item, registers, outs, ins, load_ins
339 movl %edx, \ins
340 sarl $$COMPACT_CODE_ITEM_INS_SIZE_SHIFT, \ins
341 andl $$0xf, \ins
366 addl %edx, \ins
378 addl \ins, \registers
388 movzwl CODE_ITEM_INS_SIZE_OFFSET(\code_item), \ins