HomeSort by relevance Sort by last modified time
    Searched refs:code_item (Results 1 - 25 of 53) sorted by null

1 2 3

  /art/compiler/
compiler.cc 39 bool Compiler::IsPathologicalCase(const DexFile::CodeItem& code_item,
47 if (code_item.insns_size_in_code_units_ >= UINT16_MAX / 4) {
49 << code_item.insns_size_in_code_units_
53 if (code_item.registers_size_ >= UINT16_MAX / 4) {
55 << code_item.registers_size_ << " in " << PrettyMethod(method_idx, dex_file);
exception_test.cc 126 const DexFile::CodeItem* code_item = dex_->GetCodeItem(method_f_->GetCodeItemOffset()); local
128 ASSERT_TRUE(code_item != nullptr);
130 ASSERT_EQ(2u, code_item->tries_size_);
131 ASSERT_NE(0u, code_item->insns_size_in_code_units_);
134 t0 = dex_->GetTryItems(*code_item, 0);
135 t1 = dex_->GetTryItems(*code_item, 1);
138 CatchHandlerIterator iter(*code_item, 4 /* Dex PC in the first try block */);
148 CatchHandlerIterator iter(*code_item, 8 /* Dex PC in the second try block */);
155 CatchHandlerIterator iter(*code_item, 11 /* Dex PC not in any try block */);
compiler.h 49 virtual CompiledMethod* Compile(const DexFile::CodeItem* code_item,
94 static bool IsPathologicalCase(const DexFile::CodeItem& code_item,
  /art/runtime/interpreter/mterp/
mterp_stub.cc 41 extern "C" bool ExecuteMterpImpl(Thread* self, const DexFile::CodeItem* code_item,
44 UNUSED(self); UNUSED(shadow_frame); UNUSED(code_item); UNUSED(result_register);
  /art/compiler/optimizing/
builder.h 41 const DexFile::CodeItem& code_item,
49 code_item_(code_item),
53 block_builder_(graph, dex_file, code_item),
70 const DexFile::CodeItem& code_item,
75 code_item_(code_item),
80 block_builder_(graph, nullptr, code_item),
block_builder.h 31 const DexFile::CodeItem& code_item)
35 code_item_(code_item),
36 branch_targets_(code_item.insns_size_in_code_units_,
bytecode_utils.h 29 CodeItemIterator(const DexFile::CodeItem& code_item, uint32_t start_dex_pc = 0u)
30 : code_ptr_(code_item.insns_ + start_dex_pc),
31 code_end_(code_item.insns_ + code_item.insns_size_in_code_units_),
166 inline const Instruction& GetDexInstructionAt(const DexFile::CodeItem& code_item, uint32_t dex_pc) {
167 return CodeItemIterator(code_item, dex_pc).CurrentInstruction();
optimizing_compiler.cc 264 CompiledMethod* Compile(const DexFile::CodeItem* code_item,
316 const DexFile::CodeItem* code_item,
584 const DexFile::CodeItem* code_item) const {
588 codegen->BuildStackMaps(MemoryRegion(stack_map.data(), stack_map.size()), *code_item); local
610 const DexFile::CodeItem* code_item,
642 if (Compiler::IsPathologicalCase(*code_item, method_idx, dex_file)) {
652 && (code_item->insns_size_in_code_units_ > kSpaceFilterOptimizingThreshold)) {
661 code_item,
743 *code_item,
787 CompiledMethod* OptimizingCompiler::Compile(const DexFile::CodeItem* code_item,
881 const DexFile::CodeItem* code_item = dex_file->GetCodeItem(method->GetCodeItemOffset()); local
923 codegen->BuildStackMaps(MemoryRegion(stack_map_data, stack_map_size), *code_item); local
    [all...]
  /art/compiler/driver/
dex_compilation_unit.cc 28 const DexFile::CodeItem* code_item,
37 code_item_(code_item),
dex_compilation_unit.h 40 const DexFile::CodeItem* code_item,
  /art/runtime/quick/
inline_method_analyser.cc 46 static bool Match(const DexFile::CodeItem* code_item, MatchFn* const (&pattern)[size]);
65 explicit Matcher(const DexFile::CodeItem* code_item)
66 : code_item_(code_item),
67 instruction_(Instruction::At(code_item->insns_)),
71 static bool DoMatch(const DexFile::CodeItem* code_item, MatchFn* const* pattern, size_t size);
80 bool Matcher::Match(const DexFile::CodeItem* code_item, MatchFn* const (&pattern)[size]) {
81 return DoMatch(code_item, pattern, size);
130 bool Matcher::DoMatch(const DexFile::CodeItem* code_item, MatchFn* const* pattern, size_t size) {
131 Matcher matcher(code_item);
162 size_t CountForwardedConstructorArguments(const DexFile::CodeItem* code_item,
450 const DexFile::CodeItem* code_item = method->GetCodeItem(); local
    [all...]
inline_method_analyser.h 244 static bool AnalyseMethodCode(const DexFile::CodeItem* code_item,
250 static bool AnalyseReturnMethod(const DexFile::CodeItem* code_item, InlineMethod* result);
251 static bool AnalyseConstMethod(const DexFile::CodeItem* code_item, InlineMethod* result);
252 static bool AnalyseIGetMethod(const DexFile::CodeItem* code_item,
258 static bool AnalyseIPutMethod(const DexFile::CodeItem* code_item,
  /art/runtime/interpreter/
interpreter.h 48 extern JValue EnterInterpreterFromEntryPoint(Thread* self, const DexFile::CodeItem* code_item,
52 void ArtInterpreterToInterpreterBridge(Thread* self, const DexFile::CodeItem* code_item,
interpreter.cc 254 JValue ExecuteGotoImpl<true, false>(Thread* self, const DexFile::CodeItem* code_item,
257 JValue ExecuteGotoImpl<false, false>(Thread* self, const DexFile::CodeItem* code_item,
260 JValue ExecuteGotoImpl<true, true>(Thread* self, const DexFile::CodeItem* code_item,
263 JValue ExecuteGotoImpl<false, true>(Thread* self, const DexFile::CodeItem* code_item,
269 const DexFile::CodeItem* code_item,
283 instrumentation->MethodEnterEvent(self, shadow_frame.GetThisObject(code_item->ins_size_),
296 ArtInterpreterToCompiledCodeBridge(self, nullptr, code_item, &shadow_frame, &result);
319 return ExecuteSwitchImpl<false, true>(self, code_item, shadow_frame, result_register,
322 return ExecuteSwitchImpl<false, false>(self, code_item, shadow_frame, result_register,
328 return ExecuteSwitchImpl<false, false>(self, code_item, shadow_frame, result_register
402 const DexFile::CodeItem* code_item = method->GetCodeItem(); local
533 const DexFile::CodeItem* code_item = shadow_frame->GetMethod()->GetCodeItem(); local
    [all...]
unstarted_runtime.h 51 const DexFile::CodeItem* code_item,
  /art/compiler/debug/
method_debug_info.h 32 const DexFile::CodeItem* code_item; member in struct:art::debug::MethodDebugInfo
  /art/compiler/dex/
dex_to_dex_compiler.h 40 const DexFile::CodeItem* code_item,
verified_method.cc 89 const DexFile::CodeItem* code_item = method_verifier->CodeItem(); local
90 const uint16_t* insns = code_item->insns_;
92 const Instruction* end = Instruction::At(insns + code_item->insns_size_in_code_units_);
135 const DexFile::CodeItem* code_item = method_verifier->CodeItem(); local
136 const uint16_t* insns = code_item->insns_;
138 const Instruction* end = Instruction::At(insns + code_item->insns_size_in_code_units_);
213 const DexFile::CodeItem* code_item = method_verifier->CodeItem(); local
214 const Instruction* inst = Instruction::At(code_item->insns_);
215 const Instruction* end = Instruction::At(code_item->insns_ +
216 code_item->insns_size_in_code_units_)
    [all...]
dex_to_dex_compiler.cc 114 const DexFile::CodeItem* code_item = unit_.GetCodeItem(); local
115 const uint16_t* insns = code_item->insns_;
116 const uint32_t insns_size = code_item->insns_size_in_code_units_;
317 const DexFile::CodeItem* code_item,
334 code_item,
  /art/runtime/jit/
profiling_info.cc 55 const DexFile::CodeItem& code_item = *method->GetCodeItem(); local
56 const uint16_t* code_ptr = code_item.insns_;
57 const uint16_t* code_end = code_item.insns_ + code_item.insns_size_in_code_units_;
  /art/runtime/
stack.cc 50 const DexFile::CodeItem* code_item = m->GetCodeItem(); local
51 CHECK(code_item != nullptr) << PrettyMethod(m);
52 uint16_t reg = code_item->registers_size_ - code_item->ins_size_;
195 const DexFile::CodeItem* code_item = m->GetCodeItem(); local
196 if (code_item == nullptr) {
201 uint16_t reg = code_item->registers_size_ - code_item->ins_size_;
264 const DexFile::CodeItem* code_item = m->GetCodeItem(); local
265 DCHECK(code_item != nullptr) << PrettyMethod(m); // Can't be null or how would we compil
425 const DexFile::CodeItem* code_item = m->GetCodeItem(); local
462 const DexFile::CodeItem* code_item = m->GetCodeItem(); local
    [all...]
dex_file-inl.h 45 inline const DexFile::TryItem* DexFile::GetTryItems(const CodeItem& code_item, uint32_t offset) {
46 const uint16_t* insns_end_ = &code_item.insns_[code_item.insns_size_in_code_units_];
dex_file.h 280 // Raw code_item.
807 static const TryItem* GetTryItems(const CodeItem& code_item, uint32_t offset);
810 static const uint8_t* GetCatchHandlerData(const CodeItem& code_item, uint32_t offset) {
812 reinterpret_cast<const uint8_t*>(GetTryItems(code_item, code_item.tries_size_));
817 static int32_t FindTryItem(const CodeItem &code_item, uint32_t address);
820 static int32_t FindCatchHandlerOffset(const CodeItem &code_item, uint32_t address);
823 const uint8_t* GetDebugInfoStream(const CodeItem* code_item) const {
827 if (code_item->debug_info_off_ == 0 || code_item->debug_info_off_ >= size_)
    [all...]
dex_file.cc 806 const CodeItem* code_item = GetCodeItem(method->GetCodeItemOffset()); local
807 DCHECK(code_item != nullptr) << PrettyMethod(method) << " " << GetLocation();
811 DecodeDebugPositionInfo(code_item, LineNumForPcCb, &context);
815 int32_t DexFile::FindTryItem(const CodeItem &code_item, uint32_t address) {
818 int32_t max = code_item.tries_size_ - 1;
823 const art::DexFile::TryItem* ti = GetTryItems(code_item, mid);
839 int32_t DexFile::FindCatchHandlerOffset(const CodeItem &code_item, uint32_t address) {
840 int32_t try_item = FindTryItem(code_item, address);
844 return DexFile::GetTryItems(code_item, try_item)->handler_off_;
848 bool DexFile::DecodeDebugLocalInfo(const CodeItem* code_item, bool is_static, uint32_t method_idx
    [all...]
  /art/oatdump/
oatdump.cc 235 const DexFile::CodeItem* code_item,
258 info.code_item = code_item;
779 uint32_t dex_method_idx, const DexFile::CodeItem* code_item,
814 DumpDexCode(vios->Stream(), dex_file, code_item);
826 dex_method_idx, &dex_file, class_def, code_item,
1824 const DexFile::CodeItem* code_item = method->GetCodeItem(); local
    [all...]

Completed in 344 milliseconds

1 2 3