Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/kernels/
Dcwise_op_div.cc21 REGISTER5(BinaryOp, CPU, "Div", functor::safe_div, uint8, uint16, int16, int32,
23 REGISTER5(BinaryOp, CPU, "TruncateDiv", functor::safe_div, uint8, uint16, int16,
48 BinaryOp<CPUDevice, functor::safe_div<int32>>);
60 BinaryOp<CPUDevice, functor::safe_div<int32>>);
Dcwise_ops.h908 struct safe_div : base<T, Eigen::internal::safe_div_or_mod_op<
/external/llvm/test/CodeGen/X86/
Dseh-safe-div.ll7 ; int safe_div(int *n, int *d) {
26 define i32 @safe_div(i32* %n, i32* %d) personality i8* bitcast (i32 (...)* @__C_specific_handler to…
57 ; CHECK: {{^}}safe_div:
58 ; CHECK: .seh_proc safe_div
145 @str_result = internal constant [21 x i8] c"safe_div result: %d\0A\00"
153 %r1 = call i32 @safe_div(i32* %n.addr, i32* %d.addr)
158 %r2 = call i32 @safe_div(i32* %n.addr, i32* %d.addr)
161 %r3 = call i32 @safe_div(i32* %n.addr, i32* null)
Dseh-safe-div-win32.ll7 ; int safe_div(int *n, int *d) {
26 define i32 @safe_div(i32* %n, i32* %d) personality i8* bitcast (i32 (...)* @_except_handler3 to i8*…
81 ; CHECK: L__ehtable$safe_div:
138 @str_result = internal constant [21 x i8] c"safe_div result: %d\0A\00"
146 %r1 = call i32 @safe_div(i32* %n.addr, i32* %d.addr)
151 %r2 = call i32 @safe_div(i32* %n.addr, i32* %d.addr)
154 %r3 = call i32 @safe_div(i32* %n.addr, i32* null)
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Dseh-safe-div.ll7 ; int safe_div(int *n, int *d) {
26 define i32 @safe_div(i32* %n, i32* %d) personality i8* bitcast (i32 (...)* @__C_specific_handler to…
57 ; CHECK: {{^}}safe_div:
58 ; CHECK: .seh_proc safe_div
145 @str_result = internal constant [21 x i8] c"safe_div result: %d\0A\00"
153 %r1 = call i32 @safe_div(i32* %n.addr, i32* %d.addr)
158 %r2 = call i32 @safe_div(i32* %n.addr, i32* %d.addr)
161 %r3 = call i32 @safe_div(i32* %n.addr, i32* null)
Dseh-safe-div-win32.ll7 ; int safe_div(int *n, int *d) {
26 define i32 @safe_div(i32* %n, i32* %d) personality i8* bitcast (i32 (...)* @_except_handler3 to i8*…
81 ; CHECK: L__ehtable$safe_div:
138 @str_result = internal constant [21 x i8] c"safe_div result: %d\0A\00"
146 %r1 = call i32 @safe_div(i32* %n.addr, i32* %d.addr)
151 %r2 = call i32 @safe_div(i32* %n.addr, i32* %d.addr)
154 %r3 = call i32 @safe_div(i32* %n.addr, i32* null)
/external/clang/test/SemaCXX/
Dexceptions-seh.cpp5 int safe_div(int n, int d) { in safe_div() function
/external/clang/test/CodeGen/
Dexceptions-seh.c18 int safe_div(int numerator, int denominator, int *res) { in safe_div() function
/external/tensorflow/tensorflow/compiler/xla/service/
Delemental_ir_emitter.cc1234 llvm::Value* safe_div = UDiv(lhs, safe_rhs); in EmitIntegerDivide() local
1235 return Select(udiv_is_unsafe, GetMinusOne(lhs->getType()), safe_div); in EmitIntegerDivide()
1242 llvm::Value* safe_div = SDiv(lhs, safe_rhs); in EmitIntegerDivide() local
1246 Select(has_int_min_overflow, GetIntSMin(lhs->getType()), safe_div)); in EmitIntegerDivide()