Searched defs:LLVMContext (Results 1 - 3 of 3) 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
38 /// LLVMContext itself provides no locking guarantees, so you should be careful
40 class LLVMContext { class in namespace:llvm
43 LLVMContext();
44 ~LLVMContext();
59 /// This ID is uniqued across modules in the current LLVMContext.
63 /// custom metadata IDs registered in this LLVMContext.
71 /// \see LLVMContext::setDiagnosticHandler.
72 /// \see LLVMContext
[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
70 LLVMContext::~LLVMContext() { delet
[all...]
/external/clang/lib/CodeGen/
H A DCodeGenModule.cpp49 #include "llvm/IR/LLVMContext.h"
94 llvm::LLVMContext &LLVMContext = M.getContext(); local
95 VoidTy = llvm::Type::getVoidTy(LLVMContext);
96 Int8Ty = llvm::Type::getInt8Ty(LLVMContext);
97 Int16Ty = llvm::Type::getInt16Ty(LLVMContext);
98 Int32Ty = llvm::Type::getInt32Ty(LLVMContext);
99 Int64Ty = llvm::Type::getInt64Ty(LLVMContext);
100 FloatTy = llvm::Type::getFloatTy(LLVMContext);
101 DoubleTy = llvm::Type::getDoubleTy(LLVMContext);
[all...]

Completed in 116 milliseconds