Searched refs:llvm (Results 226 - 250 of 3210) sorted by relevance

1234567891011>>

/external/clang/lib/CodeGen/
H A DCGException.cpp20 #include "llvm/IR/Intrinsics.h"
21 #include "llvm/Support/CallSite.h"
26 static llvm::Constant *getAllocateExceptionFn(CodeGenModule &CGM) {
29 llvm::FunctionType *FTy =
30 llvm::FunctionType::get(CGM.Int8PtrTy, CGM.SizeTy, /*IsVarArgs=*/false);
35 static llvm::Constant *getFreeExceptionFn(CodeGenModule &CGM) {
38 llvm::FunctionType *FTy =
39 llvm::FunctionType::get(CGM.VoidTy, CGM.Int8PtrTy, /*IsVarArgs=*/false);
44 static llvm::Constant *getThrowFn(CodeGenModule &CGM) {
48 llvm
[all...]
H A DCGExprScalar.cpp25 #include "llvm/IR/Constants.h"
26 #include "llvm/IR/DataLayout.h"
27 #include "llvm/IR/Function.h"
28 #include "llvm/IR/GlobalVariable.h"
29 #include "llvm/IR/Intrinsics.h"
30 #include "llvm/IR/Module.h"
31 #include "llvm/Support/CFG.h"
36 using llvm::Value;
64 llvm::LLVMContext &VMContext;
82 llvm
[all...]
H A DCGRecordLayout.h16 #include "llvm/ADT/DenseMap.h"
17 #include "llvm/IR/DerivedTypes.h"
19 namespace llvm { namespace
118 llvm::StructType *CompleteObjectType;
122 llvm::StructType *BaseSubobjectType;
124 /// Map from (non-bit-field) struct field to the corresponding llvm struct
126 llvm::DenseMap<const FieldDecl *, unsigned> FieldInfo;
128 /// Map from (bit-field) struct field to the corresponding llvm struct type
130 llvm::DenseMap<const FieldDecl *, CGBitFieldInfo> BitFields;
134 llvm
[all...]
H A DCGVTT.cpp21 static llvm::Constant *
24 llvm::GlobalVariable::LinkageTypes Linkage,
25 llvm::DenseMap<BaseSubobject, uint64_t> &AddressPoints) {
41 CodeGenVTables::EmitVTTDefinition(llvm::GlobalVariable *VTT,
42 llvm::GlobalVariable::LinkageTypes Linkage,
46 llvm::Type *Int8PtrTy = CGM.Int8PtrTy, *Int64Ty = CGM.Int64Ty;
47 llvm::ArrayType *ArrayType =
48 llvm::ArrayType::get(Int8PtrTy, Builder.getVTTComponents().size());
50 SmallVector<llvm::Constant *, 8> VTables;
59 SmallVector<llvm
[all...]
H A DCodeGenTypes.cpp25 #include "llvm/IR/DataLayout.h"
26 #include "llvm/IR/DerivedTypes.h"
27 #include "llvm/IR/Module.h"
41 for (llvm::DenseMap<const Type *, CGRecordLayout *>::iterator
46 for (llvm::FoldingSet<CGFunctionInfo>::iterator
52 llvm::StructType *Ty,
55 llvm::raw_svector_ostream OS(TypeName);
83 /// ConvertTypeForMem - Convert type T into a llvm::Type. This differs from
87 llvm::Type *CodeGenTypes::ConvertTypeForMem(QualType T){
88 llvm
[all...]
H A DCGDecl.cpp25 #include "llvm/IR/DataLayout.h"
26 #include "llvm/IR/GlobalVariable.h"
27 #include "llvm/IR/Intrinsics.h"
28 #include "llvm/IR/Type.h"
127 llvm::GlobalValue::LinkageTypes Linkage =
128 llvm::GlobalValue::InternalLinkage;
133 Linkage = llvm::GlobalValue::LinkOnceODRLinkage;
185 llvm::GlobalVariable *
188 llvm::GlobalValue::LinkageTypes Linkage) {
199 llvm
[all...]
/external/clang/lib/Driver/
H A DTools.h16 #include "llvm/ADT/Triple.h"
17 #include "llvm/Option/Option.h"
18 #include "llvm/Support/Compiler.h"
31 using llvm::opt::ArgStringList;
36 static const char *getBaseInputName(const llvm::opt::ArgList &Args,
38 static const char *getBaseInputStem(const llvm::opt::ArgList &Args,
40 static const char *getDependencyFileName(const llvm::opt::ArgList &Args,
46 const llvm::opt::ArgList &Args,
47 llvm::opt::ArgStringList &CmdArgs,
51 void AddARMTargetArgs(const llvm
[all...]
/external/clang/include/clang/ARCMigrate/
H A DFileRemapper.h14 #include "llvm/ADT/DenseMap.h"
15 #include "llvm/ADT/OwningPtr.h"
16 #include "llvm/ADT/PointerUnion.h"
17 #include "llvm/ADT/StringRef.h"
19 namespace llvm { namespace
35 typedef llvm::PointerUnion<const FileEntry *, llvm::MemoryBuffer *> Target;
36 typedef llvm::DenseMap<const FileEntry *, Target> MappingsTy;
39 llvm::DenseMap<const FileEntry *, const FileEntry *> ToFromMappings;
55 void remap(StringRef filePath, llvm
[all...]
/external/clang/include/clang/Tooling/
H A DJSONCompilationDatabase.h21 #include "llvm/ADT/OwningPtr.h"
22 #include "llvm/ADT/StringMap.h"
23 #include "llvm/ADT/StringRef.h"
24 #include "llvm/Support/MemoryBuffer.h"
25 #include "llvm/Support/SourceMgr.h"
26 #include "llvm/Support/YAMLParser.h"
84 JSONCompilationDatabase(llvm::MemoryBuffer *Database)
95 typedef std::pair<llvm::yaml::ScalarNode*,
96 llvm::yaml::ScalarNode*> CompileCommandRef;
103 llvm
[all...]
/external/llvm/lib/CodeGen/
H A DMachineLoopInfo.cpp17 #include "llvm/CodeGen/MachineLoopInfo.h"
18 #include "llvm/Analysis/LoopInfoImpl.h"
19 #include "llvm/CodeGen/MachineDominators.h"
20 #include "llvm/CodeGen/Passes.h"
21 #include "llvm/Support/Debug.h"
22 using namespace llvm;
25 template class llvm::LoopBase<MachineBasicBlock, MachineLoop>;
26 template class llvm::LoopInfoBase<MachineBasicBlock, MachineLoop>;
35 char &llvm::MachineLoopInfoID = MachineLoopInfo::ID;
67 MachineBasicBlock *NextMBB = llvm
[all...]
/external/llvm/lib/IR/
H A DMakefile13 BUILT_SOURCES = $(PROJ_OBJ_ROOT)/include/llvm/IR/Intrinsics.gen
17 GENFILE:=$(PROJ_OBJ_ROOT)/include/llvm/IR/Intrinsics.gen
19 INTRINSICTD := $(PROJ_SRC_ROOT)/include/llvm/IR/Intrinsics.td
20 INTRINSICTDS := $(wildcard $(PROJ_SRC_ROOT)/include/llvm/IR/Intrinsics*.td)
26 $(GENFILE): $(ObjDir)/Intrinsics.gen.tmp $(PROJ_OBJ_ROOT)/include/llvm/IR/.dir
32 $(Echo) Installing $(DESTDIR)$(PROJ_includedir)/llvm/IR/Intrinsics.gen
33 $(Verb) $(DataInstall) $(GENFILE) $(DESTDIR)$(PROJ_includedir)/llvm/IR/Intrinsics.gen
/external/clang/lib/Basic/
H A DFileSystemStatCache.cpp15 #include "llvm/Support/FileSystem.h"
16 #include "llvm/Support/Path.h"
33 static void copyStatusToFileData(const llvm::sys::fs::file_status &Status,
39 Data.IsNamedPipe = Status.type() == llvm::sys::fs::file_type::fifo_file;
63 llvm::sys::fs::file_status Status;
64 if (llvm::sys::fs::status(Path, Status)) {
78 llvm::error_code EC = llvm::sys::fs::openFileForRead(Path, *FileDescriptor);
87 llvm::sys::fs::file_status Status;
88 if (!llvm
[all...]
/external/clang/tools/arcmt-test/
H A Darcmt-test.cpp16 #include "llvm/Support/FileSystem.h"
17 #include "llvm/Support/MemoryBuffer.h"
18 #include "llvm/Support/Signals.h"
19 #include "llvm/Support/system_error.h"
24 static llvm::cl::opt<bool>
26 llvm::cl::desc("Just check for issues that need to be handled manually"));
28 //static llvm::cl::opt<bool>
30 //llvm::cl::desc("Test the result of transformations by parsing it in ARC mode"));
32 static llvm::cl::opt<bool>
34 llvm
[all...]
/external/clang/tools/diagtool/
H A DListWarnings.cpp20 #include "llvm/ADT/StringMap.h"
21 #include "llvm/Support/Format.h"
32 llvm::StringRef DiagName;
33 llvm::StringRef Flag;
35 Entry(llvm::StringRef diagN, llvm::StringRef flag)
42 static void printEntries(std::vector<Entry> &entries, llvm::raw_ostream &out) {
52 int ListWarnings::run(unsigned int argc, char **argv, llvm::raw_ostream &out) {
54 llvm::StringMap<std::vector<unsigned> > flagHistogram;
92 << llvm
[all...]
/external/llvm/lib/Support/
H A DThreading.cpp1 //===-- llvm/Support/Threading.cpp- Control multithreading mode --*- C++ -*-==//
14 #include "llvm/Support/Threading.h"
15 #include "llvm/Config/config.h"
16 #include "llvm/Support/Atomic.h"
17 #include "llvm/Support/Mutex.h"
20 using namespace llvm;
26 bool llvm::llvm_start_multithreaded() {
41 void llvm::llvm_stop_multithreaded() {
54 bool llvm::llvm_is_multithreaded() {
58 void llvm
[all...]
/external/clang/include/clang/AST/
H A DMangleNumberingContext.h19 #include "llvm/ADT/DenseMap.h"
20 #include "llvm/ADT/IntrusiveRefCntPtr.h"
35 llvm::DenseMap<const Type *, unsigned> ManglingNumbers;
36 llvm::DenseMap<IdentifierInfo*, unsigned> VarManglingNumbers;
37 llvm::DenseMap<IdentifierInfo*, unsigned> TagManglingNumbers;
/external/llvm/test/MC/AsmParser/
H A Ddirective_lcomm.s1 # RUN: llvm-mc -triple i386-apple-darwin10 %s | FileCheck %s
2 # RUN: llvm-mc -triple i386-pc-mingw32 %s | FileCheck %s
3 # RUN: not llvm-mc -triple i386-linux-gnu %s 2>&1 | FileCheck %s -check-prefix=ERROR
/external/llvm/unittests/Object/
H A DYAMLTest.cpp1 //===- llvm/unittest/Object/YAMLTest.cpp - Tests for Object YAML ----------===//
10 #include "llvm/Object/YAML.h"
11 #include "llvm/Support/YAMLTraits.h"
14 using namespace llvm;
20 namespace llvm { namespace
29 } // end namespace llvm
34 llvm::raw_svector_ostream OS(Buf);
/external/llvm/utils/
H A DMakefile12 count fpcmp llvm-lit not unittest
16 getsrcs.sh llvmdo llvmgrep llvm-native-gcc \
17 llvm-native-gxx makellvm profile.pl vim
/external/llvm/utils/llvm-lit/
H A DMakefile1 ##===- utils/llvm-lit/Makefile -----------------------------*- Makefile -*-===##
14 all:: $(ToolDir)/llvm-lit
16 $(ToolDir)/llvm-lit: llvm-lit.in Makefile $(ToolDir)/.dir
17 $(Echo) "Creating 'llvm-lit' script..."
/external/clang/examples/clang-interpreter/
H A Dmain.cpp19 #include "llvm/ADT/OwningPtr.h"
20 #include "llvm/ADT/SmallString.h"
21 #include "llvm/ExecutionEngine/ExecutionEngine.h"
22 #include "llvm/ExecutionEngine/JIT.h"
23 #include "llvm/IR/Module.h"
24 #include "llvm/Support/FileSystem.h"
25 #include "llvm/Support/Host.h"
26 #include "llvm/Support/ManagedStatic.h"
27 #include "llvm/Support/Path.h"
28 #include "llvm/Suppor
[all...]
/external/llvm/bindings/ocaml/transforms/ipo/
H A Dllvm_ipo.ml15 (** See llvm::createAddArgumentPromotionPass *)
19 (** See llvm::createConstantMergePass function. *)
23 (** See llvm::createDeadArgEliminationPass function. *)
27 (** See llvm::createFunctionAttrsPass function. *)
31 (** See llvm::createFunctionInliningPass function. *)
35 (** See llvm::createGlobalDCEPass function. *)
39 (** See llvm::createGlobalOptimizerPass function. *)
43 (** See llvm::createIPConstantPropagationPass function. *)
47 (** See llvm::createPruneEHPass function. *)
51 (** See llvm
[all...]
H A Dllvm_ipo.mli15 (** See llvm::createAddArgumentPromotionPass *)
19 (** See llvm::createConstantMergePass function. *)
23 (** See llvm::createDeadArgEliminationPass function. *)
27 (** See llvm::createFunctionAttrsPass function. *)
31 (** See llvm::createFunctionInliningPass function. *)
35 (** See llvm::createGlobalDCEPass function. *)
39 (** See llvm::createGlobalOptimizerPass function. *)
43 (** See llvm::createIPConstantPropagationPass function. *)
47 (** See llvm::createPruneEHPass function. *)
51 (** See llvm
[all...]
/external/clang/lib/Frontend/
H A DInitHeaderSearch.cpp20 #include "llvm/ADT/SmallPtrSet.h"
21 #include "llvm/ADT/SmallString.h"
22 #include "llvm/ADT/SmallVector.h"
23 #include "llvm/ADT/StringExtras.h"
24 #include "llvm/ADT/Triple.h"
25 #include "llvm/ADT/Twine.h"
26 #include "llvm/Support/ErrorHandling.h"
27 #include "llvm/Support/FileSystem.h"
28 #include "llvm/Support/Path.h"
29 #include "llvm/Suppor
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
H A DAMDGPUMCInstLower.h13 namespace llvm { namespace
28 } // End namespace llvm

Completed in 875 milliseconds

1234567891011>>