Lines Matching refs:RUN
1 RUN: mkdir -p %t.d
2 RUN: %clang_profgen -o %t.d/func.shared -fPIC -shared %S/Inputs/instrprof-dlopen-func.c
3 RUN: %clang_profgen -o %t.d/func2.shared -fPIC -shared %S/Inputs/instrprof-dlopen-func2.c
4 RUN: %clang -o %t-local -fPIC -DDLOPEN_FUNC_DIR=\"%t.d\" -DDLOPEN_FLAGS="RTLD_LAZY | RTLD_LOCAL" %S…
5 RUN: %clang -o %t-global -fPIC -DDLOPEN_FUNC_DIR=\"%t.d\" -DDLOPEN_FLAGS="RTLD_LAZY | RTLD_GLOBAL" …
7 RUN: %clang -c -o %t.d/main.o %S/Inputs/instrprof-dlopen-main.c
8 RUN: %clang_profgen -o %t-static %S/Inputs/instrprof-dlopen-func.c %S/Inputs/instrprof-dlopen-func2…
10 RUN: env LLVM_PROFILE_FILE=%t-static.profraw %run %t-static
11 RUN: env LLVM_PROFILE_FILE=%t-local.profraw %run %t-local
12 RUN: env LLVM_PROFILE_FILE=%t-global.profraw %run %t-global
14 RUN: llvm-profdata merge -o %t-static.profdata %t-static.profraw
15 RUN: llvm-profdata merge -o %t-local.profdata %t-local.profraw
16 RUN: llvm-profdata merge -o %t-global.profdata %t-global.profraw
18 RUN: %clang_profuse=%t-static.profdata -o %t-func.static.ll -S -emit-llvm %S/Inputs/instrprof-dlope…
19 RUN: %clang_profuse=%t-local.profdata -o %t-func.local.ll -S -emit-llvm %S/Inputs/instrprof-dlopen-…
20 RUN: %clang_profuse=%t-global.profdata -o %t-func.global.ll -S -emit-llvm %S/Inputs/instrprof-dlope…
21 RUN: diff %t-func.static.ll %t-func.local.ll
22 RUN: diff %t-func.static.ll %t-func.global.ll
24 RUN: %clang_profuse=%t-static.profdata -o %t-func2.static.ll -S -emit-llvm %S/Inputs/instrprof-dlop…
25 RUN: %clang_profuse=%t-local.profdata -o %t-func2.local.ll -S -emit-llvm %S/Inputs/instrprof-dlopen…
26 RUN: %clang_profuse=%t-global.profdata -o %t-func2.global.ll -S -emit-llvm %S/Inputs/instrprof-dlop…
27 RUN: diff %t-func2.static.ll %t-func2.local.ll
28 RUN: diff %t-func2.static.ll %t-func2.global.ll
30 RUN: %clang_profuse=%t-static.profdata -o %t-main.static.ll -S -emit-llvm %S/Inputs/instrprof-dlope…
31 RUN: %clang_profuse=%t-local.profdata -o %t-main.local.ll -S -emit-llvm %S/Inputs/instrprof-dlopen-…
32 RUN: %clang_profuse=%t-local.profdata -o %t-main.global.ll -S -emit-llvm %S/Inputs/instrprof-dlopen…
33 RUN: diff %t-main.static.ll %t-main.local.ll
34 RUN: diff %t-main.static.ll %t-main.global.ll