Home
last modified time | relevance | path

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

/external/swiftshader/third_party/astc-encoder/Source/
Dastc_symbolic_physical.cpp91 …int all_ones = vx_low_s == 0x1FFF && vx_high_s == 0x1FFF && vx_low_t == 0x1FFF && vx_high_t == 0x1… in physical_to_symbolic() local
93 if ((vx_low_s >= vx_high_s || vx_low_t >= vx_high_t) && !all_ones) in physical_to_symbolic()
106 …int all_ones = vx_low_s == 0x1FF && vx_high_s == 0x1FF && vx_low_t == 0x1FF && vx_high_t == 0x1FF … in physical_to_symbolic() local
108 if ((vx_low_s >= vx_high_s || vx_low_t >= vx_high_t || vx_low_p >= vx_high_p) && !all_ones) in physical_to_symbolic()
/external/swiftshader/third_party/SPIRV-Tools/source/util/
Dbitutils.h139 const T all_ones = ~T(0);
142 T(T(all_ones >> num_unaffected_low_bits) << num_unaffected_low_bits);
147 T(T(all_ones << num_unaffected_high_bits) >> num_unaffected_high_bits);
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/util/
Dbitutils.h139 const T all_ones = ~T(0);
142 T(T(all_ones >> num_unaffected_low_bits) << num_unaffected_low_bits);
147 T(T(all_ones << num_unaffected_high_bits) >> num_unaffected_high_bits);
/external/deqp-deps/SPIRV-Tools/source/util/
Dbitutils.h139 const T all_ones = ~T(0);
142 T(T(all_ones >> num_unaffected_low_bits) << num_unaffected_low_bits);
147 T(T(all_ones << num_unaffected_high_bits) >> num_unaffected_high_bits);
/external/llvm-project/compiler-rt/lib/asan/
Dasan_fake_stack.h93 const uptr all_ones = (((uptr)1) << (kNumberOfSizeClasses - 1)) - 1; in FlagsOffset() local
94 return ((all_ones >> t) << t) << (stack_size_log - 15); in FlagsOffset()
/external/compiler-rt/lib/asan/
Dasan_fake_stack.h94 const uptr all_ones = (((uptr)1) << (kNumberOfSizeClasses - 1)) - 1; in FlagsOffset() local
95 return ((all_ones >> t) << t) << (stack_size_log - 15); in FlagsOffset()
/external/webrtc/common_audio/signal_processing/
Dsignal_processing_unittest.cc145 const uint32_t all_ones = 2 * single_one - 1; in TEST() local
148 EXPECT_EQ(31 - i, WebRtcSpl_CountLeadingZeros32(all_ones)); in TEST()
149 EXPECT_EQ(31 - i, WebRtcSpl_CountLeadingZeros32_NotBuiltin(all_ones)); in TEST()
158 const uint64_t all_ones = 2 * single_one - 1; in TEST() local
161 EXPECT_EQ(63 - i, WebRtcSpl_CountLeadingZeros64(all_ones)); in TEST()
162 EXPECT_EQ(63 - i, WebRtcSpl_CountLeadingZeros64_NotBuiltin(all_ones)); in TEST()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dfold_spec_constant_op_and_composite_pass.cpp328 const uint32_t all_ones = ~0; in EncodeIntegerAsWords() local
336 pad_value = all_ones; in EncodeIntegerAsWords()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dfold_spec_constant_op_and_composite_pass.cpp328 const uint32_t all_ones = ~0; in EncodeIntegerAsWords() local
336 pad_value = all_ones; in EncodeIntegerAsWords()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dfold_spec_constant_op_and_composite_pass.cpp328 const uint32_t all_ones = ~0; in EncodeIntegerAsWords() local
336 pad_value = all_ones; in EncodeIntegerAsWords()
/external/tensorflow/tensorflow/python/ops/losses/
Dlosses_impl.py362 all_ones = array_ops.ones_like(labels)
363 labels = math_ops.subtract(2 * labels, all_ones)
365 math_ops.subtract(all_ones, math_ops.multiply(labels, logits)))
/external/llvm-project/llvm/test/Transforms/InstSimplify/
Dor.ll12 define i32 @all_ones(i32 %A) {
13 ; CHECK-LABEL: @all_ones(
/external/rust/crates/smallvec/src/
Dtests.rs784 let mut all_ones: SmallVec<[i32; 5]> = SmallVec::from_slice(&[1, 1, 1, 1, 1]); in test_dedup() localVariable
785 all_ones.dedup(); in test_dedup()
786 assert_eq!(all_ones.len(), 1); in test_dedup()
/external/tensorflow/tensorflow/compiler/mlir/hlo/include/mlir-hlo/Dialect/mhlo/transforms/
Dmap_lmhlo_to_scalar_op.h592 Value all_ones =
595 all_ones = b->create<::mlir::SplatOp>(loc, vec_type, all_ones);
597 return b->create<::mlir::XOrOp>(loc, all_ones, args[0]);
/external/python/cpython3/Lib/
Dipaddress.py463 all_ones = (1 << prefixlen) - 1
464 if leading_ones != all_ones:
/external/python/ipaddress/
Dipaddress.py586 all_ones = (1 << prefixlen) - 1
587 if leading_ones != all_ones:
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_ops_a_m.cc1723 auto all_ones = [](ArrayAttr arr) -> bool { in GetOptimalLayout() local
1733 const bool trivial_strides = all_ones(strides()); in GetOptimalLayout()
1734 const bool trivial_dilations = all_ones(dilations()); in GetOptimalLayout()
/external/mesa3d/src/amd/llvm/
Dac_llvm_build.c1844 LLVMValueRef all_ones = LLVMConstInt(ctx->i32, -1, true); in ac_build_imsb() local
1847 LLVMBuildICmp(ctx->builder, LLVMIntEQ, arg, all_ones, ""), ""); in ac_build_imsb()
1849 return LLVMBuildSelect(ctx->builder, cond, all_ones, msb, ""); in ac_build_imsb()
/external/llvm-project/lldb/source/Plugins/Instruction/ARM/
DEmulateInstructionARM.cpp12189 uint64_t all_ones = -1; in EmulateVLD1Single() local
12190 uint64_t mask = all_ones in EmulateVLD1Single()
12195 mask = mask | Bits64(all_ones, (index * esize) - 1, in EmulateVLD1Single()