LLVM API Documentation

ARMInstrInfo.cpp File Reference

#include "ARMInstrInfo.h"
#include "ARM.h"
#include "ARMAddressingModes.h"
#include "ARMGenInstrInfo.inc"
#include "ARMMachineFunctionInfo.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/CodeGen/LiveVariables.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineJumpTableInfo.h"
#include "llvm/Target/TargetAsmInfo.h"
#include "llvm/Support/CommandLine.h"

Include dependency graph for ARMInstrInfo.cpp:

Go to the source code of this file.

Functions

static const MachineInstrBuilder & AddDefaultPred (const MachineInstrBuilder &MIB)
static const MachineInstrBuilder & AddDefaultCC (const MachineInstrBuilder &MIB)
static unsigned getUnindexedOpcode (unsigned Opc)
static const MachineInstrBuilder & ARMInstrAddOperand (MachineInstrBuilder &MIB, MachineOperand &MO)
static unsigned getNumJTEntries (const std::vector< MachineJumpTableEntry > &JT, unsigned JTI) DISABLE_INLINE
 FIXME: Works around a gcc miscompilation with -fstrict-aliasing.

Variables

static cl::opt< bool > EnableARM3Addr ("enable-arm-3-addr-conv", cl::Hidden, cl::desc("Enable ARM 2-addr to 3-addr conv"))


Function Documentation

static const MachineInstrBuilder& AddDefaultCC ( const MachineInstrBuilder &  MIB  )  [inline, static]

static const MachineInstrBuilder& AddDefaultPred ( const MachineInstrBuilder &  MIB  )  [inline, static]

static const MachineInstrBuilder& ARMInstrAddOperand ( MachineInstrBuilder &  MIB,
MachineOperand &  MO 
) [static]

static unsigned getNumJTEntries ( const std::vector< MachineJumpTableEntry > &  JT,
unsigned  JTI 
) [static]

FIXME: Works around a gcc miscompilation with -fstrict-aliasing.

Definition at line 892 of file ARMInstrInfo.cpp.

Referenced by llvm::ARMInstrInfo::GetInstSizeInBytes().

static unsigned getUnindexedOpcode ( unsigned  Opc  )  [static]

Definition at line 165 of file ARMInstrInfo.cpp.

Referenced by llvm::ARMInstrInfo::convertToThreeAddress().


Variable Documentation

cl::opt<bool> EnableARM3Addr("enable-arm-3-addr-conv", cl::Hidden, cl::desc("Enable ARM 2-addr to 3-addr conv")) [static]