LLVM  6.0.0svn
Macros | Functions
Nios2TargetMachine.cpp File Reference
#include "Nios2TargetMachine.h"
#include "Nios2.h"
#include "Nios2TargetObjectFile.h"
#include "llvm/CodeGen/TargetPassConfig.h"
#include "llvm/Support/TargetRegistry.h"
Include dependency graph for Nios2TargetMachine.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "nios2"
 

Functions

void LLVMInitializeNios2Target ()
 
static std::string computeDataLayout ()
 
static Reloc::Model getEffectiveRelocModel (Optional< Reloc::Model > RM)
 
static CodeModel::Model getEffectiveCodeModel (Optional< CodeModel::Model > CM, Reloc::Model RM, bool JIT)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "nios2"

Definition at line 23 of file Nios2TargetMachine.cpp.

Function Documentation

◆ computeDataLayout()

static std::string computeDataLayout ( )
static

Definition at line 30 of file Nios2TargetMachine.cpp.

◆ getEffectiveCodeModel()

static CodeModel::Model getEffectiveCodeModel ( Optional< CodeModel::Model CM,
Reloc::Model  RM,
bool  JIT 
)
static

Definition at line 40 of file Nios2TargetMachine.cpp.

References llvm::CodeModel::Small.

◆ getEffectiveRelocModel()

static Reloc::Model getEffectiveRelocModel ( Optional< Reloc::Model RM)
static

◆ LLVMInitializeNios2Target()

void LLVMInitializeNios2Target ( )

Definition at line 25 of file Nios2TargetMachine.cpp.

References llvm::getTheNios2Target(), and X.