Searched refs:x_as_int (Results 1 – 1 of 1) sorted by relevance
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | elemental_ir_emitter.cc | 90 llvm::Value* x_as_int = b->CreateBitCast(x, int_type); in EmitReducePrecisionIR() local 102 b->CreateAnd(x_as_int, in EmitReducePrecisionIR() 114 x_as_int = b->CreateAdd(x_as_int, x_rounding_bias); in EmitReducePrecisionIR() 115 x_as_int = b->CreateAnd(x_as_int, in EmitReducePrecisionIR() 151 b->CreateAnd(x_as_int, llvm::ConstantInt::get(int_type, exp_bits_mask)); in EmitReducePrecisionIR() 161 b->CreateAnd(x_as_int, llvm::ConstantInt::get(int_type, sign_bit_mask)); in EmitReducePrecisionIR() 167 x_as_int = b->CreateSelect(x_overflows, x_signed_inf, x_as_int); in EmitReducePrecisionIR() 168 x_as_int = b->CreateSelect(x_underflows, x_signed_zero, x_as_int); in EmitReducePrecisionIR() 172 llvm::Value* result = b->CreateBitCast(x_as_int, float_type); in EmitReducePrecisionIR()
|