Home
last modified time | relevance | path

Searched refs:ccode (Results 1 – 12 of 12) sorted by relevance

/art/compiler/dex/quick/arm/
Dint_arm.cc43 LIR* ArmMir2Lir::OpIT(ConditionCode ccode, const char* guide) { in OpIT() argument
48 ArmConditionCode code = ArmConditionEncoding(ccode); in OpIT()
156 int64_t val, ConditionCode ccode) { in GenFusedLongCmpImmBranch() argument
167 if (val == 0 && (ccode == kCondEq || ccode == kCondNe)) { in GenFusedLongCmpImmBranch()
171 OpCondBranch(ccode, taken); in GenFusedLongCmpImmBranch()
175 switch (ccode) { in GenFusedLongCmpImmBranch()
178 OpCmpImmBranch(kCondNe, high_reg, val_hi, (ccode == kCondEq) ? not_taken : taken); in GenFusedLongCmpImmBranch()
183 ccode = kCondUlt; in GenFusedLongCmpImmBranch()
188 ccode = kCondLs; in GenFusedLongCmpImmBranch()
193 ccode = kCondHi; in GenFusedLongCmpImmBranch()
[all …]
Dfp_arm.cc233 ConditionCode ccode = mir->meta.ccode; in GenFusedFPCmpBranch() local
234 switch (ccode) { in GenFusedFPCmpBranch()
240 ccode = kCondMi; in GenFusedFPCmpBranch()
245 ccode = kCondLs; in GenFusedFPCmpBranch()
250 ccode = kCondHi; in GenFusedFPCmpBranch()
255 ccode = kCondUge; in GenFusedFPCmpBranch()
259 LOG(FATAL) << "Unexpected ccode: " << ccode; in GenFusedFPCmpBranch()
261 OpCondBranch(ccode, target); in GenFusedFPCmpBranch()
Dtarget_arm.cc242 ArmConditionCode ArmMir2Lir::ArmConditionEncoding(ConditionCode ccode) { in ArmConditionEncoding() argument
244 switch (ccode) { in ArmConditionEncoding()
264 LOG(FATAL) << "Bad condition code " << ccode; in ArmConditionEncoding()
Dcodegen_arm.h195 ConditionCode ccode);
/art/compiler/dex/quick/arm64/
Dfp_arm64.cc219 ConditionCode ccode = mir->meta.ccode; in GenFusedFPCmpBranch() local
220 switch (ccode) { in GenFusedFPCmpBranch()
226 ccode = kCondMi; in GenFusedFPCmpBranch()
231 ccode = kCondLs; in GenFusedFPCmpBranch()
236 ccode = kCondHi; in GenFusedFPCmpBranch()
241 ccode = kCondUge; in GenFusedFPCmpBranch()
245 LOG(FATAL) << "Unexpected ccode: " << ccode; in GenFusedFPCmpBranch()
247 OpCondBranch(ccode, target); in GenFusedFPCmpBranch()
Dint_arm64.cc34 LIR* Arm64Mir2Lir::OpIT(ConditionCode ccode, const char* guide) { in OpIT() argument
91 void Arm64Mir2Lir::GenSelect(int32_t true_val, int32_t false_val, ConditionCode ccode, in GenSelect() argument
97 ccode = NegateComparison(ccode); in GenSelect()
101 ArmConditionCode code = ArmConditionEncoding(ccode); in GenSelect()
194 GenSelect(mir->dalvikInsn.vB, mir->dalvikInsn.vC, mir->meta.ccode, rl_result.reg, in GenSelect()
209 rl_true.reg.GetReg(), rl_false.reg.GetReg(), ArmConditionEncoding(mir->meta.ccode)); in GenSelect()
220 ConditionCode ccode = mir->meta.ccode; in GenFusedLongCmpBranch() local
223 ccode = FlipComparisonOrder(ccode); in GenFusedLongCmpBranch()
233 if (val == 0 && (ccode == kCondEq || ccode == kCondNe)) { in GenFusedLongCmpBranch()
234 OpCmpImmBranch(ccode, rl_src1.reg, 0, taken); in GenFusedLongCmpBranch()
[all …]
Dtarget_arm64.cc188 ArmConditionCode Arm64Mir2Lir::ArmConditionEncoding(ConditionCode ccode) { in ArmConditionEncoding() argument
190 switch (ccode) { in ArmConditionEncoding()
210 LOG(FATAL) << "Bad condition code " << ccode; in ArmConditionEncoding()
/art/compiler/dex/quick/x86/
Dint_x86.cc277 ConditionCode ccode = mir->meta.ccode; in GenSelect() local
335 ConditionCode cc = true_zero_case ? NegateComparison(ccode) : ccode; in GenSelect()
372 OpCondRegReg(kOpCmov, NegateComparison(ccode), rl_result.reg, rl_false.reg); in GenSelect()
374 OpCondRegReg(kOpCmov, ccode, rl_result.reg, rl_true.reg); in GenSelect()
377 OpCondRegReg(kOpCmov, ccode, rl_result.reg, rl_true.reg); in GenSelect()
388 ConditionCode ccode = mir->meta.ccode; in GenFusedLongCmpBranch() local
392 ccode = FlipComparisonOrder(ccode); in GenFusedLongCmpBranch()
397 GenFusedLongCmpImmBranch(bb, rl_src1, val, ccode); in GenFusedLongCmpBranch()
406 OpCondBranch(ccode, taken); in GenFusedLongCmpBranch()
418 if (ccode == kCondLe || ccode == kCondGt) { in GenFusedLongCmpBranch()
[all …]
Dfp_x86.cc513 ConditionCode ccode = mir->meta.ccode; in GenFusedFPCmpBranch() local
514 switch (ccode) { in GenFusedFPCmpBranch()
532 ccode = kCondUlt; in GenFusedFPCmpBranch()
539 ccode = kCondLs; in GenFusedFPCmpBranch()
546 ccode = kCondHi; in GenFusedFPCmpBranch()
553 ccode = kCondUge; in GenFusedFPCmpBranch()
556 LOG(FATAL) << "Unexpected ccode: " << ccode; in GenFusedFPCmpBranch()
558 OpCondBranch(ccode, taken); in GenFusedFPCmpBranch()
Dcodegen_x86.h480 int64_t val, ConditionCode ccode);
/art/compiler/dex/
Dmir_optimization.cc359 mir_next->meta.ccode = ConditionCodeForIfCcZ(mir_next->dalvikInsn.opcode); in BasicBlockOpt()
481 mir->meta.ccode = ConditionCodeForIfCcZ(mir->dalvikInsn.opcode); in BasicBlockOpt()
Dmir_graph.h360 ConditionCode ccode; member