HomeSort by relevance Sort by last modified time
    Searched defs:constant2 (Results 1 - 16 of 16) sorted by null

  /external/tensorflow/tensorflow/compiler/xla/service/
hlo_reachability_test.cc 105 auto constant2 = builder.AddInstruction( local
108 r0f32, HloOpcode::kAdd, constant1, constant2));
110 HloInstruction::CreateUnary(r0f32, HloOpcode::kNegate, constant2));
126 EXPECT_FALSE(reachability->IsReachable(constant1, constant2));
133 EXPECT_FALSE(reachability->IsReachable(constant2, constant1));
134 EXPECT_TRUE(reachability->IsReachable(constant2, constant2));
135 EXPECT_TRUE(reachability->IsReachable(constant2, add));
136 EXPECT_TRUE(reachability->IsReachable(constant2, negate));
137 EXPECT_TRUE(reachability->IsReachable(constant2, exp))
    [all...]
hlo_subcomputation_unification_test.cc 105 auto constant2 = builder.AddInstruction( local
108 HloInstruction::CreateCall(r0s32_, {constant1, constant2}, callee1));
110 HloInstruction::CreateCall(r0s32_, {constant1, constant2}, callee2));
flatten_call_graph_test.cc 239 auto constant2 = builder.AddInstruction( local
242 kScalarShape, pred, constant1, sub_computation, constant2,
hlo_dce_test.cc 55 auto constant2 = builder.AddInstruction( local
58 constant1->shape(), HloOpcode::kAdd, constant1, constant2));
129 auto constant2 = builder.AddInstruction( local
136 constant1->shape(), HloOpcode::kAdd, constant1, constant2));
145 constant1->shape(), HloOpcode::kAdd, constant1, constant2));
149 constant1->shape(), HloOpcode::kAdd, constant1, constant2));
hlo_cse_test.cc 57 auto constant2 = builder.AddInstruction( local
60 constant1->shape(), HloOpcode::kAdd, constant1, constant2));
86 auto constant2 = builder.AddInstruction( local
90 constant1->shape(), HloOpcode::kAdd, constant1, constant2));
96 EXPECT_THAT(add, op::Add(constant1, constant2));
103 EXPECT_THAT(first_operand, ::testing::AnyOf(constant1, constant2));
118 auto constant2 = builder.AddInstruction( local
122 constant1->shape(), HloOpcode::kAdd, constant1, constant2));
128 EXPECT_THAT(add, op::Add(constant1, constant2));
134 EXPECT_THAT(add, op::Add(constant1, constant2));
577 auto constant2 = builder.AddInstruction( local
619 auto constant2 = builder.AddInstruction( local
    [all...]
hlo_computation_test.cc 174 auto constant2 = builder.AddInstruction( local
183 UnorderedElementsAre(constant1, constant2, constant3, constant4));
192 auto constant2 = builder.AddInstruction( local
197 r0f32_, HloOpcode::kAdd, constant1, constant2));
199 r0f32_, HloOpcode::kAdd, constant2, constant3));
206 EXPECT_THAT(post_order, UnorderedElementsAre(constant1, constant2, constant3,
216 auto constant2 = builder.AddInstruction( local
222 constant1, constant2));
224 constant2, constant3));
279 auto constant2 = builder.AddInstruction local
326 auto constant2 = builder.AddInstruction( local
474 auto constant2 = builder.AddInstruction( local
    [all...]
hlo_alias_analysis_test.cc 122 auto constant2 = builder.AddInstruction( local
125 scalar_shape_, HloOpcode::kAdd, constant1, constant2));
135 for (const HloInstruction* instruction : {constant1, constant2, add}) {
426 auto constant2 = builder.AddInstruction( local
429 scalar_shape_, {constant1, constant2}, called_computation));
439 EXPECT_THAT(analysis.GetUniqueBufferAt(constant2).ComputePositions(),
440 UnorderedElementsAre(HloPosition{constant2, {}},
466 auto constant2 = builder.AddInstruction( local
469 scalar_shape_, {constant1, constant2}, called_computation));
471 scalar_shape_, {call1, constant2}, called_computation))
552 auto constant2 = builder.AddInstruction( local
646 auto constant2 = builder.AddInstruction( local
745 auto constant2 = builder.AddInstruction( local
817 auto constant2 = builder.AddInstruction( local
863 auto constant2 = builder.AddInstruction( local
965 auto constant2 = builder.AddInstruction( local
    [all...]
layout_assignment_test.cc 173 auto constant2 = builder.AddInstruction( local
176 ashape, HloOpcode::kAdd, constant1, constant2));
    [all...]
copy_insertion_test.cc 171 HloInstruction* constant2 = builder.AddInstruction( local
182 builder.AddInstruction(HloInstruction::CreateTuple({constant2, x, add}));
192 op::Tuple(op::Copy(constant2), op::Copy(x), op::Add(constant1, y)));
201 HloInstruction* constant2 = builder.AddInstruction( local
207 HloInstruction::CreateTuple({constant1, constant2}));
209 HloInstruction::CreateTuple({constant3, constant2}));
217 EXPECT_THAT(constant2->users(), UnorderedElementsAre(tuple1, tuple2));
375 HloInstruction* constant2 = builder.AddInstruction( local
379 HloInstruction::CreateTuple({constant1, constant2}));
381 HloInstruction::CreateTuple({constant2, constant1}))
1327 auto constant2 = builder.AddInstruction( local
1611 auto constant2 = builder.AddInstruction( local
    [all...]
tuple_points_to_analysis_test.cc 127 auto constant2 = builder.AddInstruction( local
130 HloInstruction::CreateTuple({constant1, constant2}));
140 EXPECT_EQ(1, points_to_analysis_->GetPointsToSet(constant2).size());
142 points_to_analysis_->GetPointsToSet(constant2).element({}), {constant2});
144 points_to_analysis_->GetPointsToSet(constant2).tuple_sources({}).empty());
153 {constant1, constant2, tuple});
159 points_to_analysis_->GetPointsToSet(tuple).element({1}), {constant2});
166 *GetBuffer(constant2, {}), {1}));
168 *GetBuffer(constant2, {}), {0}))
180 auto constant2 = builder.AddInstruction( local
241 auto constant2 = builder.AddInstruction( local
310 auto constant2 = builder.AddInstruction( local
384 auto constant2 = builder.AddInstruction( local
462 auto constant2 = builder.AddInstruction( local
493 auto constant2 = builder.AddInstruction( local
540 auto constant2 = builder.AddInstruction( local
599 auto constant2 = builder.AddInstruction( local
    [all...]
hlo_dataflow_analysis_test.cc 106 auto constant2 = builder.AddInstruction( local
109 scalar_shape_, HloOpcode::kAdd, constant1, constant2));
119 EXPECT_TRUE(analysis.ValueIsDefinedAt(constant2));
126 EXPECT_THAT(analysis.GetValueDefinedAt(constant2).positions(),
127 UnorderedElementsAre(HloPosition{constant2, {}}));
134 EXPECT_THAT(analysis.GetValueDefinedAt(constant2).uses(),
140 EXPECT_FALSE(analysis.GetValueDefinedAt(constant2).live_out_of_module());
205 auto constant2 = builder.AddInstruction( local
208 HloInstruction::CreateTuple({constant1, constant2}));
235 EXPECT_TRUE(analysis.GetValueDefinedAt(constant2).uses().empty())
267 auto constant2 = builder.AddInstruction( local
317 auto constant2 = builder.AddInstruction( local
372 auto constant2 = builder.AddInstruction( local
437 auto constant2 = builder.AddInstruction( local
511 auto constant2 = builder.AddInstruction( local
613 auto constant2 = builder.AddInstruction( local
705 auto constant2 = builder.AddInstruction( local
801 auto constant2 = builder.AddInstruction( local
858 auto constant2 = builder.AddInstruction( local
882 auto constant2 = builder.AddInstruction( local
959 auto constant2 = builder.AddInstruction( local
1051 auto constant2 = builder.AddInstruction( local
1611 auto constant2 = builder.AddInstruction( local
1703 auto constant2 = builder.AddInstruction( local
1836 auto constant2 = builder.AddInstruction( local
    [all...]
hlo_instruction_test.cc 647 auto constant2 = builder.AddInstruction( local
650 r0f32_, HloOpcode::kAdd, constant1, constant2));
656 EXPECT_THAT(fusion->operands(), ElementsAre(constant1, constant2));
658 EXPECT_THAT(constant2->users(), ElementsAre(fusion));
    [all...]
algebraic_simplifier_test.cc 430 HloInstruction* constant2 = builder.AddInstruction( local
436 HloInstruction::CreateBinary(r0f32, HloOpcode::kAdd, add1, constant2));
446 m::Add(m::Op().Is(constant1), m::Op().Is(constant2)))));
    [all...]
  /frameworks/av/media/libstagefright/codecs/mp3dec/src/asm/
pvmp3_dct_16_gcc.s 61 ldr lr,constant2
425 constant2: label
  /external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/examples/
FibonacciMaker.java 45 Local<Integer> constant2 = code.newLocal(TypeId.INT); local
53 code.loadConstant(constant2, 2);
55 code.compare(Comparison.LT, baseCase, i, constant2);
57 code.op(BinaryOp.SUBTRACT, b, i, constant2);
  /art/compiler/optimizing/
register_allocator_test.cc 724 HInstruction* constant2 = graph->GetIntConstant(2); local
732 *second_sub = new (GetAllocator()) HSub(DataType::Type::kInt32, *first_sub, constant2);
    [all...]

Completed in 399 milliseconds