LLVM API Documentation

X86FastISel.cpp File Reference

#include "X86.h"
#include "X86InstrBuilder.h"
#include "X86ISelLowering.h"
#include "X86RegisterInfo.h"
#include "X86Subtarget.h"
#include "X86TargetMachine.h"
#include "llvm/CallingConv.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Instructions.h"
#include "llvm/Intrinsics.h"
#include "llvm/CodeGen/FastISel.h"
#include "llvm/CodeGen/MachineConstantPool.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/Support/CallSite.h"
#include "llvm/Support/GetElementPtrTypeIterator.h"
#include "X86GenFastISel.inc"
#include "X86GenCallingConv.inc"

Include dependency graph for X86FastISel.cpp:

Go to the source code of this file.

Namespaces

namespace  llvm

Classes

class  X86FastISel

Functions

static unsigned X86ChooseCmpOpcode (MVT VT)
static unsigned X86ChooseCmpImmediateOpcode (MVT VT, ConstantInt *RHSC)


Function Documentation

static unsigned X86ChooseCmpImmediateOpcode ( MVT  VT,
ConstantInt *  RHSC 
) [static]

X86ChooseCmpImmediateOpcode - If we have a comparison with RHS as the RHS of the comparison, return an opcode that works for the compare (e.g. CMP32ri) otherwise return 0.

Definition at line 542 of file X86FastISel.cpp.

References llvm::ConstantInt::getSExtValue(), and llvm::MVT::getSimpleVT().

static unsigned X86ChooseCmpOpcode ( MVT  VT  )  [static]

Definition at line 527 of file X86FastISel.cpp.

References llvm::MVT::getSimpleVT().