/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/compiler/optimizing/ |
D | code_generator_utils.cc | 116 HCondition* cond, 127 HCondition* cond, in IsComparedValueNonNegativeInBlock() argument 129 DCHECK(cond->HasInput(value)); in IsComparedValueNonNegativeInBlock() 135 if (cond->GetBlock() == target_block || in IsComparedValueNonNegativeInBlock() 136 !cond->GetBlock()->EndsWithIf() || in IsComparedValueNonNegativeInBlock() 137 cond->GetBlock()->GetLastInstruction()->InputAt(0) != cond) { in IsComparedValueNonNegativeInBlock() 143 HIf* if_instr = cond->GetBlock()->GetLastInstruction()->AsIf(); in IsComparedValueNonNegativeInBlock() 145 switch (cond->GetCondition()) { in IsComparedValueNonNegativeInBlock() 148 if (cond->GetLeft() == value) { in IsComparedValueNonNegativeInBlock() 151 if (IsNonNegativeUse(cond, cond->GetRight())) { in IsComparedValueNonNegativeInBlock() [all …]
|
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.cc | 117 bool CanGenerateTest(HCondition* cond); 118 void HandleGenerateConditionWithZero(IfCondition cond); 119 void HandleGenerateLongTestConstant(HCondition* cond); 120 void HandleGenerateLongTest(HCondition* cond); 122 void HandleGenerateTest(HCondition* cond); 123 void HandleGenerateConditionGeneric(HCondition* cond); 124 void HandleGenerateEqualLong(HCondition* cond); 125 void HandleGenerateConditionLong(HCondition* cond); 126 void HandleGenerateConditionIntegralOrNonPrimitive(HCondition* cond); 320 IfCondition cond = condition->GetCondition(); in HandleGenerateLongTestConstant() local [all …]
|
D | bounds_check_elimination.cc | 642 IfCondition cond, in HandleIfBetweenTwoMonotonicValueRanges() argument 662 if (cond == kCondLT) { in HandleIfBetweenTwoMonotonicValueRanges() 666 } else if (cond == kCondLE) { in HandleIfBetweenTwoMonotonicValueRanges() 668 } else if (cond == kCondGT) { in HandleIfBetweenTwoMonotonicValueRanges() 670 } else if (cond == kCondGE) { in HandleIfBetweenTwoMonotonicValueRanges() 705 void HandleIf(HIf* instruction, HInstruction* left, HInstruction* right, IfCondition cond) { in HandleIf() argument 743 HandleIfBetweenTwoMonotonicValueRanges(instruction, left, right, cond, in HandleIf() 758 if (cond == kCondLT || cond == kCondLE) { in HandleIf() 760 int32_t compensation = (cond == kCondLT) ? -1 : 0; // upper bound is inclusive in HandleIf() 772 int32_t compensation = (cond == kCondLE) ? 1 : 0; // lower bound is inclusive in HandleIf() [all …]
|
D | dead_code_elimination.cc | 169 HInstruction* cond = ifs->InputAt(0); in RemoveNonNullControlDependences() local 171 if (throws == ifs->IfTrueSuccessor() && cond->IsEqual()) { in RemoveNonNullControlDependences() 173 } else if (throws == ifs->IfFalseSuccessor() && cond->IsNotEqual()) { in RemoveNonNullControlDependences() 178 DCHECK(cond->IsEqual() || cond->IsNotEqual()); in RemoveNonNullControlDependences() 179 HInstruction* obj = cond->InputAt(1); in RemoveNonNullControlDependences() 181 obj = cond->InputAt(0); in RemoveNonNullControlDependences() 182 } else if (!cond->InputAt(0)->IsNullConstant()) { in RemoveNonNullControlDependences()
|
D | code_generator_arm_vixl.cc | 1008 inline vixl32::Condition ARMCondition(IfCondition cond) { in ARMCondition() argument 1009 switch (cond) { in ARMCondition() 1026 inline vixl32::Condition ARMUnsignedCondition(IfCondition cond) { in ARMUnsignedCondition() argument 1027 switch (cond) { in ARMUnsignedCondition() 1045 inline vixl32::Condition ARMFPCondition(IfCondition cond, bool gt_bias) { in ARMFPCondition() argument 1050 switch (cond) { in ARMFPCondition() 1369 IfCondition cond = condition->GetCondition(); in GenerateLongTestConstant() local 1373 std::swap(cond, opposite); in GenerateLongTestConstant() 1384 int64_t value = AdjustConstantForCondition(Int64ConstantFrom(right), &cond, &opposite); in GenerateLongTestConstant() 1389 switch (cond) { in GenerateLongTestConstant() [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/481-regression-phi-cond/ |
D | Android.bp | 3 // Build rules for ART run-test `481-regression-phi-cond`. 16 name: "art-run-test-481-regression-phi-cond", 21 ":art-run-test-481-regression-phi-cond-expected-stdout", 22 ":art-run-test-481-regression-phi-cond-expected-stderr", 28 name: "art-run-test-481-regression-phi-cond-expected-stdout", 29 out: ["art-run-test-481-regression-phi-cond-expected-stdout.txt"], 36 name: "art-run-test-481-regression-phi-cond-expected-stderr", 37 out: ["art-run-test-481-regression-phi-cond-expected-stderr.txt"],
|
/art/test/476-checker-ctor-memory-barrier/src/ |
D | Main.java | 30 public ClassWithFinals(boolean cond) { in ClassWithFinals() argument 105 public InheritFromClassWithFinals(boolean cond) { in InheritFromClassWithFinals() argument 106 super(cond); in InheritFromClassWithFinals() 151 public HaveFinalsAndInheritFromClassWithFinals(boolean cond) { in HaveFinalsAndInheritFromClassWithFinals() argument 152 super(cond); in HaveFinalsAndInheritFromClassWithFinals()
|
/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/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() 604 private void updateNodesInTheSameBlockAsPhi(boolean cond) { in updateNodesInTheSameBlockAsPhi() argument 606 if (cond) { in updateNodesInTheSameBlockAsPhi() 650 private SuperInterface getWiderType(boolean cond, Interface a, OtherInterface b) { in getWiderType() argument 651 return cond ? a : b; in getWiderType() 663 private void testInlinerWidensReturnType(boolean cond, Interface a, OtherInterface b) { in testInlinerWidensReturnType() argument 664 getWiderType(cond, a, b).superInterfaceMethod(); in testInlinerWidensReturnType() 694 public void testThisArgumentMoreSpecific(boolean cond) { in testThisArgumentMoreSpecific() argument 698 ((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/compiler/utils/arm64/ |
D | jni_macro_assembler_arm64.h | 148 void TestGcMarking(JNIMacroLabel* label, JNIMacroUnaryCondition cond) override; 150 void TestMarkBit(ManagedRegister ref, JNIMacroLabel* label, JNIMacroUnaryCondition cond) override; 167 vixl::aarch64::Condition cond = vixl::aarch64::al); 196 vixl::aarch64::Condition cond = vixl::aarch64::al); 200 vixl::aarch64::Condition cond = vixl::aarch64::al);
|
D | jni_macro_assembler_arm64.cc | 117 void Arm64JNIMacroAssembler::AddConstant(XRegister rd, int32_t value, Condition cond) { in AddConstant() argument 118 AddConstant(rd, rd, value, cond); in AddConstant() 124 Condition cond) { in AddConstant() argument 125 if ((cond == al) || (cond == nv)) { in AddConstant() 135 ___ Csel(reg_x(rd), temp, reg_x(rd), cond); in AddConstant() 214 void Arm64JNIMacroAssembler::LoadImmediate(XRegister dest, int32_t value, Condition cond) { in LoadImmediate() argument 215 if ((cond == al) || (cond == nv)) { in LoadImmediate() 225 ___ Csel(reg_x(dest), temp, reg_x(dest), cond); in LoadImmediate() 227 ___ Csel(reg_x(dest), reg_x(XZR), reg_x(dest), cond); in LoadImmediate() 810 void Arm64JNIMacroAssembler::TestGcMarking(JNIMacroLabel* label, JNIMacroUnaryCondition cond) { in TestGcMarking() argument [all …]
|
/art/runtime/interpreter/mterp/arm64ng/ |
D | floating_point.S | 72 %def fcmp(r1="s1", r2="s2", cond="lt"): 95 cneg w0, w0, $cond 195 % fcmp(r1="d1", r2="d2", cond="cc") 198 % fcmp(r1="s1", r2="s2", cond="cc") 201 % fcmp(r1="d1", r2="d2", cond="lt") 204 % fcmp(r1="s1", r2="s2", cond="lt")
|
/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/libartbase/base/ |
D | stl_util.h | 260 Filter cond, 262 : real_iter_(rl), cond_(cond), end_(end) { in real_iter_() 297 static inline auto Filter(BaseRange&& range, FilterT cond) { in Filter() argument 299 auto start = std::find_if(range.begin(), end, cond); in Filter() 300 return MakeIterationRange(FilterIterator(start, cond, std::make_optional(end)), in Filter() 301 FilterIterator(end, cond, std::make_optional(end))); in Filter()
|
/art/compiler/utils/arm/ |
D | assembler_arm_vixl.cc | 434 vixl32::Condition cond) { in AddConstantInIt() argument 437 ___ mov(cond, rd, rn); in AddConstantInIt() 439 ___ add(cond, rd, rn, value); in AddConstantInIt() 479 void ArmVIXLMacroAssembler::B(vixl32::Condition cond, vixl32::Label* label, bool is_far_target) { in B() argument 483 BPreferNear(cond, label); in B() 486 MacroAssembler::B(cond, label); in B()
|
D | jni_macro_assembler_arm_vixl.h | 146 void TestGcMarking(JNIMacroLabel* label, JNIMacroUnaryCondition cond) override; 148 void TestMarkBit(ManagedRegister ref, JNIMacroLabel* label, JNIMacroUnaryCondition cond) override;
|
/art/compiler/utils/x86_64/ |
D | jni_macro_assembler_x86_64.h | 136 void TestGcMarking(JNIMacroLabel* label, JNIMacroUnaryCondition cond) override; 138 void TestMarkBit(ManagedRegister ref, JNIMacroLabel* label, JNIMacroUnaryCondition cond) override;
|
/art/compiler/utils/x86/ |
D | jni_macro_assembler_x86.h | 135 void TestGcMarking(JNIMacroLabel* label, JNIMacroUnaryCondition cond) override; 137 void TestMarkBit(ManagedRegister ref, JNIMacroLabel* label, JNIMacroUnaryCondition cond) override;
|
/art/compiler/utils/riscv64/ |
D | jni_macro_assembler_riscv64.h | 137 void TestGcMarking(JNIMacroLabel* label, JNIMacroUnaryCondition cond) override; 139 void TestMarkBit(ManagedRegister ref, JNIMacroLabel* label, JNIMacroUnaryCondition cond) override;
|