Home
last modified time | relevance | path

Searched full:llvm (Results 1 – 25 of 6398) sorted by relevance

12345678910>>...256

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/
H A DLinkAllPasses.h1 //===- llvm/LinkAllPasses.h ------------ Reference All Passes ---*- 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
17 #include "llvm/ADT/Statistic.h"
18 #include "llvm/Analysis/AliasAnalysisEvaluator.h"
19 #include "llvm/Analysis/AliasSetTracker.h"
20 #include "llvm/Analysis/BasicAliasAnalysis.h"
21 #include "llvm/Analysis/CFLAndersAliasAnalysis.h"
22 #include "llvm/Analysis/CFLSteensAliasAnalysis.h"
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/utils/TableGen/
H A DTableGenBackends.h3 // 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
20 namespace llvm {
23 } // namespace llvm
27 void EmitClangDeclContext(llvm::RecordKeeper &RK, llvm::raw_ostream &OS);
28 void EmitClangASTNodes(llvm::RecordKeeper &RK, llvm::raw_ostream &OS,
30 void EmitClangBasicReader(llvm::RecordKeeper &Records, llvm::raw_ostream &OS);
31 void EmitClangBasicWriter(llvm::RecordKeeper &Records, llvm::raw_ostream &OS);
32 void EmitClangTypeNodes(llvm::RecordKeeper &Records, llvm::raw_ostream &OS);
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/bindings/ocaml/transforms/scalar_opts/
H A Dllvm_scalar_opts.mli1 (*===-- llvm_scalar_opts.mli - LLVM OCaml Interface -----------*- OCaml -*-===*
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
11 This interface provides an OCaml API for LLVM scalar transforms, the
14 (** See the [llvm::createAggressiveDCEPass] function. *)
16 : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
19 (** See the [llvm::createDCEPass] function. *)
21 : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
24 (** See the [llvm::createAlignmentFromAssumptionsPass] function. *)
[all …]
H A Dllvm_scalar_opts.ml1 (*===-- llvm_scalar_opts.ml - LLVM OCaml Interface ------------*- OCaml -*-===*
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
10 : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
13 : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
16 : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
19 : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
22 : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
25 : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
[all …]
H A Dscalar_opts_ocaml.c1 /*===-- scalar_opts_ocaml.c - LLVM OCaml Glue -------------------*- 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 *|
10 |* This file glues LLVM's OCaml interface to its C interface. These functions *|
18 #include "llvm-c/Transforms/Scalar.h"
19 #include "llvm-c/Transforms/Utils.h"
23 /* [<Llvm.PassManager.any] Llvm.PassManager.t -> unit */
34 /* [<Llvm.PassManager.any] Llvm.PassManager.t -> unit */
40 /* [<Llvm.PassManager.any] Llvm.PassManager.t -> unit */
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/utils/gn/secondary/llvm/test/
H A DBUILD.gn1 import("//llvm/lib/DebugInfo/PDB/enable_dia.gni")
2 import("//llvm/lib/Target/targets_string.gni")
3 import("//llvm/triples.gni")
4 import("//llvm/utils/gn/build/buildflags.gni")
5 import("//llvm/utils/gn/build/libs/pthread/enable.gni")
6 import("//llvm/utils/gn/build/libs/xar/enable.gni")
7 import("//llvm/utils/gn/build/libs/xml/enable.gni")
8 import("//llvm/utils/gn/build/libs/zlib/enable.gni")
9 import("//llvm/utils/gn/build/write_cmake_config.gni")
10 import("//llvm/utils/llvm-lit/lit_path_function.gni")
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/bindings/ocaml/debuginfo/
H A Dllvm_debuginfo.ml1 (*===-- llvm_debuginfo.ml - LLVM OCaml Interface --------------*- OCaml -*-===*
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
151 external get_module_debug_metadata_version : Llvm.llmodule -> int
154 external dibuilder : Llvm.llmodule -> lldibuilder = "llvm_dibuilder"
162 file_ref:Llvm.llmetadata ->
174 Llvm.llmetadata
178 lldibuilder -> filename:string -> directory:string -> Llvm.llmetadata
183 parent_ref:Llvm.llmetadata ->
[all …]
H A Dllvm_debuginfo.mli1 (*===-- llvm_debuginfo.mli - LLVM OCaml Interface -------------*- OCaml -*-===*
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
156 val get_module_debug_metadata_version : Llvm.llmodule -> int
159 val dibuilder : Llvm.llmodule -> lldibuilder
168 file_ref:Llvm.llmetadata ->
180 Llvm.llmetadata
186 lldibuilder -> filename:string -> directory:string -> Llvm.llmetadata
192 parent_ref:Llvm.llmetadata ->
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-pdbutil/
H A Dllvm-pdbutil.h1 //===- llvm-pdbutil.h ----------------------------------------- *- 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
12 #include "llvm/ADT/DenseMap.h"
13 #include "llvm/ADT/Optional.h"
14 #include "llvm/ADT/PointerUnion.h"
15 #include "llvm/Support/CommandLine.h"
16 #include "llvm/Support/raw_ostream.h"
21 namespace llvm {
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGDebugInfo.h1 //===--- CGDebugInfo.h - DebugInfo for LLVM CodeGen -------------*- 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
9 // This is the source-level debug info generator for llvm translation.
26 #include "llvm/ADT/DenseMap.h"
27 #include "llvm/ADT/DenseSet.h"
28 #include "llvm/ADT/Optional.h"
29 #include "llvm/IR/DIBuilder.h"
30 #include "llvm/IR/DebugInfo.h"
[all …]
H A DCodeGenModule.h1 //===--- CodeGenModule.h - Per-Module state for LLVM CodeGen ----*- 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
9 // This is the internal per-translation-unit state used for llvm translation.
32 #include "llvm/ADT/DenseMap.h"
33 #include "llvm/ADT/SetVector.h"
34 #include "llvm/ADT/SmallPtrSet.h"
35 #include "llvm/ADT/StringMap.h"
36 #include "llvm/IR/Module.h"
[all …]
H A DCGBuilder.h3 // 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
12 #include "llvm/IR/DataLayout.h"
13 #include "llvm/IR/IRBuilder.h"
25 class CGBuilderInserter final : public llvm::IRBuilderDefaultInserter {
31 void InsertHelper(llvm::Instruction *I, const llvm::Twine &Name,
32 llvm::BasicBlock *BB,
33 llvm::BasicBlock::iterator InsertPt) const override;
40 typedef llvm::IRBuilder<llvm::ConstantFolder, CGBuilderInserterTy>
[all …]
H A DMicrosoftCXXABI.cpp1 //===--- MicrosoftCXXABI.cpp - Emit LLVM Code from ASTs for a Module ------===//
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
29 #include "llvm/ADT/StringExtras.h"
30 #include "llvm/ADT/StringSet.h"
31 #include "llvm/IR/Intrinsics.h"
41 SmallVector<llvm::GlobalVariable *, 2> Globals;
109 llvm::array_pod_sort(VBPtrOffsets.begin(), VBPtrOffsets.end()); in getVBPtrOffsets()
125 llvm::GlobalVariable *getMSCompleteObjectLocator(const CXXRecordDecl *RD,
[all …]
H A DCGLoopInfo.h1 //===---- CGLoopInfo.h - LLVM CodeGen for loop metadata -*- 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
9 // This is the internal state used for llvm translation for loop statement
17 #include "llvm/ADT/ArrayRef.h"
18 #include "llvm/ADT/SmallVector.h"
19 #include "llvm/IR/DebugLoc.h"
20 #include "llvm/IR/Value.h"
21 #include "llvm/Support/Compiler.h"
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/
H A DTargets.cpp3 // 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
42 #include "llvm/ADT/StringExtras.h"
43 #include "llvm/ADT/Triple.h"
107 TargetInfo *AllocateTarget(const llvm::Triple &Triple, in AllocateTarget()
109 llvm::Triple::OSType os = Triple.getOS(); in AllocateTarget()
115 case llvm::Triple::arc: in AllocateTarget()
118 case llvm::Triple::xcore: in AllocateTarget()
121 case llvm::Triple::hexagon: in AllocateTarget()
[all …]
H A DTargetID.cpp3 // 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
10 #include "llvm/ADT/SmallSet.h"
11 #include "llvm/ADT/Triple.h"
12 #include "llvm/Support/TargetParser.h"
13 #include "llvm/Support/raw_ostream.h"
18 static const llvm::SmallVector<llvm::StringRef, 4>
19 getAllPossibleAMDGPUTargetIDFeatures(const llvm::Triple &T, in getAllPossibleAMDGPUTargetIDFeatures()
20 llvm::StringRef Proc) { in getAllPossibleAMDGPUTargetIDFeatures()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/obj2yaml/
H A Dobj2yaml.h3 // 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
15 #include "llvm/Object/COFF.h"
16 #include "llvm/Object/Minidump.h"
17 #include "llvm/Object/Wasm.h"
18 #include "llvm/Object/XCOFFObjectFile.h"
19 #include "llvm/Support/raw_ostream.h"
20 #include "llvm/Support/MemoryBufferRef.h"
23 std::error_code coff2yaml(llvm::raw_ostream &Out,
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/docs/CommandGuide/
H A Dindex.rst1 LLVM Command Guide
4 The following documents are command descriptions for all of the LLVM tools.
5 These pages describe how to use the LLVM commands and what their options are.
20 llvm-as
21 llvm-config
22 llvm-cov
23 llvm-cxxmap
24 llvm-diff
25 llvm-dis
26 llvm-dwarfdump
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DBasicValueFactory.h3 // 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
25 #include "llvm/ADT/APSInt.h"
26 #include "llvm/ADT/FoldingSet.h"
27 #include "llvm/ADT/ImmutableList.h"
28 #include "llvm/ADT/iterator_range.h"
29 #include "llvm/Support/Allocator.h"
41 class CompoundValData : public llvm::FoldingSetNode {
43 llvm::ImmutableList<SVal> L;
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/ASTMatchers/Dynamic/
H A DMarshallers.cpp3 // 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
10 #include "llvm/ADT/ArrayRef.h"
11 #include "llvm/ADT/Optional.h"
12 #include "llvm/ADT/StringRef.h"
13 #include "llvm/Support/Regex.h"
16 static llvm::Optional<std::string>
17 getBestGuess(llvm::StringRef Search, llvm::ArrayRef<llvm::StringRef> Allowed, in getBestGuess()
18 llvm::StringRef DropPrefix = "", unsigned MaxEditDistance = 3) { in getBestGuess()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Driver/ToolChains/
H A DClang.h3 // 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
17 #include "llvm/ADT/Triple.h"
18 #include "llvm/Option/Option.h"
19 #include "llvm/Support/raw_ostream.h"
30 static const char *getBaseInputName(const llvm::opt::ArgList &Args,
32 static const char *getBaseInputStem(const llvm::opt::ArgList &Args,
34 static const char *getDependencyFileName(const llvm::opt::ArgList &Args,
39 const Driver &D, const llvm::opt::ArgList &Args,
[all …]
H A DCommonArgs.h3 // 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
17 #include "llvm/Support/CodeGen.h"
27 const llvm::opt::ArgList &Args,
28 llvm::opt::ArgStringList &CmdArgs, const JobAction &JA);
31 const llvm::opt::ArgList &Args,
32 llvm::opt::ArgStringList &CmdArgs);
34 void claimNoWarnArgs(const llvm::opt::ArgList &Args);
36 bool addSanitizerRuntimes(const ToolChain &TC, const llvm::opt::ArgList &Args,
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Driver/ToolChains/Arch/
H A DARM.h3 // 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
13 #include "llvm/ADT/StringRef.h"
14 #include "llvm/ADT/Triple.h"
15 #include "llvm/Option/Option.h"
16 #include "llvm/Support/TargetParser.h"
25 std::string getARMTargetCPU(StringRef CPU, llvm::StringRef Arch,
26 const llvm::Triple &Triple);
27 const std::string getARMArch(llvm::StringRef Arch, const llvm::Triple &Triple);
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/BinaryFormat/
H A DDwarf.cpp1 //===-- llvm/BinaryFormat/Dwarf.cpp - Dwarf Framework ------------*- 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
13 #include "llvm/BinaryFormat/Dwarf.h"
14 #include "llvm/ADT/StringSwitch.h"
15 #include "llvm/ADT/Triple.h"
16 #include "llvm/Support/ErrorHandling.h"
18 using namespace llvm;
21 StringRef llvm::dwarf::TagString(unsigned Tag) { in TagString()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm-c/Transforms/
H A DScalar.h3 |* 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 *|
11 |* implements various scalar transformations of the LLVM IR. *|
22 #include "llvm-c/ExternC.h"
23 #include "llvm-c/Types.h"
34 /** See llvm::createAggressiveDCEPass function. */
37 /** See llvm::createDeadCodeEliminationPass function. */
40 /** See llvm::createBitTrackingDCEPass function. */
43 /** See llvm::createAlignmentFromAssumptionsPass function. */
[all …]

12345678910>>...256