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

12

/art/runtime/
H A Dindenter_test.cc23 std::ostream input(&indent_filter);
27 input << "hello";
30 input << "\nhello again";
33 input << "\n";
H A Dutf_test.cc115 static void AssertConversion(const std::vector<uint16_t> input, argument
117 ASSERT_EQ(expected.size(), CountUtf8Bytes(&input[0], input.size()));
120 ConvertUtf16ToModifiedUtf8(reinterpret_cast<char*>(&output[0]), &input[0], input.size()); local
155 // Unpaired trailing surrogate at the end of input.
157 // Unpaired (or incorrectly paired) surrogates in the middle of the input.
H A Dmem_map_test.cc105 extern uintptr_t CreateStartPos(uint64_t 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-simplifier-regression/src/
H A DMain.java34 public static boolean runTest(boolean input) throws Exception { argument
38 f.set(null, (Boolean) input);
/art/compiler/optimizing/
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 Dgraph_checker.cc161 HInstruction* input = input_it.Current(); local
162 const HInstructionList& list = input->IsPhi()
163 ? input->GetBlock()->GetPhis()
164 : input->GetBlock()->GetInstructions();
165 if (!list.Contains(input)) {
168 input->GetId(),
214 HInstruction* input = input_record.GetInstruction(); local
218 || !input->GetUses().Contains(use_node)
222 "at input %u (%s:%d).",
226 input
258 HInstruction* input = check->InputAt(1); local
270 HInstruction* input = instruction->InputAt(1); local
468 HInstruction* input = phi->InputAt(i); local
482 HInstruction* input = phi->InputAt(i); local
501 HInstruction* input = instruction->InputAt(input_index); local
[all...]
H A Dssa_phi_elimination.cc50 HInstruction* input = it.Current(); local
51 if (input->IsPhi() && input->AsPhi()->IsDead()) {
52 worklist_.Add(input->AsPhi());
53 input->AsPhi()->SetLive();
126 HInstruction* input = phi->InputAt(i); local
127 // For a loop phi, if the input is the phi, the phi is still candidate for
129 if (input != candidate && input != phi) {
H A Dprimitive_type_propagation.cc59 HInstruction* input = phi->InputAt(i); local
60 if (input->GetType() != new_type) {
62 ? SsaBuilder::GetReferenceTypeEquivalent(input)
63 : SsaBuilder::GetFloatOrDoubleEquivalent(phi, input, new_type);
68 } else if (equivalent == input) {
69 // The input has changed its type. It can be an input of other phis,
H A Dintrinsics.h103 HInstruction* input = invoke->InputAt(i); local
104 Location cc_loc = calling_convention_visitor->GetNextLocation(input->GetType());
107 parallel_move.AddMove(actual_loc, cc_loc, input->GetType(), nullptr);
H A Dinstruction_simplifier.cc278 HInstruction* input = instruction->InputAt(0); local
281 if (input->IsNewArray()) {
282 input = input->InputAt(0);
283 if (input->IsIntConstant()) {
284 instruction->ReplaceWith(input);
345 // We do not perform the optimization if the input negation has environment
510 HInstruction* input = instruction->GetInput(); local
511 if (input->IsNeg()) {
517 HNeg* previous_neg = input
555 HInstruction* input = instruction->GetInput(); local
[all...]
H A Dssa_liveness_analysis.cc194 HInstruction* input = phi->InputAt(phi_input_index); local
195 input->GetLiveInterval()->AddPhiUse(phi, phi_input_index, block);
196 // A phi input whose last user is the phi dies at the end of the predecessor block,
198 live_in->SetBit(input->GetSsaIndex());
242 HInstruction* input = current->InputAt(i); local
245 if (input->HasSsaIndex()) {
246 live_in->SetBit(input->GetSsaIndex());
247 input->GetLiveInterval()->AddUse(current, /* environment */ nullptr, i);
384 HInstruction* input = user->InputAt(i); local
385 Location location = input
422 HInstruction* input = defined_by_->InputAt(i); local
[all...]
H A Dlocations.h360 // The location of the first input to the instruction will be
578 Location input = inputs_.Get(input_index);
579 return input.IsRegister()
580 || input.IsFpuRegister()
581 || input.IsPair()
582 || input.IsStackSlot()
583 || input.IsDoubleStackSlot();
H A Dcodegen_test.cc394 const int32_t input = INPUT; \
395 const uint16_t input_lo = Low16Bits(input); \
396 const uint16_t input_hi = High16Bits(input); \
419 const int64_t input = INPUT; \
420 const uint16_t word0 = Low16Bits(Low32Bits(input)); /* LSW. */ \
421 const uint16_t word1 = High16Bits(Low32Bits(input)); \
422 const uint16_t word2 = Low16Bits(High32Bits(input)); \
423 const uint16_t word3 = High16Bits(High32Bits(input)); /* MSW. */ \
469 const int64_t input = INT64_C(4294967296); // 2^32 local
470 const uint16_t word0 = Low16Bits(Low32Bits(input)); // LS
[all...]
H A Dssa_builder.cc29 * also makes sure that phis with incompatible input types are not revived
64 HInstruction* input = phi->InputAt(i); local
65 if (input->IsPhi() && input->AsPhi()->IsDead()) {
68 // input is a phi, and it is dead (because its input types are
73 Primitive::Type input_type = HPhi::ToPhiType(input->GetType());
78 // to reference type. If the integer input cannot be converted to a
79 // reference input, the phi will remain dead.
83 HInstruction* equivalent = SsaBuilder::GetReferenceTypeEquivalent(input);
245 HInstruction* input = ValueOfLocal(block->GetPredecessors().Get(pred), phi->GetRegNumber()); local
[all...]
H A Dnodes.h1154 // input to the loop phi instead. This is for inserting instructions that
1333 void SetRawInputAt(size_t index, HInstruction* input) { argument
1334 SetRawInputRecordAt(index, HUserRecord<HInstruction*>(input));
1383 void RemoveAsUserOfInput(size_t input) { argument
1384 HUserRecord<HInstruction*> input_use = InputRecordAt(input);
1531 virtual void SetRawInputRecordAt(size_t index, const HUserRecord<HInstruction*>& input) = 0;
1548 // List of instructions that have this instruction as input.
1699 void SetRawInputRecordAt(size_t i, const HUserRecord<HInstruction*>& input) OVERRIDE {
1700 inputs_[i] = input;
1789 explicit HIf(HInstruction* input) argument
1832 HUnaryOperation(Primitive::Type result_type, HInstruction* input) argument
2529 HInstruction* input = input_record.GetInstruction(); variable
2640 HNeg(Primitive::Type result_type, HInstruction* input) argument
2949 HNot(Primitive::Type result_type, HInstruction* input) argument
2969 HBooleanNot(HInstruction* input) argument
2997 HTypeConversion(Primitive::Type result_type, HInstruction* input, uint32_t dex_pc) argument
3704 HBoundType(HInstruction* input, ReferenceTypeInfo bound_type) argument
[all...]
H A Dregister_allocator.h122 void AddInputMoveFor(HInstruction* input,
H A Dregister_allocator.cc294 Location input = locations->InAt(i); local
295 if (input.IsRegister() || input.IsFpuRegister()) {
296 BlockRegister(input, position, position + 1);
297 } else if (input.IsPair()) {
298 BlockRegister(input.ToLow(), position, position + 1);
299 BlockRegister(input.ToHigh(), position, position + 1);
671 // Note that the same instruction may occur multiple times in the input list,
718 // Take the last interval of the input. It is the location of that interval
724 // The input mus
1311 AddInputMoveFor(HInstruction* input, HInstruction* user, Location source, Location destination) const argument
1764 HInstruction* input = phi->InputAt(i); local
[all...]
H A Dcode_generator.cc293 // the summary. The out location can overlap with an input, so we need
330 // Mark all fixed input, temp and output registers as used.
346 // Allocate all unallocated input locations.
349 HInstruction* input = instruction->InputAt(i); local
353 loc = AllocateFreeRegister(input->GetType());
356 HLoadLocal* load = input->AsLoadLocal();
360 loc = AllocateFreeRegister(input->GetType());
417 HInstruction* input = instruction->InputAt(i); local
419 // Move the input to the desired location.
420 if (input
[all...]
H A Dintrinsics_arm.cc157 Location input = locations->InAt(0); local
162 FromLowSToD(input.AsFpuRegisterPairLow<SRegister>()));
164 __ vmovrs(output.AsRegister<Register>(), input.AsFpuRegister<SRegister>());
169 Location input = locations->InAt(0); local
173 input.AsRegisterPairLow<Register>(),
174 input.AsRegisterPairHigh<Register>());
176 __ vmovsr(output.AsFpuRegister<SRegister>(), input.AsRegister<Register>());
H A Dintrinsics_x86.cc194 Location input = locations->InAt(0); local
199 __ movsd(temp, input.AsFpuRegister<XmmRegister>());
204 __ movd(output.AsRegister<Register>(), input.AsFpuRegister<XmmRegister>());
209 Location input = locations->InAt(0); local
215 __ movd(temp1, input.AsRegisterPairLow<Register>());
216 __ movd(temp2, input.AsRegisterPairHigh<Register>());
220 __ movd(output.AsFpuRegister<XmmRegister>(), input.AsRegister<Register>());
310 Location input = locations->InAt(0); local
311 Register input_lo = input.AsRegisterPairLow<Register>();
312 Register input_hi = input
434 Location input = locations->InAt(0); local
[all...]
H A Dintrinsics_arm64.cc166 Location input = locations->InAt(0); local
169 is64bit ? DRegisterFrom(input) : SRegisterFrom(input));
173 Location input = locations->InAt(0); local
176 is64bit ? XRegisterFrom(input) : WRegisterFrom(input));
924 // as the input: the current liveness analysis considers the input to be live
/art/test/093-serialization/src/
H A DMain.java59 static void checkStream(byte[] input) throws IOException { argument
60 ByteArrayInputStream byteStream = new ByteArrayInputStream(input);
/art/tools/dexfuzz/src/dexfuzz/fuzzers/
H A DFuzzer.java399 DexRandomAccessFile input = new DexRandomAccessFile(inputName, "r");
401 input.setOffsetTracker(offsetTracker);
405 rawDexFile.read(input);
407 input.close();

Completed in 1106 milliseconds

12