/llvm-project/clang/cmake/caches/ |
H A D | README.txt | 4 This directory contains CMake cache scripts that pre-populate the CMakeCache in 9 cmake -G <build system> 10 -C <path to cache file> 11 [additional CMake options (i.e. -DCMAKE_INSTALL_PREFIX=<install path>)] 14 Options specified on the command line will override options in the cache files. 18 Apple-stage1 19 ------------ 25 The Apple-stage2 cache can be used directly to match the build settings Apple 29 --- 31 The PGO CMake cache can be used to generate a multi-stage instrumented compiler. [all …]
|
/llvm-project/.github/workflows/ |
H A D | libcxx-restart-preempted-jobs.yaml | 3 # The libc++ builders run on preemptable VMs, which can be shutdown at any time. 7 # We identify a canceled workflow run by checking the annotations of the check runs in the check suite, 10 # Note: If a job is both preempted and also contains a non-preemption failure, we do not restart the workflow. 12 on: 16 - completed 29 runs-on: ubuntu-latest 31 - nam [all...] |
H A D | release-binaries.yml | 3 on: 6 release-version: 15 runs-on: 20 - ubuntu-22.04 21 - ubuntu-22.04-ar [all...] |
H A D | libcxx-build-and-test.yaml | 1 # This file defines pre-commit CI for libc++, libc++abi, and libunwind (on Github). 4 # when a job fails early in the pipeline. This is why the jobs are marked as `continue-on-error: false`. 9 # Stage 3 is "everything else", and is meant to catch breakages on more niche or unique configurations. 11 # Therefore, we "fail-fast" for any failures during stages 1 & 2, meaning any job failing cancels all other running jobs, 13 # However, stage 3 does not fail fast, as it's more likely that any one job failing is a flake or a configuration-specific 16 on: 19 - 'libcx [all...] |
H A D | libclang-abi-tests.yml | 6 on: 10 - 'release/**' 12 - 'clang/**' 13 - '.github/workflows/libclang-abi-tests.yml' 16 - 'release/**' 18 - 'clang/**' 19 - '.github/workflows/libclang-ab [all...] |
H A D | new-prs.yml | 6 on: 9 # See https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ 12 - opened 13 - reopened 14 - ready_for_review 15 - synchronize 19 runs-on: ubuntu-latest 21 pull-requests: write 22 # Only comment on PRs that have been opened for the first time, by someone 26 …# See https://docs.github.com/en/webhooks/webhook-events-and-payloads?actionType=opened#pull_reque… [all …]
|
/llvm-project/compiler-rt/test/fuzzer/ |
H A D | fuzzer-leak.test | 2 // See https://github.com/llvm/llvm-project/issues/97712. 5 RUN: %cpp_compiler %S/LeakTest.cpp -o %t-LeakTest 6 RUN: %cpp_compiler %S/ThreadedLeakTest.cpp -o %t-ThreadedLeakTest 7 RUN: %cpp_compiler %S/LeakTimeoutTest.cpp -o %t-LeakTimeoutTest 9 RUN: rm -rf %t-corpus && mkdir -p %t-corpus 10 RUN: not %run %t-LeakTest -runs=100000 -detect_leaks=1 %t-corpus 2>&1 | FileCheck %s --check-prefix… 13 LEAK_DURING: INFO: to ignore leaks on libFuzzer side use -detect_leaks=0 14 LEAK_DURING: Test unit written to ./leak- 15 LEAK_DURING-NOT: DONE 16 LEAK_DURING-NOT: Done [all …]
|
H A D | seed_inputs.test | 1 # Uses echo in a way that is not supported by the iOS "run-on-device" script. 4 RUN: %cpp_compiler %S/SimpleTest.cpp -o %t-SimpleTest 6 USE-1: INFO: seed corpus: files: 1 7 RUN: echo -n "%t-SimpleTest" > %t.seed-inputs 8 # Test both formats of -seed_inputs argument. 9 RUN: %run %t-SimpleTest -runs=1 -seed_inputs=@%t.seed-inputs 2>&1 | FileCheck %s --check-prefix=USE… 10 RUN: %run %t-SimpleTest -runs=1 -seed_inputs=%t-SimpleTest 2>&1 | FileCheck %s --check-prefix=USE-1 12 USE-2: INFO: seed corpus: files: 2 13 RUN: echo -n "%t-SimpleTest,%t-SimpleTest" > %t.seed-inputs 14 RUN: %run %t-SimpleTest -runs=1 -seed_inputs=@%t.seed-inputs 2>&1 | FileCheck %s --check-prefix=USE… [all …]
|
H A D | value-profile-switch.test | 1 # Test does not complete on Armv7 Thumb build bot 5 RUN: %cpp_compiler %S/SwitchTest.cpp -o %t-SwitchTest 6 RUN: %cpp_compiler %S/Switch2Test.cpp -o %t-Switch2Test 7 RUN: %cpp_compiler %S/Switch3Test.cpp -o %t-Switch3Test 8 RUN: not %run %t-SwitchTest -use_cmp=0 -use_value_profile=1 -runs=100000000 -seed=1 2>&1 | FileChe… 9 RUN: not %run %t-Switch2Test -use_cmp=0 -use_value_profile=1 -runs=100000000 -seed=1 2>&1 | FileChe… 10 RUN: not %run %t-Switch3Test -use_cmp=0 -use_value_profile=1 -runs=100000000 -seed=1 2>&1
|
H A D | only-some-bytes.test | 5 # TODO(kcc): re-enable. 10 …ABLED: %no_fuzzer_cpp_compiler -c -fno-sanitize=all -fsanitize=dataflow %S/../../lib/fuzzer/datafl… 11 …: %no_fuzzer_cpp_compiler -c -fno-sanitize=all -fPIC %S/../../lib/fuzzer/dataflow/D… 12 … -fno-sanitize=all -fsanitize=dataflow -fsanitize-coverage=trace-pc-guard,pc-table,bb,trace-cmp … 13 DISABLED: %cpp_compiler %S/OnlySomeBytesTest.cpp -o %t-Fuzz 16 DISABLED: rm -rf %t/* 17 DISABLED: mkdir -p %t/IN 18 DISABLED: echo -n 0123456789012345678901234567890123456789012345678901234567891234 > %t/IN/6 22 # %t/IN/12 is 4096 bytes-long. 24 DISABLED: %t-Fuzz -focus_function='fB(unsigned char const*)' -runs=0 %t/IN 2>&1 | FileCheck %s --ch… [all …]
|
H A D | trace-malloc-unbalanced.test | 1 // FIXME: This test infinite loops on darwin because it crashes 7 RUN: %cpp_compiler %S/TraceMallocTest.cpp -o %t-TraceMallocTest 9 # Specify python because we can't use the shebang line on Windows. 10 RUN: %run %t-TraceMallocTest -seed=1 -trace_malloc=1 -runs=200 2>&1 | \ 11 RUN: %python %libfuzzer_src/scripts/unbalanced_allocs.py --skip=5 | FileCheck %s 13 RUN: %run %t-TraceMallocTest -seed=1 -trace_malloc=2 -runs=200 2>&1 | \ 14 RUN: %python %libfuzzer_src/scripts/unbalanced_allocs.py --skip=5 | FileCheck %s --check-prefixe… 18 # implementation on Windows and Linux. 19 CHECK: Unbalanced MALLOC[{{[0-9]+}}] [[PTR:(:?0x)?[0-9a-fA-F]+]] 4 20 CHECK2-NEXT: {{ #0 0x[0-9a-f]+ in }} [all …]
|
/llvm-project/polly/www/ |
H A D | performance.html | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 3 <!-- Material used from: HTML 4.01 specs: http://www.w3.org/TR/html401/ --> 5 <head> <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> 6 <title>Polly - Performance</title> 12 <!--#include virtual="menu.html.incl"--> 17 <a href="https://web.cse.ohio-state.edu/~pouchet.2/software/polybench/">Polybench 19 point values on an Intel Core Xeon X5670 CPU @ 2.93GHz (12 cores, 24 thread) 21 href="http://pluto-compiler.sf.net">Pluto</a> transformations to optimize the 22 code. The source code of Polly and LLVM/clang was checked out on 39 to show similar speedup on larger examples like the SPEC CPU benchmarks Polly [all …]
|
/llvm-project/clang/test/CodeCompletion/ |
H A D | overrides.cpp | 17 // Runs completion at ^vf 18 // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:%(line-4):3 %s -o - | FileCheck -check-pref… 19 // CHECK-CC1: COMPLETION: Pattern : int ttt(bool param, int x = 3) const override{{$}} 20 // CHECK-CC1: COMPLETION: Pattern : void vfunc(bool param, int p) override{{$}} 21 // CHECK-CC1-NOT: COMPLETION: Pattern : void vfunc(bool param) override{{$}} 23 // Runs completion at vf^ 24 // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:%(line-10):5 %s -o - | FileCheck -check-pre… 25 // CHECK-CC2-NOT: COMPLETION: Pattern : int ttt(bool param, int x = 3) const override{{$}} 26 // CHECK-CC2: COMPLETION: Pattern : void vfunc(bool param, int p) override{{$}} 27 // CHECK-CC2-NOT: COMPLETION: Pattern : void vfunc(bool param) override{{$}} [all …]
|
/llvm-project/libc/benchmarks/automemcpy/ |
H A D | README.md |
|
/llvm-project/llvm/docs/ |
H A D | Bugpoint.rst | 30 compiler-debugging process; consequently, it may take a long period of 36 ---------------------------- 38 ``bugpoint`` reads each ``.bc`` or ``.ll`` file specified on the command line 40 LLVM passes are specified on the command line, it runs these passes on the test 44 Otherwise, if the ``-output`` option was not specified, ``bugpoint`` runs the 48 selected code generator crashes, ``bugpoint`` starts the `crash debugger`_ on 54 output, ``bugpoint`` runs the test program after all of the LLVM passes have 63 -------------- 69 ``opt``, for example, because it runs over 38 passes. 78 bitcode file, and give you instructions on how to reproduce the failure with [all …]
|
H A D | AdvancedBuilds.rst | 11 `CMake <http://www.cmake.org/>`_ is a cross-platform build-generator tool. CMake 22 Many of the build configurations mentioned on this documentation page can be 26 can be passed to CMake using the :code:`-C` flag as demonstrated in the examples 32 The Clang CMake build system supports bootstrap (aka multi-stage) builds. At a 33 high level a multi-stage build is a chain of builds that pass data from one 37 In a simple two-stage bootstrap build, we build clang using the system compiler, 38 then use that just-built clang to build clang again. In CMake this simplest form 42 .. code-block:: console 44 $ cmake -G Ninja -DCMAKE_BUILD_TYPE=Release \ 45 -DCLANG_ENABLE_BOOTSTRAP=On \ [all …]
|
H A D | Benchmarking.rst | 14 …OS 2009) <https://users.cs.northwestern.edu/~robby/courses/322-2013-spring/mytkowicz-wrong-data.pd… 24 * Disable as many processes or services as possible on the target system. 31 by passing ``-DLLVM_BUILD_STATIC=ON`` to cmake. 33 * Try to avoid storage. On some systems you can use tmpfs. Putting the 34 program, inputs and outputs on tmpfs avoids touching a real storage 37 To mount it (on linux and freebsd at least):: 39 mount -t tmpfs -o size=<XX>g none dir_to_mount 57 so that perf runs in one and your program in another:: 59 cset shield -c N1,N2 -k on 61 This will move all threads out of N1 and N2. The ``-k on`` means [all …]
|
/llvm-project/llvm/include/llvm/LTO/ |
H A D | LTOBackend.h | 1 //===-LTOBackend.h - LLVM Link Time Optimizer Backend -------- [all...] |
/llvm-project/utils/bazel/ |
H A D | README.md | 3 *Warning* The Bazel build is experimental and best-effort, supported in line 10 up-to-date is on the people who use the Bazel build. 12 [Bazel](https://bazel.build/) is a multi-language build system focused on 17 of projects that depend on LLVM use Bazel, and Bazel works best when it knows 22 [proposal](https://github.com/llvm/llvm-www/blob/main/proposals/LP0002-BazelBuildConfiguration.md) 27 1. `git clone https://github.com/llvm/llvm-projec [all...] |
/llvm-project/llvm/unittests/Analysis/ |
H A D | CGSCCPassManagerTest.cpp | 1 //===- CGSCCPassManagerTest.cpp --------- 44 TestModuleAnalysis(int & Runs) TestModuleAnalysis() argument 55 int &Runs; global() member in __anonec4113870111::TestModuleAnalysis 75 TestSCCAnalysis(int & Runs) TestSCCAnalysis() argument 86 int &Runs; global() member in __anonec4113870111::TestSCCAnalysis 105 TestFunctionAnalysis(int & Runs) TestFunctionAnalysis() argument 121 int &Runs; global() member in __anonec4113870111::TestFunctionAnalysis 136 TestImmutableFunctionAnalysis(int & Runs) TestImmutableFunctionAnalysis() argument 147 int &Runs; global() member in __anonec4113870111::TestImmutableFunctionAnalysis 910 int &Runs; global() member 952 int &Runs; global() member 1020 int &Runs; global() member [all...] |
/llvm-project/llvm/test/Other/ |
H A D | opt-pipeline-vector-passes.ll | 1 ; RUN: opt -disable-verify -debug-pass-manager -passes='default<O1>' -force-vector-width=4 -S %s 2>… 2 ; RUN: opt -disable-verify -debug-pass-manager -passes='default<O2>' -force-vector-width=4 -S %s 2>… 3 …N: opt -disable-verify -debug-pass-manager -passes='default<O2>' -force-vector-width=4 -extra-vect… 6 …N: opt -disable-verify -debug-pass-manager -passes='default<O2>' -force-vector-width=0 -extra-vect… 10 ; The loop vectorizer still runs at both -O1/-O2 even with the 11 ; debug flag, but it only works on loops explicitly annotated 14 ; SLP does not run at -O1. Loop vectorization runs, but it only 15 ; works on loops explicitly annotated with pragmas. 16 ; O1-LABEL: Running pass: LoopVectorizePass 17 ; O1-NOT: Running pass: SLPVectorizerPass [all …]
|
/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerFlags.def | 1 //===- FuzzerFlags.def - Run-time flags ------- [all...] |
/llvm-project/llvm/unittests/IR/ |
H A D | PassManagerTest.cpp | 1 //===- llvm/unittest/IR/PassManager.cpp - PassManager tests ---------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 34 // Check whether the analysis or all analyses on functions have been in invalidate() 41 TestFunctionAnalysis(int &Runs) : Runs(Runs) {} in TestFunctionAnalysis() argument 45 ++Runs; in run() 48 for (BasicBlock::iterator II = BBI->begin(), IE = BBI->end(); II != IE; in run() 58 int &Runs; member in __anon1d60355b0111::TestFunctionAnalysis 70 // Check whether the analysis or all analyses on modules have been in invalidate() 77 TestModuleAnalysis(int &Runs) : Runs(Runs) {} in TestModuleAnalysis() argument [all …]
|
/llvm-project/clang-tools-extra/clang-include-fixer/find-all-symbols/tool/ |
H A D | run-find-all-symbols.py | 3 # =- run-find-all-symbols.py - Parallel find-all-symbols runner -*- python -*-=# 7 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 9 # ===------------------------------------------------------------------------===# 12 Parallel find-all-symbols runner 15 Runs find-all-symbols over all files in a compilation database. 18 - Run find-all-symbols on all files in the current working directory. 19 run-find-all-symbols.py <source-file> 50 invocation = [args.binary, "-merge-dir=" + directory, args.saving_path] 56 """Takes filenames out of queue and runs find-all-symbols on them.""" 59 invocation = [args.binary, name, "-output-dir=" + tmpdir, "-p=" + build_path] [all …]
|
/llvm-project/compiler-rt/lib/orc/tests/unit/ |
H A D | error_test.cpp | 1 //===-- error_test.cpp --sssssssss------ [all...] |