/external/clang/lib/ARCMigrate/ |
FileRemapper.cpp | 3 // The LLVM Compiler Infrastructure 14 #include "llvm/Support/FileSystem.h" 15 #include "llvm/Support/MemoryBuffer.h" 16 #include "llvm/Support/Path.h" 17 #include "llvm/Support/raw_ostream.h" 39 llvm::sys::fs::remove(infoFile); 46 llvm::sys::path::append(InfoFile, "remap"); 62 llvm::sys::fs::exists(infoFile, fileExists); 68 llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> fileBuf [all...] |
/art/compiler/llvm/ |
intrinsic_helper.h | 22 #include <llvm/ADT/DenseMap.h> 24 namespace llvm { namespace 29 } // namespace llvm 32 namespace llvm { namespace in namespace:art 126 IntrinsicHelper(::llvm::LLVMContext& context, ::llvm::Module& module); 128 ::llvm::Function* GetIntrinsicFunction(IntrinsicId id) { 134 IntrinsicId GetIntrinsicId(const ::llvm::Function* func) const { 135 ::llvm::DenseMap<const ::llvm::Function*, IntrinsicId>::const_iterato [all...] |
/external/clang/test/CodeGen/ |
annotations-var.c | 1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o %t1 %s 7 // LOCAL: private unnamed_addr constant [15 x i8] c"localvar_ann_{{.}}\00", section "llvm.metadata" 8 // LOCAL: private unnamed_addr constant [15 x i8] c"localvar_ann_{{.}}\00", section "llvm.metadata" 10 // UNDEF: private unnamed_addr constant [15 x i8] c"undefvar_ann_0\00", section "llvm.metadata" 12 // PARAM: private unnamed_addr constant [12 x i8] c"param_ann_{{.}}\00", section "llvm.metadata" 13 // PARAM: private unnamed_addr constant [12 x i8] c"param_ann_{{.}}\00", section "llvm.metadata" 14 // PARAM: private unnamed_addr constant [12 x i8] c"param_ann_{{.}}\00", section "llvm.metadata" 15 // PARAM: private unnamed_addr constant [12 x i8] c"param_ann_{{.}}\00", section "llvm.metadata" 23 // PARAM-NEXT: call void @llvm.var.annotation( 25 // PARAM-NEXT: call void @llvm.var.annotation [all...] |
arm64_vadd.c | 1 // RUN: %clang_cc1 -O1 -triple arm64-apple-ios7 -target-feature +neon -ffreestanding -S -o - -emit-llvm %s | FileCheck %s 8 // CHECK: llvm.aarch64.neon.saddlv.i64.v2i32 15 // CHECK: llvm.aarch64.neon.uaddlv.i64.v2i32 22 // CHECK: llvm.aarch64.neon.saddv.i32.v8i8 29 // CHECK: llvm.aarch64.neon.saddv.i32.v4i16 36 // CHECK: llvm.aarch64.neon.saddv.i32.v2i32 43 // CHECK: llvm.aarch64.neon.uaddv.i32.v8i8 50 // CHECK: llvm.aarch64.neon.uaddv.i32.v4i16 57 // CHECK: llvm.aarch64.neon.uaddv.i32.v2i32 64 // CHECK: llvm.aarch64.neon.saddv.i32.v16i [all...] |
named_reg_global.c | 1 // RUN: %clang_cc1 -triple x86_64-linux-gnu -S -emit-llvm %s -o - | FileCheck %s 2 // RUN: %clang_cc1 -triple arm64-linux-gnu -S -emit-llvm %s -o - | FileCheck %s 3 // RUN: %clang_cc1 -triple armv7-linux-gnu -S -emit-llvm %s -o - | FileCheck %s 16 // CHECK: [[ret:%[0-9]+]] = call i[[bits]] @llvm.read_register.i[[bits]](metadata !0) 21 // CHECK: declare{{.*}} i[[bits]] @llvm.read_register.i[[bits]](metadata) 25 // CHECK: call void @llvm.write_register.i[[bits]](metadata !0, i[[bits]] [[sto]]) 30 // CHECK: declare{{.*}} void @llvm.write_register.i[[bits]](metadata, i[[bits]]) 36 // CHECK: %[[regr:[0-9]+]] = call i[[bits]] @llvm.read_register.i[[bits]](metadata !0) 44 // CHECK: call void @llvm.write_register.i[[bits]](metadata !0, i[[bits]] %[[regw]]) 46 // CHECK: !llvm.named.register.sp = !{!0 [all...] |
/external/clang/www/ |
menu.html.incl | 3 <a href="http://llvm.org/">LLVM Home</a> 29 <a href="http://clang-analyzer.llvm.org">Automatic Bug-Finding</a> 38 <a href="http://llvm.org/bugs/">Bug Reports</a> 40 <a href="irc://irc.oftc.net/llvm">IRC: irc.oftc.net#llvm</a> 46 <a href="http://llvm.org/svn/llvm-project/cfe/trunk/">Browse SVN</a> 47 <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/">Browse ViewVC</a [all...] |
get_started.html | 22 bugs in <a href="http://llvm.org/bugs/">LLVM Bugzilla</a>.</p> 26 <p>Clang is released as part of regular LLVM releases. You can download the release versions from <a href="http://llvm.org/releases/">http://llvm.org/releases/</a>.</p> 40 <a href="http://llvm.org/docs/GettingStarted.html#requirements"> 41 Getting Started with the LLVM System - Requirements</a>.</li> 47 <li>Checkout LLVM: 49 <li>Change directory to where you want the llvm directory placed.</li> 50 <li><tt>svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm</tt></li [all...] |
clang_video-07-25-2007.html | 6 <title>LLVM 2.0 and Beyond!</title> 13 <h1>LLVM 2.0 and Beyond!</h1> 18 <p><b>Details:</b> The LLVM 2.0 release brings a number of new features and capabilities to the LLVM toolset. This talk briefly describes those features, then moves on to talk about what is next: llvm 2.1, llvm-gcc 4.2, and puts a special emphasis on the 'clang' C front-end. This describes how the 'clang' preprocessor can be used to improve the scalability of distcc by up to 4.4x. 23 <li><a href="http://llvm.org/pubs/2007-07-25-LLVM-2.0-and-Beyond.pdf">LLVM 2.0 and Beyond! slides (PDF)</a> 26 "LLVM 2.0 and Beyond!", Chris Lattner,<br [all...] |
/external/llvm/ |
CMakeLists.txt | 1 # See docs/CMake.html for instructions about how to build LLVM with CMake. 19 project(LLVM) 46 "Append the version control system revision id to LLVM version" OFF) 52 set(PACKAGE_NAME LLVM) 54 set(PACKAGE_BUGREPORT "http://llvm.org/bugs/") 60 set(CPACK_PACKAGE_INSTALL_DIRECTORY "LLVM") 61 set(CPACK_PACKAGE_VENDOR "LLVM") 68 set(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "LLVM") 88 CMake would overwrite the makefiles distributed with LLVM. 97 "${CMAKE_CURRENT_SOURCE_DIR}/include/llvm/*.gen" [all...] |
/external/llvm/docs/ |
Packaging.rst | 2 Advice on Packaging LLVM 11 LLVM sets certain default configure options to make sure our developers don't 16 LLVM's API changes with each release, so users are likely to want, for example, 17 both LLVM-2.6 and LLVM-2.7 installed at the same time to support apps developed 23 LLVM runs much more quickly when it's optimized and assertions are removed. 27 versions of LLVM in parallel. The following configure flags are relevant: 30 Builds LLVM with ``NDEBUG`` defined. Changes the LLVM ABI. Also available 36 Builds LLVM with ``-g``. Also available by setting ``DEBUG_SYMBOLS=0|1`` i [all...] |
/external/llvm/lib/CodeGen/ |
ScheduleDAGPrinter.cpp | 3 // The LLVM Compiler Infrastructure 14 #include "llvm/CodeGen/ScheduleDAG.h" 15 #include "llvm/ADT/DenseSet.h" 16 #include "llvm/ADT/StringExtras.h" 17 #include "llvm/CodeGen/MachineConstantPool.h" 18 #include "llvm/CodeGen/MachineFunction.h" 19 #include "llvm/CodeGen/MachineModuleInfo.h" 20 #include "llvm/IR/Constants.h" 21 #include "llvm/Support/Debug.h" 22 #include "llvm/Support/GraphWriter.h 29 namespace llvm { namespace [all...] |
/external/llvm/lib/IR/ |
IRPrintingPasses.cpp | 3 // The LLVM Compiler Infrastructure 14 #include "llvm/IR/IRPrintingPasses.h" 15 #include "llvm/IR/Function.h" 16 #include "llvm/IR/Module.h" 17 #include "llvm/IR/PassManager.h" 18 #include "llvm/Pass.h" 19 #include "llvm/Support/Debug.h" 20 #include "llvm/Support/raw_ostream.h" 21 using namespace llvm; 114 ModulePass *llvm::createPrintModulePass(llvm::raw_ostream &OS [all...] |
/external/llvm/tools/llvm-diff/ |
llvm-diff.cpp | 1 //===-- llvm-diff.cpp - Module comparator command-line driver ---*- C++ -*-===// 3 // The LLVM Compiler Infrastructure 16 #include "llvm/ADT/DenseMap.h" 17 #include "llvm/ADT/SmallVector.h" 18 #include "llvm/ADT/StringRef.h" 19 #include "llvm/IR/LLVMContext.h" 20 #include "llvm/IR/Module.h" 21 #include "llvm/IR/Type.h" 22 #include "llvm/IRReader/IRReader.h" 23 #include "llvm/Support/CommandLine.h [all...] |
/frameworks/compile/mclinker/tools/mcld/include/mcld/ |
PositionalOptions.h | 11 #include <llvm/Support/CommandLine.h> 51 llvm::cl::list<mcld::sys::fs::Path>& m_InputObjectFiles; 52 llvm::cl::list<std::string>& m_LinkerScript; 53 llvm::cl::list<std::string>& m_NameSpecList; 54 llvm::cl::list<bool>& m_WholeArchiveList; 55 llvm::cl::list<bool>& m_NoWholeArchiveList; 56 llvm::cl::list<bool>& m_AsNeededList; 57 llvm::cl::list<bool>& m_NoAsNeededList; 58 llvm::cl::list<bool>& m_AddNeededList; 59 llvm::cl::list<bool>& m_NoAddNeededList [all...] |
/external/chromium_org/third_party/mesa/src/scons/ |
llvm.py | 0 """llvm 3 Tool-specific initialization for LLVM 41 env['llvm'] = False 44 llvm_dir = os.environ['LLVM'] 50 raise SCons.Errors.InternalError, "Specified LLVM directory not found" 61 raise SCons.Errors.InternalError, "LLVM binary directory not found" 66 # XXX: There is no llvm-config on Windows, so assume a standard layout 68 print 'scons: LLVM environment variable must be specified when building for windows' 71 # Try to determine the LLVM version from llvm/Config/config. [all...] |
/external/clang/lib/CodeGen/ |
CGLoopInfo.h | 1 //===---- CGLoopInfo.h - LLVM CodeGen for loop metadata -*- C++ -*---------===// 3 // The LLVM Compiler Infrastructure 10 // This is the internal state used for llvm translation for loop statement 18 #include "llvm/ADT/DenseMap.h" 19 #include "llvm/ADT/SmallVector.h" 20 #include "llvm/IR/Value.h" 21 #include "llvm/Support/Compiler.h" 23 namespace llvm { namespace 27 } // end namespace llvm 37 /// \brief Generate llvm.loop.parallel metadata for loads and stores [all...] |
CGExprScalar.cpp | 1 //===--- CGExprScalar.cpp - Emit LLVM Code for Scalar Exprs ---------------===// 3 // The LLVM Compiler Infrastructure 10 // This contains code to emit Expr nodes with scalar LLVM types as LLVM code. 25 #include "llvm/IR/CFG.h" 26 #include "llvm/IR/Constants.h" 27 #include "llvm/IR/DataLayout.h" 28 #include "llvm/IR/Function.h" 29 #include "llvm/IR/GlobalVariable.h" 30 #include "llvm/IR/Intrinsics.h [all...] |
/external/clang/tools/diagtool/ |
TreeView.cpp | 3 // The LLVM Compiler Infrastructure 16 #include "llvm/ADT/DenseSet.h" 17 #include "llvm/ADT/StringMap.h" 18 #include "llvm/Support/Format.h" 19 #include "llvm/Support/Process.h" 26 static bool hasColors(const llvm::raw_ostream &out) { 27 if (&out != &llvm::errs() && &out != &llvm::outs()) 29 return llvm::errs().is_displayed() && llvm::outs().is_displayed() [all...] |
DiagnosticNames.h | 3 // The LLVM Compiler Infrastructure 10 #include "llvm/ADT/ArrayRef.h" 11 #include "llvm/ADT/StringRef.h" 12 #include "llvm/Support/DataTypes.h" 21 llvm::StringRef getName() const { 22 return llvm::StringRef(NameStr, NameLen); 31 llvm::ArrayRef<DiagnosticRecord> getBuiltinDiagnosticsByName(); 42 llvm::StringRef getName() const; 94 bool operator<(llvm::StringRef Other) const { 100 llvm::ArrayRef<GroupRecord> getDiagnosticGroups() [all...] |
/external/llvm/cmake/modules/ |
LLVM-Config.cmake | 14 # LLVM supported target. To OFF if it doesn't. 20 capitalized_lib STREQUAL "LLVM${t}" OR 21 capitalized_lib STREQUAL "LLVM${t}CODEGEN" OR 22 capitalized_lib STREQUAL "LLVM${t}ASMPARSER" OR 23 capitalized_lib STREQUAL "LLVM${t}ASMPRINTER" OR 24 capitalized_lib STREQUAL "LLVM${t}DISASSEMBLER" OR 25 capitalized_lib STREQUAL "LLVM${t}INFO" ) 64 # Inside LLVM itself available libs are in a global property. 93 if( TARGET LLVM${c}CodeGen ) 94 list(APPEND expanded_components "LLVM${c}CodeGen" [all...] |
/external/mesa3d/scons/ |
llvm.py | 0 """llvm 3 Tool-specific initialization for LLVM 41 env['llvm'] = False 44 llvm_dir = os.environ['LLVM'] 50 raise SCons.Errors.InternalError, "Specified LLVM directory not found" 61 raise SCons.Errors.InternalError, "LLVM binary directory not found" 66 # XXX: There is no llvm-config on Windows, so assume a standard layout 68 print 'scons: LLVM environment variable must be specified when building for windows' 71 # Try to determine the LLVM version from llvm/Config/config. [all...] |
/external/llvm/test/CodeGen/X86/ |
ssse3-intrinsics-x86.ll | 5 %res = call <16 x i8> @llvm.x86.ssse3.pabs.b.128(<16 x i8> %a0) ; <<16 x i8>> [#uses=1] 8 declare <16 x i8> @llvm.x86.ssse3.pabs.b.128(<16 x i8>) nounwind readnone 13 %res = call <4 x i32> @llvm.x86.ssse3.pabs.d.128(<4 x i32> %a0) ; <<4 x i32>> [#uses=1] 16 declare <4 x i32> @llvm.x86.ssse3.pabs.d.128(<4 x i32>) nounwind readnone 21 %res = call <8 x i16> @llvm.x86.ssse3.pabs.w.128(<8 x i16> %a0) ; <<8 x i16>> [#uses=1] 24 declare <8 x i16> @llvm.x86.ssse3.pabs.w.128(<8 x i16>) nounwind readnone 29 %res = call <4 x i32> @llvm.x86.ssse3.phadd.d.128(<4 x i32> %a0, <4 x i32> %a1) ; <<4 x i32>> [#uses=1] 32 declare <4 x i32> @llvm.x86.ssse3.phadd.d.128(<4 x i32>, <4 x i32>) nounwind readnone 37 %res = call <8 x i16> @llvm.x86.ssse3.phadd.sw.128(<8 x i16> %a0, <8 x i16> %a1) ; <<8 x i16>> [#uses=1] 40 declare <8 x i16> @llvm.x86.ssse3.phadd.sw.128(<8 x i16>, <8 x i16>) nounwind readnon [all...] |
/art/compiler/dex/ |
frontend.h | 23 namespace llvm { namespace 29 namespace llvm { namespace in namespace:art 89 ::llvm::LLVMContext* GetLLVMContext() { 93 ::llvm::Module* GetLLVMModule() { 97 art::llvm::IntrinsicHelper* GetIntrinsicHelper() { 101 art::llvm::IRBuilder* GetIRBuilder() { 106 std::unique_ptr< ::llvm::LLVMContext> llvm_context_; 107 ::llvm::Module* llvm_module_; // Managed by context_. 108 std::unique_ptr<art::llvm::IntrinsicHelper> intrinsic_helper_; 109 std::unique_ptr<art::llvm::IRBuilder> ir_builder_ [all...] |
/external/clang/include/clang/Driver/ |
ToolChain.h | 3 // The LLVM Compiler Infrastructure 17 #include "llvm/ADT/SmallVector.h" 18 #include "llvm/ADT/Triple.h" 19 #include "llvm/Support/Path.h" 23 namespace llvm { namespace 58 const llvm::Triple Triple; 59 const llvm::opt::ArgList &Args; 82 ToolChain(const Driver &D, const llvm::Triple &T, 83 const llvm::opt::ArgList &Args); 91 static void addSystemInclude(const llvm::opt::ArgList &DriverArgs [all...] |
/external/clang/test/CodeGenCXX/ |
init-invariant.cpp | 1 // RUN: %clang_cc1 -triple i686-linux-gnu -emit-llvm %s -o - | FileCheck %s --check-prefix=CHECK-O0 2 // RUN: %clang_cc1 -triple i686-linux-gnu -emit-llvm %s -O1 -o - | FileCheck %s 4 // Check that we add an llvm.invariant.start to mark when a global becomes 9 // CHECK-O0-NOT: llvm.invariant.start 45 // CHECK: call {{.*}}@llvm.invariant.start(i64 4, i8* bitcast ({{.*}} @a to i8*)) 48 // CHECK-NOT: call {{.*}}@llvm.invariant.start(i64 4, i8* bitcast ({{.*}} @b to i8*)) 51 // CHECK-NOT: call {{.*}}@llvm.invariant.start(i64 4, i8* bitcast ({{.*}} @c to i8*)) 55 // CHECK: call {{.*}}@llvm.invariant.start(i64 4, i8* bitcast ({{.*}} @d to i8*)) 59 // CHECK: call {{.*}}@llvm.invariant.start(i64 4, i8* bitcast ({{.*}} @_ZZ1evE1a to i8*)) 60 // CHECK-NOT: llvm.invariant.en [all...] |