/art/compiler/optimizing/ |
D | select_generator.cc | 159 HSelect* select = new (graph_->GetAllocator()) HSelect(condition, in Run() local 166 ReferenceTypePropagation::FixUpInstructionType(select, handle_scope_); in Run() 169 select->SetReferenceTypeInfo(phi->GetReferenceTypeInfo()); in Run() 171 block->InsertInstructionBefore(select, if_instruction); in Run() 177 false_block->GetFirstInstruction()->ReplaceInput(select, 0); in Run() 179 phi->ReplaceInput(select, predecessor_index_false); in Run() 202 cache.Put(condition, select); in Run() 206 DCHECK_EQ(cached->GetCondition(), select->GetCondition()); in Run() 207 if (cached->GetTrueValue() == select->GetTrueValue() && in Run() 208 cached->GetFalseValue() == select->GetFalseValue() && in Run() [all …]
|
D | constructor_fence_redundancy_elimination.cc | 62 void VisitSelect(HSelect* select) override { in VisitSelect() argument 63 VisitAlias(select); in VisitSelect()
|
D | scheduler.h | 397 size_t select = rand_r(&seed_) % nodes->size(); in PopHighestPriorityNode() local 398 SchedulingNode* select_node = (*nodes)[select]; in PopHighestPriorityNode() 399 DeleteNodeAtIndex(nodes, select); in PopHighestPriorityNode()
|
D | instruction_simplifier.cc | 101 void VisitSelect(HSelect* select) override; 922 void InstructionSimplifierVisitor::VisitSelect(HSelect* select) { in VisitSelect() argument 924 HInstruction* condition = select->GetCondition(); in VisitSelect() 925 HInstruction* true_value = select->GetTrueValue(); in VisitSelect() 926 HInstruction* false_value = select->GetFalseValue(); in VisitSelect() 932 select->ReplaceInput(false_value, 0); in VisitSelect() 933 select->ReplaceInput(true_value, 1); in VisitSelect() 934 select->ReplaceInput(condition, 2); in VisitSelect() 956 replace_with = GetGraph()->InsertOppositeCondition(condition, select); in VisitSelect() 983 replace_with = NewIntegralMinMax(GetGraph()->GetAllocator(), a, b, select, is_min); in VisitSelect() [all …]
|
D | scheduler.cc | 545 size_t select = 0; in PopHighestPriorityNode() local 548 SchedulingNode* candidate = (*nodes)[select]; in PopHighestPriorityNode() 551 select = i; in PopHighestPriorityNode() 554 DeleteNodeAtIndex(nodes, select); in PopHighestPriorityNode()
|
D | reference_type_propagation.cc | 812 HSelect* select = instruction->AsSelect(); in FixUpInstructionType() local 813 ReferenceTypeInfo false_rti = select->GetFalseValue()->GetReferenceTypeInfo(); in FixUpInstructionType() 814 ReferenceTypeInfo true_rti = select->GetTrueValue()->GetReferenceTypeInfo(); in FixUpInstructionType() 815 select->SetReferenceTypeInfo(MergeTypes(false_rti, true_rti, &handle_cache)); in FixUpInstructionType()
|
D | code_generator_mips.h | 361 void GenConditionalMoveR2(HSelect* select); 362 void GenConditionalMoveR6(HSelect* select);
|
D | code_generator_arm64.cc | 3315 void LocationsBuilderARM64::VisitSelect(HSelect* select) { in VisitSelect() argument 3316 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(select); in VisitSelect() 3317 if (DataType::IsFloatingPointType(select->GetType())) { in VisitSelect() 3322 HConstant* cst_true_value = select->GetTrueValue()->AsConstant(); in VisitSelect() 3323 HConstant* cst_false_value = select->GetFalseValue()->AsConstant(); in VisitSelect() 3346 if (IsBooleanValueOrMaterializedCondition(select->GetCondition())) { in VisitSelect() 3351 void InstructionCodeGeneratorARM64::VisitSelect(HSelect* select) { in VisitSelect() argument 3352 HInstruction* cond = select->GetCondition(); in VisitSelect() 3356 if (cond->IsCondition() && cond->GetNext() == select) { in VisitSelect() 3360 __ Cmp(InputRegisterAt(select, 2), 0); in VisitSelect() [all …]
|
D | code_generator_mips64.cc | 4518 static bool CanMoveConditionally(HSelect* select, LocationSummary* locations_to_set) { in CanMoveConditionally() argument 4519 bool materialized = IsBooleanValueOrMaterializedCondition(select->GetCondition()); in CanMoveConditionally() 4520 HInstruction* cond = select->InputAt(/* i= */ 2); in CanMoveConditionally() 4525 DataType::Type dst_type = select->GetType(); in CanMoveConditionally() 4527 HConstant* cst_true_value = select->GetTrueValue()->AsConstant(); in CanMoveConditionally() 4528 HConstant* cst_false_value = select->GetFalseValue()->AsConstant(); in CanMoveConditionally() 4658 void InstructionCodeGeneratorMIPS64::GenConditionalMove(HSelect* select) { in GenConditionalMove() argument 4659 LocationSummary* locations = select->GetLocations(); in GenConditionalMove() 4663 HInstruction* cond = select->InputAt(/* i= */ 2); in GenConditionalMove() 4668 DataType::Type dst_type = select->GetType(); in GenConditionalMove() [all …]
|
D | code_generator_mips.cc | 5984 static bool CanMoveConditionally(HSelect* select, bool is_r6, LocationSummary* locations_to_set) { in CanMoveConditionally() argument 5985 bool materialized = IsBooleanValueOrMaterializedCondition(select->GetCondition()); in CanMoveConditionally() 5986 HInstruction* cond = select->InputAt(/* i= */ 2); in CanMoveConditionally() 5991 DataType::Type dst_type = select->GetType(); in CanMoveConditionally() 5993 HConstant* cst_true_value = select->GetTrueValue()->AsConstant(); in CanMoveConditionally() 5994 HConstant* cst_false_value = select->GetFalseValue()->AsConstant(); in CanMoveConditionally() 6213 void InstructionCodeGeneratorMIPS::GenConditionalMoveR2(HSelect* select) { in GenConditionalMoveR2() argument 6214 LocationSummary* locations = select->GetLocations(); in GenConditionalMoveR2() 6219 HInstruction* cond = select->InputAt(/* i= */ 2); in GenConditionalMoveR2() 6224 DataType::Type dst_type = select->GetType(); in GenConditionalMoveR2() [all …]
|
D | code_generator_x86_64.cc | 1835 static bool SelectCanUseCMOV(HSelect* select) { in SelectCanUseCMOV() argument 1837 if (DataType::IsFloatingPointType(select->GetType())) { in SelectCanUseCMOV() 1842 HInstruction* condition = select->GetCondition(); in SelectCanUseCMOV() 1852 void LocationsBuilderX86_64::VisitSelect(HSelect* select) { in VisitSelect() argument 1853 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(select); in VisitSelect() 1854 if (DataType::IsFloatingPointType(select->GetType())) { in VisitSelect() 1859 if (SelectCanUseCMOV(select)) { in VisitSelect() 1860 if (select->InputAt(1)->IsConstant()) { in VisitSelect() 1869 if (IsBooleanValueOrMaterializedCondition(select->GetCondition())) { in VisitSelect() 1875 void InstructionCodeGeneratorX86_64::VisitSelect(HSelect* select) { in VisitSelect() argument [all …]
|
D | code_generator_x86.cc | 1757 static bool SelectCanUseCMOV(HSelect* select) { in SelectCanUseCMOV() argument 1759 if (DataType::IsFloatingPointType(select->GetType())) { in SelectCanUseCMOV() 1765 HInstruction* condition = select->GetCondition(); in SelectCanUseCMOV() 1778 void LocationsBuilderX86::VisitSelect(HSelect* select) { in VisitSelect() argument 1779 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(select); in VisitSelect() 1780 if (DataType::IsFloatingPointType(select->GetType())) { in VisitSelect() 1785 if (SelectCanUseCMOV(select)) { in VisitSelect() 1786 if (select->InputAt(1)->IsConstant()) { in VisitSelect() 1796 if (IsBooleanValueOrMaterializedCondition(select->GetCondition())) { in VisitSelect() 1802 void InstructionCodeGeneratorX86::VisitSelect(HSelect* select) { in VisitSelect() argument [all …]
|
D | code_generator_mips64.h | 344 void GenConditionalMove(HSelect* select);
|
D | code_generator_arm_vixl.cc | 2648 void LocationsBuilderARMVIXL::VisitSelect(HSelect* select) { in VisitSelect() argument 2649 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(select); in VisitSelect() 2650 const bool is_floating_point = DataType::IsFloatingPointType(select->GetType()); in VisitSelect() 2654 locations->SetInAt(1, Location::FpuRegisterOrConstant(select->GetTrueValue())); in VisitSelect() 2657 locations->SetInAt(1, Arm8BitEncodableConstantOrRegister(select->GetTrueValue())); in VisitSelect() 2660 if (IsBooleanValueOrMaterializedCondition(select->GetCondition())) { in VisitSelect() 2661 locations->SetInAt(2, Location::RegisterOrConstant(select->GetCondition())); in VisitSelect() 2668 locations->SetInAt(0, Arm8BitEncodableConstantOrRegister(select->GetFalseValue())); in VisitSelect() 2675 void InstructionCodeGeneratorARMVIXL::VisitSelect(HSelect* select) { in VisitSelect() argument 2676 HInstruction* const condition = select->GetCondition(); in VisitSelect() [all …]
|
/art/test/663-checker-select-generator/ |
D | info.txt | 1 Test for select generation for conditional returns.
|
/art/tools/ |
D | dt_fds_forward.py | 31 import select 96 (rf, _, _) = select.select(sources, [], [])
|
/art/test/592-checker-regression-bool-input/smali/ |
D | TestCase.smali | 41 # ... and select generation will replace this part with a select
|
/art/openjdkjvmti/ |
D | jvmti_weak_table-inl.h | 351 bool select; 353 select = false; 356 select = true; 361 select = true; 364 if (select) {
|
/art/test/663-checker-select-generator/smali/ |
D | TestCase.smali | 37 # The select generation will replace this with a select
|
/art/test/044-proxy/src/ |
D | ReturnsAndArgPassing.java | 47 Object selectArg(int select, int a, long b, float c, double d, Object x); in selectArg() argument 79 int select = (Integer)args[0]; in invoke() local 80 return args[select]; in invoke()
|
/art/test/595-error-class/smali/ |
D | merge.smali | 21 .method public static select(Z)Ljava/lang/Object;
|
/art/runtime/jdwp/ |
D | jdwp_adb.cc | 396 selCount = select(maxfd + 1, &readfds, nullptr, nullptr, nullptr); in ProcessIncoming()
|
D | jdwp_socket.cc | 436 selCount = select(maxfd + 1, &readfds, nullptr, nullptr, nullptr); in ProcessIncoming()
|
/art/test/911-get-stack-trace/ |
D | expected.txt | 658 ### Other select threads (suspended) ###
|