HomeSort by relevance Sort by last modified time
    Searched full:thinlto (Results 1 - 25 of 251) sorted by null

1 2 3 4 5 6 7 8 91011

  /external/llvm/test/ThinLTO/X86/
weak_resolution_single.ll 2 ; RUN: llvm-lto -thinlto-action=thinlink -o %t2.bc %t.bc
4 ; RUN: llvm-lto -thinlto-action=promote %t.bc -thinlto-index=%t2.bc -exported-symbol=foo -o - | llvm-lto -thinlto-action=internalize -thinlto-module-id=%t.bc - -thinlto-index=%t2.bc -exported-symbol=foo -o - | llvm-dis -o - | FileCheck %s
prefix_replace.ll 7 ; RUN: rm -f %T/newpath/prefix_replace.o.thinlto.bc
9 ; RUN: llvm-lto -thinlto-action=thinlink -o %t.index.bc %T/oldpath/prefix_replace.o
10 ; RUN: llvm-lto -thinlto-action=distributedindexes -thinlto-prefix-replace="%T/oldpath/;%T/newpath/" -thinlto-index %t.index.bc %T/oldpath/prefix_replace.o
12 ; RUN: ls %T/newpath/prefix_replace.o.thinlto.bc
internalize.ll 2 ; RUN: llvm-lto -thinlto-action=thinlink -o %t.index.bc %t1.bc
3 ; RUN: llvm-lto -thinlto-action=internalize -thinlto-index %t.index.bc %t1.bc -o - | llvm-dis -o - | FileCheck %s --check-prefix=REGULAR
4 ; RUN: llvm-lto -thinlto-action=internalize -thinlto-index %t.index.bc %t1.bc -o - --exported-symbol=foo | llvm-dis -o - | FileCheck %s --check-prefix=INTERNALIZE
section.ll 4 ; RUN: llvm-lto -thinlto-action=thinlink -o %t3.bc %t.bc %t2.bc
7 ; RUN: llvm-lto -thinlto-action=promote %t2.bc -thinlto-index=%t3.bc -o - | llvm-dis -o - | FileCheck %s --check-prefix=PROMOTE
10 ; RUN: llvm-lto -thinlto-action=import %t.bc -thinlto-index=%t3.bc -o - | llvm-dis -o - | FileCheck %s --check-prefix=IMPORT
weak_resolution.ll 4 ; RUN: llvm-lto -thinlto-action=thinlink -o %t3.bc %t.bc %t2.bc
9 ; RUN: llvm-lto -thinlto-action=promote %t.bc -thinlto-index=%t3.bc -o - | llvm-dis -o - | FileCheck %s --check-prefix=MOD1
10 ; RUN: llvm-lto -thinlto-action=promote %t.bc -thinlto-index=%t3.bc -exported-symbol=linkoncefunc -o - | llvm-lto -thinlto-action=internalize -thinlto-module-id=%t.bc - -thinlto-index=%t3.bc -exported-symbol=linkoncefunc -o - | llvm-dis -o - | FileCheck %s --check-prefix=MOD1-INT
11 ; RUN: llvm-lto -thinlto-action=promote %t2.bc -thinlto-index=%t3.bc -o - | llvm-dis -o - | FileCheck %s --check-prefix=MOD
    [all...]
