Searched refs:IsSignedIntegralType (Results 1 – 4 of 4) sorted by relevance
144 bool IsSignedIntegralType(PrimitiveType type);193 IsSignedIntegralType(component_type)); in HigherPrecisionType()252 const int from_bits = primitive_util::IsSignedIntegralType(from_type) in CastPreservesValues()255 const int to_bits = primitive_util::IsSignedIntegralType(to_type) in CastPreservesValues()269 if (primitive_util::IsSignedIntegralType(from_type) && in CastPreservesValues()
85 bool IsSignedIntegralType(PrimitiveType type) { in IsSignedIntegralType() function94 return IsUnsignedIntegralType(type) || IsSignedIntegralType(type); in IsIntegralType()
256 auto opcode = primitive_util::IsSignedIntegralType(element_type) in MaybeEmitDirectAtomicOperation()267 auto opcode = primitive_util::IsSignedIntegralType(element_type) in MaybeEmitDirectAtomicOperation()
229 if (primitive_util::IsSignedIntegralType(from_type)) { in EmitIntegralToFloating()274 primitive_util::IsSignedIntegralType(from_type)); in EmitIntegerUnaryOp()288 if (primitive_util::IsSignedIntegralType(from_type)) { in EmitIntegerUnaryOp()323 primitive_util::IsSignedIntegralType(op->shape().element_type()); in EmitIntegerUnaryOp()340 CHECK(primitive_util::IsSignedIntegralType(op->shape().element_type())) in EmitIntegerUnaryOp()425 if (primitive_util::IsSignedIntegralType(to_type)) { in EmitFloatUnaryOp()862 primitive_util::IsSignedIntegralType(operand_type)); in EmitBinaryOp()1901 bool is_signed = primitive_util::IsSignedIntegralType(prim_type); in EmitElementalClamp()