LLVM API Documentation
#include "llvm/Constants.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Module.h"
#include "llvm/ModuleProvider.h"
#include "llvm/ADT/Statistic.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 <iostream>
Include dependency graph for ExecutionEngine.cpp:
Go to the source code of this file.
Defines | |
#define | DEBUG_TYPE "jit" |
#define | GET_CONST_VAL(TY, CTY, CLASS) case Type::TY##TyID: Result.TY##Val = (CTY)cast<CLASS>(C)->getValue(); break |
Functions | |
static void * | CreateArgv (ExecutionEngine *EE, const std::vector< std::string > &InputArgv) |
Variables | |
Statistic | NumInitBytes ("lli","Number of bytes of global vars initialized") |
Statistic | NumGlobals ("lli","Number of global vars initialized") |
#define DEBUG_TYPE "jit" |
Definition at line 15 of file ExecutionEngine.cpp.
#define GET_CONST_VAL | ( | TY, | |||
CTY, | |||||
CLASS | ) | case Type::TY##TyID: Result.TY##Val = (CTY)cast<CLASS>(C)->getValue(); break |
Referenced by llvm::ExecutionEngine::getConstantValue().
static void* CreateArgv | ( | ExecutionEngine * | EE, | |
const std::vector< std::string > & | InputArgv | |||
) | [static] |
Definition at line 71 of file ExecutionEngine.cpp.
References DEBUG, Dest, llvm::PointerType::get(), llvm::TargetData::getPointerSize(), llvm::ExecutionEngine::getTargetData(), llvm::PTOGV(), llvm::Type::SByteTy, size, and llvm::ExecutionEngine::StoreValueToMemory().
Referenced by llvm::ExecutionEngine::runFunctionAsMain().
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().