LLVM API Documentation
#include "MipsMachineFunction.h"
#include "Mips.h"
#include "MipsRegisterInfo.h"
#include "MipsSubtarget.h"
#include "MipsTargetMachine.h"
#include "llvm/IR/Attributes.h"
#include "llvm/IR/Function.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/TargetRegistry.h"
#include "llvm/Support/raw_ostream.h"
#include "MipsGenSubtargetInfo.inc"
Go to the source code of this file.
Defines | |
#define | DEBUG_TYPE "mips-subtarget" |
#define | GET_SUBTARGETINFO_TARGET_DESC |
#define | GET_SUBTARGETINFO_CTOR |
Functions | |
static StringRef | selectMipsCPU (Triple TT, StringRef CPU) |
static std::string | computeDataLayout (const MipsSubtarget &ST) |
Variables | |
static cl::opt< bool > | Mixed16_32 ("mips-mixed-16-32", cl::init(false), cl::desc("Allow for a mixture of Mips16 ""and Mips32 code in a single source file"), cl::Hidden) |
static cl::opt< bool > | Mips_Os16 ("mips-os16", cl::init(false), cl::desc("Compile all functions that don' use ""floating point as Mips 16"), cl::Hidden) |
static cl::opt< bool > | Mips16HardFloat ("mips16-hard-float", cl::NotHidden, cl::desc("MIPS: mips16 hard float enable."), cl::init(false)) |
static cl::opt< bool > | Mips16ConstantIslands ("mips16-constant-islands", cl::NotHidden, cl::desc("MIPS: mips16 constant islands enable."), cl::init(true)) |
#define DEBUG_TYPE "mips-subtarget" |
Definition at line 28 of file MipsSubtarget.cpp.
#define GET_SUBTARGETINFO_CTOR |
Definition at line 31 of file MipsSubtarget.cpp.
#define GET_SUBTARGETINFO_TARGET_DESC |
Definition at line 30 of file MipsSubtarget.cpp.
static std::string computeDataLayout | ( | const MipsSubtarget & | ST | ) | [static] |
Definition at line 75 of file MipsSubtarget.cpp.
References llvm::MipsSubtarget::isABI_N32(), llvm::MipsSubtarget::isABI_N64(), llvm::MipsSubtarget::isLittle(), and llvm::MipsISD::Ret.
static StringRef selectMipsCPU | ( | Triple | TT, |
StringRef | CPU | ||
) | [static] |
Select the Mips CPU for the given triple and cpu name. FIXME: Merge with the copy in MipsMCTargetDesc.cpp
Definition at line 63 of file MipsSubtarget.cpp.
References llvm::StringRef::empty(), llvm::Triple::getArch(), llvm::Triple::mips, and llvm::Triple::mipsel.
Referenced by llvm::MipsSubtarget::initializeSubtargetDependencies().
cl::opt<bool> Mips16ConstantIslands("mips16-constant-islands", cl::NotHidden, cl::desc("MIPS: mips16 constant islands enable."), cl::init(true)) [static] |
Referenced by llvm::MipsSubtarget::useConstantIslands().
cl::opt<bool> Mips16HardFloat("mips16-hard-float", cl::NotHidden, cl::desc("MIPS: mips16 hard float enable."), cl::init(false)) [static] |
Referenced by llvm::createMips16HardFloat().
cl::opt<bool> Mips_Os16("mips-os16", cl::init(false), cl::desc("Compile all functions that don' use ""floating point as Mips 16"), cl::Hidden) [static] |
cl::opt<bool> Mixed16_32("mips-mixed-16-32", cl::init(false), cl::desc("Allow for a mixture of Mips16 ""and Mips32 code in a single source file"), cl::Hidden) [static] |