| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/ |
| D | CMakeLists.txt | 7 # http://www.apache.org/licenses/LICENSE-2.0 16 "build/Android/include/llvm/Config/abi-breaking.h" 17 "build/Android/include/llvm/Config/config.h" 18 "build/Android/include/llvm/Config/llvm-config.h" 19 "build/Android/include/llvm/Support/DataTypes.h" 20 "build/Fuchsia/include/llvm/Config/abi-breaking.h" 21 "build/Fuchsia/include/llvm/Config/config.h" 22 "build/Fuchsia/include/llvm/Config/llvm-config.h" 23 "build/Fuchsia/include/llvm/Support/DataTypes.h" 24 "build/Linux/include/llvm/Config/abi-breaking.h" [all …]
|
| /third_party/rust/rust/compiler/rustc_codegen_llvm/src/back/ |
| D | write.rs | 11 use crate::llvm::{self, DiagnosticInfo, PassManager}; 28 use rustc_session::config::{self, Lto, OutputType, Passes, SplitDwarfKind, SwitchWithOptPath}; 34 use crate::llvm::diagnostic::OptimizationDiagnosticKind; 44 pub fn llvm_err<'a>(handler: &rustc_errors::Handler, err: LlvmError<'a>) -> FatalError { in llvm_err() 45 match llvm::last_error() { in llvm_err() 53 target: &'ll llvm::TargetMachine, in write_output_file() 54 pm: &llvm::PassManager<'ll>, in write_output_file() 55 m: &'ll llvm::Module, in write_output_file() 58 file_type: llvm::FileType, in write_output_file() 60 ) -> Result<(), FatalError> { in write_output_file() [all …]
|
| /third_party/rust/rust/src/bootstrap/ |
| D | configure.py | 3 # ignore-tidy-linelength 36 o("compiler-docs", "build.compiler-docs", "build compiler documentation") 37 o("optimize-tests", "rust.optimize-tests", "build tests with optimizations") 38 o("verbose-tests", "rust.verbose-tests", "enable verbose output when running tests") 39 o("ccache", "llvm.ccache", "invoke gcc/clang via ccache to reuse object files between builds") 41 o("local-rust", None, "use an installed rustc rather than downloading a snapshot") 42 v("local-rust-root", None, "set prefix for local rust binary") 43 …"local-rebuild", "build.local-rebuild", "assume local-rust matches the current version, for rebuil… 44 o("llvm-static-stdcpp", "llvm.static-libstdcpp", "statically link to libstdc++ for LLVM") 45 o("llvm-link-shared", "llvm.link-shared", "prefer shared linking to LLVM (llvm-config --link-shared… [all …]
|
| D | llvm.rs | 1 //! Compilation of native dependencies like LLVM. 3 //! Native projects like LLVM unfortunately aren't suited just yet for 6 //! compile LLVM 3 times as part of a normal bootstrap (we want it cached). 8 //! LLVM and compiler-rt are essentially just wired up to everything else to 21 use crate::config::{Config, TargetSelection}; 30 /// Path to llvm-config binary. 31 /// NB: This is always the host llvm-config! 33 /// Path to LLVM cmake directory for the target. 44 // Linker flags to pass to LLVM's CMake invocation. 67 /// This returns whether we've already previously built LLVM. [all …]
|
| D | config.rs | 3 //! This module implements parsing `config.toml` configuration files to tweak 36 "setting {} is incompatible with download-ci-llvm.", 49 /// This is a dry run enabled by the `--dry-run` flag. 65 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize() 73 StringOrInt::String("line-tables-only") => DebuginfoLevel::LineTablesOnly, in deserialize() 84 &"expected none, line-tables-only, limited, or full", in deserialize() 91 /// Suitable for passing to `-C debuginfo` 93 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() 97 LineTablesOnly => "line-tables-only", in fmt() 106 /// This structure is parsed from `config.toml`, and some of the fields are inferred from `git` or … [all …]
|
| D | sanity.rs | 6 //! compilers for cross-compiling are found. 19 use crate::config::Target; 29 pub fn new() -> Self { in new() 33 pub fn maybe_have<S: Into<OsString>>(&mut self, cmd: S) -> Option<PathBuf> { in maybe_have() 57 pub fn must_have<S: AsRef<OsStr>>(&mut self, cmd: S) -> PathBuf { in must_have() 69 // https://github.com/rust-lang/rust/issues/34959 for more details. in check() 81 // We need cmake, but only if we're actually building LLVM or sanitizers. in check() 82 let building_llvm = build.config.rust_codegen_backends.contains(&INTERNER.intern_str("llvm")) in check() 88 .config in check() 91 .map(|config| config.llvm_config.is_none()) in check() [all …]
|
| D | lib.rs | 6 //! builds, building artifacts like LLVM, etc. The goals of rustbuild are: 32 use config::{DryRun, Target}; 37 use crate::config::{LlvmLibunwind, TargetSelection}; 50 mod config; module 57 mod llvm; module 71 #[cfg(feature = "build-metrics")] 80 if build.config.low_priority { in setup() 93 pub use crate::config::Config; 98 "llvm-cov", // used to generate coverage report 99 "llvm-nm", // used to inspect binaries; it shows symbol names, their sizes and visibility [all …]
|
| D | dist.rs | 8 //! out to `rust-installer` still. This may one day be replaced with bits and 28 use crate::config::TargetSelection; 30 use crate::llvm; 36 pub fn pkgname(builder: &Builder<'_>, component: &str) -> String { in pkgname() 37 format!("{}-{}", component, builder.rust_package_vers()) in pkgname() 40 pub(crate) fn distdir(builder: &Builder<'_>) -> PathBuf { in distdir() 44 pub fn tmpdir(builder: &Builder<'_>) -> PathBuf { in tmpdir() 48 fn should_build_extended_tool(builder: &Builder<'_>, tool: &str) -> bool { in should_build_extended_tool() 49 if !builder.config.extended { in should_build_extended_tool() 52 builder.config.tools.as_ref().map_or(true, |tools| tools.contains(tool)) in should_build_extended_tool() [all …]
|
| /third_party/rust/rust/src/bootstrap/config/ |
| D | tests.rs | 1 use crate::config::TomlConfig; 3 use super::{Config, Flags}; 8 fn parse(config: &str) -> Config { in parse() argument 9 Config::parse_inner(&["check".to_owned(), "--config=/does/not/exist".to_owned()], |&_| { in parse() 10 toml::from_str(config).unwrap() in parse() 17 if crate::llvm::is_ci_llvm_modified(&parse("")) { in download_ci_llvm() 18 eprintln!("Detected LLVM as non-available: running in CI and modified LLVM in this change"); in download_ci_llvm() 23 let if_available = parse_llvm("llvm.download-ci-llvm = \"if-available\""); in download_ci_llvm() 25 assert!(parse_llvm("llvm.download-ci-llvm = true")); in download_ci_llvm() 26 assert!(!parse_llvm("llvm.download-ci-llvm = false")); in download_ci_llvm() [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
| D | TargetSelect.h | 1 //===- TargetSelect.h - Target Selection & Registration ---------*- C++ -*-===// 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 13 //===----------------------------------------------------------------------===// 18 #include "llvm/Config/llvm-config.h" 21 // Declare all of the target-initialization functions that are available. 23 #include "llvm/Config/Targets.def" 26 #include "llvm/Config/Targets.def" [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/ |
| D | Target.h | 1 /*===-- llvm-c/Target.h - Target Lib C Iface --------------------*- C++ -*-===*/ 3 /* Part of the LLVM Project, under the Apache License v2.0 with LLVM */ 5 /* See https://llvm.org/LICENSE.txt for license information. */ 6 /* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */ 8 /*===----------------------------------------------------------------------===*/ 17 /*===----------------------------------------------------------------------===*/ 22 #include "llvm-c/ExternC.h" 23 #include "llvm-c/Types.h" 24 #include "llvm/Config/llvm-config.h" 40 /* Declare all of the target-initialization functions that are available. */ [all …]
|
| /third_party/rust/rust/src/etc/completions/ |
| D | x.py.ps1 | 5 Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { 11 for ($i = 1; $i -lt $commandElements.Count; $i++) { 13 if ($element -isnot [StringConstantExpressionAst] -or 14 $element.StringConstantType -ne [StringConstantType]::BareWord -or 15 $element.Value.StartsWith('-') -or 16 $element.Value -eq $wordToComplete) { 20 }) -join ';' 24 …[CompletionResult]::new('--config', 'config', [CompletionResultType]::ParameterName, 'TOML configu… 25 …nResult]::new('--build-dir', 'build-dir', [CompletionResultType]::ParameterName, 'Build directory,… 26 …[CompletionResult]::new('--build', 'build', [CompletionResultType]::ParameterName, 'build target o… [all …]
|
| D | x.py.fish | 1 complete -c x.py -n "__fish_use_subcommand" -l config -d 'TOML configuration file for build' -r -F 2 complete -c x.py -n "__fish_use_subcommand" -l build-dir -d 'Build directory, overrides `build.buil… 3 complete -c x.py -n "__fish_use_subcommand" -l build -d 'build target of the stage0 compiler' -r -f 4 complete -c x.py -n "__fish_use_subcommand" -l host -d 'host targets to build' -r -f 5 complete -c x.py -n "__fish_use_subcommand" -l target -d 'target targets to build' -r -f 6 complete -c x.py -n "__fish_use_subcommand" -l exclude -d 'build paths to exclude' -r -F 7 complete -c x.py -n "__fish_use_subcommand" -l rustc-error-format -r -f 8 complete -c x.py -n "__fish_use_subcommand" -l on-fail -d 'command to run on failure' -r -f -a "(__… 9 …-c x.py -n "__fish_use_subcommand" -l stage -d 'stage to build (indicates compiler to use/test, e.… 10 … -c x.py -n "__fish_use_subcommand" -l keep-stage -d 'stage(s) to keep without recompiling (pass m… [all …]
|
| D | x.py.sh | 5 prev="${COMP_WORDS[COMP_CWORD-1]}" 64 …-v -i -j -h --verbose --incremental --config --build-dir --build --host --target --exclude --inclu… 65 if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then 66 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) 70 --config) 71 COMPREPLY=($(compgen -f "${cur}")) 74 --build-dir) 75 COMPREPLY=($(compgen -f "${cur}")) 78 --build) 82 --host) [all …]
|
| /third_party/skia/third_party/externals/swiftshader/src/Reactor/ |
| D | LLVMReactor.hpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 29 #include "llvm/IR/IRBuilder.h" 30 #include "llvm/IR/LLVMContext.h" 38 namespace llvm namespace 44 } // namespace llvm 51 llvm::Type *T(Type *t); 53 inline Type *T(llvm::Type *t) in T() 58 inline llvm::Value *V(Value *t) in V() 60 return reinterpret_cast<llvm::Value *>(t); in V() 63 inline Value *V(llvm::Value *t) in V() [all …]
|
| D | BUILD.gn | 7 # http://www.apache.org/licenses/LICENSE-2.0 18 config("swiftshader_llvm_reactor_private_config") { 21 "/wd4141", # 'inline' used more than once. (LLVM 7.0) 22 "/wd4146", # unary minus operator applied to unsigned type. (LLVM 7.0) 25 "/wd4245", # conversion from int to unsigned int (llvm) 26 "/wd4624", # destructor was implicitly defined as deleted (LLVM 7.0) 29 cflags = [ "-Wno-unused-local-typedef" ] 33 config("swiftshader_reactor_base_private_config") { 56 # Need a separate config to ensure the warnings are added to the end. 57 config("swiftshader_subzero_common_private_config") { [all …]
|
| /third_party/mesa3d/docs/ |
| D | meson.rst | 5 --------------- 16 <https://mesonbuild.com/Getting-meson.html>`__ to install the 22 Unix-like OSes 28 .. code-block:: sh 30 sudo apt-get install meson # Ubuntu 34 .. code-block:: sh 41 You'll also need `Ninja <https://ninja-build.org/>`__. If it's not 42 already installed, use apt-get or dnf to install the *ninja-build* 49 On Debian, Ubuntu and similar, ``sudo apt-get build-dep mesa`` installs 54 All these dependencies are for latest linux distros and is tested on ubuntu-24 only for now. [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
| D | ValueMap.h | 1 //===- ValueMap.h - Safe map from Values to data ----------------*- C++ -*-===// 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 // key is RAUWed from V1 to V2, the old mapping V1->target is removed, and a new 13 // mapping V2->target is added. If V2 already existed, its old target is 16 // You can override a ValueMap's Config parameter to control exactly what 18 // legal to call back into the ValueMap from a Config's callbacks. Config 23 //===----------------------------------------------------------------------===// [all …]
|
| /third_party/mesa3d/.gitlab-ci/container/ |
| D | build-libclc.sh | 3 set -uex 7 export LLVM_CONFIG="llvm-config-${LLVM_VERSION:?"llvm unset!"}" 8 LLVM_TAG="llvmorg-15.0.7" 10 $LLVM_CONFIG --version 12 git config --global user.email "mesa@example.com" 13 git config --global user.name "Mesa CI" 15 https://github.com/llvm/llvm-project \ 16 --depth 1 \ 17 -b "${LLVM_TAG}" \ 18 /llvm-project [all …]
|
| /third_party/rust/rust/compiler/rustc_llvm/ |
| D | build.rs | 31 fn detect_llvm_link() -> (&'static str, &'static str) { in detect_llvm_link() 33 // possibly overridden by `configure --enable-llvm-link-shared`. in detect_llvm_link() 35 ("dylib", "--link-shared") in detect_llvm_link() 37 ("static", "--link-static") in detect_llvm_link() 41 // Because Cargo adds the compiler's dylib path to our library search path, llvm-config may 42 // break: the dylib path for the compiler, as of this writing, contains a copy of the LLVM 43 // shared library, which means that when our freshly built llvm-config goes to load it's 44 // associated LLVM, it actually loads the compiler's LLVM. In particular when building the first 45 // compiler (i.e., in stage 0) that's a problem, as the compiler's LLVM is likely different from 47 // perfect -- we might actually want to see something from Cargo's added library paths -- but [all …]
|
| /third_party/rust/crates/clang-sys/build/ |
| D | common.rs | 1 // SPDX-License-Identifier: Apache-2.0 43 /// `llvm-config` couldn't be executed but an instance of `libclang` was found 64 if let Some(errors) = errors.get("llvm-config") { in drop() 66 "cargo:warning=could not execute `llvm-config` one or more \ in drop() 68 a full path to valid `llvm-config` executable it will be used \ in drop() 78 if let Some(errors) = errors.get("xcode-select") { in drop() 80 "cargo:warning=could not execute `xcode-select` one or more \ in drop() 96 fn run_command(name: &str, path: &str, arguments: &[&str]) -> Option<String> { in run_command() 115 /// Executes the `llvm-config` command and returns the `stdout` output if the 117 pub fn run_llvm_config(arguments: &[&str]) -> Option<String> { in run_llvm_config() [all …]
|
| /third_party/rust/rust/src/ci/docker/host-x86_64/disabled/dist-x86_64-haiku/ |
| D | Dockerfile | 3 RUN apt-get update && apt-get install -y --no-install-recommends \ 8 ca-certificates \ 16 libcurl4-openssl-dev \ 17 libssl-dev \ 19 ninja-build \ 21 pkg-config \ 26 xz-utils \ 27 zlib1g-dev 29 COPY host-x86_64/dist-x86_64-haiku/llvm-config.sh /bin/llvm-config-haiku 34 COPY host-x86_64/dist-x86_64-haiku/build-toolchain.sh /tmp/ [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/ |
| D | LTOBackend.cpp | 1 //===-LTOBackend.cpp - LLVM Link Time Optimizer Backend -------------------===// 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 14 //===----------------------------------------------------------------------===// 16 #include "llvm/LTO/LTOBackend.h" 17 #include "llvm/Analysis/AliasAnalysis.h" 18 #include "llvm/Analysis/CGSCCPassManager.h" 19 #include "llvm/Analysis/TargetLibraryInfo.h" [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
| D | Process.cpp | 1 //===-- Process.cpp - Implement OS Process Concept --------------*- C++ -*-===// 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 13 #include "llvm/Support/Process.h" 14 #include "llvm/ADT/STLExtras.h" 15 #include "llvm/ADT/StringExtras.h" 16 #include "llvm/Config/config.h" [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/LTO/ |
| D | Config.h | 1 //===-Config.h - LLVM Link Time Optimizer Configuration -------------------===// 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // This file defines the lto::Config data structure, which allows clients to 12 //===----------------------------------------------------------------------===// 17 #include "llvm/ADT/DenseSet.h" 18 #include "llvm/IR/DiagnosticInfo.h" 19 #include "llvm/IR/GlobalValue.h" [all …]
|