LLVM 22.0.0git
ExecutionEngine.cpp File Reference

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.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "jit"

Definition at line 44 of file ExecutionEngine.cpp.

Function Documentation

◆ isTargetNullPtr()

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

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

Definition at line 413 of file ExecutionEngine.cpp.

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

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

◆ STATISTIC() [1/2]

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

◆ STATISTIC() [2/2]

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