Lines Matching refs:ir_class

525     auto ir_class = classes[i].get();  in CreateClassDataSection()  local
527 dex_class_def->class_data_off = WriteClassData(ir_class); in CreateClassDataSection()
540 auto ir_class = classes[i].get(); in CreateAnnDirectoriesSection() local
542 dex_class_def->annotations_off = WriteClassAnnotations(ir_class); in CreateAnnDirectoriesSection()
554 auto ir_class = classes[i].get(); in CreateEncodedArrayItemSection() local
556 dex_class_def->static_values_off = WriteClassStaticValues(ir_class); in CreateEncodedArrayItemSection()
613 auto ir_class = classes[i].get(); in FillClassDefs() local
615 dex_class_def->class_idx = ir_class->type->index; in FillClassDefs()
616 dex_class_def->access_flags = ir_class->access_flags; in FillClassDefs()
617 dex_class_def->superclass_idx = OptIndex(ir_class->super_class); in FillClassDefs()
618 dex_class_def->source_file_idx = OptIndex(ir_class->source_file); in FillClassDefs()
619 dex_class_def->interfaces_off = FilePointer(ir_class->interfaces); in FillClassDefs()
688 dex::u4 Writer::WriteClassAnnotations(const ir::Class* ir_class) { in WriteClassAnnotations() argument
689 if (ir_class->annotations == nullptr) { in WriteClassAnnotations()
693 auto ir_annotations = ir_class->annotations; in WriteClassAnnotations()
1014 dex::u4 Writer::WriteClassData(const ir::Class* ir_class) { in WriteClassData() argument
1015 if (ir_class->static_fields.empty() && ir_class->instance_fields.empty() && in WriteClassData()
1016 ir_class->direct_methods.empty() && ir_class->virtual_methods.empty()) { in WriteClassData()
1023 data.PushULeb128(ir_class->static_fields.size()); in WriteClassData()
1024 data.PushULeb128(ir_class->instance_fields.size()); in WriteClassData()
1025 data.PushULeb128(ir_class->direct_methods.size()); in WriteClassData()
1026 data.PushULeb128(ir_class->virtual_methods.size()); in WriteClassData()
1029 for (auto ir_encoded_field : ir_class->static_fields) { in WriteClassData()
1034 for (auto ir_encoded_field : ir_class->instance_fields) { in WriteClassData()
1039 for (auto ir_encoded_method : ir_class->direct_methods) { in WriteClassData()
1044 for (auto ir_encoded_method : ir_class->virtual_methods) { in WriteClassData()
1052 dex::u4 Writer::WriteClassStaticValues(const ir::Class* ir_class) { in WriteClassStaticValues() argument
1053 if (ir_class->static_init == nullptr) { in WriteClassStaticValues()
1057 dex::u4& offset = node_offset_[ir_class->static_init]; in WriteClassStaticValues()
1061 WriteEncodedArray(ir_class->static_init, data); in WriteClassStaticValues()