Home
last modified time | relevance | path

Searched refs:LTO (Results 1 – 25 of 265) sorted by relevance

1234567891011

/llvm-project-15.0.7/clang/docs/
H A DLTOVisibility.rst2 LTO Visibility
5 *LTO visibility* is a property of an entity that specifies whether it can be
10 linkage unit's LTO unit is empty. Each linkage unit has only a single LTO unit.
27 In translation units built with LTO, LTO visibility is based on the
38 During the LTO link, all classes with public LTO visibility but not marked with
54 two cases where it may wrongly infer hidden LTO visibility.
57 combination of LTO object files and non-LTO object files, any hidden
59 a translation unit built without LTO must be defined with public LTO
113 definition outside the LTO unit has public LTO visibility, so the definition
114 inside the LTO unit must also have public LTO visibility in order to avoid
[all …]
/llvm-project-15.0.7/llvm/test/tools/dsymutil/
H A Dbasic-linking.test73 CHECK-LTO-NEXT: TAG_compile_unit
74 CHECK-LTO-NOT: TAG
75 CHECK-LTO: AT_name {{.*}}basic1.c
77 CHECK-LTO-NEXT: TAG_compile_unit
78 CHECK-LTO-NOT: TAG
79 CHECK-LTO: AT_name {{.*}}basic2.c
81 CHECK-LTO-NEXT: TAG_compile_unit
82 CHECK-LTO-NOT: TAG
93 CHECK-LTO-NEXT: DW_TAG_variable
98 CHECK-LTO-NEXT: DW_TAG_variable
[all …]
H A Ddebug-map-parsing.test30 CHECK-LTO-NOT: error
31 CHECK-LTO: ---
32 CHECK-LTO: triple: 'x86_64-apple-darwin'
33 CHECK-LTO: binary-path:{{.*}}/Inputs/basic-lto.macho.x86_64
34 CHECK-LTO: /Inputs/basic-lto.macho.x86_64.o
35 CHECK-LTO-DAG: sym: _bar, objAddr: 0x50, binAddr: 0x100000F90, size: 0x24
36 CHECK-LTO-DAG: sym: _baz, objAddr: 0x658, binAddr: 0x100001000, size: 0x0
37 CHECK-LTO-DAG: sym: _foo, objAddr: 0x10, binAddr: 0x100000F50, size: 0x40
38 CHECK-LTO-DAG: sym: _main, objAddr: 0x0, binAddr: 0x100000F40, size: 0x10
40 CHECK-LTO-DAG: sym: _val, objAddr: 0x8EC, binAddr: 0x100001004, size: 0x0
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-nm/X86/
H A DIRobj.test3 # CHECK: ---------------- (LTO,RODATA) external _global_const
4 # CHECK: ---------------- (LTO,DATA) external _global_data
5 # CHECK: ---------------- (LTO,CODE) external _global_func
6 # CHECK: ---------------- (LTO,RODATA) private external _hidden_const
7 # CHECK: ---------------- (LTO,DATA) private external _hidden_data
8 # CHECK: ---------------- (LTO,CODE) private external _hidden_func
9 # CHECK: ---------------- (LTO,RODATA) non-external _static_const
10 # CHECK: ---------------- (LTO,DATA) non-external _static_data
11 # CHECK: ---------------- (LTO,CODE) non-external _static_func
/llvm-project-15.0.7/lld/test/MachO/
H A Dlto-internalize-unnamed-addr.ll12 ; RUN: llvm-nm -m %t/test | FileCheck %s --check-prefix=LTO
30 ; LTO-BC-DAG: @global_unnamed = internal unnamed_addr global i8 42
32 ; LTO-BC-DAG: @local_unnamed_const = internal constant i8 42
33 ; LTO-BC-DAG: @local_unnamed = internal global i8 42
38 ; LTO-BC-DYLIB-DAG: @local_unnamed_const = internal constant i8 42
39 ; LTO-BC-DYLIB-DAG: @local_unnamed = weak_odr global i8 42
55 ; LTO-DAG: (__DATA,__data) non-external _global_unnamed
57 ; LTO-DAG: (__DATA,__data) non-external _local_unnamed
61 ; LTO-DAG: (__TEXT,__const) non-external _local_unnamed_const
69 ; LTO-DYLIB-DAG: (__DATA,__data) non-external _global_unnamed
[all …]
/llvm-project-15.0.7/lld/test/COFF/
H A Ddll.test31 # RUN: llvm-objdump -p %t.lto.dll | FileCheck --check-prefix=EXPORT-LTO %s
33 EXPORT-LTO: Export Table:
34 EXPORT-LTO: DLL name: dll.test.tmp.lto.dll
35 EXPORT-LTO: Ordinal RVA Name
36 EXPORT-LTO-NEXT: 0 0
37 EXPORT-LTO-NEXT: 1 0x1010 exportfn1
38 EXPORT-LTO-NEXT: 2 0x1020 exportfn2
39 EXPORT-LTO-NEXT: 3 0x1030 exportfn3
H A Dlto-comdat.ll14 ; Check that, when we use an LTO main with LTO objects, we optimize away all
23 ; Check that, when we use a non-LTO main with LTO objects, we pick the comdat
24 ; implementation in LTO, elide calls to it from inside LTO, and retain the
33 ; Check that, when we use an LTO main with non-LTO objects, we pick the comdat
34 ; implementation in LTO, elide the call to it from inside LTO, and keep the
35 ; calls to comdat from the non-LTO objects.
H A Dwrap-lto-2.ll3 ;; LTO
23 ;; the wrapped symbol, when LTO or ThinLTO is involved. It checks for various
26 ;; LTO + LTO
30 ;; LTO + Object
34 ;; Object + LTO
/llvm-project-15.0.7/llvm/test/LTO/X86/
H A Dtli-nobuiltin.ll6 ; RUN: llvm-nm %t.o | FileCheck %s --check-prefix=LTO
7 ; LTO: fwrite
11 ; RUN: llvm-nm %t.o | FileCheck %s --check-prefix=LTO-FREESTANDING
12 ; LTO-FREESTANDING: fprintf
17 ; RUN: llvm-nm %t1.o.0 | FileCheck %s --check-prefix=LTO
20 ; RUN: llvm-nm %t2.o.0 | FileCheck %s --check-prefix=LTO-FREESTANDING
25 ; RUN: llvm-nm %t1.o.0 | FileCheck %s --check-prefix=LTO
28 ; RUN: llvm-nm %t2.o.0 | FileCheck %s --check-prefix=LTO-FREESTANDING
H A Dstrip-debug-info.ll2 ; ---- Full LTO ---------------------------------------------
8 ; ---- Thin LTO (codegen only) ------------------------------
12 ; ---- Thin LTO (optimize, strip main file) -----------------
19 ; ---- Thin LTO (optimize, strip imported file) -------------
H A Dtriple-init.ll1 ; Test to ensure that the LTO pipelines add pass to build the TargetLibraryInfo
4 ; Check with regular LTO
20 ; We check that LTO will be aware of target triple and apply pow to __exp10 transformation.
H A Dlibcall-overridden-via-alias.ll3 ; library routine is provided indirectly via an alias, verify that LTO
10 ; Check that the call is represented as an llvm intrinsic in the IR after LTO:
15 ; in the IR after LTO:
20 ; Check that the assembly code from LTO contains the call to the expected
/llvm-project-15.0.7/llvm/test/Transforms/Internalize/
H A Dvcall-visibility.ll8 ; or after LTO.
12 ; Class B has hidden visibility but public LTO visibility, so has no
13 ; !vcall_visibility metadata before or after LTO.
18 ; (linkage unit) before LTO, and 2 (translation unit) after LTO.
22 ; Class D has translation unit visibility before LTO, and this is not changed
23 ; by LTO.
/llvm-project-15.0.7/llvm/tools/lto/
H A DCMakeLists.txt10 LTO
29 set(LTO_LIBRARY_NAME LTO)
37 COMPONENT LTO)
44 set_property(TARGET LTO APPEND_STRING PROPERTY
/llvm-project-15.0.7/llvm/test/Other/
H A Dnew-pm-O0-defaults.ll30 ; RUN: | FileCheck %s --check-prefixes=CHECK,CHECK-LTO
48 ; CHECK-LTO: Running pass: Annotation2MetadataPass
49 ; CHECK-LTO-NEXT: Running pass: CrossDSOCFIPass on [module]
50 ; CHECK-LTO-NEXT: Running pass: WholeProgramDevirtPass
51 ; CHECK-LTO-NEXT: Running analysis: InnerAnalysisManagerProxy
52 ; CHECK-LTO-NEXT: Running pass: LowerTypeTestsPass
53 ; CHECK-LTO-NEXT: Running pass: LowerTypeTestsPass
56 ; CHECK-LTO-NEXT: Running pass: AnnotationRemarksPass
57 ; CHECK-LTO-NEXT: Running analysis: TargetLibraryAnalysis
H A Dopt-hot-cold-split.ll2 …re-link<Os>' -debug-pass-manager < %s -o /dev/null 2>&1 | FileCheck %s -check-prefix=LTO-PRELINK-Os
4 …s='lto<Os>' -debug-pass-manager < %s -o /dev/null 2>&1 | FileCheck %s -check-prefix=LTO-POSTLINK-Os
13 ; LTO-PRELINK-Os-NOT: pass: HotColdSplittingPass
17 ; LTO-POSTLINK-Os: HotColdSplitting
/llvm-project-15.0.7/llvm/test/LTO/Resolution/X86/
H A Ddiagnostic-handler-remarks.ll1 ; Test of LTO with opt remarks YAML output.
3 ; First try with Regular LTO
23 ; Check that remarks are annotated with LTO phase information with `-annotate-inline-phase`.
24 ; First try with Regular LTO
33 ; RUN: cat %t.yaml | FileCheck %s -check-prefixes=YAML,YAML-POSTLINK-LTO
44 ; RUN: cat %t.thin.1.yaml | FileCheck %s -check-prefixes=YAML,YAML-POSTLINK-LTO
48 ; YAML-POSTLINK-LTO-NEXT: Pass: postlink-cgscc-inline
H A Dmixed_lto.ll1 ; Test mixed-mode LTO (mix of regular and thin LTO objects)
7 ; Task 0 is the regular LTO file (this file)
16 ; Do the same test again, but with the regular and thin LTO modules in the same file.
/llvm-project-15.0.7/lld/test/wasm/lto/
H A Dweak-undefined.ll5 ; Test that undefined weak external functions are handled in the LTO case
7 ; that are in bitcode (pre-LTO) don't have signatures assigned.
16 ; The reference to bar here will exist in the LTO file, but the LTO process will
/llvm-project-15.0.7/compiler-rt/test/safestack/
H A DCMakeLists.txt8 # Some tests require LTO, so add a dependency on the relevant LTO plugin.
17 LTO
/llvm-project-15.0.7/clang/cmake/caches/
H A DDistributionExample.cmake10 # Optimize the stage1 compiler, but don't LTO it because that wastes time.
16 # Setting up the stage2 LTO option needs to be done on the stage1 build so that
17 # the proper LTO library dependencies can be connected.
21 # Since LLVM_ENABLE_LTO is ON we need a LTO capable linker
/llvm-project-15.0.7/lld/test/ELF/lto/
H A Dnon-ascii-filenames.ll3 ;; Show that both regular LTO and ThinLTO work correctly when an input file uses
6 ;; Regular LTO.
11 ;; Thin LTO.
/llvm-project-15.0.7/openmp/libomptarget/
H A DCMakeLists.txt43 set (LIBOMPTARGET_ALL_TARGETS "${LIBOMPTARGET_ALL_TARGETS} aarch64-unknown-linux-gnu-LTO")
46 set (LIBOMPTARGET_ALL_TARGETS "${LIBOMPTARGET_ALL_TARGETS} amdgcn-amd-amdhsa-LTO")
49 set (LIBOMPTARGET_ALL_TARGETS "${LIBOMPTARGET_ALL_TARGETS} powerpc64le-ibm-linux-gnu-LTO")
52 set (LIBOMPTARGET_ALL_TARGETS "${LIBOMPTARGET_ALL_TARGETS} powerpc64-ibm-linux-gnu-LTO")
55 set (LIBOMPTARGET_ALL_TARGETS "${LIBOMPTARGET_ALL_TARGETS} x86_64-pc-linux-gnu-LTO")
58 set (LIBOMPTARGET_ALL_TARGETS "${LIBOMPTARGET_ALL_TARGETS} nvptx64-nvidia-cuda-LTO")
/llvm-project-15.0.7/llvm/test/ThinLTO/X86/
H A Dtli-nobuiltin.ll6 ; RUN: llvm-nm %t.o | FileCheck %s --check-prefix=LTO
7 ; LTO: fwrite
11 ; RUN: llvm-nm %t.o | FileCheck %s --check-prefix=LTO-FREESTANDING
12 ; LTO-FREESTANDING: fprintf
/llvm-project-15.0.7/llvm/include/llvm/LTO/
H A DLTO.h99 class LTO; variable
111 friend LTO;
134 friend LTO; variable
247 class LTO {
256 LTO(Config Conf, ThinBackend Backend = nullptr,
258 ~LTO();

1234567891011