LLVM API Documentation
#include "JIT.h"#include "llvm/ADT/DenseMap.h"#include "llvm/ADT/OwningPtr.h"#include "llvm/ADT/SmallPtrSet.h"#include "llvm/ADT/SmallVector.h"#include "llvm/ADT/Statistic.h"#include "llvm/ADT/ValueMap.h"#include "llvm/CodeGen/JITCodeEmitter.h"#include "llvm/CodeGen/MachineCodeInfo.h"#include "llvm/CodeGen/MachineConstantPool.h"#include "llvm/CodeGen/MachineFunction.h"#include "llvm/CodeGen/MachineJumpTableInfo.h"#include "llvm/CodeGen/MachineModuleInfo.h"#include "llvm/CodeGen/MachineRelocation.h"#include "llvm/DebugInfo.h"#include "llvm/ExecutionEngine/GenericValue.h"#include "llvm/ExecutionEngine/JITEventListener.h"#include "llvm/ExecutionEngine/JITMemoryManager.h"#include "llvm/IR/Constants.h"#include "llvm/IR/DataLayout.h"#include "llvm/IR/DerivedTypes.h"#include "llvm/IR/Module.h"#include "llvm/Support/Debug.h"#include "llvm/Support/Disassembler.h"#include "llvm/Support/ErrorHandling.h"#include "llvm/Support/ManagedStatic.h"#include "llvm/Support/Memory.h"#include "llvm/Support/MutexGuard.h"#include "llvm/Support/ValueHandle.h"#include "llvm/Support/raw_ostream.h"#include "llvm/Target/TargetInstrInfo.h"#include "llvm/Target/TargetJITInfo.h"#include "llvm/Target/TargetMachine.h"#include "llvm/Target/TargetOptions.h"#include <algorithm>#include <iomanip>
Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "jit" |
Functions | |
| STATISTIC (NumBytes,"Number of bytes of machine code compiled") | |
| STATISTIC (NumRelos,"Number of relocations applied") | |
| STATISTIC (NumRetries,"Number of retries with more memory") | |
| static bool | isNonGhostDeclaration (const Function *F) |
| static unsigned | GetConstantPoolSizeInBytes (MachineConstantPool *MCP, const DataLayout *TD) |
| #define DEBUG_TYPE "jit" |
Definition at line 15 of file JITEmitter.cpp.
|
static |
Definition at line 749 of file JITEmitter.cpp.
References llvm::MachineConstantPoolEntry::getAlignment(), llvm::MachineConstantPool::getConstants(), llvm::MachineConstantPoolEntry::getType(), and llvm::DataLayout::getTypeAllocSize().
Definition at line 63 of file JITEmitter.cpp.
References llvm::GlobalValue::isDeclaration(), and llvm::GlobalValue::isMaterializable().
| STATISTIC | ( | NumBytes | , |
| "Number of bytes of machine code compiled" | |||
| ) |
| STATISTIC | ( | NumRelos | , |
| "Number of relocations applied" | |||
| ) |
| STATISTIC | ( | NumRetries | , |
| "Number of retries with more memory" | |||
| ) |