OmniSciDB  21ac014ffc
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
LLVMGlobalContext.cpp File Reference
#include "LLVMGlobalContext.h"
#include <llvm/Support/ManagedStatic.h>
+ Include dependency graph for LLVMGlobalContext.cpp:

Go to the source code of this file.

Namespaces

 anonymous_namespace{LLVMGlobalContext.cpp}
 

Functions

llvm::LLVMContext & getGlobalLLVMContext ()
 

Variables

llvm::ManagedStatic
< llvm::LLVMContext > 
anonymous_namespace{LLVMGlobalContext.cpp}::g_global_context
 

Function Documentation

llvm::LLVMContext& getGlobalLLVMContext ( )

Definition at line 26 of file LLVMGlobalContext.cpp.

References anonymous_namespace{LLVMGlobalContext.cpp}::g_global_context.

Referenced by FixedWidthInt::codegenDecode(), FixedWidthUnsigned::codegenDecode(), DiffFixedWidthInt::codegenDecode(), FixedWidthSmallDate::codegenDecode(), and anonymous_namespace{NativeCodegen.cpp}::create_row_function().

26  {
27  return *g_global_context;
28 }
llvm::ManagedStatic< llvm::LLVMContext > g_global_context

+ Here is the caller graph for this function: