Searched refs:safe_rhs (Results 1 – 1 of 1) sorted by relevance
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | elemental_ir_emitter.cc | 1233 llvm::Value* safe_rhs = Select(udiv_is_unsafe, GetOne(lhs->getType()), rhs); in EmitIntegerDivide() local 1234 llvm::Value* safe_div = UDiv(lhs, safe_rhs); in EmitIntegerDivide() 1241 llvm::Value* safe_rhs = Select(sdiv_is_unsafe, GetOne(lhs->getType()), rhs); in EmitIntegerDivide() local 1242 llvm::Value* safe_div = SDiv(lhs, safe_rhs); in EmitIntegerDivide() 1259 llvm::Value* safe_rhs = Select(urem_is_unsafe, GetOne(lhs->getType()), rhs); in EmitIntegerRemainder() local 1260 llvm::Value* safe_rem = URem(lhs, safe_rhs); in EmitIntegerRemainder() 1267 llvm::Value* safe_rhs = Select(srem_is_unsafe, GetOne(lhs->getType()), rhs); in EmitIntegerRemainder() local 1268 llvm::Value* safe_rem = SRem(lhs, safe_rhs); in EmitIntegerRemainder()
|