Home
last modified time | relevance | path

Searched refs:is_const (Results 1 – 13 of 13) sorted by relevance

/art/compiler/dex/
Dreg_location.h46 unsigned is_const:1; // Constant, value in mir_graph->constant_values[]. member
Dvreg_analysis.cc415 table[i].is_const ? 'c' : 'n', in DumpRegLocTable()
427 table[i].is_const ? 'c' : 'n', in DumpRegLocTable()
446 loc[i].is_const = is_constant_v_->IsBitSet(i); in InitRegLocations()
Dmir_graph.h736 return loc.ref && loc.is_const && (ConstantValue(loc) == 0); in IsConstantNullRef()
/art/compiler/dex/quick/
Dmir_to_lir.cc631 if (rl_src[0].is_const && rl_src[1].is_const) { in CompileDalvikInstruction()
660 if (rl_src[0].is_const) { in CompileDalvikInstruction()
938 if (rl_src[0].is_const && in CompileDalvikInstruction()
942 } else if (rl_src[1].is_const && in CompileDalvikInstruction()
963 if (rl_src[1].is_const && in CompileDalvikInstruction()
981 if (rl_src[0].is_const || rl_src[1].is_const) { in CompileDalvikInstruction()
1002 if (rl_src[1].is_const) { in CompileDalvikInstruction()
Dgen_invoke.cc749 rl_arg.is_const = false; in LoadArgRegs()
1272 if (rl_idx.is_const) { in GenInlinedCharAt()
1495 if (rl_char.is_const && (mir_graph_->ConstantValue(rl_char) & ~0xFFFF) != 0) { in GenInlinedIndexOf()
1517 rl_char.is_const ? nullptr : OpCmpImmBranch(kCondGt, reg_char, 0xFFFF, nullptr); in GenInlinedIndexOf()
1520 if (!rl_char.is_const) { in GenInlinedIndexOf()
Dgen_common.cc249 if (rl_src1.is_const) { in GenCompareAndBranch()
258 if (rl_src2.is_const) { in GenCompareAndBranch()
Dcodegen_util.cc57 if (rl_src.is_const) { in IsInexpensiveConstant()
/art/compiler/dex/quick/arm64/
Dint_arm64.cc221 if (rl_src1.is_const) { in GenFusedLongCmpBranch()
228 if (rl_src2.is_const) { in GenFusedLongCmpBranch()
800 if ((rl_src_pos.is_const && (mir_graph_->ConstantValue(rl_src_pos) < 0)) || in GenInlinedArrayCopyCharArray()
801 (rl_dst_pos.is_const && (mir_graph_->ConstantValue(rl_dst_pos) < 0)) || in GenInlinedArrayCopyCharArray()
802 (rl_length.is_const && (mir_graph_->ConstantValue(rl_length) < 0))) { in GenInlinedArrayCopyCharArray()
1005 if (rl_src2.is_const) { in GenDivRemLong()
1107 bool constant_index = rl_index.is_const; in GenArrayGet()
1202 bool constant_index = rl_index.is_const; in GenArrayPut()
1356 if (!rl_src2.is_const) { in GenArithImmOpLong()
1361 if (!rl_src2.is_const) { in GenArithImmOpLong()
[all …]
/art/compiler/dex/quick/arm/
Dint_arm.cc310 if (rl_src1.is_const) { in GenFusedLongCmpBranch()
314 if (rl_src2.is_const) { in GenFusedLongCmpBranch()
969 if ((rl_src_pos.is_const && (mir_graph_->ConstantValue(rl_src_pos) < 0)) || in GenInlinedArrayCopyCharArray()
970 (rl_dst_pos.is_const && (mir_graph_->ConstantValue(rl_dst_pos) < 0)) || in GenInlinedArrayCopyCharArray()
971 (rl_length.is_const && (mir_graph_->ConstantValue(rl_length) < 0))) { in GenInlinedArrayCopyCharArray()
1299 bool constant_index = rl_index.is_const; in GenArrayGet()
1385 bool constant_index = rl_index.is_const; in GenArrayPut()
1547 if (!rl_src2.is_const) { in GenArithImmOpLong()
1554 if (!rl_src2.is_const) { in GenArithImmOpLong()
1555 DCHECK(rl_src1.is_const); in GenArithImmOpLong()
[all …]
/art/compiler/dex/quick/x86/
Dtarget_x86.cc938 << (loc.is_const ? " c" : " ") in DumpRegLocation()
1111 if (rl_srcPos.is_const && (mir_graph_->ConstantValue(rl_srcPos) < 0)) { in GenInlinedArrayCopyCharArray()
1114 if (rl_dstPos.is_const && (mir_graph_->ConstantValue(rl_dstPos) < 0)) { in GenInlinedArrayCopyCharArray()
1133 if (!rl_srcPos.is_const) { in GenInlinedArrayCopyCharArray()
1158 if (!rl_dstPos.is_const) { in GenInlinedArrayCopyCharArray()
1249 rl_char.is_const ? mir_graph_->ConstantValue(rl_char.orig_sreg) : 0; in GenInlinedIndexOf()
1293 if (rl_char.is_const) { in GenInlinedIndexOf()
1339 if (rl_start.is_const) { in GenInlinedIndexOf()
1388 if (zero_based || (!zero_based && rl_start.is_const && start_value == 0)) { in GenInlinedIndexOf()
2842 if (!rl_idx.is_const) { in GenInlinedCharAt()
[all …]
Dint_x86.cc390 if (rl_src1.is_const) { in GenFusedLongCmpBranch()
394 if (rl_src2.is_const) { in GenFusedLongCmpBranch()
1449 if (rl_src1.is_const) { in GenMulLong()
1453 if (rl_src2.is_const) { in GenMulLong()
1953 if (rl_src2.is_const) { in GenDivRemLong()
2075 bool constant_index = rl_index.is_const; in GenArrayGet()
2123 bool constant_index = rl_index.is_const; in GenArrayPut()
2283 if (rl_src2.is_const) { in GenArithImmOpLong()
2286 DCHECK(rl_src1.is_const); in GenArithImmOpLong()
2292 if (rl_src2.is_const) { in GenArithImmOpLong()
[all …]
Dutility_x86.cc1020 if (use.is_const && !cu_->target64) { in AnalyzeDoubleUse()
/art/tools/
Dcpplint.py3394 is_const = True
3418 is_const = False
3420 if not is_const: