Home
last modified time | relevance | path

Searched refs:needed (Results 1 – 25 of 892) sorted by relevance

12345678910>>...36

/llvm-project/llvm/test/Linker/
H A Donly-needed-named-metadata.ll1 ; Without -only-needed we should lazy link linkonce globals, and the
3 ; RUN: llvm-link -S %S/Inputs/only-needed-named-metadata.ll %S/only-needed-named-metadata.ll | File…
7 ; With -only-needed the metadata references should not cause any of the
11 ; Note that doing -only-needed with the comdat shown below leads to a only
13 ; RUN: llvm-link -S -only-needed %S/Inputs/only-needed-named-metadata.ll %S/only-needed-named-metad…
14 ; RUN: llvm-link -S -internalize -only-needed %S/Inputs/only-needed-named-metadata.ll %S/only-neede…
H A Donly-needed-used.ll1 ; RUN: llvm-link -S %s %p/Inputs/only-needed-used.ll | FileCheck %s
2 ; RUN: llvm-link -S -internalize %s %p/Inputs/only-needed-used.ll | FileCheck %s
3 ; RUN: llvm-link -S -only-needed %s %p/Inputs/only-needed-used.ll | FileCheck %s
4 ; RUN: llvm-link -S -only-needed -internalize %s %p/Inputs/only-needed-used.ll | FileCheck %s
H A Donly-needed-compiler-used.ll1 ; RUN: llvm-link -S %s %p/Inputs/only-needed-compiler-used.ll | FileCheck…
2 ; RUN: llvm-link -S -internalize %s %p/Inputs/only-needed-compiler-used.ll | FileCheck…
3 ; RUN: llvm-link -S -only-needed %s %p/Inputs/only-needed-compiler-used.ll | FileCheck…
4 ; RUN: llvm-link -S -only-needed -internalize %s %p/Inputs/only-needed-compiler-used.ll | FileCheck…
H A Donly-needed-dtors1.ll1 ; RUN: llvm-link -S %s %p/Inputs/only-needed-dtors.ll | FileCheck %s --ch…
2 ; RUN: llvm-link -S -internalize %s %p/Inputs/only-needed-dtors.ll | FileCheck %s --ch…
3 ; RUN: llvm-link -S -only-needed %s %p/Inputs/only-needed-dtors.ll | FileCheck %s --ch…
4 ; RUN: llvm-link -S -only-needed -internalize %s %p/Inputs/only-needed-dtors.ll | FileCheck %s --ch…
H A Donly-needed-ctors1.ll1 ; RUN: llvm-link -S %s %p/Inputs/only-needed-ctors.ll | FileCheck %s --ch…
2 ; RUN: llvm-link -S -internalize %s %p/Inputs/only-needed-ctors.ll | FileCheck %s --ch…
3 ; RUN: llvm-link -S -only-needed %s %p/Inputs/only-needed-ctors.ll | FileCheck %s --ch…
4 ; RUN: llvm-link -S -only-needed -internalize %s %p/Inputs/only-needed-ctors.ll | FileCheck %s --ch…
H A Donly-needed-dtors2.ll1 ; RUN: llvm-link -S %s %p/Inputs/only-needed-dtors.ll | FileCheck %s --ch…
2 ; RUN: llvm-link -S -internalize %s %p/Inputs/only-needed-dtors.ll | FileCheck %s --ch…
3 ; RUN: llvm-link -S -only-needed %s %p/Inputs/only-needed-dtors.ll | FileCheck %s --ch…
4 ; RUN: llvm-link -S -only-needed -internalize %s %p/Inputs/only-needed-dtors.ll | FileCheck %s --ch…
H A Donly-needed-ctors2.ll1 ; RUN: llvm-link -S %s %p/Inputs/only-needed-ctors.ll | FileCheck %s --ch…
2 ; RUN: llvm-link -S -internalize %s %p/Inputs/only-needed-ctors.ll | FileCheck %s --ch…
3 ; RUN: llvm-link -S -only-needed %s %p/Inputs/only-needed-ctors.ll | FileCheck %s --ch…
4 ; RUN: llvm-link -S -only-needed -internalize %s %p/Inputs/only-needed-ctors.ll | FileCheck %s --ch…
H A Donly-needed-debug-metadata.ll2 ; RUN: llvm-as %p/Inputs/only-needed-debug-metadata.ll -o %t2.bc
4 ; Without -only-needed, we need to link in both DISubprogram.
9 ; With -only-needed, we only need to link in foo's DISubprogram.
10 ; RUN: llvm-link -S -only-needed %t2.bc %t.bc | FileCheck %s -check-prefix=ONLYNEEDED
14 source_filename = "test/Linker/only-needed-debug-metadata.ll"
H A Donly-needed-recurse.ll1 ; RUN: llvm-link -S -only-needed %s %p/Inputs/only-needed-recurse.ll | FileCheck %s
/llvm-project/openmp/runtime/test/affinity/format/
H A Dapi2.c29 size_t needed, length; in main() local
36 needed = omp_get_affinity_format(buf, BUFFER_SIZE); in main()
38 check(needed == length) in main()
49 size_t needed, needed2; in main() local
54 needed = omp_capture_affinity(my_buf, 512, NULL); in main()
57 check(needed == needed2); in main()
63 needed = omp_capture_affinity(my_buf, 512, second_format); in main()
66 check(needed == needed2); in main()
H A Dapi.c25 size_t needed; in main() local
29 needed = omp_get_affinity_format(buf, BUFFER_SIZE); in main()
31 check(needed == 10) in main()
40 size_t needed = omp_capture_affinity(my_buf, 512, NULL); in main() local
42 check(needed == 10); in main()
H A Dfields_values.c40 size_t needed = omp_capture_affinity(buf, BUFFER_SIZE, NULL); in get_integer() local
41 check(needed < BUFFER_SIZE); in get_integer()
50 size_t needed = omp_capture_affinity(buf, BUFFER_SIZE, NULL); in get_string() local
51 check(needed < BUFFER_SIZE); in get_string()
H A Dfields_modifiers.c26 size_t needed = omp_capture_affinity(buf, BUFFER_SIZE, NULL); in get_string() local
28 check(needed < BUFFER_SIZE); in get_string()
30 check(needed == check_needed); in get_string()
/llvm-project/llvm/test/tools/llvm-readobj/XCOFF/
H A Dneeded-libs.test1 ## In this test we check the --needed-libs option.
3 # RUN: llvm-readobj --needed-libs %p/Inputs/needed-libs-32.o \
4 # RUN: %p/Inputs/needed-libs-64.o %p/Inputs/needed-libs-empty.o |\
/llvm-project/clang/test/Modules/
H A Dpr93497.cppm51 extern "C" __attribute__((noinline)) inline int needed() {
70 return needed();
77 return needed();
84 return needed();
98 // CHECK: @needed(
102 // CHECK: @needed(
106 // CHECK: @needed(
/llvm-project/third-party/benchmark/src/
H A Dre.h123 size_t needed = regerror(ec, &re_, nullptr, 0); in Init() local
124 char* errbuf = new char[needed]; in Init()
125 regerror(ec, &re_, errbuf, needed); in Init()
129 BM_CHECK_NE(needed, 0); in Init()
130 error->assign(errbuf, needed - 1); in Init()
/llvm-project/lld/test/ELF/
H A Das-needed-in-regular.s8 # RUN: ld.lld %t.o --as-needed %ta.so -o %t
10 # RUN: ld.lld %t.o --as-needed %ta.so --gc-sections -o %t
15 # RUN: ld.lld --as-needed %ta.so %t.o -o %t
17 # RUN: ld.lld --as-needed %ta.so %t.o --gc-sections -o %t
H A Dppc64-pcrel-call-to-pcrel.s62 ## nop is not needed after bl for R_PPC64_REL24_NOTOC
84 ## nop is not needed after bl for R_PPC64_REL24_NOTOC
89 ## nop is not needed after bl for R_PPC64_REL24_NOTOC
114 ## nop is not needed after bl for R_PPC64_REL24_NOTOC
121 ## nop is not needed after bl for R_PPC64_REL24_NOTOC
/llvm-project/llvm/docs/CommandGuide/
H A Dllvm-config.rst15 print the compiler flags, linker flags and object libraries needed to link
50 Print the C compiler flags needed to use LLVM headers.
62 Print the C preprocessor flags needed to use LLVM headers.
66 Print the C++ compiler flags needed to use LLVM headers.
90 Print the flags needed to link against LLVM libraries.
110 Print all the libraries needed to link against the specified LLVM
135 Print all the system libraries needed to link against the specified LLVM
/llvm-project/llvm/test/tools/llvm-readobj/ELF/
H A Dneeded-libs.test1 ## In this test we check the --needed-libs option.
4 # RUN: llvm-readobj --needed-libs %t1 2>&1 \
6 # RUN: llvm-readelf --needed-libs %t1 2>&1 \
8 # RUN: llvm-readobj --elf-output-style=JSON --needed-libs --pretty-print %t1 2>&1 \
72 # RUN: llvm-readobj --needed-libs %t2 2>&1 | \
74 # RUN: llvm-readelf --needed-libs %t2 2>&1 | \
/llvm-project/llvm/test/tools/llvm-ifs/
H A Dstrip-needed.test1 ## Test --strip-needed flag
3 # RUN: llvm-ifs --input-format=IFS --strip-needed --output-ifs=- %s | FileCheck %s
8 # RUN: llvm-ifs --input-format=IFS --strip-needed --output-elf=- %s | \
/llvm-project/lldb/test/Shell/Breakpoint/
H A Dsingle-file-split-dwarf.test31 …umb/LLVM/build/bin/../lib -L/lib -L/usr/lib test.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -l…
32 # --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/7.3.0/crtend.o
/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_symbolizer_libbacktrace.cpp50 uptr needed = data->size + l + 1; in CplusV3DemangleCallback() local
51 if (needed > data->allocated) { in CplusV3DemangleCallback()
53 if (needed > data->allocated) in CplusV3DemangleCallback()
54 data->allocated = needed; in CplusV3DemangleCallback()
/llvm-project/llvm/test/tools/llvm-readobj/COFF/
H A Dneeded-libs.test1 RUN: llvm-readobj --needed-libs %p/Inputs/needed-libs.obj.coff-am64 | FileCheck %s
/llvm-project/openmp/runtime/src/
H A Dompt-general.cpp194 DWORD needed, new_size; in ompt_tool_windows()
204 &needed)) { in ompt_tool_windows()
210 new_size = needed / sizeof(HMODULE); in ompt_tool_windows()
213 printf("ompt_tool_windows(): resize buffer to %d bytes\n", needed); in ompt_tool_windows()
215 modules = (HMODULE *)realloc(modules, needed); in ompt_tool_windows()
217 if (!EnumProcessModules(process, modules, needed, &needed)) { in ompt_tool_windows()
191 DWORD needed, new_size; ompt_tool_windows() local

12345678910>>...36