LLVM  9.0.0svn
Classes | Namespaces | Macros | Enumerations | Functions
X86InstrInfo.h File Reference
#include "MCTargetDesc/X86BaseInfo.h"
#include "X86InstrFMA3Info.h"
#include "X86RegisterInfo.h"
#include "llvm/CodeGen/ISDOpcodes.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include <vector>
#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.


class  llvm::X86InstrInfo


 This class represents lattice values for constants.
 Define some predicates that are used for node matching.




enum  llvm::X86::AsmComments { llvm::X86::AC_EVEX_2_VEX = MachineInstr::TAsmComments }


std::pair< CondCode, boolllvm::X86::getX86ConditionCode (CmpInst::Predicate Predicate)
 Return a pair of condition code for the given predicate and whether the instruction operands should be swaped to match the condition code. More...
unsigned llvm::X86::getSETOpc (bool HasMemoryOperand=false)
 Return a setcc opcode based on whether it has a memory operand. More...
unsigned llvm::X86::getCMovOpcode (unsigned RegBytes, bool HasMemoryOperand=false)
 Return a cmov opcode for the given register size in bytes, and operand type. More...
CondCode llvm::X86::getCondFromBranch (const MachineInstr &MI)
CondCode llvm::X86::getCondFromSETCC (const MachineInstr &MI)
 Return condition code of a SETCC opcode. More...
CondCode llvm::X86::getCondFromCMov (const MachineInstr &MI)
 Return condition code of a CMov opcode. More...
CondCode llvm::X86::GetOppositeBranchCondition (CondCode CC)
 GetOppositeBranchCondition - Return the inverse of the specified cond, e.g. More...
unsigned llvm::X86::getVPCMPImmForCond (ISD::CondCode CC)
 Get the VPCMP immediate for the given condition. More...
unsigned llvm::X86::getSwappedVPCMPImm (unsigned Imm)
 Get the VPCMP immediate if the opcodes are swapped. More...
unsigned llvm::X86::getSwappedVPCOMImm (unsigned Imm)
 Get the VPCOM immediate if the opcodes are swapped. More...
static bool llvm::isGlobalStubReference (unsigned char TargetFlag)
 isGlobalStubReference - Return true if the specified TargetFlag operand is a reference to a stub for a global, not the global itself. More...
static bool llvm::isGlobalRelativeToPICBase (unsigned char TargetFlag)
 isGlobalRelativeToPICBase - Return true if the specified global value reference is relative to a 32-bit PIC base (X86ISD::GlobalBaseReg). More...
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)

Macro Definition Documentation



Definition at line 23 of file X86InstrInfo.h.



Definition at line 526 of file X86InstrInfo.h.