Home
last modified time | relevance | path

Searched refs:is_one (Results 1 – 25 of 36) sorted by relevance

12

/external/tensorflow/tensorflow/core/kernels/
Ddata_format_ops.h45 auto is_one = (x_mod == one); in operator() local
49 f_zero, is_one.select(f_one, is_two.select(f_two, f_three))); in operator()
66 auto is_one = (x_mod == one); in operator() local
72 is_one.select( in operator()
/external/rust/crates/num-traits/src/
Didentities.rs112 fn is_one(&self) -> bool in is_one() method
128 fn is_one(&self) -> bool {
/external/mesa3d/src/compiler/glsl/
Dopt_algebraic.cpp112 return (ir == NULL) ? false : ir->is_one(); in is_vec_one()
899 outer_const->is_one()) in handle_expression()
904 inner_const->is_one() && in handle_expression()
922 inner_const->is_one() && in handle_expression()
929 outer_const->is_one()) in handle_expression()
Dlower_vector.cpp78 if (!c->is_one() && !c->is_zero() && !c->is_negative_one()) in is_extended_swizzle()
Dir.cpp41 bool ir_rvalue::is_one() const in is_one() function in ir_rvalue
1648 ir_constant::is_one() const in is_one() function in ir_constant
2301 if (expr->operands[0]->is_one()) in try_min_one()
2304 if (expr->operands[1]->is_one()) in try_min_one()
Dir.h289 virtual bool is_one() const;
2339 virtual bool is_one() const;
/external/mesa3d/src/intel/compiler/
Dbrw_ir.h59 bool is_one() const;
Dbrw_vec4_cmod_propagation.cpp75 !(inst->src[1].is_one() && in opt_cmod_propagation_local()
Dbrw_fs_cmod_propagation.cpp256 !(inst->src[1].is_one() && in opt_cmod_propagation_local()
Dbrw_shader.cpp775 backend_reg::is_one() const in is_one() function in backend_reg
/external/llvm-project/llvm/test/Transforms/InstCombine/
Dknown-non-zero.ll124 %is_one = icmp eq i16 %i, 1
125 store i1 %is_one, i1* %p
/external/llvm-project/polly/lib/External/isl/
Disl_output.c1852 isl_bool is_one = isl_poly_is_one(rec->p[i]); in poly_print() local
1856 if (is_zero < 0 || is_one < 0 || is_negone < 0) in poly_print()
1867 } else if (is_cst && !is_one) in poly_print()
1872 if (i == 0 || !is_one) in poly_print()
1878 if (!is_one && !is_negone) in poly_print()
1930 isl_bool is_one; in print_qpolynomial_c() local
1936 is_one = isl_val_is_one(den); in print_qpolynomial_c()
1937 if (is_one < 0) in print_qpolynomial_c()
1939 if (!is_one) in print_qpolynomial_c()
1945 if (!is_one) { in print_qpolynomial_c()
[all …]
Disl_polynomial.c1158 isl_bool is_zero, is_nan, is_one, is_cst; in isl_poly_mul() local
1195 is_one = isl_poly_is_one(poly1); in isl_poly_mul()
1196 if (is_one < 0) in isl_poly_mul()
1198 if (is_one) { in isl_poly_mul()
1203 is_one = isl_poly_is_one(poly2); in isl_poly_mul()
1204 if (is_one < 0) in isl_poly_mul()
1206 if (is_one) { in isl_poly_mul()
/external/llvm-project/polly/lib/Transform/
DFlattenAlgo.cpp92 if (Val.is_one()) in multiply()
DScheduleOptimizer.cpp737 Pos = Pos < 0 && Val.is_one() ? i : Pos; in containsOnlyMatMulDep()
738 if (Val.is_nan() || !(Val.is_zero() || (i == Pos && Val.is_one()))) in containsOnlyMatMulDep()
/external/rust/crates/num-derive/src/
Dlib.rs676 fn is_one(&self) -> bool { in one()
677 <#inner_ty as #import::One>::is_one(&self.0) in one()
/external/llvm/include/llvm/IR/
DPatternMatch.h239 struct is_one { struct
244 inline cst_pred_ty<is_one> m_One() { return cst_pred_ty<is_one>(); } in m_One() argument
245 inline api_pred_ty<is_one> m_One(const APInt *&V) { return V; } in m_One()
/external/llvm-project/polly/unittests/Isl/
DIslTest.cpp110 EXPECT_TRUE(IslOne.is_one()); in TEST()
135 EXPECT_TRUE(IslOne.is_one()); in TEST()
/external/rust/crates/num-traits/
DRELEASES.md174 - [The new `One::is_one` method][39] tests if a value equals 1. Implementers
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DPatternMatch.h400 struct is_one { struct
405 inline cst_pred_ty<is_one> m_One() { in m_One() argument
406 return cst_pred_ty<is_one>(); in m_One()
/external/rust/crates/ring/src/arithmetic/
Dbigint.rs452 fn is_one(&self) -> bool { in is_one() method
1105 if elem_mul(a, b, m).is_one() { in verify_inverses_consttime()
/external/mesa3d/src/amd/llvm/
Dac_llvm_build.c2710 bool is_zero[4] = {0}, is_one[4] = {0}; in ac_eliminate_const_output() local
2716 is_one[i] = true; in ac_eliminate_const_output()
2721 is_one[i] = true; in ac_eliminate_const_output()
2731 else if (is_one[0] && is_one[1] && is_one[2]) in ac_eliminate_const_output()
/external/llvm-project/llvm/include/llvm/IR/
DPatternMatch.h454 struct is_one { struct
459 inline cst_pred_ty<is_one> m_One() { in m_One() argument
460 return cst_pred_ty<is_one>(); in m_One()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dfolding_rules.cpp1404 bool is_one = (width == 32) ? int_constant->GetU32BitValue() == 1u in IntMultipleBy1() local
1406 if (is_one) { in IntMultipleBy1()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dfolding_rules.cpp1404 bool is_one = (width == 32) ? int_constant->GetU32BitValue() == 1u in IntMultipleBy1() local
1406 if (is_one) { in IntMultipleBy1()

12