select_right_alias_definition.ll 9 ; RUN: llvm-lto -thinlto-action=thinlink -o %t.index1.bc %t_main.bc %t1.bc %t2.bc
10 ; RUN: llvm-lto -thinlto-action=import -thinlto-index %t.index1.bc %t_main.bc -o - | llvm-dis -o - | FileCheck %s --check-prefix=IMPORT
13 ; RUN: llvm-lto -thinlto-action=thinlink -o %t.index2.bc %t_main.bc %t2.bc %t1.bc
14 ; RUN: llvm-lto -thinlto-action=import -thinlto-index %t.index2.bc %t_main.bc -o - | llvm-dis -o - | FileCheck %s --check-prefix=IMPORT
cache.ll 6 ; RUN: llvm-lto -thinlto-action=run -exported-symbol=globalfunc %t2.bc %t.bc -thinlto-cache-dir %t.cache
drop-debug-info.ll 2 ; RUN: llvm-lto -thinlto-action=thinlink -o %t.index.bc %t.bc %p/Inputs/drop-debug-info.bc
6 ; RUN: llvm-lto -thinlto-action=import %t.bc -thinlto-index=%t.index.bc -o - | llvm-dis -o - | FileCheck %s
emit_imports.ll 3 ; RUN: llvm-lto -thinlto-action=thinlink -o %t.index.bc %t1.bc %t2.bc
4 ; RUN: llvm-lto -thinlto-action=emitimports -thinlto-index %t.index.bc %t1.bc %t2.bc
llvm.used.ll 4 ; RUN: llvm-lto -thinlto-action=thinlink -o %t3.bc %t.bc %t2.bc
7 ; RUN: llvm-lto -thinlto-action=import %t2.bc -thinlto-index=%t3.bc -o - | llvm-dis -o - | FileCheck %s
referenced_by_constant.ll 4 ; RUN: llvm-lto -thinlto-action=thinlink -o %t3.bc %t.bc %t2.bc
7 ; RUN: llvm-lto -thinlto-action=import %t.bc -thinlto-index=%t3.bc -o - | llvm-dis -o - | FileCheck %s --check-prefix=IMPORT
distributed_indexes.ll 3 ; RUN: llvm-lto -thinlto-action=thinlink -o %t.index.bc %t1.bc %t2.bc
4 ; RUN: llvm-lto -thinlto-action=distributedindexes -thinlto-index %t.index.bc %t1.bc %t2.bc
5 ; RUN: llvm-bcanalyzer -dump %t1.bc.thinlto.bc | FileCheck %s --check-prefix=BACKEND1
6 ; RUN: llvm-bcanalyzer -dump %t2.bc.thinlto.bc | FileCheck %s --check-prefix=BACKEND2
funcimport.ll 4 ; RUN: llvm-lto -thinlto-action=thinlink -o %t3.bc %t.bc %t2.bc
8 ; RUN: llvm-lto -thinlto-action=promote %t.bc -thinlto-index=%t3.bc -o - | llvm-dis -o - | FileCheck %s --check-prefix=EXPORTSTATIC
20 ; RUN: llvm-lto -thinlto-action=import %t2.bc -thinlto-index=%t3.bc -o - | llvm-dis -o - | FileCheck %s --check-prefix=IMPORTGLOB1
29 ; RUN: llvm-lto -thinlto-action=optimize %t2.bc -o - | llvm-dis -o - | FileCheck %s --check-prefix=OPTIMIZED
33 ; RUN: llvm-lto -thinlto-action=codegen %t2.bc -o - | llvm-nm -o - | FileCheck %s --check-prefix=CODEGEN
37 ; RUN: llvm-lto -thinlto-action=run %t2.bc %t.bc
38 ; RUN: llvm-nm -o - < %t.bc.thinlto.o | FileCheck %s --check-prefix=ALL
39 ; RUN: llvm-nm -o - < %t2.bc.thinlto.o | FileCheck %s --check-prefix=ALL
    [all...]
  /external/llvm/test/tools/gold/X86/
thinlto_emit_imports.ll 3 ; RUN: opt -module-summary %p/Inputs/thinlto.ll -o %t2.o
7 ; RUN: --plugin-opt=thinlto \
8 ; RUN: --plugin-opt=thinlto-index-only \
9 ; RUN: --plugin-opt=thinlto-emit-imports-files \
13 ; Inputs/thinlto.ll
18 ; The imports file for Input/thinlto.ll is empty as it does not import anything.
thinlto_prefix_replace.ll 1 ; Check that changing the output path via thinlto-prefix-replace works
6 ; RUN: rm -f %T/newpath/thinlto_prefix_replace.o.thinlto.bc
8 ; RUN: --plugin-opt=thinlto \
9 ; RUN: --plugin-opt=thinlto-index-only \
10 ; RUN: --plugin-opt=thinlto-prefix-replace="%T/oldpath/;%T/newpath/" \
12 ; RUN: ls %T/newpath/thinlto_prefix_replace.o.thinlto.bc
thinlto.ll 1 ; First ensure that the ThinLTO handling in the gold plugin handles
4 ; RUN: llvm-as %p/Inputs/thinlto.ll -o %t2.o
6 ; RUN: --plugin-opt=thinlto \
7 ; RUN: --plugin-opt=thinlto-index-only \
11 ; RUN: --plugin-opt=thinlto \
17 ; RUN: opt -module-summary %p/Inputs/thinlto.ll -o %t2.o
21 ; RUN: --plugin-opt=thinlto \
22 ; RUN: --plugin-opt=thinlto-index-only \
24 ; RUN: llvm-bcanalyzer -dump %t.o.thinlto.bc | FileCheck %s --check-prefix=BACKEND1
25 ; RUN: llvm-bcanalyzer -dump %t2.o.thinlto.bc | FileCheck %s --check-prefix=BACKEND
    [all...]
  /external/llvm/test/tools/llvm-lto/
