|
LLVM
10.0.0
|
#include "MCTargetDesc/ARMBaseInfo.h"#include "llvm/ADT/DenseMap.h"#include "llvm/ADT/SmallSet.h"#include "llvm/CodeGen/MachineBasicBlock.h"#include "llvm/CodeGen/MachineInstr.h"#include "llvm/CodeGen/MachineInstrBuilder.h"#include "llvm/CodeGen/MachineOperand.h"#include "llvm/CodeGen/TargetInstrInfo.h"#include <array>#include <cstdint>#include "ARMGenInstrInfo.inc"Go to the source code of this file.
Classes | |
| class | llvm::ARMBaseInstrInfo |
Namespaces | |
| llvm | |
| This class represents lattice values for constants. | |
Macros | |
| #define | GET_INSTRINFO_HEADER |
Enumerations | |
| enum | llvm::VPTMaskValue { llvm::T = 8, llvm::TT = 4, llvm::TE = 12, llvm::TTT = 2, llvm::TTE = 6, llvm::TEE = 10, llvm::TET = 14, llvm::TTTT = 1, llvm::TTTE = 3, llvm::TTEE = 5, llvm::TTET = 7, llvm::TEEE = 9, llvm::TEET = 11, llvm::TETT = 13, llvm::TETE = 15 } |
Functions | |
| static std::array< MachineOperand, 2 > | llvm::predOps (ARMCC::CondCodes Pred, unsigned PredReg=0) |
Get the operands corresponding to the given Pred value. More... | |
| static MachineOperand | llvm::condCodeOp (unsigned CCReg=0) |
| Get the operand corresponding to the conditional code result. More... | |
| static MachineOperand | llvm::t1CondCodeOp (bool isDead=false) |
| Get the operand corresponding to the conditional code result for Thumb1. More... | |
| static bool | llvm::isUncondBranchOpcode (int Opc) |
| static bool | llvm::isVPTOpcode (int Opc) |
| static unsigned | llvm::VCMPOpcodeToVPT (unsigned Opcode) |
| static unsigned | llvm::VCTPOpcodeToLSTP (unsigned Opcode, bool IsDoLoop) |
| static bool | llvm::isVCTP (MachineInstr *MI) |
| static bool | llvm::isLoopStart (MachineInstr &MI) |
| static bool | llvm::isCondBranchOpcode (int Opc) |
| static bool | llvm::isJumpTableBranchOpcode (int Opc) |
| static bool | llvm::isIndirectBranchOpcode (int Opc) |
| static bool | llvm::isPopOpcode (int Opc) |
| static bool | llvm::isPushOpcode (int Opc) |
| static bool | llvm::isValidCoprocessorNumber (unsigned Num, const FeatureBitset &featureBits) |
| isValidCoprocessorNumber - decide whether an explicit coprocessor number is legal in generic instructions like CDP. More... | |
| ARMCC::CondCodes | llvm::getInstrPredicate (const MachineInstr &MI, unsigned &PredReg) |
| getInstrPredicate - If instruction is predicated, returns its predicate condition, otherwise returns AL. More... | |
| unsigned | llvm::getMatchingCondBranchOpcode (unsigned Opc) |
| unsigned | llvm::convertAddSubFlagsOpcode (unsigned OldOpc) |
| Map pseudo instructions that imply an 'S' bit onto real opcodes. More... | |
| void | llvm::emitARMRegPlusImmediate (MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, const DebugLoc &dl, unsigned DestReg, unsigned BaseReg, int NumBytes, ARMCC::CondCodes Pred, unsigned PredReg, const ARMBaseInstrInfo &TII, unsigned MIFlags=0) |
| emitARMRegPlusImmediate / emitT2RegPlusImmediate - Emits a series of instructions to materializea destreg = basereg + immediate in ARM / Thumb2 code. More... | |
| void | llvm::emitT2RegPlusImmediate (MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, const DebugLoc &dl, unsigned DestReg, unsigned BaseReg, int NumBytes, ARMCC::CondCodes Pred, unsigned PredReg, const ARMBaseInstrInfo &TII, unsigned MIFlags=0) |
| void | llvm::emitThumbRegPlusImmediate (MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, const DebugLoc &dl, unsigned DestReg, unsigned BaseReg, int NumBytes, const TargetInstrInfo &TII, const ARMBaseRegisterInfo &MRI, unsigned MIFlags=0) |
| emitThumbRegPlusImmediate - Emits a series of instructions to materialize a destreg = basereg + immediate in Thumb code. More... | |
| bool | llvm::tryFoldSPUpdateIntoPushPop (const ARMSubtarget &Subtarget, MachineFunction &MF, MachineInstr *MI, unsigned NumBytes) |
| Tries to add registers to the reglist of a given base-updating push/pop instruction to adjust the stack by an additional NumBytes. More... | |
| bool | llvm::rewriteARMFrameIndex (MachineInstr &MI, unsigned FrameRegIdx, unsigned FrameReg, int &Offset, const ARMBaseInstrInfo &TII) |
| rewriteARMFrameIndex / rewriteT2FrameIndex - Rewrite MI to access 'Offset' bytes from the FP. More... | |
| bool | llvm::rewriteT2FrameIndex (MachineInstr &MI, unsigned FrameRegIdx, unsigned FrameReg, int &Offset, const ARMBaseInstrInfo &TII, const TargetRegisterInfo *TRI) |
| bool | llvm::registerDefinedBetween (unsigned Reg, MachineBasicBlock::iterator From, MachineBasicBlock::iterator To, const TargetRegisterInfo *TRI) |
| Return true if Reg is defd between From and To. More... | |
| MachineInstr * | llvm::findCMPToFoldIntoCBZ (MachineInstr *Br, const TargetRegisterInfo *TRI) |
| Search backwards from a tBcc to find a tCMPi8 against 0, meaning we can convert them to a tCBZ or tCBNZ. More... | |
| void | llvm::addUnpredicatedMveVpredNOp (MachineInstrBuilder &MIB) |
| void | llvm::addUnpredicatedMveVpredROp (MachineInstrBuilder &MIB, unsigned DestReg) |
| void | llvm::addPredicatedMveVpredNOp (MachineInstrBuilder &MIB, unsigned Cond) |
| void | llvm::addPredicatedMveVpredROp (MachineInstrBuilder &MIB, unsigned Cond, unsigned Inactive) |
| unsigned | llvm::ConstantMaterializationCost (unsigned Val, const ARMSubtarget *Subtarget, bool ForCodesize=false) |
| Returns the number of instructions required to materialize the given constant in a register, or 3 if a literal pool load is needed. More... | |
| bool | llvm::HasLowerConstantMaterializationCost (unsigned Val1, unsigned Val2, const ARMSubtarget *Subtarget, bool ForCodesize=false) |
| Returns true if Val1 has a lower Constant Materialization Cost than Val2. More... | |
| #define GET_INSTRINFO_HEADER |
Definition at line 27 of file ARMBaseInstrInfo.h.
1.8.13