LLVM API Documentation

ARMBaseInstrInfo.cpp File Reference

#include "ARMBaseInstrInfo.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 "llvm/Support/ErrorHandling.h"

Include dependency graph for ARMBaseInstrInfo.cpp:

Go to the source code of this file.

Functions

static unsigned getNumJTEntries (const std::vector< MachineJumpTableEntry > &JT, unsigned JTI) DISABLE_INLINE
 FIXME: Works around a gcc miscompilation with -fstrict-aliasing.
ARMCC::CondCodes llvm::getInstrPredicate (MachineInstr *MI, unsigned &PredReg)
int llvm::getMatchingCondBranchOpcode (int Opc)
void llvm::emitARMRegPlusImmediate (MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, DebugLoc dl, unsigned DestReg, unsigned BaseReg, int NumBytes, ARMCC::CondCodes Pred, unsigned PredReg, const ARMBaseInstrInfo &TII)
int llvm::rewriteARMFrameIndex (MachineInstr &MI, unsigned FrameRegIdx, unsigned FrameReg, int Offset, const ARMBaseInstrInfo &TII)

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 unsigned getNumJTEntries ( const std::vector< MachineJumpTableEntry > &  JT,
unsigned  JTI 
) [static]

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

Definition at line 398 of file ARMBaseInstrInfo.cpp.

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


Variable Documentation

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