/art/test/549-checker-types-merge/src/ |
D | Main.java | 44 private Object testMergeNullContant(boolean cond) { in testMergeNullContant() argument 45 return cond ? null : new Main(); in testMergeNullContant() 51 private Object testMergeClasses(boolean cond, ClassExtendsA a, ClassExtendsB b) { in testMergeClasses() argument 53 return cond ? a : b; in testMergeClasses() 59 private Object testMergeClasses(boolean cond, ClassExtendsA a, ClassSuper b) { in testMergeClasses() argument 61 return cond ? a : b; in testMergeClasses() 67 private Object testMergeClasses(boolean cond, ClassSuper a, ClassSuper b) { in testMergeClasses() argument 69 return cond ? a : b; in testMergeClasses() 75 private Object testMergeClasses(boolean cond, ClassOtherSuper a, ClassSuper b) { in testMergeClasses() argument 77 return cond ? a : b; in testMergeClasses() [all …]
|
/art/test/540-checker-rtp-bug/src/ |
D | Main.java | 37 public static Final testKeepCheckCast(Object o, boolean cond) { in testKeepCheckCast() argument 39 while (cond) { in testKeepCheckCast() 41 cond = false; in testKeepCheckCast() 55 public static void testKeepInstanceOf(Object o, boolean cond) { in testKeepInstanceOf() argument 57 while (cond) { in testKeepInstanceOf() 59 cond = false; in testKeepInstanceOf() 79 public static String testNoInline(Object o, boolean cond) { in testNoInline() argument 81 while (cond) { in testNoInline() 83 cond = false; in testNoInline()
|
/art/test/570-checker-select/src/ |
D | Main.java | 37 public static int $noinline$BoolCond_IntVarVar(boolean cond, int x, int y) { in $noinline$BoolCond_IntVarVar() argument 38 return cond ? x : y; in $noinline$BoolCond_IntVarVar() 59 public static int $noinline$BoolCond_IntVarCst(boolean cond, int x) { in $noinline$BoolCond_IntVarCst() argument 60 return cond ? x : 1; in $noinline$BoolCond_IntVarCst() 81 public static int $noinline$BoolCond_IntCstVar(boolean cond, int y) { in $noinline$BoolCond_IntCstVar() argument 82 return cond ? 1 : y; in $noinline$BoolCond_IntCstVar() 104 public static long $noinline$BoolCond_LongVarVar(boolean cond, long x, long y) { in $noinline$BoolCond_LongVarVar() argument 105 return cond ? x : y; in $noinline$BoolCond_LongVarVar() 127 public static long $noinline$BoolCond_LongVarCst(boolean cond, long x) { in $noinline$BoolCond_LongVarCst() argument 128 return cond ? x : 1L; in $noinline$BoolCond_LongVarCst() [all …]
|
/art/test/557-checker-ref-equivalent/src/ |
D | Main.java | 21 private void testRedundantPhiCycle(boolean cond) { in testRedundantPhiCycle() argument 24 if (cond) { in testRedundantPhiCycle() 33 private void testLoopPhisWithNullAndCrossUses(boolean cond) { in testLoopPhisWithNullAndCrossUses() argument 37 if (cond) { in testLoopPhisWithNullAndCrossUses()
|
/art/test/476-checker-ctor-memory-barrier/src/ |
D | Main.java | 30 public ClassWithFinals(boolean cond) { in ClassWithFinals() argument 103 public InheritFromClassWithFinals(boolean cond) { in InheritFromClassWithFinals() argument 104 super(cond); in InheritFromClassWithFinals() 149 public HaveFinalsAndInheritFromClassWithFinals(boolean cond) { in HaveFinalsAndInheritFromClassWithFinals() argument 150 super(cond); in HaveFinalsAndInheritFromClassWithFinals()
|
/art/compiler/optimizing/ |
D | pc_relative_fixups_x86.cc | 104 void VisitEqual(HEqual* cond) override { in VisitEqual() argument 105 BinaryFP(cond); in VisitEqual() 108 void VisitNotEqual(HNotEqual* cond) override { in VisitNotEqual() argument 109 BinaryFP(cond); in VisitNotEqual() 112 void VisitLessThan(HLessThan* cond) override { in VisitLessThan() argument 113 BinaryFP(cond); in VisitLessThan() 116 void VisitLessThanOrEqual(HLessThanOrEqual* cond) override { in VisitLessThanOrEqual() argument 117 BinaryFP(cond); in VisitLessThanOrEqual() 120 void VisitGreaterThan(HGreaterThan* cond) override { in VisitGreaterThan() argument 121 BinaryFP(cond); in VisitGreaterThan() [all …]
|
D | scheduler_arm.h | 112 bool CanGenerateTest(HCondition* cond); 113 void HandleGenerateConditionWithZero(IfCondition cond); 114 void HandleGenerateLongTestConstant(HCondition* cond); 115 void HandleGenerateLongTest(HCondition* cond); 117 void HandleGenerateTest(HCondition* cond); 118 void HandleGenerateConditionGeneric(HCondition* cond); 119 void HandleGenerateEqualLong(HCondition* cond); 120 void HandleGenerateConditionLong(HCondition* cond); 121 void HandleGenerateConditionIntegralOrNonPrimitive(HCondition* cond);
|
D | scheduler_arm.cc | 209 IfCondition cond = condition->GetCondition(); in HandleGenerateLongTestConstant() local 217 switch (cond) { in HandleGenerateLongTestConstant() 240 switch (cond) { in HandleGenerateLongTestConstant() 275 IfCondition cond = condition->GetCondition(); in HandleGenerateLongTest() local 277 switch (cond) { in HandleGenerateLongTest() 347 void SchedulingLatencyVisitorARM::HandleGenerateConditionGeneric(HCondition* cond) { in HandleGenerateConditionGeneric() argument 348 HandleGenerateTest(cond); in HandleGenerateConditionGeneric() 357 void SchedulingLatencyVisitorARM::HandleGenerateEqualLong(HCondition* cond) { in HandleGenerateEqualLong() argument 358 DCHECK_EQ(cond->GetLeft()->GetType(), DataType::Type::kInt64); in HandleGenerateEqualLong() 360 IfCondition condition = cond->GetCondition(); in HandleGenerateEqualLong() [all …]
|
D | dead_code_elimination.cc | 165 HInstruction* cond = ifs->InputAt(0); in RemoveNonNullControlDependences() local 167 if (throws == ifs->IfTrueSuccessor() && cond->IsEqual()) { in RemoveNonNullControlDependences() 169 } else if (throws == ifs->IfFalseSuccessor() && cond->IsNotEqual()) { in RemoveNonNullControlDependences() 174 DCHECK(cond->IsEqual() || cond->IsNotEqual()); in RemoveNonNullControlDependences() 175 HInstruction* obj = cond->InputAt(1); in RemoveNonNullControlDependences() 177 obj = cond->InputAt(0); in RemoveNonNullControlDependences() 178 } else if (!cond->InputAt(0)->IsNullConstant()) { in RemoveNonNullControlDependences()
|
D | bounds_check_elimination.cc | 629 IfCondition cond, in HandleIfBetweenTwoMonotonicValueRanges() argument 649 if (cond == kCondLT) { in HandleIfBetweenTwoMonotonicValueRanges() 653 } else if (cond == kCondLE) { in HandleIfBetweenTwoMonotonicValueRanges() 655 } else if (cond == kCondGT) { in HandleIfBetweenTwoMonotonicValueRanges() 657 } else if (cond == kCondGE) { in HandleIfBetweenTwoMonotonicValueRanges() 692 void HandleIf(HIf* instruction, HInstruction* left, HInstruction* right, IfCondition cond) { in HandleIf() argument 730 HandleIfBetweenTwoMonotonicValueRanges(instruction, left, right, cond, in HandleIf() 745 if (cond == kCondLT || cond == kCondLE) { in HandleIf() 747 int32_t compensation = (cond == kCondLT) ? -1 : 0; // upper bound is inclusive in HandleIf() 759 int32_t compensation = (cond == kCondLE) ? 1 : 0; // lower bound is inclusive in HandleIf() [all …]
|
D | code_generator_arm_vixl.cc | 950 inline vixl32::Condition ARMCondition(IfCondition cond) { in ARMCondition() argument 951 switch (cond) { in ARMCondition() 968 inline vixl32::Condition ARMUnsignedCondition(IfCondition cond) { in ARMUnsignedCondition() argument 969 switch (cond) { in ARMUnsignedCondition() 987 inline vixl32::Condition ARMFPCondition(IfCondition cond, bool gt_bias) { in ARMFPCondition() argument 992 switch (cond) { in ARMFPCondition() 1311 IfCondition cond = condition->GetCondition(); in GenerateLongTestConstant() local 1315 std::swap(cond, opposite); in GenerateLongTestConstant() 1326 int64_t value = AdjustConstantForCondition(Int64ConstantFrom(right), &cond, &opposite); in GenerateLongTestConstant() 1331 switch (cond) { in GenerateLongTestConstant() [all …]
|
D | codegen_test.cc | 696 for (int cond = kCondFirst; cond <= kCondLast; cond++) { in TEST_F() local 698 static_cast<IfCondition>(cond), i, j, DataType::Type::kInt32, target_config); in TEST_F() 709 for (int cond = kCondFirst; cond <= kCondLast; cond++) { in TEST_F() local 711 static_cast<IfCondition>(cond), i, j, DataType::Type::kInt64, target_config); in TEST_F()
|
D | bounds_check_elimination_test.cc | 362 IfCondition cond = kCondGE) { in BuildSSAGraph1() argument 395 if (cond == kCondGE) { in BuildSSAGraph1() 398 DCHECK(cond == kCondGT); in BuildSSAGraph1() 477 IfCondition cond = kCondLE) { in BuildSSAGraph2() argument 513 if (cond == kCondLE) { in BuildSSAGraph2() 516 DCHECK(cond == kCondLT); in BuildSSAGraph2() 587 IfCondition cond) { in BuildSSAGraph3() argument 622 if (cond == kCondGE) { in BuildSSAGraph3() 625 DCHECK(cond == kCondGT); in BuildSSAGraph3() 689 IfCondition cond = kCondGE) { in BuildSSAGraph4() argument [all …]
|
D | induction_var_analysis.cc | 202 HInstruction* cond, in RewriteBreakLoopBody() argument 214 for (HInstruction* m = cond->GetPrevious(), *p = nullptr; m && !m->IsSuspendCheck(); m = p) { in RewriteBreakLoopBody() 1139 HInstruction* cond = ifs->InputAt(0); in RewriteBreakLoop() local 1140 if (ifs->GetPrevious() != cond || !cond->HasOnlyOneNonEnvironmentUse()) { in RewriteBreakLoop() 1143 int c = LookupInfo(loop, cond->InputAt(0))->induction_class == kLinear ? 0 : 1; in RewriteBreakLoop() 1144 HInstruction* index = cond->InputAt(c); in RewriteBreakLoop() 1145 HInstruction* upper = cond->InputAt(1 - c); in RewriteBreakLoop() 1167 if (RewriteBreakLoopBody(loop, body, cond, index, upper, /*rewrite*/ false)) { in RewriteBreakLoop() 1168 RewriteBreakLoopBody(loop, body, cond, index, upper, /*rewrite*/ true); in RewriteBreakLoop() 1184 loop->GetHeader()->ReplaceAndRemoveInstructionWith(cond, rep); in RewriteBreakLoop()
|
/art/test/450-checker-types/src/ |
D | Main.java | 34 public int $inline$h(boolean cond) { in $inline$h() argument 35 Super obj = (cond ? this : null); in $inline$h() 601 private void updateNodesInTheSameBlockAsPhi(boolean cond) { in updateNodesInTheSameBlockAsPhi() argument 603 if (cond) { in updateNodesInTheSameBlockAsPhi() 647 private SuperInterface getWiderType(boolean cond, Interface a, OtherInterface b) { in getWiderType() argument 648 return cond ? a : b; in getWiderType() 660 private void testInlinerWidensReturnType(boolean cond, Interface a, OtherInterface b) { in testInlinerWidensReturnType() argument 661 getWiderType(cond, a, b).superInterfaceMethod(); in testInlinerWidensReturnType() 691 public void testThisArgumentMoreSpecific(boolean cond) { in testThisArgumentMoreSpecific() argument 695 ((Super) obj).$inline$h(cond); in testThisArgumentMoreSpecific() [all …]
|
/art/test/611-checker-simplify-if/src/ |
D | Main.java | 230 boolean cond = false; in testSwitch() 234 cond = true; in testSwitch() 238 cond = true; in testSwitch() 241 cond = false; in testSwitch() 244 if (cond) { in testSwitch()
|
/art/test/112-double-math/src/ |
D | Main.java | 18 public static double cond_neg_double(double value, boolean cond) { in cond_neg_double() argument 19 return cond ? -value : value; in cond_neg_double()
|
/art/test/441-checker-inliner/src/ |
D | Main.java | 142 public static int InlineWithControlFlow(boolean cond) { in InlineWithControlFlow() argument 147 if (cond) { in InlineWithControlFlow()
|
/art/runtime/interpreter/mterp/arm64/ |
D | floating_point.S | 72 %def fcmp(wide="", r1="s1", r2="s2", cond="lt"): 91 cneg w0, w0, $cond 191 % fcmp(wide="_WIDE", r1="d1", r2="d2", cond="cc") 194 % fcmp(wide="", r1="s1", r2="s2", cond="cc") 197 % fcmp(wide="_WIDE", r1="d1", r2="d2", cond="lt") 200 % fcmp(wide="", r1="s1", r2="s2", cond="lt")
|
/art/test/481-regression-phi-cond/ |
D | Android.bp | 3 name: "art-run-test-481-regression-phi-cond",
|
/art/compiler/utils/arm64/ |
D | jni_macro_assembler_arm64.h | 178 void TestGcMarking(JNIMacroLabel* label, JNIMacroUnaryCondition cond) override; 215 vixl::aarch64::Condition cond = vixl::aarch64::al); 226 vixl::aarch64::Condition cond = vixl::aarch64::al); 230 vixl::aarch64::Condition cond = vixl::aarch64::al);
|
D | jni_macro_assembler_arm64.cc | 80 void Arm64JNIMacroAssembler::AddConstant(XRegister rd, int32_t value, Condition cond) { in AddConstant() argument 81 AddConstant(rd, rd, value, cond); in AddConstant() 87 Condition cond) { in AddConstant() argument 88 if ((cond == al) || (cond == nv)) { in AddConstant() 98 ___ Csel(reg_x(rd), temp, reg_x(rd), cond); in AddConstant() 193 void Arm64JNIMacroAssembler::LoadImmediate(XRegister dest, int32_t value, Condition cond) { in LoadImmediate() argument 194 if ((cond == al) || (cond == nv)) { in LoadImmediate() 204 ___ Csel(reg_x(dest), temp, reg_x(dest), cond); in LoadImmediate() 206 ___ Csel(reg_x(dest), reg_x(XZR), reg_x(dest), cond); in LoadImmediate() 735 void Arm64JNIMacroAssembler::TestGcMarking(JNIMacroLabel* label, JNIMacroUnaryCondition cond) { in TestGcMarking() argument [all …]
|
/art/compiler/utils/arm/ |
D | assembler_arm_vixl.cc | 448 vixl32::Condition cond) { in AddConstantInIt() argument 451 ___ mov(cond, rd, rn); in AddConstantInIt() 453 ___ add(cond, rd, rn, value); in AddConstantInIt() 493 void ArmVIXLMacroAssembler::B(vixl32::Condition cond, vixl32::Label* label, bool is_far_target) { in B() argument 497 BPreferNear(cond, label); in B() 500 MacroAssembler::B(cond, label); in B()
|
/art/test/442-checker-constant-folding/src/ |
D | Main.java | 124 public static int smaliJumpsAndConditionals(boolean cond) throws Exception { in smaliJumpsAndConditionals() argument 126 return (Integer)m.invoke(null, cond); in smaliJumpsAndConditionals() 1066 public static int JumpsAndConditionals(boolean cond) { in JumpsAndConditionals() argument 1070 if (cond) in JumpsAndConditionals()
|
/art/tools/veridex/ |
D | flow_analysis.cc | 149 #define IF_XX(cond, op) \ in GetBranchFlags() argument 150 case Instruction::IF_##cond: { \ in GetBranchFlags() 162 case Instruction::IF_##cond##Z: { \ in GetBranchFlags() 348 #define IF_XX(cond) \ in ProcessDexInstruction() argument 349 case Instruction::IF_##cond: break; \ in ProcessDexInstruction() 350 case Instruction::IF_##cond##Z: break in ProcessDexInstruction()
|