Home
last modified time | relevance | path

Searched refs:condition (Results 1 – 25 of 36) 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 …]
Darithmetic.S30 $preinstr @ optional op; may set condition codes
63 $preinstr @ optional op; may set condition codes
168 $preinstr @ optional op; may set condition codes
203 $preinstr @ optional op; may set condition codes
223 $preinstr @ optional op; may set condition codes
248 $preinstr @ optional op; may set condition codes
271 $preinstr @ optional op; may set condition codes
291 $preinstr @ optional op; may set condition codes
/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.cc84 void VisitGreaterThan(HGreaterThan* condition) override;
85 void VisitGreaterThanOrEqual(HGreaterThanOrEqual* condition) override;
86 void VisitLessThan(HLessThan* condition) override;
87 void VisitLessThanOrEqual(HLessThanOrEqual* condition) override;
88 void VisitBelow(HBelow* condition) override;
89 void VisitBelowOrEqual(HBelowOrEqual* condition) override;
90 void VisitAbove(HAbove* condition) override;
91 void VisitAboveOrEqual(HAboveOrEqual* condition) override;
914 HInstruction* condition = select->GetCondition(); in VisitSelect() local
918 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.cc158 HInstruction* condition = if_instruction->InputAt(0); in Run() local
159 HSelect* select = new (graph_->GetAllocator()) HSelect(condition, in Run()
200 auto it = cache.find(condition); in Run()
202 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_x86_64.h176 void HandleCondition(HCondition* condition);
223 void HandleCondition(HCondition* condition);
277 void GenerateCompareTest(HCondition* condition);
284 void GenerateCompareTestAndBranch(HCondition* condition,
Dbounds_check_elimination.cc1669 HCondition* condition = if_expr->AsCondition(); in CanHandleInfiniteLoop() local
1670 if (index == condition->InputAt(0) || in CanHandleInfiniteLoop()
1671 index == condition->InputAt(1)) { in CanHandleInfiniteLoop()
1707 HInstruction* condition, in InsertDeoptInLoop() argument
1710 block->InsertInstructionBefore(condition, block->GetLastInstruction()); in InsertDeoptInLoop()
1714 GetGraph()->GetAllocator(), condition, kind, suspend->GetDexPc()); in InsertDeoptInLoop()
1723 void InsertDeoptInBlock(HBoundsCheck* bounds_check, HInstruction* condition) { in InsertDeoptInBlock() argument
1725 block->InsertInstructionBefore(condition, bounds_check); in InsertDeoptInBlock()
1728 condition, in InsertDeoptInBlock()
1801 HInstruction* condition = induction_range_.GenerateTakenTest( in TransformLoopForDeoptimizationIfNeeded() local
[all …]
Dcode_generator_x86.h174 void HandleCondition(HCondition* condition);
226 void HandleCondition(HCondition* condition);
294 void GenerateCompareTestAndBranch(HCondition* condition,
Dcode_generator_arm_vixl.h283 void HandleCondition(HCondition* condition);
336 void HandleCondition(HCondition* condition);
399 void GenerateCompareTestAndBranch(HCondition* condition,
745 void GenerateConditionWithZero(IfCondition condition,
/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/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/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/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/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/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/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/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.
/art/test/580-fp16/src-art/
DMain.java41 static public void assertTrue(boolean condition) { in assertTrue() argument
42 if (!condition) { in assertTrue()
47 static public void assertFalse(boolean condition) { in assertFalse() argument
48 if (condition) { in assertFalse()
/art/compiler/utils/x86/
Dassembler_x86.h382 void cmovl(Condition condition, Register dst, Register src);
383 void cmovl(Condition condition, Register dst, const Address& src);
385 void setb(Condition condition, Register dst);
779 void j(Condition condition, Label* label);
780 void j(Condition condition, NearLabel* label);

12