LLVM 24.0.0git
MipsSubtarget.cpp File Reference
#include "MipsSubtarget.h"
#include "Mips.h"
#include "MipsCallLowering.h"
#include "MipsLegalizerInfo.h"
#include "MipsRegisterBankInfo.h"
#include "MipsRegisterInfo.h"
#include "MipsSelectionDAGInfo.h"
#include "MipsTargetMachine.h"
#include "llvm/IR/Attributes.h"
#include "llvm/IR/Function.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include "MipsGenSubtargetInfo.inc"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "mips-subtarget"
#define GET_SUBTARGETINFO_TARGET_DESC
#define GET_SUBTARGETINFO_CTOR

Variables

cl::opt< CompactBranchPolicy > MipsCompactBranchPolicy ("mips-compact-branches", cl::init(CB_Optimal), cl::desc("MIPS Specific: Compact branch policy."), cl::values(clEnumValN(CB_Never, "never", "Do not use compact branches if possible."), clEnumValN(CB_Optimal, "optimal", "Use compact branches where appropriate (default)."), clEnumValN(CB_Always, "always", "Always use compact branches if possible.")))
static cl::opt< bool > Mips16HardFloat ("mips16-hard-float", cl::NotHidden, cl::desc("Enable mips16 hard float."), cl::init(false))
static cl::opt< bool > Mips16ConstantIslands ("mips16-constant-islands", cl::NotHidden, cl::desc("Enable mips16 constant islands."), cl::init(true))
static cl::opt< bool > GPOpt ("mgpopt", cl::Hidden, cl::desc("Enable gp-relative addressing of mips small data items"))

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "mips-subtarget"

Definition at line 40 of file MipsSubtarget.cpp.

◆ GET_SUBTARGETINFO_CTOR

#define GET_SUBTARGETINFO_CTOR

Definition at line 43 of file MipsSubtarget.cpp.

◆ GET_SUBTARGETINFO_TARGET_DESC

#define GET_SUBTARGETINFO_TARGET_DESC

Definition at line 42 of file MipsSubtarget.cpp.

Variable Documentation

◆ GPOpt

cl::opt< bool > GPOpt("mgpopt", cl::Hidden, cl::desc("Enable gp-relative addressing of mips small data items")) ( "mgpopt" ,
cl::Hidden ,
cl::desc("Enable gp-relative addressing of mips small data items")  )
static

◆ Mips16ConstantIslands

cl::opt< bool > Mips16ConstantIslands("mips16-constant-islands", cl::NotHidden, cl::desc("Enable mips16 constant islands."), cl::init(true)) ( "mips16-constant-islands" ,
cl::NotHidden ,
cl::desc("Enable mips16 constant islands.") ,
cl::init(true)  )
static

◆ Mips16HardFloat

cl::opt< bool > Mips16HardFloat("mips16-hard-float", cl::NotHidden, cl::desc("Enable mips16 hard float."), cl::init(false)) ( "mips16-hard-float" ,
cl::NotHidden ,
cl::desc("Enable mips16 hard float.") ,
cl::init(false)  )
static

◆ MipsCompactBranchPolicy

cl::opt< CompactBranchPolicy > MipsCompactBranchPolicy("mips-compact-branches", cl::init(CB_Optimal), cl::desc("MIPS Specific: Compact branch policy."), cl::values(clEnumValN(CB_Never, "never", "Do not use compact branches if possible."), clEnumValN(CB_Optimal, "optimal", "Use compact branches where appropriate (default)."), clEnumValN(CB_Always, "always", "Always use compact branches if possible."))) ( "mips-compact-branches" ,
cl::init(CB_Optimal) ,
cl::desc("MIPS Specific: Compact branch policy.") ,
cl::values(clEnumValN(CB_Never, "never", "Do not use compact branches if possible."), clEnumValN(CB_Optimal, "optimal", "Use compact branches where appropriate (default)."), clEnumValN(CB_Always, "always", "Always use compact branches if possible."))  )