Home
last modified time | relevance | path

Searched refs:condition (Results 1 – 25 of 50) 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/runtime/interpreter/mterp/mips64/
Dcontrol_flow.S1 %def bincmp(condition=""):
15 b${condition}c a0, a1, MterpCommonTakenBranchNoFlags
22 %def zcmp(condition=""):
34 b${condition}zc a0, MterpCommonTakenBranchNoFlags
81 % bincmp(condition="eq")
84 % zcmp(condition="eq")
87 % bincmp(condition="ge")
90 % zcmp(condition="ge")
93 % bincmp(condition="gt")
96 % zcmp(condition="gt")
[all …]
/art/runtime/interpreter/mterp/mips/
Dcontrol_flow.S1 %def bincmp(condition=""):
14 b${condition} a0, a3, MterpCommonTakenBranchNoFlags # compare (vA, vB)
21 %def zcmp(condition=""):
32 b${condition} a0, zero, MterpCommonTakenBranchNoFlags
79 % bincmp(condition="eq")
82 % zcmp(condition="eq")
85 % bincmp(condition="ge")
88 % zcmp(condition="ge")
91 % bincmp(condition="gt")
94 % zcmp(condition="gt")
[all …]
/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.cc83 void VisitGreaterThan(HGreaterThan* condition) override;
84 void VisitGreaterThanOrEqual(HGreaterThanOrEqual* condition) override;
85 void VisitLessThan(HLessThan* condition) override;
86 void VisitLessThanOrEqual(HLessThanOrEqual* condition) override;
87 void VisitBelow(HBelow* condition) override;
88 void VisitBelowOrEqual(HBelowOrEqual* condition) override;
89 void VisitAbove(HAbove* condition) override;
90 void VisitAboveOrEqual(HAboveOrEqual* condition) override;
924 HInstruction* condition = select->GetCondition(); in VisitSelect() local
928 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.cc511 const HCondition* condition = nullptr; in SelectMaterializedCondition() local
515 condition = instruction->AsIf()->InputAt(0)->AsCondition(); in SelectMaterializedCondition()
517 condition = instruction->AsSelect()->GetCondition()->AsCondition(); in SelectMaterializedCondition()
520 SchedulingNode* condition_node = (condition != nullptr) ? graph.GetNode(condition) : nullptr; in SelectMaterializedCondition()
523 condition->HasOnlyOneNonEnvironmentUse() && in SelectMaterializedCondition()
Dcode_generator_arm_vixl.cc1275 IfCondition* condition, in AdjustConstantForCondition() argument
1278 if (*condition == kCondB) { in AdjustConstantForCondition()
1280 *condition = kCondEQ; in AdjustConstantForCondition()
1282 } else if (*condition == kCondAE) { in AdjustConstantForCondition()
1284 *condition = kCondNE; in AdjustConstantForCondition()
1288 if (*condition == kCondGT) { in AdjustConstantForCondition()
1290 *condition = kCondGE; in AdjustConstantForCondition()
1292 } else if (*condition == kCondLE) { in AdjustConstantForCondition()
1294 *condition = kCondLT; in AdjustConstantForCondition()
1303 HCondition* condition, in GenerateLongTestConstant() argument
[all …]
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_64.h176 void HandleCondition(HCondition* condition);
221 void HandleCondition(HCondition* condition);
275 void GenerateCompareTest(HCondition* condition);
282 void GenerateCompareTestAndBranch(HCondition* condition,
/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/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/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/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/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/695-simplify-throws/src/
DMain.java24 while (condition) { in test()
42 static boolean condition = false; field in Main
/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/compiler/utils/x86/
Dassembler_x86.cc494 void X86Assembler::cmovl(Condition condition, Register dst, Register src) { in cmovl() argument
497 EmitUint8(0x40 + condition); in cmovl()
502 void X86Assembler::cmovl(Condition condition, Register dst, const Address& src) { in cmovl() argument
505 EmitUint8(0x40 + condition); in cmovl()
510 void X86Assembler::setb(Condition condition, Register dst) { in setb() argument
513 EmitUint8(0x90 + condition); in setb()
2708 void X86Assembler::j(Condition condition, Label* label) { in j() argument
2716 EmitUint8(0x70 + condition); in j()
2720 EmitUint8(0x80 + condition); in j()
2725 EmitUint8(0x80 + condition); in j()
[all …]

12