Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/service/
Delemental_ir_emitter.cc73 llvm::Value* x_as_int = b->CreateBitCast(x, int_type); in EmitReducePrecisionFloat() local
84 b->CreateAnd(x_as_int, in EmitReducePrecisionFloat()
96 x_as_int = b->CreateAdd(x_as_int, x_rounding_bias); in EmitReducePrecisionFloat()
97 x_as_int = b->CreateAnd(x_as_int, in EmitReducePrecisionFloat()
127 x_as_int, llvm::ConstantInt::get(int_type, f32_exp_bits_mask)); in EmitReducePrecisionFloat()
137 x_as_int, llvm::ConstantInt::get(int_type, f32_sign_bit_mask)); in EmitReducePrecisionFloat()
143 x_as_int = b->CreateSelect(x_overflows, x_signed_inf, x_as_int); in EmitReducePrecisionFloat()
144 x_as_int = b->CreateSelect(x_underflows, x_signed_zero, x_as_int); in EmitReducePrecisionFloat()
148 llvm::Value* result = b->CreateBitCast(x_as_int, float_type); in EmitReducePrecisionFloat()