Home
last modified time | relevance | path

Searched refs:condition (Results 1 – 25 of 46) sorted by relevance

12

/art/runtime/interpreter/mterp/arm/
Dcontrol_flow.S1 %def bincmp(condition=""):
15 b${condition} MterpCommonTakenBranchNoFlags
22 %def zcmp(condition=""):
34 b${condition} MterpCommonTakenBranchNoFlags
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/runtime/interpreter/mterp/arm64ng/
Dcontrol_flow.S1 %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/compiler/optimizing/
Dscheduler_arm.cc173 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 …]
Ddead_code_elimination.cc48 HInstruction* condition = if_instruction->InputAt(0); in MarkReachableBlocks() local
49 if (condition->IsIntConstant()) { in MarkReachableBlocks()
50 if (condition->AsIntConstant()->IsTrue()) { in MarkReachableBlocks()
54 DCHECK(condition->AsIntConstant()->IsFalse()) << condition->AsIntConstant()->GetValue(); in MarkReachableBlocks()
108 static bool HasEquality(IfCondition condition) { in HasEquality() argument
109 switch (condition) { in HasEquality()
125 static HConstant* Evaluate(HCondition* condition, HInstruction* left, HInstruction* right) { in Evaluate() argument
127 return condition->GetBlock()->GetGraph()->GetIntConstant( in Evaluate()
128 HasEquality(condition->GetCondition()) ? 1 : 0); in Evaluate()
136 return condition->Evaluate(left->AsIntConstant(), right->AsIntConstant()); in Evaluate()
[all …]
Dprepare_for_register_allocation.cc178 bool PrepareForRegisterAllocation::CanEmitConditionAt(HCondition* condition, in CanEmitConditionAt() argument
180 if (condition->GetNext() != user) { in CanEmitConditionAt()
188 if (user->IsSelect() && user->AsSelect()->GetCondition() == condition) { in CanEmitConditionAt()
195 void PrepareForRegisterAllocation::VisitCondition(HCondition* condition) { in VisitCondition() argument
196 if (condition->HasOnlyOneNonEnvironmentUse()) { in VisitCondition()
197 HInstruction* user = condition->GetUses().front().GetUser(); in VisitCondition()
198 if (CanEmitConditionAt(condition, user)) { in VisitCondition()
199 condition->MarkEmittedAtUseSite(); in VisitCondition()
Dinstruction_simplifier.cc87 void VisitGreaterThan(HGreaterThan* condition) override;
88 void VisitGreaterThanOrEqual(HGreaterThanOrEqual* condition) override;
89 void VisitLessThan(HLessThan* condition) override;
90 void VisitLessThanOrEqual(HLessThanOrEqual* condition) override;
91 void VisitBelow(HBelow* condition) override;
92 void VisitBelowOrEqual(HBelowOrEqual* condition) override;
93 void VisitAbove(HAbove* condition) override;
94 void VisitAboveOrEqual(HAboveOrEqual* condition) override;
920 HInstruction* condition = select->GetCondition(); in VisitSelect() local
924 if (condition->IsBooleanNot()) { in VisitSelect()
[all …]
Dprepare_for_register_allocation.h54 void VisitCondition(HCondition* condition) override;
61 bool CanEmitConditionAt(HCondition* condition, HInstruction* user) const;
Dselect_generator.cc156 HInstruction* condition = if_instruction->InputAt(0); in Run() local
157 HSelect* select = new (graph_->GetAllocator()) HSelect(condition, in Run()
198 auto it = cache.find(condition); in Run()
200 cache.Put(condition, select); in Run()
Dscheduler.cc495 const HCondition* condition = nullptr; in SelectMaterializedCondition() local
499 condition = instruction->AsIf()->InputAt(0)->AsCondition(); in SelectMaterializedCondition()
501 condition = instruction->AsSelect()->GetCondition()->AsCondition(); in SelectMaterializedCondition()
504 SchedulingNode* condition_node = (condition != nullptr) ? graph.GetNode(condition) : nullptr; in SelectMaterializedCondition()
507 condition->HasOnlyOneNonEnvironmentUse() && in SelectMaterializedCondition()
Dcode_generator_arm_vixl.cc1277 IfCondition* condition, in AdjustConstantForCondition() argument
1280 if (*condition == kCondB) { in AdjustConstantForCondition()
1282 *condition = kCondEQ; in AdjustConstantForCondition()
1284 } else if (*condition == kCondAE) { in AdjustConstantForCondition()
1286 *condition = kCondNE; in AdjustConstantForCondition()
1290 if (*condition == kCondGT) { in AdjustConstantForCondition()
1292 *condition = kCondGE; in AdjustConstantForCondition()
1294 } else if (*condition == kCondLE) { in AdjustConstantForCondition()
1296 *condition = kCondLT; in AdjustConstantForCondition()
1305 HCondition* condition, in GenerateLongTestConstant() argument
[all …]
Dbounds_check_elimination.cc1770 HCondition* condition = if_expr->AsCondition(); in CanHandleInfiniteLoop() local
1771 if (index == condition->InputAt(0) || in CanHandleInfiniteLoop()
1772 index == condition->InputAt(1)) { in CanHandleInfiniteLoop()
1808 HInstruction* condition, in InsertDeoptInLoop() argument
1811 block->InsertInstructionBefore(condition, block->GetLastInstruction()); in InsertDeoptInLoop()
1815 GetGraph()->GetAllocator(), condition, kind, suspend->GetDexPc()); in InsertDeoptInLoop()
1824 void InsertDeoptInBlock(HBoundsCheck* bounds_check, HInstruction* condition) { in InsertDeoptInBlock() argument
1826 block->InsertInstructionBefore(condition, bounds_check); in InsertDeoptInBlock()
1829 condition, in InsertDeoptInBlock()
1902 HInstruction* condition = induction_range_.GenerateTakenTest( in TransformLoopForDeoptimizationIfNeeded() local
[all …]
/art/test/406-fields/src/
DTestCase.java50 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/
DTestCase.java50 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/414-static-fields/src/
DTestCase.java50 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/
DTestCase.java50 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/runtime/interpreter/mterp/arm64/
Dcontrol_flow.S1 %def bincmp(condition=""):
15 b.${condition} MterpCommonTakenBranchNoFlags
84 % bincmp(condition="eq")
90 % bincmp(condition="ge")
96 % bincmp(condition="gt")
102 % bincmp(condition="le")
108 % bincmp(condition="lt")
114 % bincmp(condition="ne")
/art/test/695-simplify-throws/src/
DMain.java24 while (condition) { in test()
42 static boolean condition = false; field in Main
/art/test/021-string2/src/junit/framework/
DAssert.java18 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/
DAssert.java18 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/003-omnibus-opcodes/src/
DMain.java76 public static void assertTrue(boolean condition) { in assertTrue() argument
77 if (!condition) { in assertTrue()
/art/test/469-condition-materialization/
Dinfo.txt2 materialize a condition when used only by an environment.
DAndroid.bp3 name: "art-run-test-469-condition-materialization",
/art/test/684-select-condition/
DAndroid.bp3 name: "art-run-test-684-select-condition",
/art/test/409-materialized-condition/
DAndroid.bp3 name: "art-run-test-409-materialized-condition",
/art/test/565-checker-condition-liveness/
DAndroid.bp3 name: "art-run-test-565-checker-condition-liveness",

12