Home
last modified time | relevance | path

Searched refs:instr (Results 1 – 12 of 12) sorted by relevance

/tools/dexter/slicer/
Dcode_ir.cc250 Instruction* instr = nullptr; in DissasembleBytecode() local
253 instr = DecodePackedSwitch(ptr, offset); in DissasembleBytecode()
257 instr = DecodeSparseSwitch(ptr, offset); in DissasembleBytecode()
261 instr = DecodeArrayData(ptr, offset); in DissasembleBytecode()
265 instr = DecodeBytecode(ptr, offset); in DissasembleBytecode()
269 instr->offset = offset; in DissasembleBytecode()
270 instructions.push_back(instr); in DissasembleBytecode()
281 FixupPackedSwitch(fixup.second.instr, fixup.second.base_offset, in FixupSwitches()
287 FixupSparseSwitch(fixup.second.instr, fixup.second.base_offset, in FixupSwitches()
364 auto& instr = packed_switches_[offset].instr; in DecodePackedSwitch() local
[all …]
Dcontrol_flow_graph.cc93 bool BasicBlocksVisitor::HandleAnnotation(Instruction* instr) { in HandleAnnotation() argument
95 StartBlock(instr); in HandleAnnotation()
100 bool BasicBlocksVisitor::SkipInstruction(Instruction* instr) { in SkipInstruction() argument
102 EndBlock(instr->prev); in SkipInstruction()
107 void BasicBlocksVisitor::StartBlock(Instruction* instr) { in StartBlock() argument
108 assert(instr != nullptr); in StartBlock()
112 current_block_.region.first = instr; in StartBlock()
117 void BasicBlocksVisitor::EndBlock(Instruction* instr) { in EndBlock() argument
118 assert(instr != nullptr); in EndBlock()
122 current_block_.region.last = instr; in EndBlock()
[all …]
Dbytecode_encoder.cc441 auto& instr = packed_switches_[offset_]; in Visit() local
442 SLICER_CHECK(instr == nullptr); in Visit()
443 instr = packed_switch; in Visit()
465 auto& instr = sparse_switches_[offset_]; in Visit() local
466 SLICER_CHECK(instr == nullptr); in Visit()
467 instr = sparse_switch; in Visit()
550 auto instr = packed_switches_[payload_offset]; in FixupPackedSwitch() local
551 SLICER_CHECK(instr != nullptr); in FixupPackedSwitch()
559 auto label = instr->targets[i]; in FixupPackedSwitch()
567 auto instr = sparse_switches_[payload_offset]; in FixupSparseSwitch() local
[all …]
Dinstrumentation.cc75 for (auto instr : code_ir->instructions) { in Apply() local
77 instr->Accept(&visitor); in Apply()
112 for (auto instr : code_ir->instructions) { in Apply() local
114 instr->Accept(&visitor); in Apply()
181 for (auto instr : code_ir->instructions) { in Apply() local
183 instr->Accept(&visitor); in Apply()
321 for (auto instr : code_ir->instructions) { in RegsRenumbering() local
322 instr->Accept(&visitor); in RegsRenumbering()
Dtryblocks_encoder.cc71 for (auto instr : instructions_) { in Encode() local
72 instr->Accept(&visitor); in Encode()
97 for (auto instr : instructions_) { in Encode() local
98 instr->Accept(this); in Encode()
Ddebuginfo_encoder.cc133 for (auto instr : instructions_) { in Encode() local
134 instr->Accept(this); in Encode()
/tools/dexter/dexter/
Dexperimental.cc67 auto instr = *it++; in StressWrapInvoke() local
68 auto bytecode = dynamic_cast<lir::Bytecode*>(instr); in StressWrapInvoke()
179 for (auto instr : code_ir.instructions) { in StressEntryHook() local
180 auto bytecode = dynamic_cast<lir::Bytecode*>(instr); in StressEntryHook()
227 for (auto instr : code_ir.instructions) { in StressExitHook() local
228 auto bytecode = dynamic_cast<lir::Bytecode*>(instr); in StressExitHook()
401 for (auto instr = block.region.first; instr != nullptr; instr = instr->next) { in CodeCoverage() local
402 trace_point = dynamic_cast<lir::Bytecode*>(instr); in CodeCoverage()
403 if (trace_point != nullptr || instr == block.region.last) { in CodeCoverage()
Ddissasembler.cc41 void PrintCodeIrVisitor::StartInstruction(const lir::Instruction* instr) { in StartInstruction() argument
46 if (instr == current_block.region.first) { in StartInstruction()
51 void PrintCodeIrVisitor::EndInstruction(const lir::Instruction* instr) { in EndInstruction() argument
56 if (instr == current_block.region.last) { in EndInstruction()
Ddissasembler.h55 void StartInstruction(const lir::Instruction* instr);
56 void EndInstruction(const lir::Instruction* instr);
/tools/tradefederation/contrib/src/com/android/media/tests/
DCameraTestBase.java189 InstrumentationTest instr = new InstrumentationTest(); in runInstrumentationTest() local
190 instr.setDevice(getDevice()); in runInstrumentationTest()
191 instr.setPackageName(getTestPackage()); in runInstrumentationTest()
192 instr.setRunnerName(getTestRunner()); in runInstrumentationTest()
193 instr.setClassName(getTestClass()); in runInstrumentationTest()
194 instr.setTestTimeout(getTestTimeoutMs()); in runInstrumentationTest()
195 instr.setShellTimeout(getShellTimeoutMs()); in runInstrumentationTest()
196 instr.setRunName(getRuKey()); in runInstrumentationTest()
197 instr.setRerunMode(false); in runInstrumentationTest()
207 instr.addInstrumentationArg(entry.getKey(), entry.getValue()); in runInstrumentationTest()
[all …]
/tools/dexter/slicer/export/slicer/
Dcontrol_flow_graph.h71 bool HandleAnnotation(Instruction* instr);
72 bool SkipInstruction(Instruction* instr);
75 void StartBlock(Instruction* instr);
78 void EndBlock(Instruction* instr);
Dcode_ir.h416 for (auto instr : instructions) { in Accept() local
417 instr->Accept(visitor); in Accept()
435 void FixupPackedSwitch(PackedSwitchPayload* instr, dex::u4 base_offset, const dex::u2* ptr);
436 void FixupSparseSwitch(SparseSwitchPayload* instr, dex::u4 base_offset, const dex::u2* ptr);
459 PackedSwitchPayload* instr = nullptr; member
464 SparseSwitchPayload* instr = nullptr; member