Home
last modified time | relevance | path

Searched refs:isAligned (Results 1 – 25 of 1016) sorted by relevance

12345678910>>...41

/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/test/common/helpers/
H A Daligned_memory_tests.cpp250 EXPECT_TRUE(isAligned(ptr)); in TYPED_TEST()
255 EXPECT_TRUE(isAligned(ptr1)); in TYPED_TEST()
258 EXPECT_TRUE(isAligned(ptr2)); in TYPED_TEST()
265 EXPECT_FALSE(isAligned(ptr3)); in TYPED_TEST()
269 EXPECT_TRUE(isAligned<3>(0)); in TEST()
270 EXPECT_FALSE(isAligned<3>(1)); in TEST()
271 EXPECT_FALSE(isAligned<3>(2)); in TEST()
272 EXPECT_TRUE(isAligned<3>(3)); in TEST()
273 EXPECT_FALSE(isAligned<3>(4)); in TEST()
274 EXPECT_FALSE(isAligned<3>(5)); in TEST()
[all …]
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements/src/org/graalvm/compiler/replacements/nodes/
H A DZeroMemoryNode.java51 private final boolean isAligned; field in ZeroMemoryNode
53 …public ZeroMemoryNode(ValueNode address, ValueNode length, boolean isAligned, LocationIdentity loc… in ZeroMemoryNode() argument
54 … this(OffsetAddressNode.create(address), length, isAligned, locationIdentity, BarrierType.NONE); in ZeroMemoryNode()
57 …public ZeroMemoryNode(AddressNode address, ValueNode length, boolean isAligned, LocationIdentity l… in ZeroMemoryNode() argument
60 this.isAligned = isAligned; in ZeroMemoryNode()
65 …en.getLIRGeneratorTool().emitZeroMemory(gen.operand(getAddress()), gen.operand(length), isAligned); in generate() local
74 …ive void zero(Word address, long length, @ConstantNodeParameter boolean isAligned, @ConstantNodePa… in zero() argument
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements/src/org/graalvm/compiler/replacements/nodes/
H A DZeroMemoryNode.java51 private final boolean isAligned; field in ZeroMemoryNode
53 …public ZeroMemoryNode(ValueNode address, ValueNode length, boolean isAligned, LocationIdentity loc… in ZeroMemoryNode() argument
54 … this(OffsetAddressNode.create(address), length, isAligned, locationIdentity, BarrierType.NONE); in ZeroMemoryNode()
57 …public ZeroMemoryNode(AddressNode address, ValueNode length, boolean isAligned, LocationIdentity l… in ZeroMemoryNode() argument
60 this.isAligned = isAligned; in ZeroMemoryNode()
65 …en.getLIRGeneratorTool().emitZeroMemory(gen.operand(getAddress()), gen.operand(length), isAligned); in generate() local
74 …ive void zero(Word address, long length, @ConstantNodeParameter boolean isAligned, @ConstantNodePa… in zero() argument
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements/src/org/graalvm/compiler/replacements/nodes/
H A DZeroMemoryNode.java51 private final boolean isAligned; field in ZeroMemoryNode
53 …public ZeroMemoryNode(ValueNode address, ValueNode length, boolean isAligned, LocationIdentity loc… in ZeroMemoryNode() argument
54 … this(OffsetAddressNode.create(address), length, isAligned, locationIdentity, BarrierType.NONE); in ZeroMemoryNode()
57 …public ZeroMemoryNode(AddressNode address, ValueNode length, boolean isAligned, LocationIdentity l… in ZeroMemoryNode() argument
60 this.isAligned = isAligned; in ZeroMemoryNode()
65 …en.getLIRGeneratorTool().emitZeroMemory(gen.operand(getAddress()), gen.operand(length), isAligned); in generate() local
74 …ive void zero(Word address, long length, @ConstantNodeParameter boolean isAligned, @ConstantNodePa… in zero() argument
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.lir.aarch64/src/org/graalvm/compiler/lir/aarch64/
H A DAArch64ZeroMemoryOp.java58 private final boolean isAligned; field in AArch64ZeroMemoryOp
72 …public AArch64ZeroMemoryOp(Value address, Value length, boolean isAligned, boolean useDcZva, int z… in AArch64ZeroMemoryOp() argument
80 this.isAligned = isAligned; in AArch64ZeroMemoryOp()
97 if (!isAligned) { in emitCode()
180 if (!isAligned) { in emitCode()
188 if (!isAligned) { in emitCode()
212 if (!isAligned) { in emitCode()
219 if (!isAligned) { in emitCode()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.lir.aarch64/src/org/graalvm/compiler/lir/aarch64/
H A DAArch64ZeroMemoryOp.java58 private final boolean isAligned; field in AArch64ZeroMemoryOp
72 …public AArch64ZeroMemoryOp(Value address, Value length, boolean isAligned, boolean useDcZva, int z… in AArch64ZeroMemoryOp() argument
80 this.isAligned = isAligned; in AArch64ZeroMemoryOp()
97 if (!isAligned) { in emitCode()
180 if (!isAligned) { in emitCode()
188 if (!isAligned) { in emitCode()
212 if (!isAligned) { in emitCode()
219 if (!isAligned) { in emitCode()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.lir.aarch64/src/org/graalvm/compiler/lir/aarch64/
H A DAArch64ZeroMemoryOp.java58 private final boolean isAligned; field in AArch64ZeroMemoryOp
72 …public AArch64ZeroMemoryOp(Value address, Value length, boolean isAligned, boolean useDcZva, int z… in AArch64ZeroMemoryOp() argument
80 this.isAligned = isAligned; in AArch64ZeroMemoryOp()
97 if (!isAligned) { in emitCode()
180 if (!isAligned) { in emitCode()
188 if (!isAligned) { in emitCode()
212 if (!isAligned) { in emitCode()
219 if (!isAligned) { in emitCode()
/dports/graphics/darktable38/darktable-3.8.0/src/external/rawspeed/src/librawspeed/common/
H A DMemory.cpp44 assert(isAligned(alignment, sizeof(void*))); // for posix_memalign in alignedMalloc()
45 assert(isAligned(size, alignment)); // for aligned_alloc in alignedMalloc()
69 assert(isAligned(ptr, alignment)); in alignedMalloc()
/dports/graphics/darktable/darktable-3.6.1/src/external/rawspeed/src/librawspeed/common/
H A DMemory.cpp44 assert(isAligned(alignment, sizeof(void*))); // for posix_memalign in alignedMalloc()
45 assert(isAligned(size, alignment)); // for aligned_alloc in alignedMalloc()
69 assert(isAligned(ptr, alignment)); in alignedMalloc()
/dports/graphics/photoflow/PhotoFlow-8472024f/src/external/rawspeed/src/librawspeed/common/
H A DMemory.cpp47 assert(isAligned(alignment, sizeof(void*))); // for posix_memalign in alignedMalloc()
48 assert(isAligned(size, alignment)); // for aligned_alloc in alignedMalloc()
81 assert(isAligned(ptr, alignment)); in alignedMalloc()
/dports/security/keybase/client-v5.7.1/shared/ios/Pods/Folly/folly/memory/
H A DArena.h91 assert(isAligned(r)); in allocate()
97 assert(isAligned(r)); in allocate()
159 bool isAligned(uintptr_t address) const { in isAligned() function
162 bool isAligned(void* p) const { in isAligned() function
163 return isAligned(reinterpret_cast<uintptr_t>(p)); in isAligned()
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/cudev/include/opencv2/cudev/grid/detail/
H A Dtransform.hpp287 __host__ static bool isAligned(const T* ptr, size_t size) in isAligned() function
292 __host__ static bool isAligned(size_t step, size_t size) in isAligned() function
301 …!isAligned(src.data, Policy::shift * sizeof(SrcType)) || !isAligned(src.step, Policy::shift * size… in call()
302 …!isAligned(dst.data, Policy::shift * sizeof(DstType)) || !isAligned(dst.step, Policy::shift * size… in call()
322 …!isAligned(src1.data, Policy::shift * sizeof(SrcType1)) || !isAligned(src1.step, Policy::shift * s… in call()
323 …!isAligned(src2.data, Policy::shift * sizeof(SrcType2)) || !isAligned(src2.step, Policy::shift * s… in call()
324 …!isAligned(dst.data, Policy::shift * sizeof(DstType)) || !isAligned(dst.step, Policy::shift * s… in call()
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/source/helpers/
H A Daligned_memory.h92 inline constexpr bool isAligned(T val) { in isAligned() function
97 inline bool isAligned(T *ptr) { in isAligned() function
102 inline bool isAligned(T1 ptr, T2 alignment) { in isAligned() function
107 inline bool isAligned(T *ptr) { in isAligned() function
H A Dcache_policy.cpp16 return isAligned<MemoryConstants::cacheLineSize>(ptr) && in isL3Capable()
17 isAligned<MemoryConstants::cacheLineSize>(size); in isL3Capable()
/dports/devel/folly/folly-2021.12.27.00/folly/memory/
H A DArena.h96 assert(isAligned(r)); in allocate()
106 assert(isAligned(r)); in allocate()
112 assert(isAligned(r)); in allocate()
216 bool isAligned(uintptr_t address) const { in isAligned() function
219 bool isAligned(void* p) const { in isAligned() function
220 return isAligned(reinterpret_cast<uintptr_t>(p)); in isAligned()
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/source/helpers/
H A Dcache_policy.cpp16 return isAligned<MemoryConstants::cacheLineSize>(ptr) && in isL3Capable()
17 isAligned<MemoryConstants::cacheLineSize>(size); in isL3Capable()
/dports/graphics/opencv/opencv-4.5.3/modules/core/include/opencv2/core/
H A Dutility.hpp517 bool isAligned(const T& data) in isAligned() function
524 bool isAligned(const void* p1) in isAligned() function
526 return isAligned<N>((size_t)p1); in isAligned()
530 bool isAligned(const void* p1, const void* p2) in isAligned() function
532 return isAligned<N>(((size_t)p1)|((size_t)p2)); in isAligned()
536 bool isAligned(const void* p1, const void* p2, const void* p3) in isAligned() function
538 return isAligned<N>(((size_t)p1)|((size_t)p2)|((size_t)p3)); in isAligned()
542 bool isAligned(const void* p1, const void* p2, const void* p3, const void* p4) in isAligned() function
544 return isAligned<N>(((size_t)p1)|((size_t)p2)|((size_t)p3)|((size_t)p4)); in isAligned()
/dports/graphics/hugin/hugin-2020.0.0/src/hugin1/ptbatcher/
H A DProjectArray.cpp48 isAligned = true; in Project()
61 isAligned = true; in Project()
121 isAligned = false; in ReadOptions()
/dports/lang/spidermonkey60/firefox-60.9.0/js/src/gc/
H A DCell.h97 inline bool isAligned() const;
170 inline bool isAligned() const;
389 bool Cell::isAligned() const { in isAligned() function
391 return asTenured().isAligned(); in isAligned()
394 bool TenuredCell::isAligned() const { in isAligned() function
395 return Arena::isAligned(address(), arena()->getThingSize()); in isAligned()
/dports/graphics/opencv/opencv-4.5.3/modules/core/include/opencv2/core/cuda/detail/
H A Dtransform_detail.hpp345 …if (!isAligned(src.data, ft::smart_shift * sizeof(T)) || !isAligned(src.step, ft::smart_shift * si… in call()
346 …!isAligned(dst.data, ft::smart_shift * sizeof(D)) || !isAligned(dst.step, ft::smart_shift * sizeof… in call()
369 …if (!isAligned(src1.data, ft::smart_shift * sizeof(T1)) || !isAligned(src1.step, ft::smart_shift *… in call()
370 …!isAligned(src2.data, ft::smart_shift * sizeof(T2)) || !isAligned(src2.step, ft::smart_shift * siz… in call()
371 …!isAligned(dst.data, ft::smart_shift * sizeof(D)) || !isAligned(dst.step, ft::smart_shift * sizeof… in call()
/dports/science/plumed/plumed2-2.7.2/src/asmjit/
H A Dutils.cpp168 EXPECT(Utils::isAligned<size_t>(0xFFFF, 4) == false, ""); in UNIT()
169 EXPECT(Utils::isAligned<size_t>(0xFFF4, 4) == true , ""); in UNIT()
170 EXPECT(Utils::isAligned<size_t>(0xFFF8, 8) == true , ""); in UNIT()
171 EXPECT(Utils::isAligned<size_t>(0xFFF0, 16) == true , ""); in UNIT()
/dports/math/stanmath/math-4.2.0/lib/tbb_2020.3/src/tbbmalloc/
H A DMapMemory.h81 if (!isAligned(result, HUGE_PAGE_SIZE)) { in mmapTHP()
97 if (!isAligned(result, HUGE_PAGE_SIZE)) { in mmapTHP()
117 …MALLOC_ASSERT(isAligned(result, HUGE_PAGE_SIZE), "Mapped address is not aligned on huge page size.… in mmapTHP()
/dports/devel/tbb/oneTBB-2020.3/src/tbbmalloc/
H A DMapMemory.h81 if (!isAligned(result, HUGE_PAGE_SIZE)) { in mmapTHP()
97 if (!isAligned(result, HUGE_PAGE_SIZE)) { in mmapTHP()
117 …MALLOC_ASSERT(isAligned(result, HUGE_PAGE_SIZE), "Mapped address is not aligned on huge page size.… in mmapTHP()
/dports/devel/taskflow/taskflow-3.2.0/3rd-party/tbb/src/tbbmalloc/
H A DMapMemory.h81 if (!isAligned(result, HUGE_PAGE_SIZE)) { in mmapTHP()
97 if (!isAligned(result, HUGE_PAGE_SIZE)) { in mmapTHP()
117 …MALLOC_ASSERT(isAligned(result, HUGE_PAGE_SIZE), "Mapped address is not aligned on huge page size.… in mmapTHP()
/dports/devel/onetbb/oneTBB-2021.4.0/src/tbbmalloc/
H A DMapMemory.h72 if (!isAligned(result, HUGE_PAGE_SIZE)) { in mmapTHP()
88 if (!isAligned(result, HUGE_PAGE_SIZE)) { in mmapTHP()
108 …MALLOC_ASSERT(isAligned(result, HUGE_PAGE_SIZE), "Mapped address is not aligned on huge page size.… in mmapTHP()

12345678910>>...41