Searched refs:select (Results 1 - 18 of 18) sorted by relevance

/art/compiler/optimizing/
H A Dselect_generator.cc119 HSelect* select = new (graph_->GetArena()) HSelect(if_instruction->InputAt(0), local
124 select->SetReferenceTypeInfo(phi->GetReferenceTypeInfo());
126 block->InsertInstructionBefore(select, if_instruction);
130 phi->ReplaceInput(select, predecessor_index_false);
H A Dscheduler.h378 size_t select = rand_r(&seed_) % nodes->size(); variable
379 SchedulingNode* select_node = (*nodes)[select];
380 DeleteNodeAtIndex(nodes, select);
H A Dscheduler.cc331 size_t select = 0; local
334 SchedulingNode* candidate = (*nodes)[select];
337 select = i;
340 DeleteNodeAtIndex(nodes, select);
H A Dinstruction_simplifier.cc100 void VisitSelect(HSelect* select) OVERRIDE;
727 void InstructionSimplifierVisitor::VisitSelect(HSelect* select) { argument
729 HInstruction* condition = select->GetCondition();
730 HInstruction* true_value = select->GetTrueValue();
731 HInstruction* false_value = select->GetFalseValue();
737 select->ReplaceInput(false_value, 0);
738 select->ReplaceInput(true_value, 1);
739 select->ReplaceInput(condition, 2);
761 replace_with = GetGraph()->InsertOppositeCondition(condition, select);
766 select
1947 HInstruction* select = new (GetGraph()->GetArena()) HSelect(condition, nan, invoke, dex_pc); local
[all...]
H A Dcode_generator_mips.h345 void GenConditionalMoveR2(HSelect* select);
346 void GenConditionalMoveR6(HSelect* select);
H A Dcode_generator_arm64.cc3732 void LocationsBuilderARM64::VisitSelect(HSelect* select) { argument
3733 LocationSummary* locations = new (GetGraph()->GetArena()) LocationSummary(select);
3734 if (Primitive::IsFloatingPointType(select->GetType())) {
3739 HConstant* cst_true_value = select->GetTrueValue()->AsConstant();
3740 HConstant* cst_false_value = select->GetFalseValue()->AsConstant();
3763 if (IsBooleanValueOrMaterializedCondition(select->GetCondition())) {
3768 void InstructionCodeGeneratorARM64::VisitSelect(HSelect* select) { argument
3769 HInstruction* cond = select->GetCondition();
3773 if (cond->IsCondition() && cond->GetNext() == select) {
3777 __ Cmp(InputRegisterAt(select,
[all...]
H A Dcode_generator_mips.cc5190 static bool CanMoveConditionally(HSelect* select, bool is_r6, LocationSummary* locations_to_set) {
5191 bool materialized = IsBooleanValueOrMaterializedCondition(select->GetCondition());
5192 HInstruction* cond = select->InputAt(/* condition_input_index */ 2);
5196 Primitive::Type dst_type = select->GetType();
5198 HConstant* cst_true_value = select->GetTrueValue()->AsConstant();
5199 HConstant* cst_false_value = select->GetFalseValue()->AsConstant();
5418 void InstructionCodeGeneratorMIPS::GenConditionalMoveR2(HSelect* select) {
5419 LocationSummary* locations = select->GetLocations();
5424 HInstruction* cond = select->InputAt(/* condition_input_index */ 2);
5429 Primitive::Type dst_type = select
[all...]
H A Dcode_generator_x86.cc1725 static bool SelectCanUseCMOV(HSelect* select) { argument
1727 if (Primitive::IsFloatingPointType(select->GetType())) {
1733 HInstruction* condition = select->GetCondition();
1746 void LocationsBuilderX86::VisitSelect(HSelect* select) { argument
1747 LocationSummary* locations = new (GetGraph()->GetArena()) LocationSummary(select);
1748 if (Primitive::IsFloatingPointType(select->GetType())) {
1753 if (SelectCanUseCMOV(select)) {
1754 if (select->InputAt(1)->IsConstant()) {
1764 if (IsBooleanValueOrMaterializedCondition(select->GetCondition())) {
1770 void InstructionCodeGeneratorX86::VisitSelect(HSelect* select) { argument
[all...]
H A Dcode_generator_x86_64.cc1747 static bool SelectCanUseCMOV(HSelect* select) { argument
1749 if (Primitive::IsFloatingPointType(select->GetType())) {
1754 HInstruction* condition = select->GetCondition();
1764 void LocationsBuilderX86_64::VisitSelect(HSelect* select) { argument
1765 LocationSummary* locations = new (GetGraph()->GetArena()) LocationSummary(select);
1766 if (Primitive::IsFloatingPointType(select->GetType())) {
1771 if (SelectCanUseCMOV(select)) {
1772 if (select->InputAt(1)->IsConstant()) {
1781 if (IsBooleanValueOrMaterializedCondition(select->GetCondition())) {
1787 void InstructionCodeGeneratorX86_64::VisitSelect(HSelect* select) { argument
[all...]
H A Dcode_generator_arm_vixl.cc2751 void LocationsBuilderARMVIXL::VisitSelect(HSelect* select) { argument
2752 LocationSummary* locations = new (GetGraph()->GetArena()) LocationSummary(select);
2753 const bool is_floating_point = Primitive::IsFloatingPointType(select->GetType());
2757 locations->SetInAt(1, Location::FpuRegisterOrConstant(select->GetTrueValue()));
2760 locations->SetInAt(1, Arm8BitEncodableConstantOrRegister(select->GetTrueValue()));
2763 if (IsBooleanValueOrMaterializedCondition(select->GetCondition())) {
2764 locations->SetInAt(2, Location::RegisterOrConstant(select->GetCondition()));
2771 locations->SetInAt(0, Arm8BitEncodableConstantOrRegister(select->GetFalseValue()));
2778 void InstructionCodeGeneratorARMVIXL::VisitSelect(HSelect* select) { argument
2779 HInstruction* const condition = select
[all...]
H A Dcode_generator_arm.cc2717 void LocationsBuilderARM::VisitSelect(HSelect* select) { argument
2718 LocationSummary* locations = new (GetGraph()->GetArena()) LocationSummary(select);
2719 const bool is_floating_point = Primitive::IsFloatingPointType(select->GetType());
2723 locations->SetInAt(1, Location::FpuRegisterOrConstant(select->GetTrueValue()));
2726 locations->SetInAt(1, Arm8BitEncodableConstantOrRegister(select->GetTrueValue()));
2729 if (IsBooleanValueOrMaterializedCondition(select->GetCondition())) {
2730 locations->SetInAt(2, Location::RegisterOrConstant(select->GetCondition()));
2737 locations->SetInAt(0, Arm8BitEncodableConstantOrRegister(select->GetFalseValue()));
2744 void InstructionCodeGeneratorARM::VisitSelect(HSelect* select) { argument
2745 HInstruction* const condition = select
[all...]
H A Dcode_generator_mips64.cc3945 void LocationsBuilderMIPS64::VisitSelect(HSelect* select) {
3946 LocationSummary* locations = new (GetGraph()->GetArena()) LocationSummary(select);
3947 if (Primitive::IsFloatingPointType(select->GetType())) {
3954 if (IsBooleanValueOrMaterializedCondition(select->GetCondition())) {
3960 void InstructionCodeGeneratorMIPS64::VisitSelect(HSelect* select) {
3961 LocationSummary* locations = select->GetLocations();
3963 GenerateTestAndBranch(select,
3967 codegen_->MoveLocation(locations->Out(), locations->InAt(1), select->GetType());
H A Dintrinsics_mips.cc935 MipsLabel select; local
952 __ B(&select);
1012 __ Bind(&select);
/art/runtime/openjdkjvmti/
H A Djvmti_weak_table-inl.h350 bool select; local
352 select = false;
355 select = true;
360 select = true;
363 if (select) {
/art/test/044-proxy/src/
H A DReturnsAndArgPassing.java47 Object selectArg(int select, int a, long b, float c, double d, Object x); argument
79 int select = (Integer)args[0];
80 return args[select];
/art/runtime/jdwp/
H A Djdwp_adb.cc382 LOG(INFO) << "NOTE: entering select w/o wakepipe";
394 * and accept(), but not select()).
399 * re-issue the select. We're currently using #2, as it's more
402 selCount = select(maxfd + 1, &readfds, nullptr, nullptr, nullptr);
407 PLOG(ERROR) << "select failed";
412 VLOG(jdwp) << "Got wake-up signal, bailing out of select";
H A Djdwp_socket.cc416 LOG(INFO) << "NOTE: entering select w/o wakepipe";
428 * and accept(), but not select()).
433 * re-issue the select. We're currently using #2, as it's more
436 selCount = select(maxfd + 1, &readfds, nullptr, nullptr, nullptr);
441 PLOG(ERROR) << "select failed";
449 VLOG(jdwp) << "Got wake-up signal, bailing out of select";
/art/runtime/
H A Dnative_stack_dump.cc157 int retval = TEMP_FAILURE_RETRY(select(in + 1, &rfds, nullptr, nullptr, &tv));

Completed in 337 milliseconds