LLVM API Documentation

SystemZISelDAGToDAG.cpp File Reference

#include "SystemZ.h"
#include "SystemZISelLowering.h"
#include "SystemZTargetMachine.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Function.h"
#include "llvm/Intrinsics.h"
#include "llvm/CallingConv.h"
#include "llvm/Constants.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/SelectionDAG.h"
#include "llvm/CodeGen/SelectionDAGISel.h"
#include "llvm/Target/TargetLowering.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include "SystemZGenDAGISel.inc"

Include dependency graph for SystemZISelDAGToDAG.cpp:

Go to the source code of this file.

Functions

FunctionPass * llvm::createSystemZISelDag (SystemZTargetMachine &TM, CodeGenOpt::Level OptLevel)
static bool isImmSExt20 (int64_t Val, int64_t &Imm)
static bool isImmZExt12 (int64_t Val, int64_t &Imm)

Variables

static const unsigned subreg_even32 = 1
static const unsigned subreg_odd32 = 2
static const unsigned subreg_even = 3
static const unsigned subreg_odd = 4


Function Documentation

static bool isImmSExt20 ( int64_t  Val,
int64_t &  Imm 
) [static]

isImmSExt20 - This method tests to see if the node is either a 32-bit or 64-bit immediate, and if the value can be accurately represented as a sign extension from a 20-bit value. If so, this returns true and the immediate.

Definition at line 172 of file SystemZISelDAGToDAG.cpp.

static bool isImmZExt12 ( int64_t  Val,
int64_t &  Imm 
) [static]

isImmZExt12 - This method tests to see if the node is either a 32-bit or 64-bit immediate, and if the value can be accurately represented as a zero extension from a 12-bit value. If so, this returns true and the immediate.

Definition at line 184 of file SystemZISelDAGToDAG.cpp.


Variable Documentation

struct { ... } Base

enum { ... } BaseType

int64_t Disp

Definition at line 54 of file SystemZISelDAGToDAG.cpp.

unsigned Indent

Definition at line 155 of file SystemZISelDAGToDAG.cpp.

Definition at line 55 of file SystemZISelDAGToDAG.cpp.

Definition at line 86 of file SystemZISelDAGToDAG.cpp.

Definition at line 49 of file SystemZISelDAGToDAG.cpp.

Referenced by llvm::MachineInstr::addRegisterDead(), llvm::MachineInstr::addRegisterKilled(), llvm::CCState::AllocateReg(), llvm::ScheduleDAGInstrs::BuildSchedGraph(), CC_MipsO32(), CheckForPhysRegDependency(), llvm::ScheduleDAGInstrs::ComputeOperandLatency(), llvm::ARMBaseInstrInfo::convertToThreeAddress(), llvm::X86InstrInfo::determineREX(), llvm::XCoreRegisterInfo::eliminateFrameIndex(), llvm::X86RegisterInfo::emitCalleeSavedFrameMoves(), llvm::Dwarf::EmitFrameMoves(), llvm::ScheduleDAG::EmitPhysRegCopy(), llvm::XCoreRegisterInfo::emitPrologue(), llvm::X86RegisterInfo::emitPrologue(), llvm::Thumb1RegisterInfo::emitPrologue(), llvm::SPURegisterInfo::emitPrologue(), llvm::PPCRegisterInfo::emitPrologue(), llvm::SelectionDAGLowering::ExportFromCurrentBlock(), f64AssignAAPCS(), f64AssignAPCS(), f64RetAssign(), findScratchRegister(), llvm::VirtRegMap::FindUnusedRegisters(), llvm::VirtRegMap::getFirstUnusedRegister(), getFPReg(), llvm::RegisterSDNode::getReg(), llvm::FastISel::getRegForValue(), llvm::LiveIntervals::getVNInfoSourceReg(), lower_lea64_32mem(), llvm::SparcTargetLowering::LowerCall(), llvm::PPCRegisterInfo::lowerCRSpilling(), llvm::PPCRegisterInfo::lowerDynamicAlloc(), llvm::X86IntelAsmPrinter::printAsmMRegister(), llvm::X86ATTAsmPrinter::printAsmMRegister(), llvm::X86IntelAsmPrinter::printOp(), llvm::X86ATTAsmPrinter::printOperand(), llvm::ARMBaseRegisterInfo::processFunctionBeforeCalleeSavedScan(), llvm::PPCRegisterInfo::processFunctionBeforeFrameFinalized(), llvm::LiveIntervals::processImplicitDefs(), llvm::X86InstrInfo::restoreCalleeSavedRegisters(), llvm::Thumb1InstrInfo::restoreCalleeSavedRegisters(), llvm::SystemZInstrInfo::restoreCalleeSavedRegisters(), llvm::X86InstrInfo::spillCalleeSavedRegisters(), llvm::Thumb1InstrInfo::spillCalleeSavedRegisters(), llvm::SystemZInstrInfo::spillCalleeSavedRegisters(), llvm::MSP430InstrInfo::spillCalleeSavedRegisters(), and VerifyLowRegs().

const unsigned subreg_even = 3 [static]

Definition at line 36 of file SystemZISelDAGToDAG.cpp.

const unsigned subreg_even32 = 1 [static]

Definition at line 34 of file SystemZISelDAGToDAG.cpp.

const unsigned subreg_odd = 4 [static]

Definition at line 37 of file SystemZISelDAGToDAG.cpp.

const unsigned subreg_odd32 = 2 [static]

Definition at line 35 of file SystemZISelDAGToDAG.cpp.

Definition at line 87 of file SystemZISelDAGToDAG.cpp.