LLVM API Documentation

JITMemoryManager.cpp File Reference

#include "llvm/GlobalValue.h"
#include "llvm/ExecutionEngine/JITMemoryManager.h"
#include "llvm/Support/Compiler.h"
#include "llvm/System/Memory.h"
#include <map>
#include <vector>
#include <cassert>
#include <cstdio>
#include <cstdlib>
#include <cstring>

Include dependency graph for JITMemoryManager.cpp:

Go to the source code of this file.


Variable Documentation

std::vector<sys::MemoryBlock> Blocks

uintptr_t BlockSize

BlockSize - This is the size in bytes of this memory block, including this header.

Definition at line 51 of file JITMemoryManager.cpp.

MemoryRangeHeader* CurBlock

Definition at line 257 of file JITMemoryManager.cpp.

Definition at line 259 of file JITMemoryManager.cpp.

FreeRangeHeader* FreeMemoryList

Definition at line 254 of file JITMemoryManager.cpp.

std::map<const Function*, MemoryRangeHeader*> FunctionBlocks

Definition at line 265 of file JITMemoryManager.cpp.

Definition at line 260 of file JITMemoryManager.cpp.

FreeRangeHeader* Next

FreeRangeHeader* Prev

Definition at line 83 of file JITMemoryManager.cpp.

Referenced by llvm::LiveInterval::MergeValueNumberInto().

PrevAllocated - Keep track of whether the block immediately before us is allocated. If not, the word immediately before this header is the size of the previous block.

Definition at line 47 of file JITMemoryManager.cpp.

Definition at line 259 of file JITMemoryManager.cpp.

std::map<const Function*, MemoryRangeHeader*> TableBlocks

Definition at line 266 of file JITMemoryManager.cpp.

ThisAllocated - This is true if this block is currently allocated. If not, this can be converted to a FreeRangeHeader.

Definition at line 42 of file JITMemoryManager.cpp.