LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Thumb2RegisterInfo.h
Go to the documentation of this file.
1 //===- Thumb2RegisterInfo.h - Thumb-2 Register Information Impl -*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file contains the Thumb-2 implementation of the TargetRegisterInfo
11 // class.
12 //
13 //===----------------------------------------------------------------------===//
14 
15 #ifndef THUMB2REGISTERINFO_H
16 #define THUMB2REGISTERINFO_H
17 
18 #include "ARM.h"
19 #include "ARMBaseRegisterInfo.h"
21 
22 namespace llvm {
23 
24 class ARMSubtarget;
25 
27 public:
29 
30  /// emitLoadConstPool - Emits a load from constpool to materialize the
31  /// specified immediate.
34  DebugLoc dl,
35  unsigned DestReg, unsigned SubIdx, int Val,
37  unsigned PredReg = 0,
38  unsigned MIFlags = MachineInstr::NoFlags) const;
39 };
40 }
41 
42 #endif // THUMB2REGISTERINFO_H
Thumb2RegisterInfo(const ARMSubtarget &STI)
const ARMSubtarget & STI
void emitLoadConstPool(MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, DebugLoc dl, unsigned DestReg, unsigned SubIdx, int Val, ARMCC::CondCodes Pred=ARMCC::AL, unsigned PredReg=0, unsigned MIFlags=MachineInstr::NoFlags) const
bundle_iterator< MachineInstr, instr_iterator > iterator