Lines Matching refs:field_info
46 uint32_t field_info;
59 #define DEF_IGET(opcode, reg, obj, field_info) \
60 { opcode, 0u, field_info, 1, { obj }, 1, { reg } }
61 #define DEF_IGET_WIDE(opcode, reg, obj, field_info) \
62 { opcode, 0u, field_info, 1, { obj }, 2, { reg, reg + 1 } }
63 #define DEF_IPUT(opcode, reg, obj, field_info) \
64 { opcode, 0u, field_info, 2, { reg, obj }, 0, { } }
65 #define DEF_IPUT_WIDE(opcode, reg, obj, field_info) \
66 { opcode, 0u, field_info, 3, { reg, reg + 1, obj }, 0, { } }
67 #define DEF_SGET(opcode, reg, field_info) \
68 { opcode, 0u, field_info, 0, { }, 1, { reg } }
69 #define DEF_SGET_WIDE(opcode, reg, field_info) \
70 { opcode, 0u, field_info, 0, { }, 2, { reg, reg + 1 } }
71 #define DEF_SPUT(opcode, reg, field_info) \
72 { opcode, 0u, field_info, 1, { reg }, 0, { } }
73 #define DEF_SPUT_WIDE(opcode, reg, field_info) \
74 { opcode, 0u, field_info, 2, { reg, reg + 1 }, 0, { } }
93 MirIFieldLoweringInfo field_info(def->field_idx);
95 field_info.declaring_dex_file_ = reinterpret_cast<const DexFile*>(def->declaring_dex_file);
96 field_info.declaring_field_idx_ = def->declaring_field_idx;
97 field_info.flags_ = 0u | // Without kFlagIsStatic.
100 cu_.mir_graph->ifield_lowering_infos_.Insert(field_info);
114 MirSFieldLoweringInfo field_info(def->field_idx);
116 field_info.flags_ = MirSFieldLoweringInfo::kFlagIsStatic |
119 field_info.declaring_dex_file_ = reinterpret_cast<const DexFile*>(def->declaring_dex_file);
120 field_info.declaring_field_idx_ = def->declaring_field_idx;
121 field_info.flags_ |= (def->is_volatile ? MirSFieldLoweringInfo::kFlagIsVolatile : 0u);
123 cu_.mir_graph->sfield_lowering_infos_.Insert(field_info);
143 ASSERT_LT(def->field_info, cu_.mir_graph->ifield_lowering_infos_.Size());
144 mir->meta.ifield_lowering_info = def->field_info;
146 ASSERT_LT(def->field_info, cu_.mir_graph->sfield_lowering_infos_.Size());
147 mir->meta.sfield_lowering_info = def->field_info;