/external/llvm/test/Transforms/InstCombine/ |
deadcode.ll | 2 ; RUN: opt < %s -die -S | not grep call.*llvm 18 %tmp = call i8* @llvm.stacksave( ) 23 declare i8* @llvm.stacksave() 25 declare void @llvm.lifetime.start(i64, i8*) 26 declare void @llvm.lifetime.end(i64, i8*) 29 call void @llvm.lifetime.start(i64 -1, i8* undef) 30 call void @llvm.lifetime.end(i64 -1, i8* undef)
|
memcpy.ll | 3 declare void @llvm.memcpy.p0i8.p0i8.i32(i8* nocapture, i8* nocapture, i32, i32, i1) nounwind 4 declare void @llvm.memcpy.p0i8.p0i8.i64(i8* nocapture, i8* nocapture, i64, i32, i1) nounwind 7 tail call void @llvm.memcpy.p0i8.p0i8.i32(i8* %a, i8* %a, i32 100, i32 1, i1 false) 16 tail call void @llvm.memcpy.p0i8.p0i8.i32(i8* %a, i8* %a, i32 100, i32 1, i1 true) 19 ; CHECK-NEXT: call void @llvm.memcpy 23 tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* %d, i8* %s, i64 17179869184, i32 4, i1 false) 26 ; CHECK-NEXT: call void @llvm.memcpy
|
memset.ll | 1 ; RUN: opt < %s -instcombine -S | not grep "call.*llvm.memset" 6 call void @llvm.memset.p0i8.i32(i8* %target_p, i8 1, i32 0, i32 1, i1 false) 7 call void @llvm.memset.p0i8.i32(i8* %target_p, i8 1, i32 1, i32 1, i1 false) 8 call void @llvm.memset.p0i8.i32(i8* %target_p, i8 1, i32 2, i32 2, i1 false) 9 call void @llvm.memset.p0i8.i32(i8* %target_p, i8 1, i32 4, i32 4, i1 false) 10 call void @llvm.memset.p0i8.i32(i8* %target_p, i8 1, i32 8, i32 8, i1 false) 14 declare void @llvm.memset.p0i8.i32(i8* nocapture, i8, i32, i32, i1) nounwind
|
/external/llvm/tools/obj2yaml/ |
obj2yaml.h | 3 // The LLVM Compiler Infrastructure 16 #include "llvm/Object/COFF.h" 17 #include "llvm/Support/raw_ostream.h" 20 std::error_code coff2yaml(llvm::raw_ostream &Out, 21 const llvm::object::COFFObjectFile &Obj); 22 std::error_code elf2yaml(llvm::raw_ostream &Out, 23 const llvm::object::ObjectFile &Obj);
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
SizeTraits.h | 12 #include <llvm/Support/DataTypes.h> 13 #include <llvm/Support/ELF.h> 49 typedef llvm::ELF::Elf32_Addr Addr; // Program address 50 typedef llvm::ELF::Elf32_Off Off; // File offset 51 typedef llvm::ELF::Elf32_Half Half; 52 typedef llvm::ELF::Elf32_Word Word; 53 typedef llvm::ELF::Elf32_Sword Sword; 55 typedef llvm::ELF::Elf32_Ehdr Ehdr; 56 typedef llvm::ELF::Elf32_Shdr Shdr; 57 typedef llvm::ELF::Elf32_Sym Sym [all...] |
/frameworks/compile/mclinker/lib/LD/ |
Diagnostic.cpp | 10 #include <llvm/Support/ErrorHandling.h> 11 #include <llvm/Support/raw_ostream.h> 12 #include <llvm/ADT/Twine.h> 33 llvm::StringRef desc = m_Engine.infoMap().getDescription(getID(), false); 107 llvm::report_fatal_error(llvm::Twine("Mismatched {} in the diagnostic: ") + 108 llvm::Twine(getID())); 115 llvm::report_fatal_error(llvm::Twine("In diagnostic: ") + 116 llvm::Twine(getID()) + llvm::Twine(": ") [all...] |
/frameworks/compile/mclinker/tools/mcld/include/mcld/ |
TargetControlOptions.h | 11 #include <llvm/Support/CommandLine.h> 25 llvm::cl::opt<int>& m_GPSize; 26 llvm::cl::opt<bool>& m_WarnSharedTextrel; 27 llvm::cl::opt<bool>& m_FIXCA8; 28 llvm::cl::opt<bool>& m_EB; 29 llvm::cl::opt<bool>& m_EL; 30 llvm::cl::opt<bool>& m_SVR4Compatibility;
|
/frameworks/compile/slang/ |
strip_unknown_attributes.h | 17 #include "llvm/IR/Module.h" 18 #include "llvm/Pass.h" 23 // Jellybean's LLVM version didn't support readnone/readonly as anything 27 class StripUnknownAttributes : public llvm::ModulePass { 33 bool runOnFunction(llvm::Function &F); 37 virtual bool runOnModule(llvm::Module &M); 40 llvm::ModulePass * createStripUnknownAttributesPass();
|
/frameworks/rs/cpu_ref/linkloader/utils/ |
raw_ostream.cpp | 19 #include <llvm/Support/raw_ostream.h> 20 #include <llvm/Support/Format.h> 24 llvm::raw_ostream &out() { 25 static llvm::raw_ostream &singleton = llvm::outs(); 47 llvm::raw_ostream &operator<<(llvm::raw_ostream &os, MyFormat const &mf) {
|
/external/clang/lib/CodeGen/ |
CGBuilder.h | 3 // The LLVM Compiler Infrastructure 13 #include "llvm/IR/IRBuilder.h" 25 : protected llvm::IRBuilderDefaultInserter<PreserveNames> { 32 void InsertHelper(llvm::Instruction *I, const llvm::Twine &Name, 33 llvm::BasicBlock *BB, 34 llvm::BasicBlock::iterator InsertPt) const; 48 typedef llvm::IRBuilder<PreserveNames, llvm::ConstantFolder,
|
/external/clang/test/CodeGen/ |
arm64-crc32.c | 3 // RUN: -O3 -S -emit-llvm -o - %s | FileCheck %s 9 // CHECK: call i32 @llvm.aarch64.crc32b(i32 %a, i32 [[T0]]) 16 // CHECK: call i32 @llvm.aarch64.crc32cb(i32 %a, i32 [[T0]]) 23 // CHECK: call i32 @llvm.aarch64.crc32h(i32 %a, i32 [[T0]]) 30 // CHECK: call i32 @llvm.aarch64.crc32ch(i32 %a, i32 [[T0]]) 36 // CHECK: call i32 @llvm.aarch64.crc32w(i32 %a, i32 %b) 42 // CHECK: call i32 @llvm.aarch64.crc32cw(i32 %a, i32 %b) 48 // CHECK: call i32 @llvm.aarch64.crc32x(i32 %a, i64 %b) 54 // CHECK: call i32 @llvm.aarch64.crc32cx(i32 %a, i64 %b)
|
/external/lldb/www/ |
source.html | 25 <li>svn co http://llvm.org/svn/llvm-project/lldb/trunk lldb</li>
27 <p>If you prefer using Git, you can check out LLDB from the <a href="http://llvm.org/docs/GettingStarted.html#git-mirror">LLVM git mirror</a> instead:</p>
29 <li>git clone http://llvm.org/git/lldb.git</li>
38 <a href="http://llvm.org/docs/DeveloperPolicy.html#commitaccess">requesting commit access</a></p>
40 <a href="http://llvm.org/docs/DeveloperPolicy.html#commitaccess">requesting commit access</a></p>
42 <li>svn co https://USERNAME@llvm.org/svn/llvm-project/lldb/trunk lldb</li>
|
/external/llvm/test/Assembler/ |
upgrade-loop-metadata.ll | 6 ; RUN: llvm-as < %s | llvm-dis | FileCheck %s 18 br i1 %cmp, label %for.body, label %for.end, !llvm.loop !1 33 ; CHECK: !{metadata !"llvm.loop.vectorize.unroll", i32 4} 34 ; CHECK: !{metadata !"llvm.loop.vectorize.width", i32 8} 35 ; CHECK: !{metadata !"llvm.loop.vectorize.enable", i1 true} 39 !2 = metadata !{metadata !"llvm.vectorizer.unroll", i32 4} 40 !3 = metadata !{metadata !"llvm.vectorizer.width", i32 8} 41 !4 = metadata !{metadata !"llvm.vectorizer.enable", i1 true}
|
/external/llvm/test/CodeGen/NVPTX/ |
ctlz.ll | 5 declare i16 @llvm.ctlz.i16(i16, i1) readnone 6 declare i32 @llvm.ctlz.i32(i32, i1) readnone 7 declare i64 @llvm.ctlz.i64(i64, i1) readnone 11 %val = call i32 @llvm.ctlz.i32(i32 %a, i1 false) readnone 17 %val = call i16 @llvm.ctlz.i16(i16 %a, i1 false) readnone 23 %val = call i64 @llvm.ctlz.i64(i64 %a, i1 false) readnone 30 %val = call i32 @llvm.ctlz.i32(i32 %a, i1 true) readnone 36 %val = call i16 @llvm.ctlz.i16(i16 %a, i1 true) readnone 42 %val = call i64 @llvm.ctlz.i64(i64 %a, i1 true) readnone
|
cttz.ll | 6 declare i16 @llvm.cttz.i16(i16, i1) readnone 7 declare i32 @llvm.cttz.i32(i32, i1) readnone 8 declare i64 @llvm.cttz.i64(i64, i1) readnone 12 %val = call i32 @llvm.cttz.i32(i32 %a, i1 false) readnone 18 %val = call i16 @llvm.cttz.i16(i16 %a, i1 false) readnone 24 %val = call i64 @llvm.cttz.i64(i64 %a, i1 false) readnone 31 %val = call i32 @llvm.cttz.i32(i32 %a, i1 true) readnone 37 %val = call i16 @llvm.cttz.i16(i16 %a, i1 true) readnone 43 %val = call i64 @llvm.cttz.i64(i64 %a, i1 true) readnone
|
/external/llvm/test/CodeGen/SystemZ/ |
fp-round-02.ll | 6 declare float @llvm.rint.f32(float %f) 11 %res = call float @llvm.rint.f32(float %f) 16 declare double @llvm.rint.f64(double %f) 21 %res = call double @llvm.rint.f64(double %f) 26 declare fp128 @llvm.rint.f128(fp128 %f) 32 %res = call fp128 @llvm.rint.f128(fp128 %src) 38 declare float @llvm.nearbyint.f32(float %f) 43 %res = call float @llvm.nearbyint.f32(float %f) 48 declare double @llvm.nearbyint.f64(double %f) 53 %res = call double @llvm.nearbyint.f64(double %f [all...] |
/external/llvm/test/Feature/ |
memorymarkers.ll | 1 ; RUN: llvm-as -disable-output < %s 7 declare void @llvm.lifetime.start(i64, i8* nocapture) nounwind 8 declare void @llvm.lifetime.end(i64, i8* nocapture) nounwind 9 declare {}* @llvm.invariant.start(i64, i8* nocapture) readonly nounwind 10 declare void @llvm.invariant.end({}*, i64, i8* nocapture) nounwind 19 call void @llvm.lifetime.start(i64 8, i8* %y) 27 %inv = call {}* @llvm.invariant.start(i64 8, i8* %y) 32 call void @llvm.invariant.end({}* %inv, i64 8, i8* %y) 34 call void @llvm.lifetime.end(i64 8, i8* %y)
|
/external/llvm/test/Object/ |
archive-replace-pos.test | 6 RUN: llvm-ar rc %t.a %t.foo %t.bar 8 RUN: llvm-ar rca %t.foo %t.a %t.zed 9 RUN: llvm-ar t %t.a | FileCheck %s 16 RUN: llvm-ar rc %t.a %t.zed %t.foo %t.bar 17 RUN: llvm-ar t %t.a | FileCheck --check-prefix=CHECK2 %s 23 RUN: llvm-ar rca %t.foo %t.a %t.zed 24 RUN: llvm-ar t %t.a | FileCheck --check-prefix=CHECK3 %s 29 RUN: llvm-ar rc %t.a %t.zed 30 RUN: llvm-ar t %t.a | FileCheck --check-prefix=CHECK3 %s
|
archive-update.test | 1 Test the 'u' option of llvm-ar 21 RUN: llvm-ar r %t.a %t.newer/evenlen 22 RUN: llvm-ar p %t.a | FileCheck --check-prefix=NEWER %s 25 RUN: llvm-ar r %t.a %t.older/evenlen 26 RUN: llvm-ar p %t.a | FileCheck --check-prefix=OLDER %s 29 RUN: llvm-ar ru %t.a %t.newer/evenlen 30 RUN: llvm-ar p %t.a | FileCheck --check-prefix=NEWER %s 33 RUN: llvm-ar ru %t.a %t.older/evenlen 34 RUN: llvm-ar p %t.a | FileCheck --check-prefix=NEWER %s
|
nm-archive.test | 1 RUN: llvm-nm %p/Inputs/archive-test.a-coff-i386 \ 13 RUN: llvm-as %p/Inputs/trivial.ll -o=%t1 15 RUN: llvm-ar rcs %t2 %t1 16 RUN: llvm-nm %t2 | FileCheck %s -check-prefix BITCODE 25 RUN: llvm-nm %p/Inputs/archive-test.a-gnu-no-symtab 29 RUN: llvm-nm %p/Inputs/archive-test.a-gnu-minimal 33 RUN: llvm-nm -M %p/Inputs/archive-test.a-gnu-minimal 36 RUN: llvm-nm %p/Inputs/archive-test.a-empty 42 RUN: llvm-nm %p/Inputs/corrupt-archive.a
|
/external/llvm/utils/emacs/ |
llvm-mode.el | 1 ;; Maintainer: The LLVM team, http://llvm.org/ 2 ;; Description: Major mode for the LLVM assembler language. 6 (defvar llvm-mode-syntax-table nil 7 "Syntax table used while in LLVM mode.") 8 (defvar llvm-font-lock-keywords 53 "Syntax highlighting for LLVM" 60 (if (not llvm-mode-syntax-table) 62 (setq llvm-mode-syntax-table (make-syntax-table)) 66 llvm-mode-syntax-table)) [all...] |
/external/llvm/utils/lit/ |
setup.py | 18 url = 'http://llvm.org', 30 *lit* is a portable tool for executing LLVM and Clang style test suites, 48 The official *lit* documentation is in the man page, available online at the LLVM 49 Command Guide: http://llvm.org/cmds/lit.html. 55 The *lit* source is available as part of LLVM, in the LLVM SVN repository: 56 http://llvm.org/svn/llvm-project/llvm/trunk/utils/lit.
|
/external/llvm/utils/vim/ |
README | 1 -*- llvm/utils/vim/README -*- 5 * llvm.vim 7 Syntax highlighting mode for LLVM assembly files. To use, copy `llvm.vim' to 11 au! BufRead,BufNewFile *.ll set filetype=llvm 25 ~/.vim/syntax/... to the syntax files in your LLVM source tree. Apparently 30 to symlink ~/.vim/syntax itself to llvm/utils/vim . 36 If you find yourself working with LLVM Makefiles often, but you don't get syntax 40 " LLVM Makefile highlighting mode
|
/external/llvm/test/CodeGen/X86/ |
sse-intrinsics-x86.ll | 5 %res = call <4 x float> @llvm.x86.sse.add.ss(<4 x float> %a0, <4 x float> %a1) ; <<4 x float>> [#uses=1] 8 declare <4 x float> @llvm.x86.sse.add.ss(<4 x float>, <4 x float>) nounwind readnone 13 %res = call <4 x float> @llvm.x86.sse.cmp.ps(<4 x float> %a0, <4 x float> %a1, i8 7) ; <<4 x float>> [#uses=1] 16 declare <4 x float> @llvm.x86.sse.cmp.ps(<4 x float>, <4 x float>, i8) nounwind readnone 21 %res = call <4 x float> @llvm.x86.sse.cmp.ss(<4 x float> %a0, <4 x float> %a1, i8 7) ; <<4 x float>> [#uses=1] 24 declare <4 x float> @llvm.x86.sse.cmp.ss(<4 x float>, <4 x float>, i8) nounwind readnone 31 %res = call i32 @llvm.x86.sse.comieq.ss(<4 x float> %a0, <4 x float> %a1) ; <i32> [#uses=1] 34 declare i32 @llvm.x86.sse.comieq.ss(<4 x float>, <4 x float>) nounwind readnone 41 %res = call i32 @llvm.x86.sse.comige.ss(<4 x float> %a0, <4 x float> %a1) ; <i32> [#uses=1] 44 declare i32 @llvm.x86.sse.comige.ss(<4 x float>, <4 x float>) nounwind readnon [all...] |
/art/compiler/llvm/ |
intrinsic_helper.cc | 21 #include <llvm/IR/Attributes.h> 22 #include <llvm/IR/DerivedTypes.h> 23 #include <llvm/IR/Function.h> 24 #include <llvm/IR/IRBuilder.h> 25 #include <llvm/IR/Intrinsics.h> 28 namespace llvm { namespace in namespace:art 40 static ::llvm::Type* GetLLVMTypeOfIntrinsicValType(IRBuilder& irb, 86 LOG(FATAL) << "Invalid intrinsic type " << type << "to get LLVM type!"; 93 IntrinsicHelper::IntrinsicHelper(::llvm::LLVMContext& context, 94 ::llvm::Module& module) [all...] |