Home
last modified time | relevance | path

Searched refs:select (Results 1 – 24 of 24) sorted by relevance

/art/compiler/optimizing/
Dselect_generator.cc157 HSelect* select = new (graph_->GetAllocator()) HSelect(condition, in Run() local
164 ReferenceTypePropagation::FixUpInstructionType(select, graph_->GetHandleCache()); in Run()
167 select->SetReferenceTypeInfo(phi->GetReferenceTypeInfo()); in Run()
169 block->InsertInstructionBefore(select, if_instruction); in Run()
175 false_block->GetFirstInstruction()->ReplaceInput(select, 0); in Run()
177 phi->ReplaceInput(select, predecessor_index_false); in Run()
200 cache.Put(condition, select); in Run()
204 DCHECK_EQ(cached->GetCondition(), select->GetCondition()); in Run()
205 if (cached->GetTrueValue() == select->GetTrueValue() && in Run()
206 cached->GetFalseValue() == select->GetFalseValue() && in Run()
[all …]
Dconstructor_fence_redundancy_elimination.cc62 void VisitSelect(HSelect* select) override { in VisitSelect() argument
63 VisitAlias(select); in VisitSelect()
Dscheduler.h465 size_t select = rand_r(&seed_) % nodes->size(); in PopHighestPriorityNode() local
466 SchedulingNode* select_node = (*nodes)[select]; in PopHighestPriorityNode()
467 DeleteNodeAtIndex(nodes, select); in PopHighestPriorityNode()
Dinstruction_simplifier.cc106 void VisitSelect(HSelect* select) override;
918 void InstructionSimplifierVisitor::VisitSelect(HSelect* select) { in VisitSelect() argument
920 HInstruction* condition = select->GetCondition(); in VisitSelect()
921 HInstruction* true_value = select->GetTrueValue(); in VisitSelect()
922 HInstruction* false_value = select->GetFalseValue(); in VisitSelect()
928 select->ReplaceInput(false_value, 0); in VisitSelect()
929 select->ReplaceInput(true_value, 1); in VisitSelect()
930 select->ReplaceInput(condition, 2); in VisitSelect()
952 replace_with = GetGraph()->InsertOppositeCondition(condition, select); in VisitSelect()
979 replace_with = NewIntegralMinMax(GetGraph()->GetAllocator(), a, b, select, is_min); in VisitSelect()
[all …]
Dscheduler.cc529 size_t select = 0; in PopHighestPriorityNode() local
532 SchedulingNode* candidate = (*nodes)[select]; in PopHighestPriorityNode()
535 select = i; in PopHighestPriorityNode()
538 DeleteNodeAtIndex(nodes, select); in PopHighestPriorityNode()
Dreference_type_propagation.cc771 HSelect* select = instruction->AsSelect(); in FixUpInstructionType() local
772 ReferenceTypeInfo false_rti = select->GetFalseValue()->GetReferenceTypeInfo(); in FixUpInstructionType()
773 ReferenceTypeInfo true_rti = select->GetTrueValue()->GetReferenceTypeInfo(); in FixUpInstructionType()
774 select->SetReferenceTypeInfo(MergeTypes(false_rti, true_rti, handle_cache)); in FixUpInstructionType()
Dcode_generator_arm64.cc3618 void LocationsBuilderARM64::VisitSelect(HSelect* select) { in VisitSelect() argument
3619 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(select); in VisitSelect()
3620 if (DataType::IsFloatingPointType(select->GetType())) { in VisitSelect()
3625 HConstant* cst_true_value = select->GetTrueValue()->AsConstant(); in VisitSelect()
3626 HConstant* cst_false_value = select->GetFalseValue()->AsConstant(); in VisitSelect()
3649 if (IsBooleanValueOrMaterializedCondition(select->GetCondition())) { in VisitSelect()
3654 void InstructionCodeGeneratorARM64::VisitSelect(HSelect* select) { in VisitSelect() argument
3655 HInstruction* cond = select->GetCondition(); in VisitSelect()
3659 if (cond->IsCondition() && cond->GetNext() == select) { in VisitSelect()
3663 __ Cmp(InputRegisterAt(select, 2), 0); in VisitSelect()
[all …]
Dcode_generator_x86_64.cc1936 static bool SelectCanUseCMOV(HSelect* select) { in SelectCanUseCMOV() argument
1938 if (DataType::IsFloatingPointType(select->GetType())) { in SelectCanUseCMOV()
1943 HInstruction* condition = select->GetCondition(); in SelectCanUseCMOV()
1953 void LocationsBuilderX86_64::VisitSelect(HSelect* select) { in VisitSelect() argument
1954 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(select); in VisitSelect()
1955 if (DataType::IsFloatingPointType(select->GetType())) { in VisitSelect()
1960 if (SelectCanUseCMOV(select)) { in VisitSelect()
1961 if (select->InputAt(1)->IsConstant()) { in VisitSelect()
1970 if (IsBooleanValueOrMaterializedCondition(select->GetCondition())) { in VisitSelect()
1976 void InstructionCodeGeneratorX86_64::VisitSelect(HSelect* select) { in VisitSelect() argument
[all …]
Dcode_generator_x86.cc1847 static bool SelectCanUseCMOV(HSelect* select) { in SelectCanUseCMOV() argument
1849 if (DataType::IsFloatingPointType(select->GetType())) { in SelectCanUseCMOV()
1855 HInstruction* condition = select->GetCondition(); in SelectCanUseCMOV()
1868 void LocationsBuilderX86::VisitSelect(HSelect* select) { in VisitSelect() argument
1869 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(select); in VisitSelect()
1870 if (DataType::IsFloatingPointType(select->GetType())) { in VisitSelect()
1875 if (SelectCanUseCMOV(select)) { in VisitSelect()
1876 if (select->InputAt(1)->IsConstant()) { in VisitSelect()
1886 if (IsBooleanValueOrMaterializedCondition(select->GetCondition())) { in VisitSelect()
1892 void InstructionCodeGeneratorX86::VisitSelect(HSelect* select) { in VisitSelect() argument
[all …]
Dcode_generator_arm_vixl.cc2832 void LocationsBuilderARMVIXL::VisitSelect(HSelect* select) { in VisitSelect() argument
2833 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(select); in VisitSelect()
2834 const bool is_floating_point = DataType::IsFloatingPointType(select->GetType()); in VisitSelect()
2838 locations->SetInAt(1, Location::FpuRegisterOrConstant(select->GetTrueValue())); in VisitSelect()
2841 locations->SetInAt(1, Arm8BitEncodableConstantOrRegister(select->GetTrueValue())); in VisitSelect()
2844 if (IsBooleanValueOrMaterializedCondition(select->GetCondition())) { in VisitSelect()
2845 locations->SetInAt(2, Location::RegisterOrConstant(select->GetCondition())); in VisitSelect()
2852 locations->SetInAt(0, Arm8BitEncodableConstantOrRegister(select->GetFalseValue())); in VisitSelect()
2859 void InstructionCodeGeneratorARMVIXL::VisitSelect(HSelect* select) { in VisitSelect() argument
2860 HInstruction* const condition = select->GetCondition(); in VisitSelect()
[all …]
/art/test/570-checker-select/
DAndroid.bp3 name: "art-run-test-570-checker-select",
/art/test/684-select-condition/
DAndroid.bp3 name: "art-run-test-684-select-condition",
/art/test/566-checker-codegen-select/
DAndroid.bp3 name: "art-run-test-566-checker-codegen-select",
/art/test/663-checker-select-generator/
Dinfo.txt1 Test for select generation for conditional returns.
/art/tools/
Ddt_fds_forward.py31 import select
96 (rf, _, _) = select.select(sources, [], [])
/art/test/592-checker-regression-bool-input/smali/
DTestCase.smali41 # ... and select generation will replace this part with a select
/art/openjdkjvmti/
Djvmti_weak_table-inl.h351 bool select;
353 select = false;
356 select = true;
361 select = true;
364 if (select) {
/art/test/663-checker-select-generator/smali/
DTestCase.smali37 # The select generation will replace this with a select
/art/test/595-error-class/smali/
Dmerge.smali21 .method public static select(Z)Ljava/lang/Object;
/art/test/044-proxy/src/
DReturnsAndArgPassing.java47 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/
DTEST_MAPPING879 "name": "art-run-test-566-checker-codegen-select"
888 "name": "art-run-test-570-checker-select"
1116 "name": "art-run-test-684-select-condition"
/art/test/
DREADME.md151 Add "--gtest_filter=..." to select specific sub-test(s) to run.
/art/test/911-get-stack-trace/
Dexpected-cts-version.txt224 ### Other select threads (suspended) ###
Dexpected.txt658 ### Other select threads (suspended) ###