Home
last modified time | relevance | path

Searched refs:input (Results 1 – 25 of 57) sorted by relevance

123

/art/tools/
Dstream-trace-converter.py63 def Copy(input, output, length): argument
64 buf = input.read(length)
78 def ProcessDataHeader(self, input, body): argument
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): argument
[all …]
Dsymbolize.sh33 read -e input
34 if [ "x$input" = "xn" ] ; then
37 if [ "x$input" = "xq" ] ; then
/art/compiler/optimizing/
Dssa_phi_elimination.cc71 HPhi* input = it.Current()->AsPhi(); in MarkDeadPhis() local
72 if (input != nullptr && input->IsDead()) { in MarkDeadPhis()
75 DCHECK(ContainsElement(initially_live, input)); in MarkDeadPhis()
76 input->SetLive(); in MarkDeadPhis()
77 worklist_.push_back(input); in MarkDeadPhis()
163 HInstruction* input = phi->InputAt(j); in Run() local
164 if (input == phi) { in Run()
167 candidate = input; in Run()
168 } else if (candidate != input) { in Run()
185 HInstruction* input = current->InputAt(j); in Run() local
[all …]
Dlicm.cc46 HInstruction* input = environment->GetInstructionAt(i); in InputsAreDefinedBeforeLoop() local
47 if (input != nullptr) { in InputsAreDefinedBeforeLoop()
48 HLoopInformation* input_loop = input->GetBlock()->GetLoopInformation(); in InputsAreDefinedBeforeLoop()
52 bool is_loop_header_phi = IsPhiOf(input, info->GetHeader()); in InputsAreDefinedBeforeLoop()
69 HInstruction* input = environment->GetInstructionAt(i); in UpdateLoopPhisIn() local
70 if (input != nullptr && IsPhiOf(input, info->GetHeader())) { in UpdateLoopPhisIn()
72 HInstruction* incoming = input->InputAt(0); in UpdateLoopPhisIn()
Dssa_builder.cc127 HInstruction* input = it.Current(); in TypePhiFromInputs() local
128 if (input->IsPhi() && input->AsPhi()->IsDead()) { in TypePhiFromInputs()
134 Primitive::Type input_type = HPhi::ToPhiType(input->GetType()); in TypePhiFromInputs()
173 HInstruction* input = phi->InputAt(i); in TypeInputsOfPhi() local
175 DCHECK(input->IsPhi() && input->GetType() == Primitive::kPrimVoid); in TypeInputsOfPhi()
177 DCHECK((input->IsPhi() && input->GetType() == Primitive::kPrimVoid) || in TypeInputsOfPhi()
178 HPhi::ToPhiType(input->GetType()) == common_type); in TypeInputsOfPhi()
187 HInstruction* input = phi->InputAt(i); in TypeInputsOfPhi() local
188 if (input->GetType() != common_type) { in TypeInputsOfPhi()
192 ? GetReferenceTypeEquivalent(input) in TypeInputsOfPhi()
[all …]
Dgraph_checker.cc340 HInstruction* input = input_it.Current(); in VisitInstruction() local
341 const HInstructionList& list = input->IsPhi() in VisitInstruction()
342 ? input->GetBlock()->GetPhis() in VisitInstruction()
343 : input->GetBlock()->GetInstructions(); in VisitInstruction()
344 if (!list.Contains(input)) { in VisitInstruction()
347 input->GetId(), in VisitInstruction()
392 HInstruction* input = input_record.GetInstruction(); in VisitInstruction() local
393 if ((input_record.GetBeforeUseNode() == input->GetUses().end()) || in VisitInstruction()
394 (input_record.GetUseNode() == input->GetUses().end()) || in VisitInstruction()
395 !input->GetUses().ContainsNode(*input_record.GetUseNode()) || in VisitInstruction()
[all …]
Dnodes_x86.h63 HInstruction* input, in HX86FPNeg() argument
68 SetRawInputAt(0, input); in HX86FPNeg()
83 HInstruction* input, in HX86PackedSwitch() argument
89 SetRawInputAt(0, input); in HX86PackedSwitch()
Dssa_liveness_analysis.cc181 HInstruction* input = current->InputAt(i); in RecursivelyProcessInputs() local
183 bool has_out_location = input->GetLocations()->Out().IsValid(); in RecursivelyProcessInputs()
189 << input->DebugName() << input->GetId() << " does not produce one."; in RecursivelyProcessInputs()
190 DCHECK(input->HasSsaIndex()); in RecursivelyProcessInputs()
193 input->GetLiveInterval()->AddUse(current, /* environment */ nullptr, i, actual_user); in RecursivelyProcessInputs()
194 live_in->SetBit(input->GetSsaIndex()); in RecursivelyProcessInputs()
200 DCHECK(input->IsEmittedAtUseSite()); in RecursivelyProcessInputs()
203 DCHECK(!input->IsPhi()); in RecursivelyProcessInputs()
204 RecursivelyProcessInputs(input, actual_user, live_in); in RecursivelyProcessInputs()
235 HInstruction* input = phi->InputAt(phi_input_index); in ComputeLiveRanges() local
[all …]
Dinstruction_simplifier.cc407 bool InstructionSimplifierVisitor::CanEnsureNotNullAt(HInstruction* input, HInstruction* at) const { in CanEnsureNotNullAt() argument
408 if (!input->CanBeNull()) { in CanEnsureNotNullAt()
412 for (const HUseListNode<HInstruction*>& use : input->GetUses()) { in CanEnsureNotNullAt()
650 HInstruction* input = bool_not->InputAt(0); in VisitBooleanNot() local
653 if (input->IsIntConstant()) { in VisitBooleanNot()
655 if (input->AsIntConstant()->IsTrue()) { in VisitBooleanNot()
658 DCHECK(input->AsIntConstant()->IsFalse()) << input->AsIntConstant()->GetValue(); in VisitBooleanNot()
661 } else if (input->IsBooleanNot()) { in VisitBooleanNot()
663 replace_with = input->InputAt(0); in VisitBooleanNot()
664 } else if (input->IsCondition() && in VisitBooleanNot()
[all …]
Dprepare_for_register_allocation.cc191 bool PrepareForRegisterAllocation::CanMoveClinitCheck(HInstruction* input, in CanMoveClinitCheck() argument
199 if (user->GetDexPc() != input->GetDexPc()) { in CanMoveClinitCheck()
206 HEnvironment* input_environment = input->GetEnvironment(); in CanMoveClinitCheck()
223 if (user->GetBlock() != input->GetBlock()) { in CanMoveClinitCheck()
230 for (HInstruction* between = input->GetNext(); between != user; between = between->GetNext()) { in CanMoveClinitCheck()
Dpc_relative_fixups_x86.cc206 HConstant* input = invoke->InputAt(i)->AsConstant(); in HandleInvoke() local
207 if (input != nullptr && Primitive::IsFloatingPointType(input->GetType())) { in HandleInvoke()
208 ReplaceInput(invoke, input, i, true); in HandleInvoke()
/art/tools/dmtracedump/
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/
Dindenter_test.cc25 std::ostream input(&indent_filter); in TEST() local
29 input << "hello"; in TEST()
32 input << "\nhello again"; in TEST()
35 input << "\n"; in TEST()
Dutf_test.cc116 static void AssertConversion(const std::vector<uint16_t> input, in AssertConversion() argument
118 ASSERT_EQ(expected.size(), CountUtf8Bytes(&input[0], input.size())); in AssertConversion()
122 &input[0], input.size()); in AssertConversion()
/art/test/517-checker-builder-fallthrough/src/
DMain.java21 public static int runTest(int input) throws Exception { in runTest() argument
24 return (Integer) m.invoke(null, input); in runTest()
/art/test/468-checker-bool-simplifier-regression/src/
DMain.java21 public static boolean runTest(boolean input) throws Exception { in runTest() argument
25 f.set(null, (Boolean) input); in runTest()
/art/test/543-checker-dce-trycatch/smali/
DTestCase.smali245 const v1, 0xa # dead catch phi input, defined in entry block (HInstruction)
246 add-int v2, p0, p1 # dead catch phi input, defined in the dead block (HInstruction)
251 # v3 = Phi [Add, 0xf] # dead catch phi input, defined in the dead block (HPhi)
255 const v1, 0xb # live catch phi input
256 const v2, 0xc # live catch phi input
257 const v3, 0x10 # live catch phi input
260 const v1, 0xd # live catch phi input
261 const v2, 0xe # live catch phi input
262 const v3, 0x11 # live catch phi input
311 const v1, 0xa # dead catch phi input, defined in entry block
[all …]
/art/test/459-dead-phi/smali/
DEquivalentPhi.smali29 # v2 will be a phi with (int, int) as input
33 # v3 will be a phi with (int, int) as input.
38 # delete the old phi, which ends up having incompatible input
/art/test/552-checker-primitive-typeprop/smali/
DArrayGet.smali19 # Test phi with fixed-type ArrayGet as an input and a matching second input.
49 # Test phi with fixed-type ArrayGet as an input and a conflicting second input.
107 # Test phi with free-type ArrayGet as an input and a matching second input.
138 # Test phi with free-type ArrayGet as an input and a conflicting second input.
139 # The phi will be kept and typed according to the second input despite the
/art/test/431-type-propagation/smali/
DTypePropagation.smali26 # float input and one integer input. Since the SSA builder trusts
27 # the verifier, it assumes that the integer input must be converted
/art/test/475-simplify-mul-zero/
Dinfo.txt2 Mul should expect zero constant as input.
/art/test/592-checker-regression-bool-input/
Dinfo.txt2 type of a boolean input.
/art/test/596-checker-dead-phi/
Dinfo.txt2 phi with its first incoming input.
/art/test/093-serialization/src/
DMain.java59 static void checkStream(byte[] input) throws IOException { in checkStream() argument
60 ByteArrayInputStream byteStream = new ByteArrayInputStream(input); in checkStream()
/art/test/519-bound-load-class/
Dinfo.txt3 as second input.

123