Searched refs:input (Results 1 - 25 of 67) sorted by relevance

123

/art/runtime/
H A Dindenter_test.cc25 std::ostream input(&indent_filter);
29 input << "hello";
32 input << "\nhello again";
35 input << "\n";
H A Dimt_conflict_table.h120 auto input = std::make_pair(interface_method, implementation_method); variable
121 std::pair<ArtMethod*, ArtMethod*> updated = visitor(input);
122 if (input.first != updated.first) {
125 if (input.second != updated.second) {
/art/tools/dmtracedump/
H A Ddmtracedump.pl8 $input = $_;
9 $input =~ s/\.data$//;
11 $output = "$input.html";
13 print("dmtracedump -h -p $input > $output\n");
14 system("dmtracedump -h -p '$input' > '$output'");
/art/runtime/base/
H A Dtransform_iterator_test.cc45 std::vector<ValueHolder> input({ 1, 7, 3, 8 });
48 using vector_titer = decltype(MakeTransformIterator(input.begin(), add1));
55 using vector_ctiter = decltype(MakeTransformIterator(input.cbegin(), add1));
62 using vector_rtiter = decltype(MakeTransformIterator(input.rbegin(), add1));
69 using vector_crtiter = decltype(MakeTransformIterator(input.crbegin(), add1));
76 std::copy(MakeTransformIterator(input.begin(), add1),
77 MakeTransformIterator(input.end(), add1),
82 std::copy(MakeTransformIterator(input.cbegin(), add1),
83 MakeTransformIterator(input.cend(), add1),
88 std::copy(MakeTransformIterator(input
[all...]
H A Dtransform_array_ref_test.cc42 std::vector<ValueHolder> input({ 7, 6, 4, 0 });
45 auto taref = MakeTransformArrayRef(input, add1);
71 ASSERT_EQ(input.size(), taref.size());
72 ASSERT_EQ(input.empty(), taref.empty());
73 ASSERT_EQ(input.front().value + 1, taref.front());
74 ASSERT_EQ(input.back().value + 1, taref.back());
76 for (size_t i = 0; i != input.size(); ++i) {
77 ASSERT_EQ(input[i].value + 1, taref[i]);
83 std::vector<ValueHolder> input({ 4, 4, 5, 7, 10 });
86 auto taref = MakeTransformArrayRef(input, sub
[all...]
/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/tools/
H A Dstream-trace-converter.py63 def Copy(input, output, length):
64 buf = input.read(length)
78 def ProcessDataHeader(self, input, body):
79 magic = ReadIntLE(input)
85 version = ReadShortLE(input)
96 offsetToData = ReadShortLE(input) - 16
100 Copy(input, body, 8)
107 self._mRecordSize = ReadShortLE(input)
112 Copy(input, body, offsetToData)
114 def ProcessMethod(self, input)
[all...]
H A Dsymbolize.sh33 read -e input
34 if [ "x$input" = "xn" ] ; then
37 if [ "x$input" = "xq" ] ; then
/art/test/468-checker-bool-simplif-regression/src/
H A DMain.java21 public static boolean runTest(boolean input) throws Exception { argument
25 f.set(null, (Boolean) input);
/art/compiler/optimizing/
H A Dssa_phi_elimination.cc70 HPhi* input = raw_input->AsPhi(); local
71 if (input != nullptr && input->IsDead()) {
74 DCHECK(ContainsElement(initially_live, input));
75 input->SetLive();
76 worklist_.push_back(input);
157 for (HInstruction* input : phi->GetInputs()) {
158 if (input == phi) {
161 candidate = input;
162 } else if (candidate != input) {
[all...]
H A Dlicm.cc34 for (const HInstruction* input : instruction->GetInputs()) {
35 HLoopInformation* input_loop = input->GetBlock()->GetLoopInformation();
36 // We only need to check whether the input is defined in the loop. If it is not
47 HInstruction* input = environment->GetInstructionAt(i); local
48 if (input != nullptr) {
49 HLoopInformation* input_loop = input->GetBlock()->GetLoopInformation();
52 // we will just replace that phi with its first input later in `UpdateLoopPhisIn`.
53 bool is_loop_header_phi = IsPhiOf(input, info->GetHeader());
65 * If `environment` has a loop header phi, we replace it with its first input.
70 HInstruction* input local
[all...]
H A Dnodes_x86.h65 HInstruction* input,
70 SetRawInputAt(0, input);
89 HInstruction* input,
95 SetRawInputAt(0, input);
64 HX86FPNeg(Primitive::Type result_type, HInstruction* input, HX86ComputeBaseMethodAddress* method_base, uint32_t dex_pc) argument
87 HX86PackedSwitch(int32_t start_value, int32_t num_entries, HInstruction* input, HX86ComputeBaseMethodAddress* method_base, uint32_t dex_pc) argument
H A Dgraph_checker.cc340 for (HInstruction* input : instruction->GetInputs()) {
341 const HInstructionList& list = input->IsPhi()
342 ? input->GetBlock()->GetPhis()
343 : input->GetBlock()->GetInstructions();
344 if (!list.Contains(input)) {
347 input->GetId(),
394 HInstruction* input = input_record.GetInstruction(); local
395 if ((input_record.GetBeforeUseNode() == input->GetUses().end()) ||
396 (input_record.GetUseNode() == input->GetUses().end()) ||
397 !input
535 HInstruction* input = check->InputAt(1); local
547 HInstruction* input = instruction->InputAt(1); local
717 HInstruction* input = input_records[i].GetInstruction(); local
773 HInstruction* input = input_records[i].GetInstruction(); local
845 HInstruction* input = instruction->InputAt(input_index); local
[all...]
H A Dnodes_mips.h74 HInstruction* input,
80 SetRawInputAt(0, input);
72 HMipsPackedSwitch(int32_t start_value, int32_t num_entries, HInstruction* input, HMipsComputeBaseMethodAddress* method_base, uint32_t dex_pc) argument
H A Dssa_builder.cc127 for (HInstruction* input : phi->GetInputs()) {
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());
171 for (HInstruction* input : phi->GetInputs()) {
172 DCHECK(HPhi::ToPhiType(input->GetType()) == common_type);
181 HInstruction* input = inputs[i]; local
182 if (input->GetType() != common_type) {
183 // Input type does not match phi's type. Try to retype the input o
451 HInstruction* input = new_instance->InputAt(0); local
[all...]
H A Dprepare_for_register_allocation.h49 bool CanMoveClinitCheck(HInstruction* input, HInstruction* user) const;
H A Ddead_code_elimination.cc98 static bool HasInput(HCondition* instruction, HInstruction* input) { argument
99 return (instruction->InputAt(0) == input) ||
100 (instruction->InputAt(1) == input);
151 // i1 = phi(input, input)
174 // predecessor corresponds to a given statically evaluated input.
210 HInstruction* input = phi->InputAt(i); local
213 if (input->IsIntConstant()) {
214 value_to_check = input;
219 value_to_check = Evaluate(first->AsCondition(), input, firs
[all...]
H A Dssa_liveness_analysis.cc111 HInstruction* input = inputs[i]; local
113 bool has_out_location = input->GetLocations()->Out().IsValid();
118 << " expects an input value at index " << i << " but "
119 << input->DebugName() << input->GetId() << " does not produce one.";
120 DCHECK(input->HasSsaIndex());
121 // `input` generates a result used by `current`. Add use and update
123 input->GetLiveInterval()->AddUse(current, /* environment */ nullptr, i, actual_user);
124 live_in->SetBit(input->GetSsaIndex());
126 // `input` generate
163 HInstruction* input = phi->InputAt(phi_input_index); local
[all...]
H A Dnodes_vector.h120 HInstruction* input,
130 SetRawInputAt(0, input);
196 inline static bool HasConsistentPackedTypes(HInstruction* input, Primitive::Type type) { argument
197 DCHECK(input->IsVecOperation());
198 Primitive::Type input_type = input->AsVecOperation()->GetPackedType();
238 HInstruction* input,
242 : HVecUnaryOperation(arena, input, packed_type, vector_length, dex_pc) {
243 DCHECK(HasConsistentPackedTypes(input, packed_type));
259 HInstruction* input,
263 : HVecUnaryOperation(arena, input, packed_typ
119 HVecUnaryOperation(ArenaAllocator* arena, HInstruction* input, Primitive::Type packed_type, size_t vector_length, uint32_t dex_pc) argument
237 HVecSumReduce(ArenaAllocator* arena, HInstruction* input, Primitive::Type packed_type, size_t vector_length, uint32_t dex_pc = kNoDexPc) argument
258 HVecCnv(ArenaAllocator* arena, HInstruction* input, Primitive::Type packed_type, size_t vector_length, uint32_t dex_pc = kNoDexPc) argument
281 HVecNeg(ArenaAllocator* arena, HInstruction* input, Primitive::Type packed_type, size_t vector_length, uint32_t dex_pc = kNoDexPc) argument
298 HVecAbs(ArenaAllocator* arena, HInstruction* input, Primitive::Type packed_type, size_t vector_length, uint32_t dex_pc = kNoDexPc) argument
316 HVecNot(ArenaAllocator* arena, HInstruction* input, Primitive::Type packed_type, size_t vector_length, uint32_t dex_pc = kNoDexPc) argument
[all...]
H A Dprepare_for_register_allocation.cc75 // BoundType (as value input of this ArraySet) with a NullConstant.
174 << "Last input is not HLoadClass. It is " << last_input->DebugName();
186 bool PrepareForRegisterAllocation::CanMoveClinitCheck(HInstruction* input, argument
188 // Determine if input and user come from the same dex instruction, so that we can move
190 // to HLoadClass (input), or from HClinitCheck (input) to HInvokeStaticOrDirect (user),
191 // or from HLoadClass (input) to HNewInstance (user).
194 if (user->GetDexPc() != input->GetDexPc()) {
201 HEnvironment* input_environment = input->GetEnvironment();
216 // Check for code motion taking the input t
[all...]
H A Dpretty_printer.h47 for (const HInstruction* input : inputs) {
53 PrintInt(input->GetId());
H A Dpc_relative_fixups_x86.cc25 * Finds instructions that need the constant area base as an input.
225 HConstant* input = inputs[i]->AsConstant(); local
226 if (input != nullptr && Primitive::IsFloatingPointType(input->GetType())) {
227 ReplaceInput(invoke, input, i, true);
255 // input to the HX86LoadFromConstantTable instructions. Only set for
/art/tools/cpp-define-generator/
H A Dmain.cc28 std::string to_upper(std::string input) { argument
29 std::transform(input.begin(), input.end(), input.begin(), ::toupper);
30 return input;
/art/test/910-methods/src/art/
H A DTest910.java169 Class<?>[] input = new Class<?>[count + 1];
170 input[0] = Runnable.class;
175 input[inputIndex++] = Class.forName("art.Test910$I" + bitIndex);
180 return Proxy.getProxyClass(Test910.class.getClassLoader(), input);
/art/test/093-serialization/src/
H A DMain.java59 static void checkStream(byte[] input) throws IOException { argument
60 ByteArrayInputStream byteStream = new ByteArrayInputStream(input);

Completed in 1249 milliseconds

123