/art/runtime/interpreter/mterp/riscv64/ |
D | control_flow.S | 1 %def bincmp(condition=""): 4 %def zcmp(condition=""): 17 % bincmp(condition="eq") 20 % zcmp(condition="eq") 23 % bincmp(condition="ge") 26 % zcmp(condition="ge") 29 % bincmp(condition="gt") 32 % zcmp(condition="gt") 35 % bincmp(condition="le") 38 % zcmp(condition="le") [all …]
|
/art/runtime/interpreter/mterp/armng/ |
D | control_flow.S | 1 %def bincmp(condition=""): 15 b${condition} 1f 23 %def zcmp(condition=""): 35 b${condition} 1f 82 % bincmp(condition="eq") 85 % zcmp(condition="eq") 88 % bincmp(condition="ge") 91 % zcmp(condition="ge") 94 % bincmp(condition="gt") 97 % zcmp(condition="gt") [all …]
|
/art/test/2255-checker-branch-redirection/src/ |
D | Main.java | 171 private static int $noinline$testEliminateIfParameter(int a, int b, boolean condition) { in $noinline$testEliminateIfParameter() argument 173 if (condition) { in $noinline$testEliminateIfParameter() 178 if (condition) { in $noinline$testEliminateIfParameter() 197 int a, int b, boolean condition) { in $noinline$testEliminateIfParameterReverseCondition() argument 199 if (!condition) { in $noinline$testEliminateIfParameterReverseCondition() 204 if (!condition) { in $noinline$testEliminateIfParameterReverseCondition() 220 int a, int b, boolean condition) { in $noinline$testEliminateIfParameterOppositeCondition() argument 222 if (condition) { in $noinline$testEliminateIfParameterOppositeCondition() 227 if (!condition) { in $noinline$testEliminateIfParameterOppositeCondition() 262 int a, int b, boolean condition) { in $noinline$testEliminateIfParameterOppositeCondition_2() argument [all …]
|
/art/test/684-select-condition/ |
D | Android.bp | 3 // Build rules for ART run-test `684-select-condition`. 16 name: "art-run-test-684-select-condition", 21 ":art-run-test-684-select-condition-expected-stdout", 22 ":art-run-test-684-select-condition-expected-stderr", 28 name: "art-run-test-684-select-condition-expected-stdout", 29 out: ["art-run-test-684-select-condition-expected-stdout.txt"], 36 name: "art-run-test-684-select-condition-expected-stderr", 37 out: ["art-run-test-684-select-condition-expected-stderr.txt"],
|
/art/test/409-materialized-condition/ |
D | Android.bp | 3 // Build rules for ART run-test `409-materialized-condition`. 16 name: "art-run-test-409-materialized-condition", 21 ":art-run-test-409-materialized-condition-expected-stdout", 22 ":art-run-test-409-materialized-condition-expected-stderr", 28 name: "art-run-test-409-materialized-condition-expected-stdout", 29 out: ["art-run-test-409-materialized-condition-expected-stdout.txt"], 36 name: "art-run-test-409-materialized-condition-expected-stderr", 37 out: ["art-run-test-409-materialized-condition-expected-stderr.txt"],
|
/art/test/469-condition-materialization/ |
D | Android.bp | 3 // Build rules for ART run-test `469-condition-materialization`. 16 name: "art-run-test-469-condition-materialization", 21 ":art-run-test-469-condition-materialization-expected-stdout", 22 ":art-run-test-469-condition-materialization-expected-stderr", 28 name: "art-run-test-469-condition-materialization-expected-stdout", 29 out: ["art-run-test-469-condition-materialization-expected-stdout.txt"], 36 name: "art-run-test-469-condition-materialization-expected-stderr", 37 out: ["art-run-test-469-condition-materialization-expected-stderr.txt"],
|
D | info.txt | 2 materialize a condition when used only by an environment.
|
/art/test/565-checker-condition-liveness/ |
D | Android.bp | 3 // Build rules for ART run-test `565-checker-condition-liveness`. 16 name: "art-run-test-565-checker-condition-liveness", 21 ":art-run-test-565-checker-condition-liveness-expected-stdout", 22 ":art-run-test-565-checker-condition-liveness-expected-stderr", 31 name: "art-run-test-565-checker-condition-liveness-expected-stdout", 32 out: ["art-run-test-565-checker-condition-liveness-expected-stdout.txt"], 39 name: "art-run-test-565-checker-condition-liveness-expected-stderr", 40 out: ["art-run-test-565-checker-condition-liveness-expected-stderr.txt"],
|
/art/compiler/optimizing/ |
D | scheduler_arm.cc | 173 void SchedulingLatencyVisitorARM::HandleGenerateConditionWithZero(IfCondition condition) { in HandleGenerateConditionWithZero() argument 174 switch (condition) { in HandleGenerateConditionWithZero() 201 LOG(FATAL) << "Unexpected condition " << condition; in HandleGenerateConditionWithZero() 206 void SchedulingLatencyVisitorARM::HandleGenerateLongTestConstant(HCondition* condition) { in HandleGenerateLongTestConstant() argument 207 DCHECK_EQ(condition->GetLeft()->GetType(), DataType::Type::kInt64); in HandleGenerateLongTestConstant() 209 IfCondition cond = condition->GetCondition(); in HandleGenerateLongTestConstant() 211 HInstruction* right = condition->InputAt(1); in HandleGenerateLongTestConstant() 272 void SchedulingLatencyVisitorARM::HandleGenerateLongTest(HCondition* condition) { in HandleGenerateLongTest() argument 273 DCHECK_EQ(condition->GetLeft()->GetType(), DataType::Type::kInt64); in HandleGenerateLongTest() 275 IfCondition cond = condition->GetCondition(); in HandleGenerateLongTest() [all …]
|
D | prepare_for_register_allocation.cc | 177 bool PrepareForRegisterAllocation::CanEmitConditionAt(HCondition* condition, in CanEmitConditionAt() argument 179 if (condition->GetNext() != user) { in CanEmitConditionAt() 187 if (user->IsSelect() && user->AsSelect()->GetCondition() == condition) { in CanEmitConditionAt() 194 void PrepareForRegisterAllocation::VisitCondition(HCondition* condition) { in VisitCondition() argument 195 if (condition->HasOnlyOneNonEnvironmentUse()) { in VisitCondition() 196 HInstruction* user = condition->GetUses().front().GetUser(); in VisitCondition() 197 if (CanEmitConditionAt(condition, user)) { in VisitCondition() 198 condition->MarkEmittedAtUseSite(); in VisitCondition()
|
D | instruction_simplifier.cc | 91 void VisitGreaterThan(HGreaterThan* condition) override; 92 void VisitGreaterThanOrEqual(HGreaterThanOrEqual* condition) override; 93 void VisitLessThan(HLessThan* condition) override; 94 void VisitLessThanOrEqual(HLessThanOrEqual* condition) override; 95 void VisitBelow(HBelow* condition) override; 96 void VisitBelowOrEqual(HBelowOrEqual* condition) override; 97 void VisitAbove(HAbove* condition) override; 98 void VisitAboveOrEqual(HAboveOrEqual* condition) override; 1013 HInstruction* condition = select->GetCondition(); in VisitSelect() local 1017 if (condition->IsBooleanNot()) { in VisitSelect() [all …]
|
D | dead_code_elimination.cc | 51 HInstruction* condition = if_instruction->InputAt(0); in MarkReachableBlocks() local 52 if (condition->IsIntConstant()) { in MarkReachableBlocks() 53 if (condition->AsIntConstant()->IsTrue()) { in MarkReachableBlocks() 57 DCHECK(condition->AsIntConstant()->IsFalse()) << condition->AsIntConstant()->GetValue(); in MarkReachableBlocks() 111 static bool HasEquality(IfCondition condition) { in HasEquality() argument 112 switch (condition) { in HasEquality() 128 static HConstant* Evaluate(HCondition* condition, HInstruction* left, HInstruction* right) { in Evaluate() argument 130 return condition->GetBlock()->GetGraph()->GetIntConstant( in Evaluate() 131 HasEquality(condition->GetCondition()) ? 1 : 0); in Evaluate() 139 return condition->Evaluate(left->AsIntConstant(), right->AsIntConstant()); in Evaluate() [all …]
|
D | prepare_for_register_allocation.h | 55 void VisitCondition(HCondition* condition) override; 62 bool CanEmitConditionAt(HCondition* condition, HInstruction* user) const;
|
D | select_generator.cc | 152 HInstruction* condition = if_instruction->InputAt(0); in TryGenerateSelectSimpleDiamondPattern() local 153 HSelect* select = new (graph_->GetAllocator()) HSelect(condition, in TryGenerateSelectSimpleDiamondPattern() 194 auto it = cache->find(condition); in TryGenerateSelectSimpleDiamondPattern() 196 cache->Put(condition, select); in TryGenerateSelectSimpleDiamondPattern()
|
D | constant_folding.cc | 197 HCondition* condition = if_input->AsCondition(); in VisitIf() local 200 if (!condition->IsEqual() && !condition->IsNotEqual()) { in VisitIf() 204 HInstruction* left = condition->GetLeft(); in VisitIf() 205 HInstruction* right = condition->GetRight(); in VisitIf() 262 condition->IsEqual() ? inst->IfTrueSuccessor() : inst->IfFalseSuccessor(); in VisitIf() 273 condition->IsEqual() ? inst->IfFalseSuccessor() : inst->IfTrueSuccessor(); in VisitIf()
|
/art/runtime/interpreter/mterp/arm64ng/ |
D | control_flow.S | 1 %def bincmp(condition=""): 14 b.${condition} 1f 82 % bincmp(condition="eq") 88 % bincmp(condition="ge") 94 % bincmp(condition="gt") 100 % bincmp(condition="le") 106 % bincmp(condition="lt") 112 % bincmp(condition="ne")
|
/art/test/414-static-fields/src/ |
D | TestCase.java | 50 public static void assertTrue(String message, boolean condition) { in assertTrue() argument 51 if (!condition) { in assertTrue() 56 public static void assertTrue(boolean condition) { in assertTrue() argument 57 assertTrue("Expected true", condition); in assertTrue() 60 public static void assertFalse(String message, boolean condition) { in assertFalse() argument 61 if (condition) { in assertFalse() 66 public static void assertFalse(boolean condition) { in assertFalse() argument 67 assertFalse("Expected false", condition); in assertFalse()
|
/art/test/406-fields/src/ |
D | TestCase.java | 50 public static void assertTrue(String message, boolean condition) { in assertTrue() argument 51 if (!condition) { in assertTrue() 56 public static void assertTrue(boolean condition) { in assertTrue() argument 57 assertTrue("Expected true", condition); in assertTrue() 60 public static void assertFalse(String message, boolean condition) { in assertFalse() argument 61 if (condition) { in assertFalse() 66 public static void assertFalse(boolean condition) { in assertFalse() argument 67 assertFalse("Expected false", condition); in assertFalse()
|
/art/test/407-arrays/src/ |
D | TestCase.java | 50 public static void assertTrue(String message, boolean condition) { in assertTrue() argument 51 if (!condition) { in assertTrue() 56 public static void assertTrue(boolean condition) { in assertTrue() argument 57 assertTrue("Expected true", condition); in assertTrue() 60 public static void assertFalse(String message, boolean condition) { in assertFalse() argument 61 if (condition) { in assertFalse() 66 public static void assertFalse(boolean condition) { in assertFalse() argument 67 assertFalse("Expected false", condition); in assertFalse()
|
/art/test/412-new-array/src/ |
D | TestCase.java | 50 public static void assertTrue(String message, boolean condition) { in assertTrue() argument 51 if (!condition) { in assertTrue() 56 public static void assertTrue(boolean condition) { in assertTrue() argument 57 assertTrue("Expected true", condition); in assertTrue() 60 public static void assertFalse(String message, boolean condition) { in assertFalse() argument 61 if (condition) { in assertFalse() 66 public static void assertFalse(boolean condition) { in assertFalse() argument 67 assertFalse("Expected false", condition); in assertFalse()
|
/art/test/021-string2/src/junit/framework/ |
D | Assert.java | 18 static public void assertTrue(String message, boolean condition) { in assertTrue() argument 19 if (!condition) in assertTrue() 26 static public void assertTrue(boolean condition) { in assertTrue() argument 27 assertTrue(null, condition); in assertTrue() 33 static public void assertFalse(String message, boolean condition) { in assertFalse() argument 34 assertTrue(message, !condition); in assertFalse() 40 static public void assertFalse(boolean condition) { in assertFalse() argument 41 assertFalse(null, condition); in assertFalse()
|
/art/test/082-inline-execute/src/junit/framework/ |
D | Assert.java | 18 static public void assertTrue(String message, boolean condition) { in assertTrue() argument 19 if (!condition) in assertTrue() 26 static public void assertTrue(boolean condition) { in assertTrue() argument 27 assertTrue(null, condition); in assertTrue() 33 static public void assertFalse(String message, boolean condition) { in assertFalse() argument 34 assertTrue(message, !condition); in assertFalse() 40 static public void assertFalse(boolean condition) { in assertFalse() argument 41 assertFalse(null, condition); in assertFalse()
|
/art/test/2255-checker-branch-redirection/ |
D | info.txt | 2 have the same condition, or the exact opposite condition.
|
/art/test/695-simplify-throws/src/ |
D | Main.java | 24 while (condition) { in test() 42 static boolean condition = false; field in Main
|
/art/test/003-omnibus-opcodes/src/ |
D | Main.java | 76 public static void assertTrue(boolean condition) { in assertTrue() argument 77 if (!condition) { in assertTrue()
|