Searched defs:input (Results 1 - 25 of 30) sorted by relevance

12

/art/test/468-checker-bool-simplifier-regression/src/
H A DMain.java21 public static boolean runTest(boolean input) throws Exception { argument
25 f.set(null, (Boolean) input);
/art/test/517-checker-builder-fallthrough/src/
H A DMain.java21 public static int runTest(int input) throws Exception { argument
24 return (Integer) m.invoke(null, input);
/art/compiler/optimizing/
H A Dssa_phi_elimination.cc71 HPhi* input = it.Current()->AsPhi(); local
72 if (input != nullptr && input->IsDead()) {
75 DCHECK(ContainsElement(initially_live, input));
76 input->SetLive();
77 worklist_.push_back(input);
163 HInstruction* input = phi->InputAt(j); local
164 if (input == phi) {
167 candidate = input;
168 } else if (candidate != input) {
185 HInstruction* input = current->InputAt(j); local
[all...]
H A Dlicm.cc35 // We only need to check whether the input is defined in the loop. If it is not
46 HInstruction* input = environment->GetInstructionAt(i); local
47 if (input != nullptr) {
48 HLoopInformation* input_loop = input->GetBlock()->GetLoopInformation();
51 // we will just replace that phi with its first input later in `UpdateLoopPhisIn`.
52 bool is_loop_header_phi = IsPhiOf(input, info->GetHeader());
64 * If `environment` has a loop header phi, we replace it with its first input.
69 HInstruction* input = environment->GetInstructionAt(i); local
70 if (input != nullptr && IsPhiOf(input, inf
[all...]
H A Dnodes_x86.h63 HInstruction* input,
68 SetRawInputAt(0, input);
83 HInstruction* input,
89 SetRawInputAt(0, input);
62 HX86FPNeg(Primitive::Type result_type, HInstruction* input, HX86ComputeBaseMethodAddress* method_base, uint32_t dex_pc) argument
81 HX86PackedSwitch(int32_t start_value, int32_t num_entries, HInstruction* input, HX86ComputeBaseMethodAddress* method_base, uint32_t dex_pc) argument
H A Dconstant_folding_test.cc163 const int64_t input = INT64_C(4294967296); // 2^32 local
164 const uint16_t word0 = Low16Bits(Low32Bits(input)); // LSW.
165 const uint16_t word1 = High16Bits(Low32Bits(input));
166 const uint16_t word2 = Low16Bits(High32Bits(input));
167 const uint16_t word3 = High16Bits(High32Bits(input)); // MSW.
H A Dintrinsics.h105 HInstruction* input = invoke->InputAt(i); local
106 Location cc_loc = calling_convention_visitor->GetNextLocation(input->GetType());
109 parallel_move.AddMove(actual_loc, cc_loc, input->GetType(), nullptr);
H A Dpc_relative_fixups_x86.cc25 * Finds instructions that need the constant area base as an input.
206 HConstant* input = invoke->InputAt(i)->AsConstant(); local
207 if (input != nullptr && Primitive::IsFloatingPointType(input->GetType())) {
208 ReplaceInput(invoke, input, i, true);
251 // input to the HX86LoadFromConstantTable instructions.
H A Dprepare_for_register_allocation.cc53 // BoundType (as value input of this ArraySet) with a NullConstant.
179 << "Last input is not HLoadClass. It is " << last_input->DebugName();
191 bool PrepareForRegisterAllocation::CanMoveClinitCheck(HInstruction* input, argument
193 // Determine if input and user come from the same dex instruction, so that we can move
195 // to HLoadClass (input), or from HClinitCheck (input) to HInvokeStaticOrDirect (user),
196 // or from HLoadClass (input) to HNewInstance (user).
199 if (user->GetDexPc() != input->GetDexPc()) {
206 HEnvironment* input_environment = input->GetEnvironment();
222 // Check for code motion taking the input t
[all...]
H A Dssa_builder.cc127 HInstruction* input = it.Current(); local
128 if (input->IsPhi() && input->AsPhi()->IsDead()) {
129 // Phis are constructed live so if an input is a dead phi, it must have
134 Primitive::Type input_type = HPhi::ToPhiType(input->GetType());
173 HInstruction* input = phi->InputAt(i); local
175 DCHECK(input->IsPhi() && input->GetType() == Primitive::kPrimVoid);
177 DCHECK((input->IsPhi() && input
187 HInstruction* input = phi->InputAt(i); local
455 HInstruction* input = new_instance->InputAt(0); local
[all...]
H A Dcodegen_test.cc443 const int32_t input = INPUT; \
444 const uint16_t input_lo = Low16Bits(input); \
445 const uint16_t input_hi = High16Bits(input); \
468 const int64_t input = INPUT; \
469 const uint16_t word0 = Low16Bits(Low32Bits(input)); /* LSW. */ \
470 const uint16_t word1 = High16Bits(Low32Bits(input)); \
471 const uint16_t word2 = Low16Bits(High32Bits(input)); \
472 const uint16_t word3 = High16Bits(High32Bits(input)); /* MSW. */ \
518 const int64_t input = INT64_C(4294967296); // 2^32 local
519 const uint16_t word0 = Low16Bits(Low32Bits(input)); // LS
[all...]
H A Dssa_liveness_analysis.cc181 HInstruction* input = current->InputAt(i); local
183 bool has_out_location = input->GetLocations()->Out().IsValid();
188 << " expects an input value at index " << i << " but "
189 << input->DebugName() << input->GetId() << " does not produce one.";
190 DCHECK(input->HasSsaIndex());
191 // `input` generates a result used by `current`. Add use and update
193 input->GetLiveInterval()->AddUse(current, /* environment */ nullptr, i, actual_user);
194 live_in->SetBit(input->GetSsaIndex());
196 // `input` generate
235 HInstruction* input = phi->InputAt(phi_input_index); local
437 HInstruction* input = user->InputAt(i); local
475 HInstruction* input = defined_by_->InputAt(i); local
[all...]
H A Dgraph_checker.cc340 HInstruction* input = input_it.Current(); local
341 const HInstructionList& list = input->IsPhi()
342 ? input->GetBlock()->GetPhis()
343 : input->GetBlock()->GetInstructions();
344 if (!list.Contains(input)) {
347 input->GetId(),
392 HInstruction* input = input_record.GetInstruction(); local
393 if ((input_record.GetBeforeUseNode() == input->GetUses().end()) ||
394 (input_record.GetUseNode() == input->GetUses().end()) ||
395 !input
535 HInstruction* input = check->InputAt(1); local
547 HInstruction* input = instruction->InputAt(1); local
709 HInstruction* input = phi->InputAt(i); local
766 HInstruction* input = phi->InputAt(i); local
838 HInstruction* input = instruction->InputAt(input_index); local
[all...]
H A Dcode_generator.cc306 HInstruction* input = invoke->InputAt(i); local
307 locations->SetInAt(i, visitor->GetNextLocation(input->GetType()));
385 // the input or field index.
507 // the summary. The out location can overlap with an input, so we need
H A Dreference_type_propagation.cc315 HInstruction* input = ifInstruction->InputAt(0); local
317 if (input->IsEqual()) {
318 HInstruction* rhs = input->AsEqual()->GetConstantRight();
320 HInstruction* lhs = input->AsEqual()->GetLeastConstantLeft();
334 } else if (input->IsNotEqual()) {
335 HInstruction* rhs = input->AsNotEqual()->GetConstantRight();
337 HInstruction* lhs = input->AsNotEqual()->GetLeastConstantLeft();
351 } else if (input->IsInstanceOf()) {
353 *instanceOf = input->AsInstanceOf();
356 } else if (input
[all...]
H A Dregister_allocator.cc309 Location input = locations->InAt(i); local
310 if (input.IsRegister() || input.IsFpuRegister()) {
311 BlockRegister(input, position, position + 1);
312 } else if (input.IsPair()) {
313 BlockRegister(input.ToLow(), position, position + 1);
314 BlockRegister(input.ToHigh(), position, position + 1);
711 // Note that the same instruction may occur multiple times in the input list,
757 // Take the last interval of the input. It is the location of that interval
765 // The input mus
1423 AddInputMoveFor(HInstruction* input, HInstruction* user, Location source, Location destination) const argument
1963 HInstruction* input = phi->InputAt(i); local
[all...]
H A Dinstruction_simplifier.cc407 bool InstructionSimplifierVisitor::CanEnsureNotNullAt(HInstruction* input, HInstruction* at) const { argument
408 if (!input->CanBeNull()) {
412 for (const HUseListNode<HInstruction*>& use : input->GetUses()) {
650 HInstruction* input = bool_not->InputAt(0); local
653 if (input->IsIntConstant()) {
655 if (input->AsIntConstant()->IsTrue()) {
658 DCHECK(input->AsIntConstant()->IsFalse()) << input->AsIntConstant()->GetValue();
661 } else if (input->IsBooleanNot()) {
663 replace_with = input
735 HInstruction* input = instruction->InputAt(0); local
818 HInstruction* input = instruction->GetInput(); local
1260 HInstruction* input = instruction->GetInput(); local
1305 HInstruction* input = instruction->GetInput(); local
[all...]
H A Dintrinsics_arm.cc85 Location input = locations->InAt(0); local
90 FromLowSToD(input.AsFpuRegisterPairLow<SRegister>()));
92 __ vmovrs(output.AsRegister<Register>(), input.AsFpuRegister<SRegister>());
97 Location input = locations->InAt(0); local
101 input.AsRegisterPairLow<Register>(),
102 input.AsRegisterPairHigh<Register>());
104 __ vmovsr(output.AsFpuRegister<SRegister>(), input.AsRegister<Register>());
1058 // Check if input is null, return false if it is.
1311 Register input,
1324 // Check that length(input) >
1309 CheckPosition(ArmAssembler* assembler, Location pos, Register input, Location length, SlowPathCode* slow_path, Register input_len, Register temp, bool length_is_input_length = false) argument
[all...]
H A Dnodes.cc924 // is the first input of the phi.
1120 void HPhi::AddInput(HInstruction* input) { argument
1121 DCHECK(input->GetBlock() != nullptr);
1122 inputs_.push_back(HUserRecord<HInstruction*>(input));
1123 input->AddUseAt(this, inputs_.size() - 1);
1296 // If `GetConstantRight()` returns one of the input, this returns the other
1742 // remaining input.
1759 // remove `index`-th input of all phis in the catch block since they are
2161 // Ensure we do not use the last input of `invoke`, as it
2389 void HInvokeStaticOrDirect::InsertInputAt(size_t index, HInstruction* input) { argument
[all...]
H A Dintrinsics_arm64.cc186 Location input = locations->InAt(0); local
189 is64bit ? DRegisterFrom(input) : SRegisterFrom(input));
193 Location input = locations->InAt(0); local
196 is64bit ? XRegisterFrom(input) : WRegisterFrom(input));
1131 // as the input: the current liveness analysis considers the input to be live
1242 // Check if input is null, return false if it is.
1715 HInstruction* input) {
1713 SetSystemArrayCopyLocationRequires(LocationSummary* locations, uint32_t at, HInstruction* input) argument
1764 CheckSystemArrayCopyPosition(vixl::MacroAssembler* masm, const Location& pos, const Register& input, const Location& length, SlowPathCodeARM64* slow_path, const Register& input_len, const Register& temp, bool length_is_input_length = false) argument
[all...]
/art/test/093-serialization/src/
H A DMain.java59 static void checkStream(byte[] input) throws IOException { argument
60 ByteArrayInputStream byteStream = new ByteArrayInputStream(input);
/art/runtime/
H A Dutf_test.cc116 static void AssertConversion(const std::vector<uint16_t> input, argument
118 ASSERT_EQ(expected.size(), CountUtf8Bytes(&input[0], input.size()));
122 &input[0], input.size()); local
157 // Unpaired trailing surrogate at the end of input.
159 // Unpaired (or incorrectly paired) surrogates in the middle of the input.
H A Dart_method.h130 auto input = std::make_pair(interface_method, implementation_method); variable
131 std::pair<ArtMethod*, ArtMethod*> updated = visitor(input);
132 if (input.first != updated.first) {
135 if (input.second != updated.second) {
H A Dmem_map.cc104 uintptr_t CreateStartPos(uint64_t input) { argument
114 // Mask input data.
115 return (input & mask) + LOW_MEM_START;
/art/test/458-checker-instruction-simplification/src/
H A DMain.java1667 public static int runSmaliTest(String name, boolean input) { argument
1671 return (Integer) m.invoke(null, input);

Completed in 255 milliseconds

12