LLVM API Documentation

Classes | Namespaces | Defines | Enumerations | Functions
X86InstrInfo.h File Reference
#include "MCTargetDesc/X86BaseInfo.h"
#include "X86RegisterInfo.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "X86GenInstrInfo.inc"
Include dependency graph for X86InstrInfo.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  llvm::final< T >
 Concrete instance of DWARFUnitSection, specialized for one Unit type. More...

Namespaces

namespace  llvm
 

List of target independent CodeGen pass IDs.


namespace  llvm::X86
 

Define some predicates that are used for node matching.


Defines

#define GET_INSTRINFO_HEADER

Enumerations

enum  llvm::X86::CondCode {
  llvm::X86::COND_A = 0, llvm::X86::COND_AE = 1, llvm::X86::COND_B = 2, llvm::X86::COND_BE = 3,
  llvm::X86::COND_E = 4, llvm::X86::COND_G = 5, llvm::X86::COND_GE = 6, llvm::X86::COND_L = 7,
  llvm::X86::COND_LE = 8, llvm::X86::COND_NE = 9, llvm::X86::COND_NO = 10, llvm::X86::COND_NP = 11,
  llvm::X86::COND_NS = 12, llvm::X86::COND_O = 13, llvm::X86::COND_P = 14, llvm::X86::COND_S = 15,
  llvm::X86::LAST_VALID_COND = COND_S, llvm::X86::COND_NE_OR_P, llvm::X86::COND_NP_OR_E, llvm::X86::COND_INVALID
}

Functions

unsigned llvm::X86::GetCondBranchFromCond (CondCode CC)
unsigned llvm::X86::getSETFromCond (CondCode CC, bool HasMemoryOperand=false)
 Return a set opcode for the given condition and whether it has a memory operand.
unsigned llvm::X86::getCMovFromCond (CondCode CC, unsigned RegBytes, bool HasMemoryOperand=false)
 Return a cmov opcode for the given condition, register size in bytes, and operand type.
CondCode llvm::X86::getCondFromCMovOpc (unsigned Opc)
 getCondFromCmovOpc - return condition code of a CMov opcode.
CondCode llvm::X86::GetOppositeBranchCondition (CondCode CC)
static bool llvm::isGlobalStubReference (unsigned char TargetFlag)
static bool llvm::isGlobalRelativeToPICBase (unsigned char TargetFlag)
static bool llvm::isScale (const MachineOperand &MO)
static bool llvm::isLeaMem (const MachineInstr *MI, unsigned Op)
static bool llvm::isMem (const MachineInstr *MI, unsigned Op)

Define Documentation

Definition at line 22 of file X86InstrInfo.h.