LLVM  4.0.0
Macros | Enumerations | Functions | Variables
ARMSubtarget.cpp File Reference
#include "ARMSubtarget.h"
#include "ARMFrameLowering.h"
#include "ARMISelLowering.h"
#include "ARMInstrInfo.h"
#include "ARMMachineFunctionInfo.h"
#include "ARMSelectionDAGInfo.h"
#include "ARMTargetMachine.h"
#include "Thumb1FrameLowering.h"
#include "Thumb1InstrInfo.h"
#include "Thumb2InstrInfo.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/IR/Attributes.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/GlobalValue.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Target/TargetOptions.h"
#include "llvm/Target/TargetRegisterInfo.h"
#include "llvm/Support/TargetParser.h"
#include "ARMGenSubtargetInfo.inc"
Include dependency graph for ARMSubtarget.cpp:

Go to the source code of this file.

Macros

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

Enumerations

enum  ITMode { DefaultIT, RestrictedIT, NoRestrictedIT }
 

Functions

static cl::opt< ITModeIT (cl::desc("IT block support"), cl::Hidden, cl::init(DefaultIT), cl::ZeroOrMore, cl::values(clEnumValN(DefaultIT,"arm-default-it","Generate IT block based on arch"), clEnumValN(RestrictedIT,"arm-restrict-it","Disallow deprecated IT based on ARMv8"), clEnumValN(NoRestrictedIT,"arm-no-restrict-it","Allow IT blocks based on ARMv7")))
 

Variables

static cl::opt< boolUseFusedMulOps ("arm-use-mulops", cl::init(true), cl::Hidden)
 
static cl::opt< boolForceFastISel ("arm-force-fast-isel", cl::init(false), cl::Hidden)
 ForceFastISel - Use the fast-isel, even for subtargets where it is not currently supported (for testing only). More...
 
static cl::opt< boolEnableExecuteOnly ("arm-execute-only")
 EnableExecuteOnly - Enables the generation of execute-only code on supported targets. More...
 

Macro Definition Documentation

#define DEBUG_TYPE   "arm-subtarget"

Definition at line 38 of file ARMSubtarget.cpp.

#define GET_SUBTARGETINFO_CTOR

Definition at line 41 of file ARMSubtarget.cpp.

#define GET_SUBTARGETINFO_TARGET_DESC

Definition at line 40 of file ARMSubtarget.cpp.

Enumeration Type Documentation

enum ITMode
Enumerator
DefaultIT 
RestrictedIT 
NoRestrictedIT 

Definition at line 48 of file ARMSubtarget.cpp.

Function Documentation

static cl::opt<ITMode> IT ( cl::  desc"IT block support",
cl::Hidden  ,
cl::  initDefaultIT,
cl::ZeroOrMore  ,
cl::  valuesclEnumValN(DefaultIT,"arm-default-it","Generate IT block based on arch"), clEnumValN(RestrictedIT,"arm-restrict-it","Disallow deprecated IT based on ARMv8"), clEnumValN(NoRestrictedIT,"arm-no-restrict-it","Allow IT blocks based on ARMv7") 
)
static

Variable Documentation

cl::opt<bool> EnableExecuteOnly("arm-execute-only")
static

EnableExecuteOnly - Enables the generation of execute-only code on supported targets.

cl::opt<bool> ForceFastISel("arm-force-fast-isel", cl::init(false), cl::Hidden)
static

ForceFastISel - Use the fast-isel, even for subtargets where it is not currently supported (for testing only).

Referenced by llvm::ARMSubtarget::useFastISel().

cl::opt<bool> UseFusedMulOps("arm-use-mulops", cl::init(true), cl::Hidden)
static