Home
last modified time | relevance | path

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

12345

/art/libartbase/base/
Dtransform_iterator_test.cc44 std::vector<ValueHolder> input({ 1, 7, 3, 8 }); in TEST() local
47 using vector_titer = decltype(MakeTransformIterator(input.begin(), add1)); in TEST()
54 using vector_ctiter = decltype(MakeTransformIterator(input.cbegin(), add1)); in TEST()
61 using vector_rtiter = decltype(MakeTransformIterator(input.rbegin(), add1)); in TEST()
68 using vector_crtiter = decltype(MakeTransformIterator(input.crbegin(), add1)); in TEST()
75 std::copy(MakeTransformIterator(input.begin(), add1), in TEST()
76 MakeTransformIterator(input.end(), add1), in TEST()
81 std::copy(MakeTransformIterator(input.cbegin(), add1), in TEST()
82 MakeTransformIterator(input.cend(), add1), in TEST()
87 std::copy(MakeTransformIterator(input.rbegin(), add1), in TEST()
[all …]
Dtransform_array_ref_test.cc41 std::vector<ValueHolder> input({ 7, 6, 4, 0 }); in TEST() local
44 auto taref = MakeTransformArrayRef(input, add1); in TEST()
70 ASSERT_EQ(input.size(), taref.size()); in TEST()
71 ASSERT_EQ(input.empty(), taref.empty()); in TEST()
72 ASSERT_EQ(input.front().value + 1, taref.front()); in TEST()
73 ASSERT_EQ(input.back().value + 1, taref.back()); in TEST()
75 for (size_t i = 0; i != input.size(); ++i) { in TEST()
76 ASSERT_EQ(input[i].value + 1, taref[i]); in TEST()
82 std::vector<ValueHolder> input({ 4, 4, 5, 7, 10 }); in TEST() local
85 auto taref = MakeTransformArrayRef(input, sub1); in TEST()
[all …]
Dindenter_test.cc26 std::ostream input(&indent_filter); in TEST() local
30 input << "hello"; in TEST()
33 input << "\nhello again"; in TEST()
36 input << "\n"; in TEST()
/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.cc79 HPhi* input = raw_input->AsPhi(); in MarkDeadPhis() local
80 if (input != nullptr && input->IsDead()) { in MarkDeadPhis()
83 DCHECK(ContainsElement(initially_live, input)); in MarkDeadPhis()
84 input->SetLive(); in MarkDeadPhis()
85 worklist.push_back(input); in MarkDeadPhis()
174 for (HInstruction* input : phi->GetInputs()) { in Run()
175 if (input == phi) { in Run()
178 candidate = input; in Run()
179 } else if (candidate != input) { in Run()
195 for (HInstruction* input : current->GetInputs()) { in Run()
[all …]
Dlicm.cc34 for (const HInstruction* input : instruction->GetInputs()) { in InputsAreDefinedBeforeLoop() local
35 HLoopInformation* input_loop = input->GetBlock()->GetLoopInformation(); in InputsAreDefinedBeforeLoop()
47 HInstruction* input = environment->GetInstructionAt(i); in InputsAreDefinedBeforeLoop() local
48 if (input != nullptr) { in InputsAreDefinedBeforeLoop()
49 HLoopInformation* input_loop = input->GetBlock()->GetLoopInformation(); in InputsAreDefinedBeforeLoop()
53 bool is_loop_header_phi = IsPhiOf(input, info->GetHeader()); in InputsAreDefinedBeforeLoop()
70 HInstruction* input = environment->GetInstructionAt(i); in UpdateLoopPhisIn() local
71 if (input != nullptr && IsPhiOf(input, info->GetHeader())) { in UpdateLoopPhisIn()
73 HInstruction* incoming = input->InputAt(0); in UpdateLoopPhisIn()
Dnodes_vector.h125 void SetGoverningPredicate(HInstruction* input, PredicationKind pred_kind) { in SetGoverningPredicate() argument
127 DCHECK(input->IsVecPredSetOperation()); in SetGoverningPredicate()
128 AddInput(input); in SetGoverningPredicate()
133 void SetMergingGoverningPredicate(HInstruction* input) { in SetMergingGoverningPredicate() argument
134 SetGoverningPredicate(input, PredicationKind::kMergingForm); in SetMergingGoverningPredicate()
136 void SetZeroingGoverningPredicate(HInstruction* input) { in SetZeroingGoverningPredicate() argument
137 SetGoverningPredicate(input, PredicationKind::kZeroingForm); in SetZeroingGoverningPredicate()
270 HInstruction* input, in HVecUnaryOperation() argument
281 SetRawInputAt(0, input); in HVecUnaryOperation()
369 inline static bool HasConsistentPackedTypes(HInstruction* input, DataType::Type type) { in HasConsistentPackedTypes() argument
[all …]
Dgraph_checker.cc382 for (HInstruction* input : instruction->GetInputs()) { in VisitInstruction()
383 if (input->GetBlock() == nullptr) { in VisitInstruction()
386 input->GetId(), in VisitInstruction()
389 const HInstructionList& list = input->IsPhi() in VisitInstruction()
390 ? input->GetBlock()->GetPhis() in VisitInstruction()
391 : input->GetBlock()->GetInstructions(); in VisitInstruction()
392 if (!list.Contains(input)) { in VisitInstruction()
395 input->GetId(), in VisitInstruction()
443 HInstruction* input = input_record.GetInstruction(); in VisitInstruction() local
444 if ((input_record.GetBeforeUseNode() == input->GetUses().end()) || in VisitInstruction()
[all …]
Dssa_builder.cc132 for (HInstruction* input : phi->GetInputs()) { in TypePhiFromInputs()
133 if (input->IsPhi() && input->AsPhi()->IsDead()) { in TypePhiFromInputs()
139 DataType::Type input_type = HPhi::ToPhiType(input->GetType()); in TypePhiFromInputs()
179 for (HInstruction* input : phi->GetInputs()) { in TypeInputsOfPhi()
180 DCHECK(HPhi::ToPhiType(input->GetType()) == common_type); in TypeInputsOfPhi()
190 HInstruction* input = inputs[i]; in TypeInputsOfPhi() local
191 if (input->GetType() != common_type) { in TypeInputsOfPhi()
195 ? GetReferenceTypeEquivalent(input) in TypeInputsOfPhi()
196 : GetFloatOrDoubleEquivalent(input, common_type); in TypeInputsOfPhi()
203 DCHECK_NE(input, equivalent); in TypeInputsOfPhi()
[all …]
Dnodes_x86.h72 HInstruction* input, in HX86FPNeg() argument
77 SetRawInputAt(0, input); in HX86FPNeg()
96 HInstruction* input, in HX86PackedSwitch() argument
102 SetRawInputAt(0, input); in HX86PackedSwitch()
172 HInstruction* input, uint32_t dex_pc = kNoDexPc)
173 : HUnaryOperation(kX86MaskOrResetLeastSetBit, result_type, input, dex_pc), in HUnaryOperation() argument
175 DCHECK_EQ(result_type, DataType::Kind(input->GetType())); in HUnaryOperation()
Dssa_liveness_analysis.cc111 HInstruction* input = inputs[i]; in RecursivelyProcessInputs() local
113 bool has_out_location = input->GetLocations()->Out().IsValid(); in RecursivelyProcessInputs()
119 << input->DebugName() << input->GetId() << " does not produce one."; in RecursivelyProcessInputs()
120 DCHECK(input->HasSsaIndex()); in RecursivelyProcessInputs()
123 input->GetLiveInterval()->AddUse(current, /* environment= */ nullptr, i, actual_user); in RecursivelyProcessInputs()
124 live_in->SetBit(input->GetSsaIndex()); in RecursivelyProcessInputs()
130 DCHECK(input->IsEmittedAtUseSite()); in RecursivelyProcessInputs()
133 DCHECK(!input->IsPhi()); in RecursivelyProcessInputs()
134 DCHECK(!input->HasEnvironment()); in RecursivelyProcessInputs()
135 RecursivelyProcessInputs(input, actual_user, live_in); in RecursivelyProcessInputs()
[all …]
Dcritical_native_abi_fixup_arm.cc35 HInstruction* input = invoke->InputAt(i); in FixUpArguments() local
36 DataType::Type input_type = input->GetType(); in FixUpArguments()
82 new_input->SetRawInputAt(0u, input); in FixUpArguments()
Dcode_generator_utils.cc249 HInstruction* input = instr->InputAt(i); in HasNonNegativeOrMinIntInputAt() local
250 return input->IsAbs() || in HasNonNegativeOrMinIntInputAt()
251 IsInt64Value(input, DataType::MinValueOfIntegralType(input->GetType())) || in HasNonNegativeOrMinIntInputAt()
/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/test/474-checker-boolean-input/
DAndroid.bp3 // Build rules for ART run-test `474-checker-boolean-input`.
16 name: "art-run-test-474-checker-boolean-input",
21 ":art-run-test-474-checker-boolean-input-expected-stdout",
22 ":art-run-test-474-checker-boolean-input-expected-stderr",
31 name: "art-run-test-474-checker-boolean-input-expected-stdout",
32 out: ["art-run-test-474-checker-boolean-input-expected-stdout.txt"],
39 name: "art-run-test-474-checker-boolean-input-expected-stderr",
40 out: ["art-run-test-474-checker-boolean-input-expected-stderr.txt"],
/art/tools/cpp-define-generator/
Dmake_header.py31 def convert(input): argument
35 asm_defines = asm_define_re.findall(input)
56 print(convert(open(args.input, "r").read()))
/art/test/dexdump/
Drun-all-tests117 for input in *.dex *.jar; do
118 echo ${input}
120 expected_output=${input%%.*}.${suffix}
122 cmd="${SUFFIX_COMMAND_MAP[${suffix}]} ${input}"
/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-simplif-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/633-checker-rtp-getclass/src/
DMain.java36 public static int $noinline$runSmaliTest(String name, Main input) { in $noinline$runSmaliTest() argument
40 return (Integer) m.invoke(null, input); in $noinline$runSmaliTest()
/art/libdexfile/dex/
Dutf_test.cc118 static void AssertConversion(const std::vector<uint16_t>& input, in AssertConversion() argument
120 ASSERT_EQ(expected.size(), CountUtf8Bytes(&input[0], input.size())); in AssertConversion()
124 &input[0], input.size()); in AssertConversion()
385 const char input[] = { kNonAsciiCharacter, '\0' }; in TEST_F() local
386 uint32_t hash = ComputeModifiedUtf8Hash(input); in TEST_F()
/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/910-methods/src/art/
DTest910.java169 Class<?>[] input = new Class<?>[count + 1]; in createProxyClass() local
170 input[0] = Runnable.class; in createProxyClass()
175 input[inputIndex++] = Class.forName("art.Test910$I" + bitIndex); in createProxyClass()
180 return Proxy.getProxyClass(Test910.class.getClassLoader(), input); in createProxyClass()
/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

12345