LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ExecutionEngine.cpp File Reference

#include "Interpreter/Interpreter.h"
#include "JIT/JIT.h"
#include "llvm/Constants.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Module.h"
#include "llvm/ModuleProvider.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/IntrinsicLowering.h"
#include "llvm/ExecutionEngine/ExecutionEngine.h"
#include "llvm/ExecutionEngine/GenericValue.h"
#include "llvm/Support/Debug.h"
#include "llvm/System/DynamicLibrary.h"
#include "llvm/Target/TargetData.h"

Include dependency graph for ExecutionEngine.cpp:

Go to the source code of this file.

Defines

#define DEBUG_TYPE   "jit"
#define GET_CONST_VAL(TY, CLASS)   case Type::TY##TyID: Result.TY##Val = cast<CLASS>(C)->getValue(); break

Functions

static void * CreateArgv (ExecutionEngine *EE, const std::vector< std::string > &InputArgv)


Define Documentation

#define DEBUG_TYPE   "jit"
 

Definition at line 15 of file ExecutionEngine.cpp.

#define GET_CONST_VAL TY,
CLASS   )     case Type::TY##TyID: Result.TY##Val = cast<CLASS>(C)->getValue(); break
 

Referenced by llvm::ExecutionEngine::getConstantValue().


Function Documentation

static void* CreateArgv ExecutionEngine EE,
const std::vector< std::string > &  InputArgv
[static]
 

Definition at line 68 of file ExecutionEngine.cpp.

References DEBUG, llvm::PointerType::get(), llvm::TargetData::getPointerSize(), llvm::ExecutionEngine::getTargetData(), llvm::PTOGV(), llvm::Type::SByteTy, and llvm::ExecutionEngine::StoreValueToMemory().

Referenced by llvm::ExecutionEngine::runFunctionAsMain().


Variable Documentation

Statistic NumGlobals("lli","Number of global vars initialized") [static]
 

Referenced by llvm::ExecutionEngine::EmitGlobalVariable(), and ResolveGlobalVariables().

Statistic NumInitBytes("lli","Number of bytes of global vars initialized") [static]
 

Referenced by llvm::ExecutionEngine::EmitGlobalVariable().