LLVM API Documentation
#include "X86.h"
#include "X86CallingConv.h"
#include "X86ISelLowering.h"
#include "X86InstrBuilder.h"
#include "X86RegisterInfo.h"
#include "X86Subtarget.h"
#include "X86TargetMachine.h"
#include "llvm/CodeGen/Analysis.h"
#include "llvm/CodeGen/FastISel.h"
#include "llvm/CodeGen/FunctionLoweringInfo.h"
#include "llvm/CodeGen/MachineConstantPool.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/IR/CallingConv.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/GlobalAlias.h"
#include "llvm/IR/GlobalVariable.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/IR/Operator.h"
#include "llvm/Support/CallSite.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/GetElementPtrTypeIterator.h"
#include "llvm/Target/TargetOptions.h"
#include "X86GenFastISel.inc"
#include "X86GenCallingConv.inc"
Go to the source code of this file.
Namespaces | |
llvm | |
List of target independent CodeGen pass IDs. | |
Functions | |
static unsigned | X86ChooseCmpOpcode (EVT VT, const X86Subtarget *Subtarget) |
static unsigned | X86ChooseCmpImmediateOpcode (EVT VT, const ConstantInt *RHSC) |
static unsigned | computeBytesPoppedByCallee (const X86Subtarget &Subtarget, const ImmutableCallSite &CS) |
|
static |
Definition at line 1862 of file X86FastISel.cpp.
References llvm::CallingConv::Fast, llvm::CallSiteBase< FunTy, ValTy, UserTy, InstrTy, CallTy, InvokeTy, IterTy >::getCallingConv(), llvm::CallingConv::GHC, llvm::Attribute::InReg, llvm::X86Subtarget::is64Bit(), llvm::X86Subtarget::isTargetWindows(), llvm::CallSiteBase< FunTy, ValTy, UserTy, InstrTy, CallTy, InvokeTy, IterTy >::paramHasAttr(), and llvm::Attribute::StructRet.
|
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 941 of file X86FastISel.cpp.
References llvm::ConstantInt::getSExtValue(), llvm::EVT::getSimpleVT(), llvm::MVT::i16, llvm::MVT::i32, llvm::MVT::i64, llvm::MVT::i8, and llvm::MVT::SimpleTy.
|
static |
Definition at line 920 of file X86FastISel.cpp.
References llvm::MVT::f32, llvm::MVT::f64, llvm::EVT::getSimpleVT(), llvm::X86Subtarget::hasAVX(), llvm::X86Subtarget::hasSSE1(), llvm::X86Subtarget::hasSSE2(), llvm::MVT::i16, llvm::MVT::i32, llvm::MVT::i64, llvm::MVT::i8, and llvm::MVT::SimpleTy.