/external/llvm/bindings/ocaml/analysis/ |
analysis_ocaml.c | 1 /*===-- analysis_ocaml.c - LLVM OCaml Glue ----------------------*- C++ -*-===*\ 3 |* The LLVM Compiler Infrastructure *| 10 |* This file glues LLVM's OCaml interface to its C interface. These functions *| 18 #include "llvm-c/Analysis.h" 24 /* Llvm.llmodule -> string option */ 45 /* Llvm.llvalue -> bool */ 50 /* Llvm.llmodule -> unit */ 56 /* Llvm.llvalue -> unit */ 62 /* Llvm.llvalue -> unit */ 68 /* Llvm.llvalue -> unit * [all...] |
/external/llvm/bindings/ocaml/llvm/ |
Makefile | 1 ##===- bindings/ocaml/llvm/Makefile ------------------------*- Makefile -*-===## 3 # The LLVM Compiler Infrastructure 10 # This is the makefile for the Objective Caml Llvm interface. 15 LIBRARYNAME := llvm 17 UsedOcamlLibs := llvm 25 DestMETA := $(PROJ_libocamldir)/META.llvm 28 copy-meta: $(OcamlDir)/META.llvm 30 $(OcamlDir)/META.llvm: META.llvm 33 install-meta:: $(OcamlDir)/META.llvm [all...] |
/external/llvm/bindings/ocaml/transforms/vectorize/ |
vectorize_ocaml.c | 1 /*===-- vectorize_ocaml.c - LLVM OCaml Glue ---------------------*- C++ -*-===*\ 3 |* The LLVM Compiler Infrastructure *| 10 |* This file glues LLVM's OCaml interface to its C interface. These functions *| 18 #include "llvm-c/Transforms/Vectorize.h" 22 /* [<Llvm.PassManager.any] Llvm.PassManager.t -> unit */ 28 /* [<Llvm.PassManager.any] Llvm.PassManager.t -> unit */ 34 /* [<Llvm.PassManager.any] Llvm.PassManager.t -> unit * [all...] |
/external/llvm/docs/tutorial/ |
index.rst | 2 LLVM Tutorial: Table of Contents 5 Kaleidoscope: Implementing a Language with LLVM 15 Kaleidoscope: Implementing a Language with LLVM in Objective Caml 28 `Tutorial: Creating an LLVM Backend for the Cpu0 Architecture <http://jonathan2251.github.com/lbd/>`_ 29 A step-by-step tutorial for developing an LLVM backend. Under 33 `Howto: Implementing LLVM Integrated Assembler`_ 34 A simple guide for how to implement an LLVM integrated assembler for an 37 .. _`Howto: Implementing LLVM Integrated Assembler`: http://www.embecosm.com/appnotes/ean10/ean10-howto-llvmas-1.0.html 42 #. `Writing an Optimization for LLVM <http://llvm.org/pubs/2004-09-22-LCPCLLVMTutorial.html>` [all...] |
/external/llvm/lib/CodeGen/ |
MachineFunctionPrinterPass.cpp | 3 // The LLVM Compiler Infrastructure 14 #include "llvm/CodeGen/Passes.h" 15 #include "llvm/CodeGen/MachineFunction.h" 16 #include "llvm/CodeGen/MachineFunctionPass.h" 17 #include "llvm/CodeGen/SlotIndexes.h" 18 #include "llvm/Support/Debug.h" 19 #include "llvm/Support/raw_ostream.h" 21 using namespace llvm; 54 char &llvm::MachineFunctionPrinterPassID = MachineFunctionPrinterPass::ID; 58 namespace llvm { namespace [all...] |
/external/llvm/lib/Target/ARM/ |
Thumb2RegisterInfo.cpp | 3 // The LLVM Compiler Infrastructure 18 #include "llvm/CodeGen/MachineConstantPool.h" 19 #include "llvm/CodeGen/MachineFunction.h" 20 #include "llvm/CodeGen/MachineInstrBuilder.h" 21 #include "llvm/IR/Constants.h" 22 #include "llvm/IR/DerivedTypes.h" 23 #include "llvm/IR/Function.h" 24 #include "llvm/Target/TargetInstrInfo.h" 25 #include "llvm/Target/TargetMachine.h" 26 using namespace llvm; [all...] |
/external/llvm/test/CodeGen/R600/ |
llvm.AMDGPU.rcp.ll | 3 declare float @llvm.AMDGPU.rcp.f32(float) nounwind readnone 4 declare double @llvm.AMDGPU.rcp.f64(double) nounwind readnone 7 declare float @llvm.sqrt.f32(float) nounwind readnone 8 declare double @llvm.sqrt.f64(double) nounwind readnone 13 %rcp = call float @llvm.AMDGPU.rcp.f32(float %src) nounwind readnone 21 %rcp = call double @llvm.AMDGPU.rcp.f64(double %src) nounwind readnone 45 %sqrt = call float @llvm.sqrt.f32(float %src) nounwind readnone 46 %rcp = call float @llvm.AMDGPU.rcp.f32(float %sqrt) nounwind readnone 54 %sqrt = call double @llvm.sqrt.f64(double %src) nounwind readnone 55 %rcp = call double @llvm.AMDGPU.rcp.f64(double %sqrt) nounwind readnon [all...] |
/external/llvm/test/MC/X86/ |
x86_long_nop.s | 1 # RUN: llvm-mc -filetype=obj -arch=x86 -triple=x86_64-pc-linux-gnu %s | llvm-objdump -d -no-show-raw-insn - | FileCheck %s 2 # RUN: llvm-mc -filetype=obj -arch=x86 -triple=i686-pc-linux-gnu %s | llvm-objdump -d -no-show-raw-insn - | FileCheck %s 3 # RUN: llvm-mc -filetype=obj -arch=x86 -triple=x86_64-apple-darwin10.0 %s | llvm-objdump -d -no-show-raw-insn - | FileCheck %s 4 # RUN: llvm-mc -filetype=obj -arch=x86 -triple=i686-apple-darwin8 %s | llvm-objdump -d -no-show-raw-insn - | FileCheck %s 5 # RUN: llvm-mc -filetype=obj -arch=x86 -triple=i686-pc-linux-gnu -mcpu=slm %s | llvm-objdump -d -no-show-raw-insn - | FileCheck --check-prefix=SLM % [all...] |
/external/llvm/test/Transforms/InstCombine/ |
ceil.ll | 3 declare float @llvm.ceil.f32(float) #0 4 declare double @llvm.ceil.f64(double) #0 5 declare <4 x float> @llvm.ceil.v4f32(<4 x float>) #0 10 %x = call float @llvm.ceil.f32(float 1.00) #0 17 %x = call float @llvm.ceil.f32(float 1.25) #0 24 %x = call float @llvm.ceil.f32(float -1.25) #0 31 %x = call <4 x float> @llvm.ceil.v4f32(<4 x float> <float 1.00, float 1.25, float -1.25, float -1.00>) 38 %x = call double @llvm.ceil.f64(double 1.0) #0 45 %x = call double @llvm.ceil.f64(double 1.3) #0 52 %x = call double @llvm.ceil.f64(double -1.75) # [all...] |
constant-fold-math.ll | 3 declare float @llvm.fma.f32(float, float, float) #0 4 declare float @llvm.fmuladd.f32(float, float, float) #0 5 declare <4 x float> @llvm.fma.v4f32(<4 x float>, <4 x float>, <4 x float>) #0 7 declare double @llvm.fma.f64(double, double, double) #0 8 declare double @llvm.fmuladd.f64(double, double, double) #0 15 %x = call float @llvm.fma.f32(float 1.0, float 2.0, float 4.0) #0 22 %x = call <4 x float> @llvm.fma.v4f32(<4 x float> <float 1.0, float 2.0, float 3.0, float 4.0>, <4 x float> <float 2.0, float 2.0, float 2.0, float 2.0>, <4 x float> <float 10.0, float 10.0, float 10.0, float 10.0>) 29 %x = call float @llvm.fmuladd.f32(float 1.0, float 2.0, float 4.0) #0 36 %x = call double @llvm.fma.f64(double 1.0, double 2.0, double 4.0) #0 43 %x = call double @llvm.fmuladd.f64(double 1.0, double 2.0, double 4.0) # [all...] |
/external/llvm/tools/msbuild/ |
CMakeLists.txt | 7 set(prop_file_in "Microsoft.Cpp.Win32.llvm.props.in") 8 set(prop_file_v100 "Microsoft.Cpp.${platform}.LLVM-vs2010.props") 9 set(prop_file_v110 "Microsoft.Cpp.${platform}.LLVM-vs2012.props") 10 set(prop_file_v110_xp "Microsoft.Cpp.${platform}.LLVM-vs2012_xp.props") 42 install(FILES "Microsoft.Cpp.Win32.LLVM-vs2010.targets" DESTINATION "tools/msbuild/${platform}" RENAME "Microsoft.Cpp.${platform}.LLVM-vs2010.targets") 43 install(FILES "Microsoft.Cpp.Win32.LLVM-vs2012.targets" DESTINATION "tools/msbuild/${platform}" RENAME "Microsoft.Cpp.${platform}.LLVM-vs2012.targets") 44 install(FILES "Microsoft.Cpp.Win32.LLVM-vs2012_xp.targets" DESTINATION "tools/msbuild/${platform}" RENAME "Microsoft.Cpp.${platform}.LLVM-vs2012_xp.targets" [all...] |
/external/llvm/docs/ |
GettingStartedVS.rst | 2 Getting Started with the LLVM System using Microsoft Visual Studio 11 Welcome to LLVM on Windows! This document only covers LLVM on Windows using 15 There are many different projects that compose LLVM. The first is the LLVM 17 use LLVM. It contains an assembler, disassembler, 19 be used to test the LLVM tools. 21 Another useful project on Windows is `Clang <http://clang.llvm.org/>`_. 30 The large LLVM test suite cannot be run on the Visual Studio port at this 36 Additional information about the LLVM directory structure and tool chai [all...] |
/external/chromium_org/native_client_sdk/src/doc/reference/ |
pnacl-bitcode-abi.rst | 15 elsewhere. For the purpose of this document, the textual form of LLVM IR is 18 Since the PNaCl bitcode is based to a large extent on LLVM IR as of 20 of the LLVM language reference manual. Only the changes, restrictions 22 descriptions are not duplicated from the LLVM reference manual. 27 A PNaCl portable executable (**pexe** in short) is a single LLVM IR module. 45 `LLVM LangRef: Linkage Types 46 <http://llvm.org/releases/3.3/docs/LangRef.html#linkage>`_ 56 `LLVM LangRef: Calling Conventions 57 <http://llvm.org/releases/3.3/docs/LangRef.html#callingconv>`_ 65 `LLVM LangRef: Visibility Style [all...] |
/external/clang/lib/CodeGen/ |
CGRecordLayout.h | 1 //===--- CGRecordLayout.h - LLVM Record Layout Information ------*- C++ -*-===// 3 // The LLVM Compiler Infrastructure 15 #include "clang/Basic/LLVM.h" 16 #include "llvm/ADT/DenseMap.h" 17 #include "llvm/IR/DerivedTypes.h" 19 namespace llvm { namespace 29 /// When the AST record layout does this, we represent it in the LLVM IR's type 49 /// This will end up as the following LLVM type. The first array is the 68 /// a single "field" within the LLVM struct type. This offset is in bits. 106 /// lowering AST types to LLVM types [all...] |
CGVTT.cpp | 1 //===--- CGVTT.cpp - Emit LLVM Code for C++ VTTs --------------------------===// 3 // The LLVM Compiler Infrastructure 21 static llvm::Constant * 25 llvm::GlobalVariable::LinkageTypes Linkage, 26 llvm::DenseMap<BaseSubobject, uint64_t> &AddressPoints) { 42 CodeGenVTables::EmitVTTDefinition(llvm::GlobalVariable *VTT, 43 llvm::GlobalVariable::LinkageTypes Linkage, 47 llvm::Type *Int8PtrTy = CGM.Int8PtrTy, *Int64Ty = CGM.Int64Ty; 48 llvm::ArrayType *ArrayType = 49 llvm::ArrayType::get(Int8PtrTy, Builder.getVTTComponents().size()) [all...] |
CGObjC.cpp | 1 //===---- CGBuiltin.cpp - Emit LLVM Code for builtins ---------------------===// 3 // The LLVM Compiler Infrastructure 10 // This contains code to emit Objective-C code as LLVM code. 24 #include "llvm/ADT/STLExtras.h" 25 #include "llvm/IR/CallSite.h" 26 #include "llvm/IR/DataLayout.h" 27 #include "llvm/IR/InlineAsm.h" 31 typedef llvm::PointerIntPair<llvm::Value*,1,bool> TryEmitResult; 41 static llvm::Constant *getNullForVariable(llvm::Value *addr) [all...] |
/external/llvm/lib/Target/NVPTX/ |
NVPTXTargetMachine.cpp | 3 // The LLVM Compiler Infrastructure 19 #include "llvm/Analysis/Passes.h" 20 #include "llvm/CodeGen/AsmPrinter.h" 21 #include "llvm/CodeGen/MachineFunctionAnalysis.h" 22 #include "llvm/CodeGen/MachineModuleInfo.h" 23 #include "llvm/CodeGen/Passes.h" 24 #include "llvm/IR/DataLayout.h" 25 #include "llvm/IR/IRPrintingPasses.h" 26 #include "llvm/IR/Verifier.h" 27 #include "llvm/MC/MCAsmInfo.h 48 namespace llvm { namespace [all...] |
/external/llvm/lib/Target/R600/ |
R600TextureIntrinsicsReplacer.cpp | 3 // The LLVM Compiler Infrastructure 16 #include "llvm/ADT/Statistic.h" 17 #include "llvm/Analysis/Passes.h" 18 #include "llvm/IR/Function.h" 19 #include "llvm/IR/GlobalValue.h" 20 #include "llvm/IR/IRBuilder.h" 21 #include "llvm/IR/InstVisitor.h" 23 using namespace llvm; 203 ReplaceCallInst(I, TexQSign, "llvm.R600.txf", SrcSelect, 265 if (Name == "llvm.AMDGPU.tex") [all...] |
/external/llvm/test/CodeGen/X86/ |
avx-intrinsics-x86.ll | 5 %res = call <2 x i64> @llvm.x86.aesni.aesdec(<2 x i64> %a0, <2 x i64> %a1) ; <<2 x i64>> [#uses=1] 8 declare <2 x i64> @llvm.x86.aesni.aesdec(<2 x i64>, <2 x i64>) nounwind readnone 13 %res = call <2 x i64> @llvm.x86.aesni.aesdeclast(<2 x i64> %a0, <2 x i64> %a1) ; <<2 x i64>> [#uses=1] 16 declare <2 x i64> @llvm.x86.aesni.aesdeclast(<2 x i64>, <2 x i64>) nounwind readnone 21 %res = call <2 x i64> @llvm.x86.aesni.aesenc(<2 x i64> %a0, <2 x i64> %a1) ; <<2 x i64>> [#uses=1] 24 declare <2 x i64> @llvm.x86.aesni.aesenc(<2 x i64>, <2 x i64>) nounwind readnone 29 %res = call <2 x i64> @llvm.x86.aesni.aesenclast(<2 x i64> %a0, <2 x i64> %a1) ; <<2 x i64>> [#uses=1] 32 declare <2 x i64> @llvm.x86.aesni.aesenclast(<2 x i64>, <2 x i64>) nounwind readnone 37 %res = call <2 x i64> @llvm.x86.aesni.aesimc(<2 x i64> %a0) ; <<2 x i64>> [#uses=1] 40 declare <2 x i64> @llvm.x86.aesni.aesimc(<2 x i64>) nounwind readnon [all...] |
/external/llvm/include/llvm/Support/ |
TargetSelect.h | 3 // The LLVM Compiler Infrastructure 19 #include "llvm/Config/llvm-config.h" 24 #include "llvm/Config/Targets.def" 27 #include "llvm/Config/Targets.def" 31 #include "llvm/Config/Targets.def" 35 #include "llvm/Config/AsmPrinters.def" 39 #include "llvm/Config/AsmParsers.def" 44 #include "llvm/Config/Disassemblers.def" 47 namespace llvm { namespace [all...] |
/external/llvm/test/CodeGen/AArch64/ |
arm64-neon-add-pairwise.ll | 3 declare <8 x i8> @llvm.aarch64.neon.addp.v8i8(<8 x i8>, <8 x i8>) 8 %tmp1 = call <8 x i8> @llvm.aarch64.neon.addp.v8i8(<8 x i8> %lhs, <8 x i8> %rhs) 13 declare <16 x i8> @llvm.aarch64.neon.addp.v16i8(<16 x i8>, <16 x i8>) 17 %tmp1 = call <16 x i8> @llvm.aarch64.neon.addp.v16i8(<16 x i8> %lhs, <16 x i8> %rhs) 22 declare <4 x i16> @llvm.aarch64.neon.addp.v4i16(<4 x i16>, <4 x i16>) 26 %tmp1 = call <4 x i16> @llvm.aarch64.neon.addp.v4i16(<4 x i16> %lhs, <4 x i16> %rhs) 31 declare <8 x i16> @llvm.aarch64.neon.addp.v8i16(<8 x i16>, <8 x i16>) 35 %tmp1 = call <8 x i16> @llvm.aarch64.neon.addp.v8i16(<8 x i16> %lhs, <8 x i16> %rhs) 40 declare <2 x i32> @llvm.aarch64.neon.addp.v2i32(<2 x i32>, <2 x i32>) 44 %tmp1 = call <2 x i32> @llvm.aarch64.neon.addp.v2i32(<2 x i32> %lhs, <2 x i32> %rhs [all...] |
dp1.ll | 9 %val1_tmp = call i32 @llvm.bswap.i32(i32 %val0_tmp) 18 %val1_tmp = call i64 @llvm.bswap.i64(i64 %val0_tmp) 31 %val4_tmp = call i64 @llvm.bswap.i64(i64 %val3_tmp) 43 %val4_tmp = call i32 @llvm.bswap.i32(i32 %val3_tmp) 52 %val4_tmp = call i32 @llvm.ctlz.i32(i32 %val0_tmp, i1 0) 61 %val4_tmp = call i64 @llvm.ctlz.i64(i64 %val0_tmp, i1 0) 70 %val4_tmp = call i32 @llvm.ctlz.i32(i32 %val0_tmp, i1 1) 79 %val4_tmp = call i64 @llvm.ctlz.i64(i64 %val0_tmp, i1 1) 88 %val4_tmp = call i32 @llvm.cttz.i32(i32 %val0_tmp, i1 0) 98 %val4_tmp = call i64 @llvm.cttz.i64(i64 %val0_tmp, i1 0 [all...] |
/external/llvm/test/Instrumentation/MemorySanitizer/ |
vector_shift.ll | 8 declare x86_mmx @llvm.x86.mmx.psll.d(x86_mmx, x86_mmx) 9 declare <8 x i32> @llvm.x86.avx2.psllv.d.256(<8 x i32>, <8 x i32>) 10 declare <4 x i32> @llvm.x86.avx2.psllv.d(<4 x i32>, <4 x i32>) 11 declare <8 x i16> @llvm.x86.sse2.psrl.w(<8 x i16>, <8 x i16>) 12 declare <8 x i16> @llvm.x86.sse2.pslli.w(<8 x i16>, i32) 13 declare <2 x i64> @llvm.x86.sse2.psll.dq(<2 x i64>, i32) 14 declare <2 x i64> @llvm.x86.sse2.psll.dq.bs(<2 x i64>, i32) 21 %3 = tail call x86_mmx @llvm.x86.mmx.psll.d(x86_mmx %1, x86_mmx %2) 31 ; CHECK: [[A:%.*]] = call x86_mmx @llvm.x86.mmx.psll.d( 34 ; CHECK: call x86_mmx @llvm.x86.mmx.psll.d [all...] |
/external/llvm/tools/llvm-link/ |
llvm-link.cpp | 1 //===- llvm-link.cpp - Low-level LLVM linker ------------------------------===// 3 // The LLVM Compiler Infrastructure 11 // llvm-link a.bc b.bc c.bc -o x.bc 15 #include "llvm/Linker/Linker.h" 16 #include "llvm/Bitcode/ReaderWriter.h" 17 #include "llvm/IR/LLVMContext.h" 18 #include "llvm/IR/Module.h" 19 #include "llvm/IR/Verifier.h" 20 #include "llvm/IRReader/IRReader.h [all...] |
/frameworks/compile/mclinker/lib/LD/ |
TextDiagnosticPrinter.cpp | 11 #include <llvm/Support/Signals.h> 16 static const enum llvm::raw_ostream::Colors UnreachableColor = llvm::raw_ostream::RED; 17 static const enum llvm::raw_ostream::Colors FatalColor = llvm::raw_ostream::YELLOW; 18 static const enum llvm::raw_ostream::Colors ErrorColor = llvm::raw_ostream::RED; 19 static const enum llvm::raw_ostream::Colors WarningColor = llvm::raw_ostream::MAGENTA; 20 static const enum llvm::raw_ostream::Colors DebugColor = llvm::raw_ostream::CYAN [all...] |