Home
last modified time | relevance | path

Searched refs:signed_type (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dcomparators.cc40 PrimitiveType signed_type; in BitcastConvertFloatingPointToIntegral() local
48 signed_type = S16; in BitcastConvertFloatingPointToIntegral()
55 signed_type = S32; in BitcastConvertFloatingPointToIntegral()
62 signed_type = S64; in BitcastConvertFloatingPointToIntegral()
84 auto signed_value = BitcastConvertType(value, signed_type); in BitcastConvertFloatingPointToIntegral()
87 BitcastConvertType(Sub(max_value, unsigned_value), signed_type); in BitcastConvertFloatingPointToIntegral()
88 auto is_negative = Lt(signed_value, Zero(value.builder(), signed_type)); in BitcastConvertFloatingPointToIntegral()
/external/mesa3d/src/intel/compiler/
Dbrw_eu_validate.c94 signed_type(unsigned type) in signed_type() function
108 unsigned dst_type = signed_type(brw_inst_dst_type(devinfo, inst)); in inst_is_raw_move()
109 unsigned src_type = signed_type(brw_inst_src0_type(devinfo, inst)); in inst_is_raw_move()
/external/tensorflow/tensorflow/compiler/xla/client/
Dxla_builder.cc1583 PrimitiveType signed_type; in BitcastConvertFloatingPointToIntegral() local
1591 signed_type = S16; in BitcastConvertFloatingPointToIntegral()
1598 signed_type = S32; in BitcastConvertFloatingPointToIntegral()
1605 signed_type = S64; in BitcastConvertFloatingPointToIntegral()
1614 auto signed_value = BitcastConvertType(value, signed_type); in BitcastConvertFloatingPointToIntegral()
1617 BitcastConvertType(Sub(max_value, unsigned_value), signed_type); in BitcastConvertFloatingPointToIntegral()
1620 ConstantLiteral(value.builder(), LiteralUtil::Zero(signed_type))); in BitcastConvertFloatingPointToIntegral()