Lines Matching defs:compiled_method

29 #include "compiled_method.h"
160 static const SwapVector<uint8_t>* GetData(const CompiledMethod* compiled_method) ALWAYS_INLINE {
161 return compiled_method->GetGcMap();
182 static const SwapVector<uint8_t>* GetData(const CompiledMethod* compiled_method) ALWAYS_INLINE {
183 return compiled_method->GetMappingTable();
204 static const SwapVector<uint8_t>* GetData(const CompiledMethod* compiled_method) ALWAYS_INLINE {
205 return compiled_method->GetVmapTable();
316 CompiledMethod* compiled_method =
318 compiled_methods_.push_back(compiled_method);
319 if (compiled_method != nullptr) {
370 CompiledMethod* compiled_method = oat_class->GetCompiledMethod(class_def_method_index);
372 if (compiled_method != nullptr) {
376 const SwapVector<uint8_t>* quick_code = compiled_method->GetQuickCode();
380 uint32_t thumb_offset = compiled_method->CodeDelta();
385 quick_code_offset = NewQuickCodeOffset(compiled_method, it, thumb_offset);
387 auto lb = dedupe_map_.lower_bound(compiled_method);
388 if (lb != dedupe_map_.end() && !dedupe_map_.key_comp()(compiled_method, lb->first)) {
392 quick_code_offset = NewQuickCodeOffset(compiled_method, it, thumb_offset);
393 dedupe_map_.PutBefore(lb, compiled_method, quick_code_offset);
430 uint32_t frame_size_in_bytes = compiled_method->GetFrameSizeInBytes();
431 uint32_t core_spill_mask = compiled_method->GetCoreSpillMask();
432 uint32_t fp_spill_mask = compiled_method->GetFpSpillMask();
442 if (!compiled_method->GetPatches().empty()) {
444 for (const LinkerPatch& patch : compiled_method->GetPatches()) {
465 compiled_method});
481 const SwapVector<uint8_t>* gc_map = compiled_method->GetGcMap();
533 uint32_t NewQuickCodeOffset(CompiledMethod* compiled_method,
537 offset_, compiled_method, MethodReference(dex_file_, it.GetMemberIndex()));
538 offset_ = compiled_method->AlignCode(offset_);
540 GetInstructionSetAlignment(compiled_method->GetInstructionSet()));
562 CompiledMethod* compiled_method = oat_class->GetCompiledMethod(class_def_method_index);
564 if (compiled_method != nullptr) {
568 const SwapVector<uint8_t>* map = DataAccess::GetData(compiled_method);
603 CompiledMethod* compiled_method = oat_class->GetCompiledMethod(class_def_method_index);
606 if (compiled_method != nullptr) {
685 const CompiledMethod* compiled_method = oat_class->GetCompiledMethod(class_def_method_index);
687 if (compiled_method != nullptr) { // ie. not an abstract method
691 const SwapVector<uint8_t>* quick_code = compiled_method->GetQuickCode();
706 uint32_t aligned_offset = compiled_method->AlignCode(offset_);
717 GetInstructionSetAlignment(compiled_method->GetInstructionSet()));
719 offset_ + sizeof(OatQuickMethodHeader) + compiled_method->CodeDelta())
732 if (!compiled_method->GetPatches().empty()) {
735 for (const LinkerPatch& patch : compiled_method->GetPatches()) {
906 const CompiledMethod* compiled_method = oat_class->GetCompiledMethod(class_def_method_index);
908 if (compiled_method != nullptr) { // ie. not an abstract method
916 const SwapVector<uint8_t>* map = DataAccess::GetData(compiled_method);
1503 CompiledMethod* compiled_method = compiled_methods_[i];
1504 if (compiled_method == nullptr) {