/external/clang/docs/ |
D | LTOVisibility.rst | 2 LTO Visibility 5 *LTO visibility* is a property of an entity that specifies whether it can be 6 referenced from outside the current LTO unit. A *linkage unit* is a set of 8 unit's *LTO unit* is the subset of the linkage unit that is linked together 9 using link-time optimization; in the case where LTO is not being used, the 10 linkage unit's LTO unit is empty. Each linkage unit has only a single LTO unit. 12 The LTO visibility of a class is used by the compiler to determine which 19 ODR violation to define a class with hidden LTO visibility in multiple linkage 20 units. A class with public LTO visibility may be defined in multiple linkage 22 control flow integrity features can only be applied to classes with hidden LTO [all …]
|
/external/llvm/test/tools/dsymutil/ |
D | basic-linking.test | 2 …t -verbose -oso-prepend-path=%p %p/Inputs/basic-lto.macho.x86_64 | FileCheck %s --check-prefix=CHE… 4 …64 %p/Inputs/basic-lto.macho.x86_64 %p/Inputs/basic-archive.macho.x86_64 | FileCheck %s --check-pr… 60 ================================= LTO link ================================ 61 CHECK-LTO: DEBUG MAP OBJECT: {{.*}}basic-lto.macho.x86_64.o 62 CHECK-LTO: Input compilation unit: 63 CHECK-LTO-NEXT: TAG_compile_unit 64 CHECK-LTO-NOT: TAG 65 CHECK-LTO: AT_name {{.*}}basic1.c 66 CHECK-LTO: Input compilation unit: 67 CHECK-LTO-NEXT: TAG_compile_unit [all …]
|
D | debug-map-parsing.test | 2 …-debug-map -oso-prepend-path=%p %p/Inputs/basic-lto.macho.x86_64 | FileCheck %s --check-prefix=CHE… 28 Check that we can parse the debug-map of the basic-lto executable 30 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: 0x0000000000000050, binAddr: 0x0000000100000F90, size: 0x000000… 36 CHECK-LTO-DAG: sym: _baz, objAddr: 0x0000000000000658, binAddr: 0x0000000100001000, size: 0x000000… 37 CHECK-LTO-DAG: sym: _foo, objAddr: 0x0000000000000010, binAddr: 0x0000000100000F50, size: 0x000000… [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/dsymutil/ |
D | basic-linking.test | 2 …t -verbose -oso-prepend-path=%p %p/Inputs/basic-lto.macho.x86_64 | FileCheck %s --check-prefix=CHE… 4 …64 %p/Inputs/basic-lto.macho.x86_64 %p/Inputs/basic-archive.macho.x86_64 | FileCheck %s --check-pr… 62 ================================= LTO link ================================ 63 CHECK-LTO: DEBUG MAP OBJECT: {{.*}}basic-lto.macho.x86_64.o 64 CHECK-LTO: Input compilation unit: 65 CHECK-LTO-NEXT: TAG_compile_unit 66 CHECK-LTO-NOT: TAG 67 CHECK-LTO: AT_name {{.*}}basic1.c 68 CHECK-LTO: Input compilation unit: 69 CHECK-LTO-NEXT: TAG_compile_unit [all …]
|
D | debug-map-parsing.test | 2 …-debug-map -oso-prepend-path=%p %p/Inputs/basic-lto.macho.x86_64 | FileCheck %s --check-prefix=CHE… 28 Check that we can parse the debug-map of the basic-lto executable 30 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: 0x0000000000000050, binAddr: 0x0000000100000F90, size: 0x000000… 36 CHECK-LTO-DAG: sym: _baz, objAddr: 0x0000000000000658, binAddr: 0x0000000100001000, size: 0x000000… 37 CHECK-LTO-DAG: sym: _foo, objAddr: 0x0000000000000010, binAddr: 0x0000000100000F50, size: 0x000000… [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/dsymutil/X86/ |
D | multiple-inputs.test | 6 RUN: cat %p/../Inputs/basic-lto.macho.x86_64 > %t/basic-lto.macho.x86_64 7 RUN: cat %p/../Inputs/basic-lto-dw4.macho.x86_64 > %t/basic-lto-dw4.macho.x86_64 10 … %t/basic.macho.x86_64 %t/basic-archive.macho.x86_64 %t/basic-lto.macho.x86_64 %t/basic-lto-dw4.ma… 15 RUN: llvm-dwarfdump -a %t/basic-lto.macho.x86_64.dwarf | FileCheck %S/basic-lto-linking-x86.test 16 RUN: llvm-dwarfdump -a %t/basic-lto-dw4.macho.x86_64.dwarf | FileCheck %S/basic-lto-dw4-linking-x86… 19 … %t/basic.macho.x86_64 %t/basic-archive.macho.x86_64 %t/basic-lto.macho.x86_64 %t/basic-lto-dw4.ma… 24 …lvm-dwarfdump -a %t.dSYM/Contents/Resources/DWARF/basic-lto.macho.x86_64 | FileCheck %S/basic-lto-… 25 …m-dwarfdump -a %t.dSYM/Contents/Resources/DWARF/basic-lto-dw4.macho.x86_64 | FileCheck %S/basic-lt… 28 … %t/basic.macho.x86_64 %t/basic-archive.macho.x86_64 %t/basic-lto.macho.x86_64 %t/basic-lto-dw4.ma…
|
/external/llvm/test/tools/dsymutil/X86/ |
D | multiple-inputs.test | 6 RUN: cat %p/../Inputs/basic-lto.macho.x86_64 > %T/multiple-inputs/basic-lto.macho.x86_64 7 RUN: cat %p/../Inputs/basic-lto-dw4.macho.x86_64 > %T/multiple-inputs/basic-lto-dw4.macho.x86_64 10 …s/basic-archive.macho.x86_64 %T/multiple-inputs/basic-lto.macho.x86_64 %T/multiple-inputs/basic-lt… 15 RUN: llvm-dwarfdump %T/multiple-inputs/basic-lto.macho.x86_64.dwarf | FileCheck %S/basic-lto-linkin… 16 RUN: llvm-dwarfdump %T/multiple-inputs/basic-lto-dw4.macho.x86_64.dwarf | FileCheck %S/basic-lto-dw… 19 …s/basic-archive.macho.x86_64 %T/multiple-inputs/basic-lto.macho.x86_64 %T/multiple-inputs/basic-lt… 24 …: llvm-dwarfdump %t.dSYM/Contents/Resources/DWARF/basic-lto.macho.x86_64 | FileCheck %S/basic-lto-… 25 …llvm-dwarfdump %t.dSYM/Contents/Resources/DWARF/basic-lto-dw4.macho.x86_64 | FileCheck %S/basic-lt… 28 …s/basic-archive.macho.x86_64 %T/multiple-inputs/basic-lto.macho.x86_64 %T/multiple-inputs/basic-lt…
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/LTO/ |
D | LTO.h | 1 //===-LTO.h - LLVM Link Time Optimizer ------------------------------------===// 10 // This file declares functions and classes used to support LTO. It is intended 11 // to be used both by LTO classes as well as by clients (gold-plugin) that 12 // don't utilize the LTO code generator interfaces. 24 #include "llvm/LTO/Config.h" 63 namespace lto { 77 class LTO; variable 82 /// information that an LTO client should need in order to do symbol resolution. 88 // FIXME: Remove LTO class friendship once we have bitcode symbol tables. 89 friend LTO; [all …]
|
D | Config.h | 10 // This file defines the lto::Config data structure, which allows clients to 11 // configure LTO. 32 namespace lto { 34 /// LTO configuration. A linker can configure LTO by setting fields in this data 35 /// structure and passing it to the lto::LTO constructor. 38 // computeCacheKey in LTO.cpp. 99 /// If this field is set, LTO will write input file paths and symbol 101 /// used for testing and for running the LTO pipeline outside of the linker 110 /// (non-parallel) LTO, but a parallel code generation task will be split into 113 /// LTO may decide to stop processing a task at any time, for example if the [all …]
|
D | LTOBackend.h | 10 // This file implements the "backend" phase of LTO, i.e. it performs 12 // internally by the LTO class but can also be used independently, for example 23 #include "llvm/LTO/LTO.h" 35 namespace lto { 37 /// Runs a regular LTO backend. The regular LTO backend can also act as the 38 /// regular LTO phase of ThinLTO, which may need to access the combined index.
|
/external/clang/test/Driver/ |
D | lto.c | 6 // CHECK-COMPILE-ACTIONS: 3: backend, {2}, lto-bc 11 // CHECK-COMPILELINK-ACTIONS: 0: input, "{{.*}}lto.c", c 14 // CHECK-COMPILELINK-ACTIONS: 3: backend, {2}, lto-bc 22 // CHECK-COMPILELINK-SUFFIXES: "-o" "{{.*}}lto.i" "-x" "c" "{{.*}}lto.c" 23 // CHECK-COMPILELINK-SUFFIXES: "-o" "{{.*}}lto.bc" {{.*}}"{{.*}}lto.i" 24 // CHECK-COMPILELINK-SUFFIXES: "-o" "{{.*}}lto.o" {{.*}}"{{.*}}lto.bc" 25 // CHECK-COMPILELINK-SUFFIXES: "{{.*}}a.{{(out|exe)}}" {{.*}}"{{.*}}lto.o" 30 // CHECK-COMPILE-SUFFIXES: "-o" "{{.*}}lto.s" "-x" "c" "{{.*}}lto.c" 37 // RUN: FileCheck -check-prefix=CHECK-LINK-LTO-ACTION < %t %s 39 // CHECK-LINK-LTO-ACTION: "-plugin" "{{.*}}/LLVMgold.so" [all …]
|
D | embed-bitcode.c | 29 // RUN: %clang -c %s -flto -fembed-bitcode 2>&1 -### | FileCheck %s -check-prefix=CHECK-LTO 30 // RUN: %clang -c %s -flto=full -fembed-bitcode 2>&1 -### | FileCheck %s -check-prefix=CHECK-LTO 31 // RUN: %clang -c %s -flto=thin -fembed-bitcode 2>&1 -### | FileCheck %s -check-prefix=CHECK-LTO 32 // CHECK-LTO: -cc1 33 // CHECK-LTO: -emit-llvm-bc 34 // CHECK-LTO-NOT: warning: argument unused during compilation: '-fembed-bitcode' 35 // CHECK-LTO-NOT: -cc1 36 // CHECK-LTO-NOT: -fembed-bitcode=all
|
/external/llvm/test/tools/dsymutil/Inputs/ |
D | basic1.c | 12 LTO compilation: 14 clang -g -c -flto $FILE -o ${FILE%.c}-lto.o 16 …clang basic1-lto.o basic2-lto.o basic3-lto.o -o basic-lto.macho.x86_64 -Wl,-object_path_lto,$PWD/b… 17 rm basic1-lto.o basic2-lto.o basic3-lto.o
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/dsymutil/Inputs/ |
D | basic1.c | 12 LTO compilation: 14 clang -g -c -flto $FILE -o ${FILE%.c}-lto.o 16 …clang basic1-lto.o basic2-lto.o basic3-lto.o -o basic-lto.macho.x86_64 -Wl,-object_path_lto,$PWD/b… 17 rm basic1-lto.o basic2-lto.o basic3-lto.o
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/ThinLTO/X86/ |
D | tli-nobuiltin.ll | 1 ; Test -lto-freestanding option for libLTO. 5 ; RUN: llvm-lto %t.bc -exported-symbol=_foo -o %t.o 6 ; RUN: llvm-nm %t.o | FileCheck %s --check-prefix=LTO 7 ; LTO: fwrite 10 ; RUN: llvm-lto %t.bc -lto-freestanding -exported-symbol=_foo -o %t.o 11 ; RUN: llvm-nm %t.o | FileCheck %s --check-prefix=LTO-FREESTANDING 12 ; LTO-FREESTANDING: fprintf 18 ; RUN: llvm-lto -exported-symbol=_foo -thinlto-action=run %t.bc 23 ; RUN: llvm-lto -lto-freestanding -exported-symbol=_foo -thinlto-action=run %t.bc
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-nm/X86/ |
D | IRobj.test | 3 # 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
|
/external/llvm/test/tools/llvm-nm/X86/ |
D | IRobj.test | 3 # 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
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/lto/ |
D | CMakeLists.txt | 5 LTO 14 lto.cpp 17 set(LLVM_EXPORTED_SYMBOL_FILE ${CMAKE_CURRENT_SOURCE_DIR}/lto.exports) 19 add_llvm_library(LTO SHARED ${SOURCES} DEPENDS intrinsics_gen) 21 install(FILES ${LLVM_MAIN_INCLUDE_DIR}/llvm-c/lto.h 23 COMPONENT LTO) 30 set_property(TARGET LTO APPEND_STRING PROPERTY
|
/external/llvm/tools/lto/ |
D | CMakeLists.txt | 5 LTO 14 lto.cpp 17 set(LLVM_EXPORTED_SYMBOL_FILE ${CMAKE_CURRENT_SOURCE_DIR}/lto.exports) 19 add_llvm_library(LTO SHARED ${SOURCES}) 21 install(FILES ${LLVM_MAIN_INCLUDE_DIR}/llvm-c/lto.h 23 COMPONENT LTO) 30 set_property(TARGET LTO APPEND_STRING PROPERTY
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/LTO/X86/ |
D | strip-debug-info.ll | 2 ; ---- Full LTO --------------------------------------------- 3 ; RUN: llvm-lto \ 8 ; ---- Thin LTO (codegen only) ------------------------------ 9 ; RUN: llvm-lto -thinlto -thinlto-action=codegen \ 12 ; ---- Thin LTO (optimize, strip main file) ----------------- 16 ; RUN: llvm-lto -thinlto -thinlto-action=run \ 19 ; ---- Thin LTO (optimize, strip imported file) ------------- 21 ; RUN: llvm-lto -thinlto-action=thinlink -o %t.index.bc %t-stripped.bc %t2.bc 22 ; RUN: llvm-lto -thinlto -thinlto-action=import \
|
/external/clang/test/CodeGen/ |
D | available-externally-suppress.c | 3 …o -O2 -fno-inline -emit-llvm -o - -triple x86_64-apple-darwin10 %s | FileCheck %s -check-prefix=LTO 14 // LTO-LABEL: define void @test() 15 // LTO: define available_externally void @f0 28 // LTO: @test1 33 // LTO: br i1 in test1() 34 // LTO-NOT: call {{.*}} @f1 in test1() 35 // LTO: ret i32 in test1()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-lto/ |
D | error.ll | 1 ; RUN: not llvm-lto foobar 2>&1 | FileCheck %s 2 ; CHECK: llvm-lto: error loading file 'foobar': {{N|n}}o such file or directory 4 ; RUN: not llvm-lto --list-symbols-only %S/Inputs/empty.bc 2>&1 | FileCheck %s --check-prefix=CHECK… 5 ; CHECK-LIST: llvm-lto: error loading file '{{.*}}/Inputs/empty.bc': The file was not recognized as… 7 ; RUN: not llvm-lto --thinlto %S/Inputs/empty.bc 2>&1 | FileCheck %s --check-prefix=CHECK-THIN 8 ; CHECK-THIN: llvm-lto: error loading file '{{.*}}/Inputs/empty.bc': Invalid bitcode signature
|
/external/llvm/test/tools/llvm-lto/ |
D | error.ll | 1 ; RUN: not llvm-lto foobar 2>&1 | FileCheck %s 2 ; CHECK: llvm-lto: error loading file 'foobar': {{N|n}}o such file or directory 4 ; RUN: not llvm-lto --list-symbols-only %S/Inputs/empty.bc 2>&1 | FileCheck %s --check-prefix=CHECK… 5 ; CHECK-LIST: llvm-lto: error loading file '{{.*}}/Inputs/empty.bc': The file was not recognized as… 7 ; RUN: not llvm-lto --thinlto %S/Inputs/empty.bc 2>&1 | FileCheck %s --check-prefix=CHECK-THIN 8 ; CHECK-THIN: llvm-lto: error loading file '{{.*}}/Inputs/empty.bc': The file was not recognized as…
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-lto2/ |
D | llvm-lto2.cpp | 1 //===-- llvm-lto2: test harness for the resolution-based LTO interface ----===// 12 // resolution-based LTO interface, and outputs one or more object files. 14 // This program is intended to eventually replace llvm-lto which uses the legacy 15 // LTO interface. 22 #include "llvm/LTO/Caching.h" 23 #include "llvm/LTO/LTO.h" 30 using namespace lto; 81 " visible outside of the LTO unit\n" 104 SamplePGOFile("lto-sample-profile-file", 109 cl::desc("Run LTO passes using the new pass manager"), [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/LTO/Resolution/X86/ |
D | comdat-mixed-lto.ll | 1 ; Test of comdat handling with mixed thinlto and regular lto compilation. 5 ; Input module compiled for regular LTO 6 ; RUN: opt -o %t2.o %p/Inputs/comdat-mixed-lto.ll 9 ; regular LTO module is not prevailing, and will be dropped to 13 ; The Input module (regular LTO) is %t3.0. Check to make sure that we removed 22 ; ModuleID = 'comdat-mixed-lto.o' 23 source_filename = "comdat-mixed-lto.cpp"
|