Home
last modified time | relevance | path

Searched refs:opt_flags (Results 1 – 23 of 23) sorted by relevance

/art/compiler/dex/quick/
Dmir_to_lir.cc384 int opt_flags = mir->optimization_flags; in CompileDalvikInstruction() local
442 GenSuspendTest(opt_flags); in CompileDalvikInstruction()
451 GenSuspendTest(opt_flags); in CompileDalvikInstruction()
459 GenSuspendTest(opt_flags); in CompileDalvikInstruction()
466 if ((opt_flags & MIR_INLINED) != 0) { in CompileDalvikInstruction()
474 if ((opt_flags & MIR_INLINED) != 0) { in CompileDalvikInstruction()
521 GenMonitorEnter(opt_flags, rl_src[0]); in CompileDalvikInstruction()
525 GenMonitorExit(opt_flags, rl_src[0]); in CompileDalvikInstruction()
548 GenNullCheck(rl_src[0].reg, opt_flags); in CompileDalvikInstruction()
551 MarkPossibleNullPointerException(opt_flags); in CompileDalvikInstruction()
[all …]
Dgen_invoke.cc468 cg->GenNullCheck(cg->TargetReg(kArg1, kRef), info->opt_flags); in CommonCallCodeLoadClassIntoArg0()
473 cg->MarkPossibleNullPointerException(info->opt_flags); in CommonCallCodeLoadClassIntoArg0()
859 *pcrLabel = GenExplicitNullCheck(TargetReg(kArg1, kRef), info->opt_flags); in GenDalvikArgsNoRange()
863 (info->opt_flags & MIR_IGNORE_NULL_CHECK)) { in GenDalvikArgsNoRange()
868 GenImplicitNullCheck(TargetReg(kArg1, kRef), info->opt_flags); in GenDalvikArgsNoRange()
876 void Mir2Lir::GenImplicitNullCheck(RegStorage reg, int opt_flags) { in GenImplicitNullCheck() argument
877 if (!(cu_->disable_opt & (1 << kNullCheckElimination)) && (opt_flags & MIR_IGNORE_NULL_CHECK)) { in GenImplicitNullCheck()
882 MarkPossibleNullPointerException(opt_flags); in GenImplicitNullCheck()
1097 *pcrLabel = GenExplicitNullCheck(TargetReg(kArg1, kRef), info->opt_flags); in GenDalvikArgsRange()
1101 (info->opt_flags & MIR_IGNORE_NULL_CHECK)) { in GenDalvikArgsRange()
[all …]
Dgen_common.cc159 LIR* Mir2Lir::GenNullCheck(RegStorage m_reg, int opt_flags) { in GenNullCheck() argument
161 return GenExplicitNullCheck(m_reg, opt_flags); in GenNullCheck()
167 LIR* Mir2Lir::GenExplicitNullCheck(RegStorage m_reg, int opt_flags) { in GenExplicitNullCheck() argument
168 if (!(cu_->disable_opt & (1 << kNullCheckElimination)) && (opt_flags & MIR_IGNORE_NULL_CHECK)) { in GenExplicitNullCheck()
174 void Mir2Lir::MarkPossibleNullPointerException(int opt_flags) { in MarkPossibleNullPointerException() argument
176 if (!(cu_->disable_opt & (1 << kNullCheckElimination)) && (opt_flags & MIR_IGNORE_NULL_CHECK)) { in MarkPossibleNullPointerException()
184 void Mir2Lir::MarkPossibleNullPointerExceptionAfter(int opt_flags, LIR* after) { in MarkPossibleNullPointerExceptionAfter() argument
186 if (!(cu_->disable_opt & (1 << kNullCheckElimination)) && (opt_flags & MIR_IGNORE_NULL_CHECK)) { in MarkPossibleNullPointerExceptionAfter()
199 void Mir2Lir::ForceImplicitNullCheck(RegStorage reg, int opt_flags) { in ForceImplicitNullCheck() argument
201 if (!(cu_->disable_opt & (1 << kNullCheckElimination)) && (opt_flags & MIR_IGNORE_NULL_CHECK)) { in ForceImplicitNullCheck()
[all …]
Dmir_to_lir.h834 void MarkPossibleNullPointerException(int opt_flags);
835 void MarkPossibleNullPointerExceptionAfter(int opt_flags, LIR* after);
837 void ForceImplicitNullCheck(RegStorage reg, int opt_flags);
838 LIR* GenNullCheck(RegStorage m_reg, int opt_flags);
839 LIR* GenExplicitNullCheck(RegStorage m_reg, int opt_flags);
840 virtual void GenImplicitNullCheck(RegStorage reg, int opt_flags);
855 void GenIGet(MIR* mir, int opt_flags, OpSize size,
857 void GenIPut(MIR* mir, int opt_flags, OpSize size,
859 void GenArrayObjPut(int opt_flags, RegLocation rl_array, RegLocation rl_index,
877 virtual void GenSuspendTest(int opt_flags);
[all …]
/art/compiler/dex/portable/
Dmir_to_gbc.cc285 void MirConverter::ConvertMonitorEnterExit(int opt_flags, in ConvertMonitorEnterExit() argument
289 args.push_back(irb_->getInt32(opt_flags)); in ConvertMonitorEnterExit()
295 void MirConverter::ConvertArrayLength(int opt_flags, in ConvertArrayLength() argument
298 args.push_back(irb_->getInt32(opt_flags)); in ConvertArrayLength()
476 args.push_back(irb_->getInt32(info->opt_flags)); in ConvertInvoke()
554 void MirConverter::ConvertAget(int opt_flags, in ConvertAget() argument
558 args.push_back(irb_->getInt32(opt_flags)); in ConvertAget()
566 void MirConverter::ConvertAput(int opt_flags, in ConvertAput() argument
570 args.push_back(irb_->getInt32(opt_flags)); in ConvertAput()
578 void MirConverter::ConvertIget(int opt_flags, in ConvertIget() argument
[all …]
Dmir_to_gbc.h110 void ConvertMonitorEnterExit(int opt_flags,
112 void ConvertArrayLength(int opt_flags, RegLocation rl_dest,
143 void ConvertAget(int opt_flags, art::llvm::IntrinsicHelper::IntrinsicId id,
145 void ConvertAput(int opt_flags, art::llvm::IntrinsicHelper::IntrinsicId id,
147 void ConvertIget(int opt_flags, art::llvm::IntrinsicHelper::IntrinsicId id,
149 void ConvertIput(int opt_flags, art::llvm::IntrinsicHelper::IntrinsicId id,
/art/compiler/dex/quick/arm/
Dcall_arm.cc179 void ArmMir2Lir::GenMonitorEnter(int opt_flags, RegLocation rl_src) { in GenMonitorEnter() argument
187 if ((opt_flags & MIR_IGNORE_NULL_CHECK) && !(cu_->disable_opt & (1 << kNullCheckElimination))) { in GenMonitorEnter()
198 MarkPossibleNullPointerException(opt_flags); in GenMonitorEnter()
222 GenNullCheck(rs_r0, opt_flags); in GenMonitorEnter()
226 MarkPossibleNullPointerException(opt_flags); in GenMonitorEnter()
250 void ArmMir2Lir::GenMonitorExit(int opt_flags, RegLocation rl_src) { in GenMonitorExit() argument
258 if ((opt_flags & MIR_IGNORE_NULL_CHECK) && !(cu_->disable_opt & (1 << kNullCheckElimination))) { in GenMonitorExit()
267 MarkPossibleNullPointerException(opt_flags); in GenMonitorExit()
290 GenNullCheck(rs_r0, opt_flags); in GenMonitorExit()
292 MarkPossibleNullPointerException(opt_flags); in GenMonitorExit()
Dcodegen_arm.h91 void GenArrayGet(int opt_flags, OpSize size, RegLocation rl_array,
93 void GenArrayPut(int opt_flags, OpSize size, RegLocation rl_array, RegLocation rl_index,
127 void GenMonitorEnter(int opt_flags, RegLocation rl_src);
128 void GenMonitorExit(int opt_flags, RegLocation rl_src);
Dint_arm.cc1284 void ArmMir2Lir::GenArrayGet(int opt_flags, OpSize size, RegLocation rl_array, in GenArrayGet() argument
1308 GenNullCheck(rl_array.reg, opt_flags); in GenArrayGet()
1310 bool needs_range_check = (!(opt_flags & MIR_IGNORE_RANGE_CHECK)); in GenArrayGet()
1316 MarkPossibleNullPointerException(opt_flags); in GenArrayGet()
1318 ForceImplicitNullCheck(rl_array.reg, opt_flags); in GenArrayGet()
1341 MarkPossibleNullPointerException(opt_flags); in GenArrayGet()
1362 MarkPossibleNullPointerException(opt_flags); in GenArrayGet()
1372 void ArmMir2Lir::GenArrayPut(int opt_flags, OpSize size, RegLocation rl_array, in GenArrayPut() argument
1408 GenNullCheck(rl_array.reg, opt_flags); in GenArrayPut()
1410 bool needs_range_check = (!(opt_flags & MIR_IGNORE_RANGE_CHECK)); in GenArrayPut()
[all …]
/art/compiler/dex/quick/arm64/
Dcall_arm64.cc188 void Arm64Mir2Lir::GenMonitorEnter(int opt_flags, RegLocation rl_src) { in GenMonitorEnter() argument
199 if ((opt_flags & MIR_IGNORE_NULL_CHECK) && !(cu_->disable_opt & (1 << kNullCheckElimination))) { in GenMonitorEnter()
210 MarkPossibleNullPointerException(opt_flags); in GenMonitorEnter()
237 void Arm64Mir2Lir::GenMonitorExit(int opt_flags, RegLocation rl_src) { in GenMonitorExit() argument
247 if ((opt_flags & MIR_IGNORE_NULL_CHECK) && !(cu_->disable_opt & (1 << kNullCheckElimination))) { in GenMonitorExit()
257 MarkPossibleNullPointerException(opt_flags); in GenMonitorExit()
Dint_arm64.cc1101 void Arm64Mir2Lir::GenArrayGet(int opt_flags, OpSize size, RegLocation rl_array, in GenArrayGet() argument
1125 GenNullCheck(rl_array.reg, opt_flags); in GenArrayGet()
1127 bool needs_range_check = (!(opt_flags & MIR_IGNORE_RANGE_CHECK)); in GenArrayGet()
1133 MarkPossibleNullPointerException(opt_flags); in GenArrayGet()
1135 ForceImplicitNullCheck(rl_array.reg, opt_flags); in GenArrayGet()
1163 MarkPossibleNullPointerException(opt_flags); in GenArrayGet()
1188 MarkPossibleNullPointerException(opt_flags); in GenArrayGet()
1198 void Arm64Mir2Lir::GenArrayPut(int opt_flags, OpSize size, RegLocation rl_array, in GenArrayPut() argument
1234 GenNullCheck(rl_array.reg, opt_flags); in GenArrayPut()
1236 bool needs_range_check = (!(opt_flags & MIR_IGNORE_RANGE_CHECK)); in GenArrayPut()
[all …]
Dcodegen_arm64.h144 void GenArrayGet(int opt_flags, OpSize size, RegLocation rl_array, RegLocation rl_index,
146 void GenArrayPut(int opt_flags, OpSize size, RegLocation rl_array, RegLocation rl_index,
193 void GenMonitorEnter(int opt_flags, RegLocation rl_src) OVERRIDE;
194 void GenMonitorExit(int opt_flags, RegLocation rl_src) OVERRIDE;
Dtarget_arm64.cc1188 *pcrLabel = GenExplicitNullCheck(TargetReg(kArg1, kRef), info->opt_flags); in GenDalvikArgsRange()
1195 MarkPossibleNullPointerException(info->opt_flags); in GenDalvikArgsRange()
/art/compiler/dex/quick/x86/
Dcall_x86.cc323 void X86Mir2Lir::GenImplicitNullCheck(RegStorage reg, int opt_flags) { in GenImplicitNullCheck() argument
324 if (!(cu_->disable_opt & (1 << kNullCheckElimination)) && (opt_flags & MIR_IGNORE_NULL_CHECK)) { in GenImplicitNullCheck()
330 MarkPossibleNullPointerException(opt_flags); in GenImplicitNullCheck()
Dcodegen_x86.h83 void GenImplicitNullCheck(RegStorage reg, int opt_flags) OVERRIDE;
146 void GenArrayGet(int opt_flags, OpSize size, RegLocation rl_array, RegLocation rl_index,
148 void GenArrayPut(int opt_flags, OpSize size, RegLocation rl_array,
Dtarget_x86.cc1286 GenNullCheck(rs_rDX, info->opt_flags); in GenInlinedIndexOf()
1287 info->opt_flags |= MIR_IGNORE_NULL_CHECK; // Record that we've null checked. in GenInlinedIndexOf()
2813 *pcrLabel = GenExplicitNullCheck(TargetReg(kArg1, kRef), info->opt_flags); in GenDalvikArgsRange()
2820 MarkPossibleNullPointerException(info->opt_flags); in GenDalvikArgsRange()
2845 GenNullCheck(rl_obj.reg, info->opt_flags); in GenInlinedCharAt()
2846 bool range_check = (!(info->opt_flags & MIR_IGNORE_RANGE_CHECK)); in GenInlinedCharAt()
2886 info->opt_flags |= MIR_IGNORE_NULL_CHECK; // Record that we've already null checked. in GenInlinedCharAt()
Dint_x86.cc2059 void X86Mir2Lir::GenArrayGet(int opt_flags, OpSize size, RegLocation rl_array, in GenArrayGet() argument
2086 GenNullCheck(rl_array.reg, opt_flags); in GenArrayGet()
2088 if (!(opt_flags & MIR_IGNORE_RANGE_CHECK)) { in GenArrayGet()
2108 void X86Mir2Lir::GenArrayPut(int opt_flags, OpSize size, RegLocation rl_array, in GenArrayPut() argument
2134 GenNullCheck(rl_array.reg, opt_flags); in GenArrayPut()
2136 if (!(opt_flags & MIR_IGNORE_RANGE_CHECK)) { in GenArrayPut()
/art/compiler/dex/quick/mips/
Dint_mips.cc485 void MipsMir2Lir::GenArrayGet(int opt_flags, OpSize size, RegLocation rl_array, in GenArrayGet() argument
503 GenNullCheck(rl_array.reg, opt_flags); in GenArrayGet()
506 bool needs_range_check = (!(opt_flags & MIR_IGNORE_RANGE_CHECK)); in GenArrayGet()
554 void MipsMir2Lir::GenArrayPut(int opt_flags, OpSize size, RegLocation rl_array, in GenArrayPut() argument
583 GenNullCheck(rl_array.reg, opt_flags); in GenArrayPut()
585 bool needs_range_check = (!(opt_flags & MIR_IGNORE_RANGE_CHECK)); in GenArrayPut()
Dcodegen_mips.h89 void GenArrayGet(int opt_flags, OpSize size, RegLocation rl_array,
91 void GenArrayPut(int opt_flags, OpSize size, RegLocation rl_array,
/art/compiler/llvm/
Dgbc_expander.cc371 int opt_flags);
376 int opt_flags);
1550 int opt_flags = LV2UInt(call_inst.getArgOperand(0)); in Expand_HLArrayGet() local
1552 EmitGuard_NullPointerException(dex_pc, array_addr, opt_flags); in Expand_HLArrayGet()
1554 opt_flags); in Expand_HLArrayGet()
1570 int opt_flags = LV2UInt(call_inst.getArgOperand(0)); in Expand_HLArrayPut() local
1572 EmitGuard_NullPointerException(dex_pc, array_addr, opt_flags); in Expand_HLArrayPut()
1574 opt_flags); in Expand_HLArrayPut()
1600 int opt_flags = LV2UInt(call_inst.getArgOperand(0)); in Expand_HLIGet() local
1602 EmitGuard_NullPointerException(dex_pc, object_addr, opt_flags); in Expand_HLIGet()
[all …]
Dintrinsic_func_list.def313 // uint32_t art_portable_opt_array_length(int32_t opt_flags, JavaObject* array)
/art/compiler/dex/
Dmir_graph.h522 int opt_flags; member
Dmir_graph.cc1467 info->opt_flags = mir->optimization_flags; in NewMemCallInfo()