Searched refs:LLVMContext (Results 1 - 25 of 198) sorted by relevance

12345678

/external/llvm/include/llvm/Assembly/
H A DParser.h24 class LLVMContext;
35 LLVMContext &Context ///< Context in which to allocate globals info.
48 LLVMContext &Context
59 LLVMContext &Context
/external/llvm/include/llvm/
H A DLLVMContext.h1 //===-- llvm/LLVMContext.h - Class for managing "global" state --*- C++ -*-===//
10 // This file declares LLVMContext, a container of "global" state in LLVM, such
31 /// LLVMContext itself provides no locking guarantees, so you should be careful
33 class LLVMContext { class in namespace:llvm
36 LLVMContext();
37 ~LLVMContext();
50 /// This ID is uniqued across modules in the current LLVMContext.
54 /// custom metadata IDs registered in this LLVMContext.
66 /// LLVMContext doesn't take ownership or interpret either of these
91 LLVMContext(LLVMContex
[all...]
H A DType.h27 class LLVMContext;
77 /// Context - This refers to the LLVMContext in which this type was uniqued.
78 LLVMContext &Context;
88 explicit Type(LLVMContext &C, TypeID tid)
123 /// getContext - Return the LLVMContext in which this type was uniqued.
124 LLVMContext &getContext() const { return Context; }
352 static Type *getPrimitiveType(LLVMContext &C, TypeID IDNumber);
357 static Type *getVoidTy(LLVMContext &C);
358 static Type *getLabelTy(LLVMContext &C);
359 static Type *getHalfTy(LLVMContext
[all...]
H A DMetadata.h27 class LLVMContext;
42 explicit MDString(LLVMContext &C);
44 static MDString *get(LLVMContext &Context, StringRef Str);
45 static MDString *get(LLVMContext &Context, const char *Str) {
115 MDNode(LLVMContext &C, ArrayRef<Value*> Vals, bool isFunctionLocal);
117 static MDNode *getMDNode(LLVMContext &C, ArrayRef<Value*> Vals,
121 static MDNode *get(LLVMContext &Context, ArrayRef<Value*> Vals);
124 static MDNode *getWhenValsUnresolved(LLVMContext &Context,
128 static MDNode *getIfExists(LLVMContext &Context, ArrayRef<Value*> Vals);
133 static MDNode *getTemporary(LLVMContext
[all...]
H A DTypeBuilder.h19 #include "llvm/LLVMContext.h"
53 /// static StructType *get(LLVMContext &Context) {
55 /// // for each LLVMContext.
106 static PointerType *get(LLVMContext &Context) {
117 static ArrayType *get(LLVMContext &Context) {
124 static ArrayType *get(LLVMContext &Context) {
154 static IntegerType *get(LLVMContext &Context) { \
183 static IntegerType *get(LLVMContext &C) {
190 static Type *get(LLVMContext& C) {
198 static Type *get(LLVMContext
[all...]
H A DDerivedTypes.h28 class LLVMContext;
40 explicit IntegerType(LLVMContext &C, unsigned NumBits) : Type(C, IntegerTyID){
57 static IntegerType *get(LLVMContext &C, unsigned NumBits);
147 explicit CompositeType(LLVMContext &C, TypeID tid) : Type(C, tid) { }
177 /// uniqued. The names for identified structs are managed at the LLVMContext
179 /// a particular LLVMContext. Identified structs may also optionally be opaque
192 StructType(LLVMContext &C)
203 /// pointer to the symbol table entry (maintained by LLVMContext) for the
214 static StructType *create(LLVMContext &Context, StringRef Name);
215 static StructType *create(LLVMContext
[all...]
/external/llvm/lib/VMCore/
H A DLLVMContext.cpp1 //===-- LLVMContext.cpp - Implement LLVMContext -----------------------===//
10 // This file implements LLVMContext, as a wrapper around the opaque
15 #include "llvm/LLVMContext.h"
25 static ManagedStatic<LLVMContext> GlobalContext;
27 LLVMContext& llvm::getGlobalContext() {
31 LLVMContext::LLVMContext() : pImpl(new LLVMContextImpl(*this)) { function in class:LLVMContext
57 LLVMContext::~LLVMContext() { delet
[all...]
H A DType.cpp25 Type *Type::getPrimitiveType(LLVMContext &C, TypeID IDNumber) {
248 Type *Type::getVoidTy(LLVMContext &C) { return &C.pImpl->VoidTy; }
249 Type *Type::getLabelTy(LLVMContext &C) { return &C.pImpl->LabelTy; }
250 Type *Type::getHalfTy(LLVMContext &C) { return &C.pImpl->HalfTy; }
251 Type *Type::getFloatTy(LLVMContext &C) { return &C.pImpl->FloatTy; }
252 Type *Type::getDoubleTy(LLVMContext &C) { return &C.pImpl->DoubleTy; }
253 Type *Type::getMetadataTy(LLVMContext &C) { return &C.pImpl->MetadataTy; }
254 Type *Type::getX86_FP80Ty(LLVMContext &C) { return &C.pImpl->X86_FP80Ty; }
255 Type *Type::getFP128Ty(LLVMContext &C) { return &C.pImpl->FP128Ty; }
256 Type *Type::getPPC_FP128Ty(LLVMContext
[all...]
H A DLeakDetector.cpp27 static void clearGarbage(LLVMContext &Context) {
52 void LeakDetector::checkForGarbageImpl(LLVMContext &Context,
/external/clang/include/clang/CodeGen/
H A DCodeGenAction.h17 class LLVMContext;
29 llvm::LLVMContext *VMContext;
36 CodeGenAction(unsigned _Act, llvm::LLVMContext *_VMContext = 0);
60 llvm::LLVMContext *takeLLVMContext();
68 EmitAssemblyAction(llvm::LLVMContext *_VMContext = 0);
74 EmitBCAction(llvm::LLVMContext *_VMContext = 0);
80 EmitLLVMAction(llvm::LLVMContext *_VMContext = 0);
86 EmitLLVMOnlyAction(llvm::LLVMContext *_VMContext = 0);
92 EmitCodeGenOnlyAction(llvm::LLVMContext *_VMContext = 0);
98 EmitObjAction(llvm::LLVMContext *_VMContex
[all...]
H A DModuleBuilder.h21 class LLVMContext;
43 llvm::LLVMContext& C);
/external/llvm/include/llvm/Support/
H A DDebugLoc.h21 class LLVMContext;
51 /// decoded by LLVMContext. 0 is unknown.
80 MDNode *getScope(const LLVMContext &Ctx) const;
84 MDNode *getInlinedAt(const LLVMContext &Ctx) const;
88 const LLVMContext &Ctx) const;
93 MDNode *getAsMDNode(const LLVMContext &Ctx) const;
100 void dump(const LLVMContext &Ctx) const;
H A DLeakDetector.h29 class LLVMContext;
60 static void checkForGarbage(LLVMContext &C, const std::string &Message) {
87 static void checkForGarbageImpl(LLVMContext &C, const std::string &Message);
H A DIRReader.h37 LLVMContext &Context) {
61 LLVMContext &Context) {
78 LLVMContext &Context) {
99 LLVMContext &Context) {
/external/llvm/examples/BrainF/
H A DBrainF.h19 #include "llvm/LLVMContext.h"
43 LLVMContext& C);
69 void header(LLVMContext& C);
74 BasicBlock *testbb, LLVMContext &Context);
/external/llvm/lib/Archive/
H A DArchiveInternals.h34 class LLVMContext;
76 LLVMContext& Context,
82 LLVMContext& Context,
/external/llvm/unittests/VMCore/
H A DTypesTest.cpp11 #include "llvm/LLVMContext.h"
18 LLVMContext C;
H A DVerifierTest.cpp16 #include "llvm/LLVMContext.h"
26 LLVMContext &C = getGlobalContext();
48 LLVMContext &C = getGlobalContext();
/external/llvm/include/llvm/Bitcode/
H A DReaderWriter.h23 class LLVMContext;
34 LLVMContext &Context,
43 LLVMContext &Context,
52 LLVMContext &Context,
58 Module *ParseBitcodeFile(MemoryBuffer *Buffer, LLVMContext &Context,
/external/llvm/unittests/ExecutionEngine/JIT/
H A DMultiJITTest.cpp11 #include "llvm/LLVMContext.h"
34 void createModule1(LLVMContext &Context1, Module *&M1, Function *&FooF1) {
51 void createModule2(LLVMContext &Context2, Module *&M2, Function *&FooF2) {
72 LLVMContext Context1;
77 LLVMContext Context2;
102 LLVMContext Context1;
107 LLVMContext Context2;
136 LLVMContext Context1;
141 LLVMContext Context2;
/external/clang/lib/CodeGen/
H A DCodeGenTBAA.h23 class LLVMContext;
64 CodeGenTBAA(ASTContext &Ctx, llvm::LLVMContext &VMContext,
/external/llvm/lib/AsmParser/
H A DParser.cpp28 LLVMContext &Context) {
44 LLVMContext &Context) {
56 SMDiagnostic &Err, LLVMContext &Context) {
H A DLLLexer.h27 class LLVMContext;
34 LLVMContext &Context;
47 LLVMContext &C);
/external/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.h29 class LLVMContext;
47 LLVMContext &Context;
49 BitcodeReaderValueList(LLVMContext &C) : Context(C) {}
97 LLVMContext &Context;
99 BitcodeReaderMDValueList(LLVMContext& C) : Context(C) {}
125 LLVMContext &Context;
183 explicit BitcodeReader(MemoryBuffer *buffer, LLVMContext &C)
189 explicit BitcodeReader(DataStreamer *streamer, LLVMContext &C)
/external/llvm/tools/lto/
H A DLTOCodeGenerator.h24 class LLVMContext;
68 llvm::LLVMContext& _context;

Completed in 257 milliseconds

12345678