Searched refs:safe_rhs (Results 1 – 1 of 1) sorted by relevance
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | elemental_ir_emitter.cc | 1551 llvm::Value* safe_rhs = Select(udiv_is_unsafe, GetOne(lhs->getType()), rhs); in EmitIntegerDivide() local 1552 llvm::Value* safe_div = UDiv(lhs, safe_rhs); in EmitIntegerDivide() 1559 llvm::Value* safe_rhs = Select(sdiv_is_unsafe, GetOne(lhs->getType()), rhs); in EmitIntegerDivide() local 1560 llvm::Value* safe_div = SDiv(lhs, safe_rhs); in EmitIntegerDivide() 1577 llvm::Value* safe_rhs = Select(urem_is_unsafe, GetOne(lhs->getType()), rhs); in EmitIntegerRemainder() local 1578 llvm::Value* safe_rem = URem(lhs, safe_rhs); in EmitIntegerRemainder() 1585 llvm::Value* safe_rhs = Select(srem_is_unsafe, GetOne(lhs->getType()), rhs); in EmitIntegerRemainder() local 1586 llvm::Value* safe_rem = SRem(lhs, safe_rhs); in EmitIntegerRemainder()
|