/external/llvm-project/lld/test/wasm/lto/ |
D | thinlto.ll | 6 ; RUN: rm -f %t31.lto.o %t32.lto.o 8 ; RUN: llvm-nm %t31.lto.o | FileCheck %s --check-prefix=NM1 9 ; RUN: llvm-nm %t32.lto.o | FileCheck %s --check-prefix=NM2 12 ; RUN: rm -f %t31.lto.o %t32.lto.o 14 ; RUN: llvm-nm %t31.lto.o | FileCheck %s --check-prefix=NM1 15 ; RUN: llvm-nm %t32.lto.o | FileCheck %s --check-prefix=NM2 18 ; RUN: rm -f %t31.lto.o %t32.lto.o 20 ; RUN: llvm-nm %t31.lto.o | FileCheck %s --check-prefix=NM1 21 ; RUN: llvm-nm %t32.lto.o | FileCheck %s --check-prefix=NM2 24 ; RUN: rm -f %t31.lto.o %t32.lto.o [all …]
|
D | verify-invalid.ll | 2 ; RUN: wasm-ld %t.o -o %t2 --no-lto-new-pass-manager -mllvm -debug-pass=Arguments \ 4 ; RUN: wasm-ld %t.o -o %t2 --no-lto-new-pass-manager -mllvm -debug-pass=Arguments \ 6 ; RUN: wasm-ld %t.o -o %t2 --lto-new-pass-manager --lto-debug-pass-manager \ 8 ; RUN: wasm-ld %t.o -o %t2 --lto-new-pass-manager --lto-debug-pass-manager \
|
/external/llvm-project/lld/test/ELF/lto/ |
D | thinlto.ll | 8 ; RUN: rm -f %t31.lto.o %t32.lto.o 10 ; RUN: llvm-nm %t31.lto.o | FileCheck %s --check-prefix=NM1 11 ; RUN: llvm-nm %t32.lto.o | FileCheck %s --check-prefix=NM2 14 ; RUN: rm -f %t31.lto.o %t32.lto.o 16 ; RUN: llvm-nm %t31.lto.o | FileCheck %s --check-prefix=NM1 17 ; RUN: llvm-nm %t32.lto.o | FileCheck %s --check-prefix=NM2 20 ; RUN: rm -f %t31.lto.o %t32.lto.o 22 ; RUN: llvm-nm %t31.lto.o | FileCheck %s --check-prefix=NM1 23 ; RUN: llvm-nm %t32.lto.o | FileCheck %s --check-prefix=NM2 26 ; RUN: rm -f %t31.lto.o %t32.lto.o [all …]
|
D | verify-invalid.ll | 3 ; RUN: ld.lld %t.o -o %t2 -mllvm -debug-pass=Arguments --no-lto-new-pass-manager \ 5 ; RUN: ld.lld %t.o -o %t2 -mllvm -debug-pass=Arguments --no-lto-new-pass-manager \ 7 ; RUN: ld.lld %t.o -o %t2 -mllvm -debug-pass=Arguments --no-lto-new-pass-manager \ 9 ; RUN: ld.lld %t.o -o %t2 --lto-new-pass-manager --lto-debug-pass-manager \ 11 ; RUN: ld.lld %t.o -o %t2 --lto-new-pass-manager --lto-debug-pass-manager \ 13 ; RUN: ld.lld %t.o -o %t2 --lto-new-pass-manager --lto-debug-pass-manager \
|
D | sample-profile.ll | 5 ; RUN: rm -f %t1.lto.o %t2.lto.o 6 ; RUN: ld.lld --lto-sample-profile=%p/Inputs/sample-profile.prof %t1.o %t2.o -o %t3 7 ; RUN opt -S %t3.lto.o | FileCheck %s 9 ; RUN: rm -f %t1.lto.o %t2.lto.o 11 ; RUN opt -S %t3.lto.o | FileCheck %s
|
D | parallel.ll | 3 ; RUN: rm -f %t.lto.o %t1.lto.o 4 ; RUN: ld.lld --lto-partitions=2 -save-temps -o %t %t.bc -shared 5 ; RUN: llvm-nm %t.lto.o | FileCheck --check-prefix=CHECK0 %s 6 ; RUN: llvm-nm %t1.lto.o | FileCheck --check-prefix=CHECK1 %s 8 ; RUN: not ld.lld --lto-partitions=0 %t.bc -o /dev/null 2>&1 | FileCheck --check-prefix=INVALID %s 9 ; INVALID: --lto-partitions: number of threads must be > 0
|
D | new-pass-manager.ll | 6 ; RUN: ld.lld --plugin-opt=new-pass-manager --lto-debug-pass-manager -o /dev/null %t.o 2>&1 | FileC… 7 ; RUN: ld.lld --lto-new-pass-manager --plugin-opt=debug-pass-manager -o /dev/null %t.o 2>&1 | FileC… 8 ; RUN: ld.lld --lto-new-pass-manager --lto-debug-pass-manager -o /dev/null %t.o 2>&1 | FileCheck %s 9 ; RUN: ld.lld --lto-new-pass-manager --no-lto-new-pass-manager --lto-debug-pass-manager -o /dev/nul…
|
D | basic-block-sections.ll | 3 ; RUN: ld.lld %t.o -o %t --lto-basic-block-sections=all --lto-O0 --save-temps 4 ; RUN: llvm-readobj -s %t.lto.o | FileCheck --check-prefix=SECNAMES %s 5 ; RUN: ld.lld %t.o -o %t --lto-basic-block-sections=all --lto-unique-basic-block-section-names --lt… 6 ; RUN: llvm-readobj -s %t.lto.o | FileCheck --check-prefix=SECNAMES-FULL %s
|
/external/llvm-project/lld/test/COFF/ |
D | lto-parallel.ll | 10 ; CHECK: lto-parallel.ll.tmp.exe.lto.obj: 11 ; CHECK: lto-parallel.ll.tmp.exe.lto.obj: 18 ; CHECK: lto-parallel.ll.tmp.exe.lto.1.obj: 19 ; CHECK: lto-parallel.ll.tmp.exe.lto.1.obj: 30 ; PDB: Mod 0000 | `{{.*}}lto-parallel.ll.tmp.exe.lto.obj`: 31 ; PDB: Obj: `{{.*}}lto-parallel.ll.tmp.exe.lto.obj`: 32 ; PDB: Mod 0001 | `{{.*}}lto-parallel.ll.tmp.exe.lto.1.obj`: 33 ; PDB: Obj: `{{.*}}lto-parallel.ll.tmp.exe.lto.1.obj`:
|
D | lto-comdat.ll | 2 ; RUN: llvm-as -o %T/comdat-main.lto.obj %s 3 ; RUN: llvm-as -o %T/comdat1.lto.obj %S/Inputs/lto-comdat1.ll 4 ; RUN: llvm-as -o %T/comdat2.lto.obj %S/Inputs/lto-comdat2.ll 5 ; RUN: rm -f %T/comdat.lto.lib 6 ; RUN: llvm-ar cru %T/comdat.lto.lib %T/comdat1.lto.obj %T/comdat2.lto.obj 9 ; RUN: llc -filetype=obj -o %T/comdat1.obj %S/Inputs/lto-comdat1.ll 10 ; RUN: llc -filetype=obj -o %T/comdat2.obj %S/Inputs/lto-comdat2.ll 16 …-main.exe /entry:main /subsystem:console %T/comdat-main.lto.obj %T/comdat1.lto.obj %T/comdat2.lto.… 19 …ink /out:%T/comdat-main.exe /entry:main /subsystem:console %T/comdat-main.lto.obj %T/comdat.lto.lib 26 …at-main.exe /entry:main /subsystem:console %T/comdat-main.obj %T/comdat1.lto.obj %T/comdat2.lto.obj [all …]
|
D | lto.ll | 2 ; RUN: llvm-as -o %T/main.lto.obj %s 3 ; RUN: llvm-as -o %T/foo.lto.obj %S/Inputs/lto-dep.ll 4 ; RUN: rm -f %T/foo.lto.lib 5 ; RUN: llvm-ar cru %T/foo.lto.lib %T/foo.lto.obj 8 ; RUN: llc -filetype=obj -o %T/foo.obj %S/Inputs/lto-dep.ll 12 …lld-link /out:%T/main.exe /entry:main /include:f2 /subsystem:console %T/main.lto.obj %T/foo.lto.obj 15 …out:%T/main.exe /entry:main /include:f2 /subsystem:console %T/main.lto.obj %T/foo.lto.lib /verbose… 19 ; RUN: lld-link /out:%T/main.exe /entry:main /subsystem:console %T/main.obj %T/foo.lto.obj 22 ; RUN: lld-link /out:%T/main.exe /entry:main /subsystem:console %T/main.obj %T/foo.lto.lib 26 ; RUN: lld-link /out:%T/main.exe /entry:main /subsystem:console %T/main.lto.obj %T/foo.obj [all …]
|
D | lto-lazy-reference.ll | 2 …lc -mtriple=i686-pc-windows-msvc -filetype=obj -o %T/lto-lazy-reference-quadruple.obj %S/Inputs/lt… 3 ; RUN: llvm-as -o %T/lto-lazy-reference-dummy.bc %S/Inputs/lto-lazy-reference-dummy.ll 5 ; RUN: llvm-ar cru %t.lib %T/lto-lazy-reference-quadruple.obj %T/lto-lazy-reference-dummy.bc 19 ; lazy definition in the lib file from lto-lazy-reference-quadruple.obj. This 22 ; LTO, such as lto-lazy-reference-dummy.bc in this case.
|
D | lto-chkstk.ll | 3 ; RUN: llvm-mc -triple=x86_64-pc-windows-msvc -filetype=obj -o %T/lto-chkstk-foo.obj %S/Inputs/lto-… 4 …llvm-mc -triple=x86_64-pc-windows-msvc -filetype=obj -o %T/lto-chkstk-chkstk.obj %S/Inputs/lto-chk… 6 ; RUN: llvm-ar cru %t.lib %T/lto-chkstk-chkstk.obj 7 ; RUN: lld-link /out:%t.exe /entry:main /subsystem:console %t.obj %T/lto-chkstk-foo.obj %t.lib
|
D | dll.test | 29 # RUN: llvm-as -o %t.lto.obj %p/Inputs/export.ll 30 # RUN: lld-link -opt:noicf /out:%t.lto.dll /dll %t.lto.obj /export:exportfn1 /export:exportfn2 31 # RUN: llvm-objdump -p %t.lto.dll | FileCheck --check-prefix=EXPORT-LTO %s 34 EXPORT-LTO: DLL name: dll.test.tmp.lto.dll 47 # RUN: lld-link /out:%t2.lto.exe /entry:main %t2.obj %t.lto.lib 48 # RUN: llvm-readobj --coff-imports %t2.lto.exe | FileCheck -check-prefix=IMPORT %s
|
/external/llvm-project/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/elfutils/tests/ |
D | run-allfcts.sh | 138 testfiles testfile-lto-gcc10 140 testrun_compare ${abs_builddir}/allfcts testfile-lto-gcc10 <<\EOF 141 /home/mark/src/tests/testfile-lto-main.c:6:main 142 /home/mark/src/tests/testfile-lto-func.c:4:foo 143 /home/mark/src/tests/testfile-lto-main.c:6:main 151 testfiles testfile-lto-gcc8 153 testrun_compare ${abs_builddir}/allfcts testfile-lto-gcc8 <<\EOF 154 /home/mark/src/tests/testfile-lto-func.c:4:foo 155 /home/mark/src/tests/testfile-lto-main.c:6:main 156 /home/mark/src/tests/testfile-lto-main.c:6:main [all …]
|
/external/llvm-project/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 --list-dependent-libraries-only %S/Inputs/empty.bc 2>&1 | FileCheck %s --check-… 8 ; CHECK-LIBS: llvm-lto: {{.*}}/Inputs/empty.bc: Could not read LTO input file: The file was not rec… 10 ; RUN: not llvm-lto --print-macho-cpu-only %S/Inputs/empty.bc 2>&1 | FileCheck %s --check-prefix=CH… 11 ; CHECK-MACHO: llvm-lto: error: The file was not recognized as a valid object file 13 ; RUN: not llvm-lto --thinlto %S/Inputs/empty.bc 2>&1 | FileCheck %s --check-prefix=CHECK-THIN 14 ; CHECK-THIN: llvm-lto: error loading file '{{.*}}/Inputs/empty.bc': file too small to contain bitc…
|
/external/llvm-project/llvm/test/LTO/X86/ |
D | diagnostic-handler-remarks-with-hotness.ll | 2 ; with -lto-pass-remarks-with-hotness. 6 ; RUN: llvm-lto -lto-pass-remarks-output=%t.yaml \ 7 ; RUN: -lto-pass-remarks-with-hotness \ 11 ; RUN: llvm-lto -lto-pass-remarks-output=%t.t300.yaml \ 12 ; RUN: -lto-pass-remarks-with-hotness \ 13 ; RUN: -lto-pass-remarks-hotness-threshold=300 \ 17 ; RUN: llvm-lto -lto-pass-remarks-output=%t.t301.yaml \ 18 ; RUN: -lto-pass-remarks-with-hotness \ 19 ; RUN: -lto-pass-remarks-hotness-threshold=301 \
|
/external/llvm-project/lld/MachO/ |
D | LTO.cpp | 23 static lto::Config createConfig() { in createConfig() 24 lto::Config c; in createConfig() 31 lto::createInProcessThinBackend(llvm::heavyweight_hardware_concurrency()); in BitcodeCompiler() 32 ltoObj = std::make_unique<lto::LTO>(createConfig(), backend); in BitcodeCompiler() 36 ArrayRef<lto::InputFile::Symbol> objSyms = f.obj->symbols(); in add() 37 std::vector<lto::SymbolResolution> resols; in add() 41 for (const lto::InputFile::Symbol &objSym : objSyms) { in add() 43 lto::SymbolResolution &r = resols.back(); in add() 65 return std::make_unique<lto::NativeObjectStream>( in compile()
|
/external/llvm-project/lld/wasm/ |
D | LTO.cpp | 42 static std::unique_ptr<lto::LTO> createLTO() { in createLTO() 43 lto::Config c; in createLTO() 68 lto::ThinBackend backend = lto::createInProcessThinBackend( in createLTO() 70 return std::make_unique<lto::LTO>(std::move(c), backend, in createLTO() 89 lto::InputFile &obj = *f.obj; in add() 92 std::vector<lto::SymbolResolution> resols(syms.size()); in add() 95 for (const lto::InputFile::Symbol &objSym : obj.symbols()) { in add() 97 lto::SymbolResolution &r = resols[symNum]; in add() 130 lto::NativeObjectCache cache; in compile() 133 lto::localCache(config->thinLTOCacheDir, in compile() [all …]
|
/external/llvm-project/lld/COFF/ |
D | LTO.cpp | 57 return lto::getThinLTOOutputFile( in getThinLTOOutputFile() 62 static lto::Config createConfig() { in createConfig() 63 lto::Config c; in createConfig() 100 lto::ThinBackend backend; in BitcodeCompiler() 103 backend = lto::createWriteIndexesThinBackend( in BitcodeCompiler() 108 backend = lto::createInProcessThinBackend( in BitcodeCompiler() 112 ltoObj = std::make_unique<lto::LTO>(createConfig(), backend, in BitcodeCompiler() 121 lto::InputFile &obj = *f.obj; in add() 124 std::vector<lto::SymbolResolution> resols(symBodies.size()); in add() 130 for (const lto::InputFile::Symbol &objSym : obj.symbols()) { in add() [all …]
|
/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/llvm-project/llvm/test/ThinLTO/X86/ |
D | diagnostic-handler-remarks.ll | 6 ; RUN: llvm-lto -thinlto-action=run \ 7 ; RUN: -lto-pass-remarks-output=%t.yaml \ 8 ; RUN: -lto-pass-remarks-filter=inline \ 9 ; RUN: -lto-pass-remarks-format=yaml \ 14 ; CHECK-NOT: llvm-lto: 56 ; RUN: llvm-lto -thinlto-action=run \ 57 ; RUN: -lto-pass-remarks-output=%t.bitstream \ 58 ; RUN: -lto-pass-remarks-filter=inline \ 59 ; RUN: -lto-pass-remarks-format=bitstream \ 66 ; CHECK-NOT: llvm-lto:
|
D | builtin-nostrip.ll | 5 ; Test old lto interface with thinlto (currently known to be broken, so 12 ; RUN: llvm-lto -exported-symbol=main -thinlto-action=run %t1.bc 15 ; Test new lto interface with thinlto. 25 ; Test the new lto interface without thinlto. 31 ; Test the old lto interface without thinlto. For now we need to 32 ; use a different nm check, because currently the old lto interface 33 ; internalizes these symbols. Once the old lto interface gets 36 ; RUN: llvm-lto -exported-symbol=main %t4.bc -o %t6 45 ; Test case for old lto without thinlto. Hopefully these can be 46 ; eliminated once the old lto interface is fixed.
|