Home
last modified time | relevance | path

Searched refs:IsSignedIntegralType (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/
Dprimitive_util.h144 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()
Dprimitive_util.cc85 bool IsSignedIntegralType(PrimitiveType type) { in IsSignedIntegralType() function
94 return IsUnsignedIntegralType(type) || IsSignedIntegralType(type); in IsIntegralType()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dir_emitter.cc256 auto opcode = primitive_util::IsSignedIntegralType(element_type) in MaybeEmitDirectAtomicOperation()
267 auto opcode = primitive_util::IsSignedIntegralType(element_type) in MaybeEmitDirectAtomicOperation()
/external/tensorflow/tensorflow/compiler/xla/service/
Delemental_ir_emitter.cc229 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()