Searched refs:IsEffectiveScalar (Results 1 – 15 of 15) sorted by relevance
36 if (ShapeUtil::IsEffectiveScalar(value->shape())) { in IsValueAllowedInAlternateMemory()
254 .WithShape(m::Shape().IsEffectiveScalar()) in MatchTrivialComputation()257 .WithShape(m::Shape().IsEffectiveScalar()), in MatchTrivialComputation()259 .WithShape(m::Shape().IsEffectiveScalar())))) { in MatchTrivialComputation()991 if (ShapeUtil::IsEffectiveScalar(instr->shape())) { in GetInstructionColor()1006 ShapeUtil::IsEffectiveScalar(instr->operand(0)->shape())) { in GetInstructionColor()1021 if (ShapeUtil::IsEffectiveScalar(instr->shape()) || instr->IsFused()) { in GetInstructionColor()1029 if (ShapeUtil::IsEffectiveScalar(instr->shape())) { in GetInstructionColor()
32 .WithShape(m::Shape().IsEffectiveScalar())); in MatchReductionComputation()
186 ShapeUtil::IsEffectiveScalar(instr->shape())) { in IsProfitableOperand()
313 if (!ShapeUtil::IsEffectiveScalar(l.shape())) { in LiteralAsScalarInt64()
217 ShapeUtil::IsEffectiveScalar(operand->shape())) { in EffectivelyAtMostUnary()
797 if (!ShapeUtil::IsEffectiveScalar(*shape)) {1005 constexpr auto IsEffectiveScalar() const {1730 !ShapeUtil::IsEffectiveScalar(inst->shape())) {
265 if (ShapeUtil::IsEffectiveScalar(entry.instruction->shape())) { in GetPriority()
601 EXPECT_DESC_AND_EXPLANATION(shape, m::Shape().IsEffectiveScalar(), in TEST_F()
156 m::Shape().IsEffectiveScalar())))) { in IsAllFpConstantPowerOf2()1085 m::Shape().IsEffectiveScalar().WithElementType(PrimitiveType::S32); in TrySimplifyTautologicalCompare()2516 if (ShapeUtil::IsEffectiveScalar(operand_shape)) { in HandleGather()3992 if (!ShapeUtil::IsEffectiveScalar(slice->shape())) { in TrySimplifyScalarSlice()
47 ShapeUtil::IsEffectiveScalar(instr->shape())) { in IsProfitableOperand()
286 (!ShapeUtil::IsEffectiveScalar(producer.shape()) || in IsProducerConsumerFusible()
359 static bool IsEffectiveScalar(const Shape& shape) { in IsEffectiveScalar() function
1877 if (ShapeUtil::IsEffectiveScalar(slice->shape())) { in HandleSlice()
142 ShapeUtil::IsEffectiveScalar(hlo->shape())) { in ReportMemoryUsage()