Home
last modified time | relevance | path

Searched refs:compiler (Results 1 – 25 of 1131) sorted by relevance

12345678910>>...46

/llvm-project-15.0.7/clang/unittests/CodeGen/
H A DTestCompiler.h29 clang::CompilerInstance compiler; member
36 compiler.getLangOpts() = LO;
37 compiler.getCodeGenOpts() = CGO;
38 compiler.createDiagnostics();
47 compiler.getDiagnostics(),
53 compiler.createFileManager();
54 compiler.createSourceManager(compiler.getFileManager());
57 compiler.createASTContext();
60 compiler.getDiagnostics(), "main-module",
61 &compiler.getVirtualFileSystem(), compiler.getHeaderSearchOpts(),
[all …]
/llvm-project-15.0.7/clang/tools/scan-build-py/tests/functional/exec/
H A Dmain.c121 FORK(execv(compiler, argv);) in call_execv()
142 char *const compiler = "cc"; in call_execvp() local
148 FORK(execvp(compiler, argv);) in call_execvp()
155 char *const compiler = "cc"; in call_execvP() local
168 char *const compiler = "cc"; in call_execvpe() local
189 FORK(exect(compiler, argv, envp);) in call_exect()
208 char *const compiler = "cc"; in call_execlp() local
213 FORK(execlp(compiler, compiler, "-c", file, (char *)0);) in call_execlp()
226 FORK(execle(compiler, compiler, "-c", file, (char *)0, envp);) in call_execle()
233 char *const compiler = "cc"; in call_posix_spawn() local
[all …]
/llvm-project-15.0.7/clang/runtime/
H A DCMakeLists.txt38 # Add compiler-rt as an external project.
44 add_custom_target(compiler-rt-clear
69 ExternalProject_Add(compiler-rt
105 ExternalProject_Add_Step(compiler-rt clean
107 COMMENT "Cleaning compiler-rt..."
115 COMPONENT compiler-rt)
117 add_llvm_install_targets(install-compiler-rt
118 DEPENDS compiler-rt
127 DEPENDS compiler-rt-configure
154 add_custom_target(check-compiler-rt
[all …]
/llvm-project-15.0.7/compiler-rt/include/
H A DCMakeLists.txt60 # Copy compiler-rt headers to the build tree.
68 COMMENT "Copying compiler-rt's ${f}...")
73 add_dependencies(compiler-rt compiler-rt-headers)
78 COMPONENT compiler-rt-headers
83 COMPONENT compiler-rt-headers
88 COMPONENT compiler-rt-headers
93 COMPONENT compiler-rt-headers
98 COMPONENT compiler-rt-headers
103 add_custom_target(install-compiler-rt-headers
104 DEPENDS compiler-rt-headers
[all …]
/llvm-project-15.0.7/lldb/packages/Python/lldbsuite/test/builders/
H A Dbuilder.py20 compiler = configuration.compiler if configuration.compiler else "clang"
21 compiler = lldbutil.which(compiler)
22 return os.path.abspath(compiler)
92 def getCCSpec(self, compiler): argument
97 cc = compiler if compiler else None
98 if not cc and configuration.compiler:
99 cc = configuration.compiler
139 def getBuildCommand(self, debug_info, architecture=None, compiler=None, argument
148 self.getCCSpec(compiler), self.getExtraMakeArgs(),
/llvm-project-15.0.7/llvm/utils/gn/secondary/compiler-rt/lib/
H A DBUILD.gn3 "//compiler-rt/lib/asan:ignorelist($host_toolchain)",
4 "//compiler-rt/lib/cfi:ignorelist($host_toolchain)",
7 deps += [ "//compiler-rt/lib/msan" ]
10 deps += [ "//compiler-rt/lib/ubsan_minimal" ]
13 deps += [ "//compiler-rt/lib/asan" ]
15 deps += [ "//compiler-rt/lib/tsan/rtl" ]
19 deps += [ "//compiler-rt/lib/builtins" ]
22 deps += [ "//compiler-rt/lib/profile" ]
/llvm-project-15.0.7/llvm/docs/
H A DAdvancedBuilds.rst74 The stage1 compiler is a host-only compiler with some options set. The stage1
76 The stage2 compiler is the fully optimized compiler intended to ship to users.
80 You can build an Apple Clang compiler using the following commands:
87 This CMake invocation configures the stage1 host compiler, and sets
92 compiler and required tools, then configures and builds the stage2 compiler
123 and you *must* have compiler-rt in your build tree.
136 optimized compiler.
146 llvm-profdata) then uses that compiler to build an instrumented stage2 compiler.
154 compiler with the stage2 profdata to build a PGO-optimized compiler.
163 Depends on stage2 and runs check-all using the stage2 compiler.
[all …]
/llvm-project-15.0.7/llvm/utils/gn/secondary/compiler-rt/lib/asan/
H A DBUILD.gn1 import("//compiler-rt/target.gni")
179 "//compiler-rt/lib/interception:sources",
180 "//compiler-rt/lib/lsan:common_sources",
182 "//compiler-rt/lib/ubsan:cxx_sources",
183 "//compiler-rt/lib/ubsan:sources",
210 "//compiler-rt/lib/interception:sources",
211 "//compiler-rt/lib/lsan:common_sources",
213 "//compiler-rt/lib/ubsan:sources",
224 "//compiler-rt/lib/ubsan:cxx_sources",
258 "//compiler-rt/lib/interception:sources",
[all …]
/llvm-project-15.0.7/clang/cmake/caches/
H A DREADME.txt31 The PGO CMake cache can be used to generate a multi-stage instrumented compiler.
39 Builds a stage1 x86 compiler, runtime, and required tools (llvm-config,
40 llvm-profdata) then uses that compiler to build an instrumented stage2 compiler.
43 Depends on "stage2-instrumented" and will use the instrumented compiler to
48 compiler with the stage2 profdata to build a PGO-optimized compiler.
51 Depends on stage2 and runs check-llvm using the stage3 compiler.
54 Depends on stage2 and runs check-clang using the stage3 compiler.
57 Depends on stage2 and runs check-all using the stage3 compiler.
60 Depends on stage2 and runs the test-suite using the stage3 compiler (requires
73 This is useful for finding non-determinism the compiler by verifying that stage2
/llvm-project-15.0.7/llvm/utils/gn/secondary/compiler-rt/test/asan/
H A DBUILD.gn1 import("//compiler-rt/target.gni")
2 import("//compiler-rt/test/test.gni")
4 import("//llvm/utils/gn/build/toolchain/compiler.gni")
23 "COMPILER_RT_BINARY_DIR=" + rebase_path("$root_gen_dir/compiler-rt"),
32 "//compiler-rt/include($host_toolchain)",
33 "//compiler-rt/lib/asan",
34 "//compiler-rt/lib/asan:ignorelist($host_toolchain)",
35 "//compiler-rt/lib/profile",
36 "//compiler-rt/test:lit_common_configured",
/llvm-project-15.0.7/llvm/utils/gn/secondary/compiler-rt/
H A DBUILD.gn3 import("//llvm/utils/gn/build/toolchain/compiler.gni")
5 # In the GN build, compiler-rt is always built by just-built clang and lld.
19 group("compiler-rt") {
20 deps = [ "//compiler-rt/include($host_toolchain)" ]
22 deps += [ "//compiler-rt/lib($toolchain)" ]
29 deps += [ "//compiler-rt/lib/builtins(//llvm/utils/gn/build/toolchain:stage2_ios_aarch64)" ]
32 deps += [ "//compiler-rt/lib/builtins(//llvm/utils/gn/build/toolchain:stage2_iossim_x64)" ]
/llvm-project-15.0.7/llvm/utils/gn/secondary/compiler-rt/lib/scudo/standalone/tests/
H A DBUILD.gn1 import("//llvm/utils/gn/build/toolchain/compiler.gni")
9 deps = [ "//compiler-rt/lib/scudo/standalone:sources" ]
42 "//compiler-rt/lib/scudo/standalone:c_wrapper_sources",
43 "//compiler-rt/lib/scudo/standalone:sources",
56 "//compiler-rt/lib/scudo/standalone:c_wrapper_sources",
57 "//compiler-rt/lib/scudo/standalone:cxx_wrapper_sources",
58 "//compiler-rt/lib/scudo/standalone:sources",
/llvm-project-15.0.7/lldb/test/Shell/helper/
H A Dbuild.py184 if compiler == 'msvc':
186 if compiler == 'clang-cl':
188 if compiler == 'gcc':
190 if compiler == 'clang':
192 if compiler == 'any':
209 return ('msvc', compiler)
213 return ('clang', compiler)
215 return ('gcc', compiler)
218 return ('unknown', compiler)
227 self.compiler = args.compiler
[all …]
/llvm-project-15.0.7/compiler-rt/cmake/
H A Dbase-config-ix.cmake20 # Top level target used to build all compiler-rt libraries.
21 add_custom_target(compiler-rt ALL)
22 add_custom_target(install-compiler-rt)
23 add_custom_target(install-compiler-rt-stripped)
26 compiler-rt
27 install-compiler-rt
28 install-compiler-rt-stripped
71 "Path where built compiler-rt libraries should be stored.")
78 # Use a host compiler to compile/link tests.
118 "Path where compiler-rt headers should be installed.")
[all …]
/llvm-project-15.0.7/llvm/utils/gn/secondary/compiler-rt/test/hwasan/
H A DBUILD.gn1 import("//compiler-rt/target.gni")
2 import("//compiler-rt/test/test.gni")
4 import("//llvm/utils/gn/build/toolchain/compiler.gni")
21 "COMPILER_RT_BINARY_DIR=" + rebase_path("$root_gen_dir/compiler-rt"),
38 "//compiler-rt/include($host_toolchain)",
39 "//compiler-rt/lib/cfi:ignorelist($host_toolchain)",
40 "//compiler-rt/lib/hwasan:hwasan_shared",
41 "//compiler-rt/test:lit_common_configured",
69 deps = [ "//compiler-rt/lib/hwasan/scripts:hwasan_symbolize" ]
/llvm-project-15.0.7/openmp/
H A DREADME.rst91 **CMAKE_C_COMPILER** = <C compiler name>
92 Specify the C compiler.
94 **CMAKE_CXX_COMPILER** = <C++ compiler name>
95 Specify the C++ compiler.
97 **CMAKE_Fortran_COMPILER** = <Fortran compiler name>
100 compiler is not needed during the build.
229 Additional C++ compiler flags.
241 Additional Fortran compiler flags.
277 clang), or the Clang compiler that the build uses as C compiler
289 Host compiler to use with NVCC. This compiler is not going to be used to
[all …]
/llvm-project-15.0.7/clang/unittests/Frontend/
H A DFrontendActionTest.cpp91 CompilerInstance compiler; in TEST() local
92 compiler.setInvocation(std::move(invocation)); in TEST()
93 compiler.createDiagnostics(); in TEST()
96 ASSERT_TRUE(compiler.ExecuteAction(test_action)); in TEST()
111 CompilerInstance compiler; in TEST() local
112 compiler.setInvocation(std::move(invocation)); in TEST()
113 compiler.createDiagnostics(); in TEST()
116 ASSERT_TRUE(compiler.ExecuteAction(test_action)); in TEST()
138 CompilerInstance compiler; in TEST() local
139 compiler.setInvocation(std::move(invocation)); in TEST()
[all …]
/llvm-project-15.0.7/compiler-rt/test/
H A DCMakeLists.txt7 shipped with the compiler (used for testing). When set to OFF and testing \
8 in a standalone build, test the runtime libraries shipped with the compiler \
9 (used for testing). This option has no effect if the compiler and this \
28 # When ANDROID, we build tests with the host compiler (i.e. CMAKE_C_COMPILER),
35 llvm-readelf llvm-readobj llvm-size llvm-symbolizer compiler-rt-headers sancov
48 umbrella_lit_testsuite_begin(check-compiler-rt)
102 # ShadowCallStack does not yet provide a runtime with compiler-rt, the tests
110 add_custom_target(compiler-rt-test-depends DEPENDS ${LLVM_COMPILER_RT_LIT_DEPENDS})
111 umbrella_lit_testsuite_end(check-compiler-rt)
116 add_dependencies(check-all check-compiler-rt)
/llvm-project-15.0.7/compiler-rt/cmake/Modules/
H A DCompilerRTMockLLVMCMakeConfig.cmake2 # compiler-rt can successfully configure itself when a LLVM toolchain is
5 # The motivation for this is to be able to generate the compiler-rt
26 # Various bits of compiler-rt depend on the `LLVM_TARGET_TRIPLE` variable
34 # compiler.
43 # Try asking the compiler for its default target triple.
56 "Fetching target triple from compiler \"${CMAKE_C_COMPILER_ID}\" "
62 message(FATAL_ERROR "Fetching target triple from compiler failed")
73 # Some compiler-rt CMake code needs to call code in this file.
/llvm-project-15.0.7/clang/test/Modules/
H A Dload-module-with-errors.m4 // pcherror-error@* {{PCH file contains compiler errors}}
19 // RUN: %clang_cc1 -fmodules -fallow-pcm-with-compiler-errors \
22 // RUN: %clang_cc1 -fmodules -fallow-pcm-with-compiler-errors \
26 // RUN: %clang_cc1 -fmodules -fallow-pcm-with-compiler-errors \
32 // RUN: %clang_cc1 -fsyntax-only -fmodules -fallow-pcm-with-compiler-errors \
40 // RUN: %clang_cc1 -fsyntax-only -fmodules -fallow-pcm-with-compiler-errors \
52 // RUN: %clang_cc1 -fsyntax-only -fmodules -fallow-pcm-with-compiler-errors \
64 // RUN: grep "PCH file contains compiler errors"
74 // RUN: %clang_cc1 -fsyntax-only -fmodules -fallow-pcm-with-compiler-errors \
92 // allow-pcm-with-compiler-errors should also allow errors in PCH
[all …]
/llvm-project-15.0.7/third-party/benchmark/
H A D.travis.yml7 - compiler: gcc
13 - compiler: gcc
25 - compiler: gcc
37 - compiler: gcc
44 - compiler: clang
55 - compiler: clang
67 - compiler: clang
83 - compiler: clang
99 - compiler: clang
114 - compiler: clang
[all …]
H A Dappveyor.yml11 - compiler: msvc-15-seh
14 - compiler: msvc-15-seh
17 - compiler: msvc-14-seh
20 - compiler: msvc-14-seh
23 - compiler: gcc-5.3.0-posix
/llvm-project-15.0.7/lldb/test/API/lang/c/calling-conventions/
H A DTestCCallingConventions.py43 @skipIf(compiler="clang", compiler_version=['<', '9.0'])
49 @skipIf(compiler="clang", compiler_version=['<', '9.0'])
56 @skipIf(compiler="clang", compiler_version=['<', '9.0'])
69 @skipIf(compiler="clang", compiler_version=['<', '9.0'])
75 @skipIf(compiler="clang", compiler_version=['<', '9.0'])
/llvm-project-15.0.7/llvm/utils/gn/build/toolchain/
H A Dtarget_flags.gni2 import("//llvm/utils/gn/build/toolchain/compiler.gni")
4 # Flags in this file are passed both to the compiler that's building
5 # compiler-rt at build time (via normal gn cflags/ldflags), as well as to the
6 # compiler building compiler-rt test programs at test time (via
/llvm-project-15.0.7/llvm/test/Linker/
H A Donly-needed-compiler-used.ll1 ; RUN: llvm-link -S %s %p/Inputs/only-needed-compiler-used.ll | FileCheck…
2 ; RUN: llvm-link -S -internalize %s %p/Inputs/only-needed-compiler-used.ll | FileCheck…
3 ; RUN: llvm-link -S -only-needed %s %p/Inputs/only-needed-compiler-used.ll | FileCheck…
4 ; RUN: llvm-link -S -only-needed -internalize %s %p/Inputs/only-needed-compiler-used.ll | FileCheck…
9 ; CHECK-DAG: @llvm.compiler.used = appending global [2 x i8*] [i8* @used1, i8* bitcast (i3…

12345678910>>...46