Home
last modified time | relevance | path

Searched refs:boundary (Results 1 – 25 of 152) sorted by relevance

1234567

/llvm-project-15.0.7/compiler-rt/lib/safestack/
H A Dsafestack_util.h31 inline size_t RoundUpTo(size_t size, size_t boundary) { in RoundUpTo() argument
32 SFS_CHECK((boundary & (boundary - 1)) == 0); in RoundUpTo()
33 return (size + boundary - 1) & ~(boundary - 1); in RoundUpTo()
/llvm-project-15.0.7/compiler-rt/lib/profile/
H A DInstrProfilingUtil.h77 static inline size_t lprofRoundUpTo(size_t x, size_t boundary) { in lprofRoundUpTo() argument
78 return (x + boundary - 1) & ~(boundary - 1); in lprofRoundUpTo()
81 static inline size_t lprofRoundDownTo(size_t x, size_t boundary) { in lprofRoundDownTo() argument
82 return x & ~(boundary - 1); in lprofRoundDownTo()
/llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Posix/
H A Dlarge_allocator_unpoisons_on_free.cpp15 void *my_memalign(size_t boundary, size_t size) { in my_memalign() argument
16 return memalign(boundary, size); in my_memalign()
19 void *my_memalign(size_t boundary, size_t size) { in my_memalign() argument
21 posix_memalign(&p, boundary, size); in my_memalign()
/llvm-project-15.0.7/compiler-rt/lib/memprof/
H A Dmemprof_malloc_linux.cpp86 INTERCEPTOR(void *, memalign, uptr boundary, uptr size) { in INTERCEPTOR() argument
88 return memprof_memalign(boundary, size, &stack, FROM_MALLOC); in INTERCEPTOR()
91 INTERCEPTOR(void *, __libc_memalign, uptr boundary, uptr size) { in INTERCEPTOR() argument
93 void *res = memprof_memalign(boundary, size, &stack, FROM_MALLOC); in INTERCEPTOR()
100 INTERCEPTOR(void *, aligned_alloc, uptr boundary, uptr size) { in INTERCEPTOR() argument
102 return memprof_aligned_alloc(boundary, size, &stack); in INTERCEPTOR()
/llvm-project-15.0.7/flang/runtime/
H A Dtransformational.cpp217 if (boundary) { in RTNAME()
218 boundaryRank = boundary->rank(); in RTNAME()
224 boundary->ElementBytes(), elementLen); in RTNAME()
247 if (!boundary) { in RTNAME()
254 boundary->GetLowerBounds(boundaryAt); in RTNAME()
270 } else if (boundary) { in RTNAME()
277 boundary->IncrementSubscripts(boundaryAt); in RTNAME()
291 if (boundary) { in RTNAME()
297 boundary->ElementBytes(), elementLen); in RTNAME()
300 if (!boundary) { in RTNAME()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/asan/
H A Dasan_malloc_linux.cpp98 INTERCEPTOR(void*, memalign, uptr boundary, uptr size) { in INTERCEPTOR() argument
100 return asan_memalign(boundary, size, &stack, FROM_MALLOC); in INTERCEPTOR()
103 INTERCEPTOR(void*, __libc_memalign, uptr boundary, uptr size) { in INTERCEPTOR() argument
105 void *res = asan_memalign(boundary, size, &stack, FROM_MALLOC); in INTERCEPTOR()
112 INTERCEPTOR(void*, aligned_alloc, uptr boundary, uptr size) { in INTERCEPTOR() argument
114 return asan_aligned_alloc(boundary, size, &stack); in INTERCEPTOR()
/llvm-project-15.0.7/flang/test/Lower/Intrinsics/
H A Deoshift.f9078 subroutine eoshift_test_dynamic_optional(array, shift, boundary) argument
84 integer, optional :: boundary(10) local
85 call next(eoshift(array, shift, boundary))
/llvm-project-15.0.7/llvm/test/MC/X86/
H A Dalign-branch-single.s1 # RUN: llvm-mc -filetype=obj -triple x86_64 --x86-align-branch-boundary=32 --x86-align-branch=jcc %…
2 # RUN: llvm-mc -filetype=obj -triple x86_64 --x86-align-branch-boundary=32 --x86-align-branch=jmp %…
3 # RUN: llvm-mc -filetype=obj -triple x86_64 --x86-align-branch-boundary=32 --x86-align-branch=indir…
4 # RUN: llvm-mc -filetype=obj -triple x86_64 --x86-align-branch-boundary=32 --x86-align-branch=call …
5 # RUN: llvm-mc -filetype=obj -triple x86_64 --x86-align-branch-boundary=32 --x86-align-branch=ret %…
H A Dalign-branch-bundle.s1 # RUN: llvm-mc -filetype=obj -triple x86_64-unknown-unknown --x86-align-branch-boundary=16 --x86-al…
3 # Check using option --x86-align-branch-boundary=16 --x86-align-branch=fused+jcc --mc-relax-all wit…
H A Dalign-branch-variant-symbol.s1 # RUN: llvm-mc -filetype=obj -triple x86_64 --x86-align-branch-boundary=32 --x86-align-branch=call+…
3 # RUN: llvm-mc -filetype=obj -triple i386 --x86-align-branch-boundary=32 --x86-align-branch=call+in…
H A Dalign-branch-align.s1 # RUN: llvm-mc -filetype=obj -triple x86_64 --x86-align-branch-boundary=32 --x86-align-branch=fused…
19 # Check we can ensure this call not cross or end at boundary when there
H A Dalign-branch-necessary.s1 # RUN: llvm-mc -filetype=obj -triple x86_64 --x86-align-branch-boundary=32 --x86-align-branch=fused…
3 # Check if no instruction crosses or is against the boundary,
H A Dalign-branch-general.s1 # RUN: llvm-mc -filetype=obj -triple x86_64 --x86-align-branch-boundary=32 --x86-align-branch=fused…
6 # to the fined options --x86-align-branch-boundary=32 --x86-align-branch=fused+jcc+jmp.
H A Dalign-branch-relax-all.s1 # RUN: llvm-mc -filetype=obj -triple x86_64 --x86-align-branch-boundary=32 --x86-align-branch=fused…
2 # RUN: llvm-mc -filetype=obj -triple x86_64 --x86-align-branch-boundary=32 --x86-align-branch=fused…
/llvm-project-15.0.7/llvm/test/CodeGen/Hexagon/
H A Dv60-vsel1.ll8 … readnone %img, i32 %xsize, i32 %stride, i32 %barrier, i32* nocapture %bitmask, i32 %boundary) #0 {
11 %1 = mul i32 %boundary, -2
13 %rem = and i32 %boundary, 63
26 %6 = tail call <64 x i1> @llvm.hexagon.V6.pred.scalar2(i32 %boundary)
/llvm-project-15.0.7/flang/include/flang/Runtime/
H A Dtransformational.h41 const Descriptor &shift, const Descriptor *boundary = nullptr, int dim = 1,
44 std::int64_t shift, const Descriptor *boundary = nullptr,
/llvm-project-15.0.7/llvm/test/MC/X86/AlignedBundling/
H A Dpad-align-to-bundle-end.s28 # Here we have to pad until the end of the *next* boundary because
29 # otherwise the group crosses a boundary.
/llvm-project-15.0.7/mlir/test/Dialect/SparseTensor/
H A Dsparse_vector_peeled.mlir32 // CHECK: %[[boundary:.*]] = affine.apply #[[$map0]]()[%[[q]], %[[s]]]
33 // CHECK: scf.for %[[i:.*]] = %[[q]] to %[[boundary]] step %[[c16]] {
42 // CHECK: scf.for %[[i2:.*]] = %[[boundary]] to %[[s]] step %[[c16]] {
/llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/ELF/Inputs/
H A Dihex-elf-sections.yaml17 # This section overlap 16-bit segment boundary, so we expect
34 # The last section not only overlaps segment boundary, but
/llvm-project-15.0.7/mlir/test/Integration/Dialect/Linalg/CPU/
H A Dtest-tensor-e2e.mlir21 // know that things will play nicely at the C ABI boundary).
35 // know that things will play nicely at the C ABI boundary).
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dalign-branch-boundary-noautopadding.ll1 ; RUN: llc -verify-machineinstrs -O3 -mcpu=skylake -x86-align-branch-boundary=32 -x86-align-branch=…
3 ;; This file is a companion to align-branch-boundary-suppressions.ll.
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Dupdate-lds-alignment.ll10 ; All are under-aligned, requires to fix each on different alignment boundary.
13 ; All LDS are underaligned, requires to allocate on 8 byte boundary
16 ; All LDS are underaligned, requires to allocate on 16 byte boundary
19 ; All LDS are properly aligned on 16 byte boundary, but they are of different size.
92 ; All are under-aligned, requires to fix each on different alignment boundary.
118 ; All LDS are underaligned, requires to allocate on 8 byte boundary
144 ; All LDS are underaligned, requires to allocate on 16 byte boundary
/llvm-project-15.0.7/llvm/test/FileCheck/dump-input/
H A Dcontext.txt181 ; 0 is an important boundary case.
187 ; 1 is an important boundary case.
193 ; 4 is the boundary case at which all ellipses are present in our test.
199 ; 5 is the boundary case at which the start ellipsis is useless.
205 ; 6 is the boundary case at which the middle ellipsis is useless.
211 ; 7 is the boundary case at which the end ellipsis is useless.
/llvm-project-15.0.7/mlir/test/Dialect/Bufferization/Transforms/
H A Done-shot-module-bufferize-out-params.mlir1 …t-bufferize="bufferize-function-boundaries allow-return-allocs function-boundary-type-conversion=f…
2 …t-bufferize="bufferize-function-boundaries allow-return-allocs function-boundary-type-conversion=i…
3 …t-bufferize="bufferize-function-boundaries allow-return-allocs function-boundary-type-conversion=i…
5 // Note: function-boundary-type-conversion=infer-layout-map with
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Daix-prefixed-instruction-boundary.mir6 name: aix-prefixed-instruction-boundary
46 # DIS: 00000000 <.aix-prefixed-instruction-boundary>:

1234567