LLVM  6.0.0svn
Functions
RISCVTargetMachine.cpp File Reference
#include "RISCV.h"
#include "RISCVTargetMachine.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
#include "llvm/CodeGen/TargetPassConfig.h"
#include "llvm/IR/LegacyPassManager.h"
#include "llvm/Support/FormattedStream.h"
#include "llvm/Support/TargetRegistry.h"
#include "llvm/Target/TargetOptions.h"
Include dependency graph for RISCVTargetMachine.cpp:

Go to the source code of this file.

Functions

void LLVMInitializeRISCVTarget ()
 
static std::string computeDataLayout (const Triple &TT)
 
static Reloc::Model getEffectiveRelocModel (const Triple &TT, Optional< Reloc::Model > RM)
 
static CodeModel::Model getEffectiveCodeModel (Optional< CodeModel::Model > CM)
 

Function Documentation

◆ computeDataLayout()

static std::string computeDataLayout ( const Triple TT)
static

◆ getEffectiveCodeModel()

static CodeModel::Model getEffectiveCodeModel ( Optional< CodeModel::Model CM)
static

Definition at line 47 of file RISCVTargetMachine.cpp.

References llvm::CodeModel::Small.

◆ getEffectiveRelocModel()

static Reloc::Model getEffectiveRelocModel ( const Triple TT,
Optional< Reloc::Model RM 
)
static

◆ LLVMInitializeRISCVTarget()

void LLVMInitializeRISCVTarget ( )

Definition at line 26 of file RISCVTargetMachine.cpp.

References llvm::getTheRISCV32Target(), llvm::getTheRISCV64Target(), X, and Y.