Searched defs:LLVMContext (Results 1 - 4 of 4) sorted by relevance

/external/llvm/include/llvm/IR/
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
39 /// LLVMContext itself provides no locking guarantees, so you should be careful
41 class LLVMContext { class in namespace:llvm
44 LLVMContext();
45 ~LLVMContext();
65 /// This ID is uniqued across modules in the current LLVMContext.
69 /// custom metadata IDs registered in this LLVMContext.
77 /// \see LLVMContext::setDiagnosticHandler.
78 /// \see LLVMContext
[all...]
H A DMetadata.h30 class LLVMContext;
173 static MetadataAsValue *get(LLVMContext &Context, Metadata *MD);
174 static MetadataAsValue *getIfExists(LLVMContext &Context, Metadata *MD);
199 LLVMContext &Context;
204 ReplaceableMetadataImpl(LLVMContext &Context)
210 LLVMContext &getContext() const { return Context; }
277 LLVMContext &getContext() const { return V->getContext(); }
508 static MDString *get(LLVMContext &Context, StringRef Str);
509 static MDString *get(LLVMContext &Context, const char *Str) {
640 /// Either a raw (non-null) pointer to the \a LLVMContext, o
[all...]
/external/llvm/lib/IR/
H A DLLVMContext.cpp1 //===-- LLVMContext.cpp - Implement LLVMContext ---------------------------===//
10 // This file implements LLVMContext, as a wrapper around the opaque
15 #include "llvm/IR/LLVMContext.h"
28 static ManagedStatic<LLVMContext> GlobalContext;
30 LLVMContext& llvm::getGlobalContext() {
34 LLVMContext::LLVMContext() : pImpl(new LLVMContextImpl(*this)) { function in class:LLVMContext
97 LLVMContext::~LLVMContext() { delet
[all...]
/external/clang/lib/CodeGen/
H A DCodeGenModule.cpp50 #include "llvm/IR/LLVMContext.h"
96 llvm::LLVMContext &LLVMContext = M.getContext(); local
97 VoidTy = llvm::Type::getVoidTy(LLVMContext);
98 Int8Ty = llvm::Type::getInt8Ty(LLVMContext);
99 Int16Ty = llvm::Type::getInt16Ty(LLVMContext);
100 Int32Ty = llvm::Type::getInt32Ty(LLVMContext);
101 Int64Ty = llvm::Type::getInt64Ty(LLVMContext);
102 FloatTy = llvm::Type::getFloatTy(LLVMContext);
103 DoubleTy = llvm::Type::getDoubleTy(LLVMContext);
[all...]

Completed in 499 milliseconds