LLVM  10.0.0svn
Macros | Functions
ExecutionEngine.cpp File Reference
#include "llvm/ExecutionEngine/ExecutionEngine.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/ExecutionEngine/GenericValue.h"
#include "llvm/ExecutionEngine/JITEventListener.h"
#include "llvm/ExecutionEngine/ObjectCache.h"
#include "llvm/ExecutionEngine/RTDyldMemoryManager.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/Mangler.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/Operator.h"
#include "llvm/IR/ValueHandle.h"
#include "llvm/Object/Archive.h"
#include "llvm/Object/ObjectFile.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/DynamicLibrary.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/Host.h"
#include "llvm/Support/TargetRegistry.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Target/TargetMachine.h"
#include <cmath>
#include <cstring>
#include <mutex>
Include dependency graph for ExecutionEngine.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "jit"
 

Functions

 STATISTIC (NumInitBytes, "Number of bytes of global vars initialized")
 
 STATISTIC (NumGlobals, "Number of global vars initialized")
 
static bool isTargetNullPtr (ExecutionEngine *EE, void *Loc)
 isTargetNullPtr - Return whether the target pointer stored at Loc is null. More...
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "jit"

Definition at line 43 of file ExecutionEngine.cpp.

Function Documentation

◆ isTargetNullPtr()

static bool isTargetNullPtr ( ExecutionEngine EE,
void *  Loc 
)
static

isTargetNullPtr - Return whether the target pointer stored at Loc is null.

Definition at line 417 of file ExecutionEngine.cpp.

References llvm::ExecutionEngine::getDataLayout(), and llvm::DataLayout::getPointerSize().

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

◆ STATISTIC() [1/2]

STATISTIC ( NumInitBytes  ,
"Number of bytes of global vars initialized"   
)

◆ STATISTIC() [2/2]

STATISTIC ( NumGlobals  ,
"Number of global vars initialized"   
)