thinlto.ll 1 ; Test combined function index generation for ThinLTO via llvm-lto.
3 ; RUN: opt -module-summary %p/Inputs/thinlto.ll -o %t2.o
4 ; RUN: llvm-lto -thinlto -o %t3 %t.o %t2.o
5 ; RUN: llvm-bcanalyzer -dump %t3.thinlto.bc | FileCheck %s --check-prefix=COMBINED
9 ; COMBINED-NEXT: <ENTRY {{.*}} record string = '{{.*}}thinlto.ll.tmp{{.*}}.o'
10 ; COMBINED-NEXT: <ENTRY {{.*}} record string = '{{.*}}thinlto.ll.tmp{{.*}}.o'
  /external/llvm/test/Bitcode/
thinlto-summary-section.ll 4 ; RUN: llvm-lto -thinlto -o %t2 %t.o
5 ; RUN: llvm-bcanalyzer -dump %t2.thinlto.bc | FileCheck %s --check-prefix=COMBINED
  /external/llvm/test/Bitcode/Inputs/
thinlto-function-summary-callgraph.ll 1 ; ModuleID = 'thinlto-function-summary-callgraph2.ll'
thinlto-function-summary-callgraph-pgo.ll 1 ; ModuleID = 'thinlto-function-summary-callgraph2.ll'
  /external/clang/test/CodeGen/
thinlto_backend.ll 5 ; RUN: llvm-lto -thinlto -o %t %t1.o %t2.o
8 ; RUN: not %clang_cc1 -O2 -o %t1.o -x c %s -c -fthinlto-index=%t.thinlto.bc 2>&1 | FileCheck %s -check-prefix=CHECK-WARNING
12 ; RUN: %clang -O2 -o %t3.o -x ir %t1.o -c -fthinlto-index=bad.thinlto.bc 2>&1 | FileCheck %s -check-prefix=CHECK-ERROR
13 ; CHECK-ERROR: Error loading index file 'bad.thinlto.bc'
16 ; RUN: %clang -target x86_64-unknown-linux-gnu -O2 -o %t3.o -x ir %t1.o -c -fthinlto-index=%t.thinlto.bc
  /external/llvm/test/Linker/
funcimport2.ll 3 ; RUN: llvm-lto -thinlto -o %t3 %t1.bc %t2.bc
4 ; RUN: llvm-link -import=bar:%t2.bc %t1.bc -summary-index=%t3.thinlto.bc -S | FileCheck %s
funcimport_appending_global.ll 3 ; RUN: llvm-lto -thinlto -o %t3 %t.bc %t2.bc
6 ; RUN: llvm-link %t.bc -summary-index=%t3.thinlto.bc -import=foo:%t2.bc -S | FileCheck %s
  /external/clang/test/Driver/
thinlto_backend.c 2 // RUN: llvm-lto -thinlto -o %t %t.o
5 // RUN: %clang -O2 -o %t1.o -x ir %t.o -c -fthinlto-index=%t.thinlto.bc -### 2>&1 | FileCheck %s -check-prefix=CHECK-THINLTOBE-ACTION
9 // RUN: not %clang -O2 -o %t1.o %s -c -fthinlto-index=%t.thinlto.bc 2>&1 | FileCheck %s -check-prefix=CHECK-WARNING
thinlto.c 11 // CHECK-COMPILELINK-ACTIONS: 0: input, "{{.*}}thinlto.c", c
17 // -flto=thin should cause link using gold plugin with thinlto option,
23 // CHECK-LINK-THIN-ACTION: "-plugin-opt=thinlto"
30 // CHECK-LINK-FULL-ACTION-NOT: "-plugin-opt=thinlto"
37 // CHECK-LINK-NOLTO-ACTION-NOT: "-plugin-opt=thinlto"

Completed in 1224 milliseconds

1 2 3 4 5 6 7 8 91011