Lines Matching refs:LLVMContext
1 //===-- 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)) {
57 LLVMContext::~LLVMContext() { delete pImpl; }
59 void LLVMContext::addModule(Module *M) {
63 void LLVMContext::removeModule(Module *M) {
71 void LLVMContext::
80 LLVMContext::InlineAsmDiagHandlerTy
81 LLVMContext::getInlineAsmDiagnosticHandler() const {
87 void *LLVMContext::getInlineAsmDiagnosticContext() const {
91 void LLVMContext::emitError(const Twine &ErrorStr) {
95 void LLVMContext::emitError(const Instruction *I, const Twine &ErrorStr) {
105 void LLVMContext::emitError(unsigned LocCookie, const Twine &ErrorStr) {
141 unsigned LLVMContext::getMDKindID(StringRef Name) const {
152 void LLVMContext::getMDKindNames(SmallVectorImpl<StringRef> &Names) const {