LLVM API Documentation

FPMover.cpp File Reference

#include "Sparc.h"
#include "SparcSubtarget.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/Support/Debug.h"

Include dependency graph for FPMover.cpp:

Go to the source code of this file.

Defines

#define DEBUG_TYPE   "fpmover"

Functions

 STATISTIC (NumFpDs,"Number of instructions translated")
 STATISTIC (NoopFpDs,"Number of noop instructions removed")
FunctionPass * llvm::createSparcFPMoverPass (TargetMachine &tm)
static void getDoubleRegPair (unsigned DoubleReg, unsigned &EvenReg, unsigned &OddReg)


Define Documentation

#define DEBUG_TYPE   "fpmover"

Definition at line 14 of file FPMover.cpp.


Function Documentation

static void getDoubleRegPair ( unsigned  DoubleReg,
unsigned &  EvenReg,
unsigned &  OddReg 
) [static]

getDoubleRegPair - Given a DFP register, return the even and odd FP registers that correspond to it.

Definition at line 58 of file FPMover.cpp.

References llvm::X86II::D8, and llvm::X86II::D9.

STATISTIC ( NoopFpDs  ,
"Number of noop instructions removed"   
)

STATISTIC ( NumFpDs  ,
"Number of instructions translated"   
)


Variable Documentation

char ID [static]

Definition at line 35 of file FPMover.cpp.

Target machine description which we query for reg. names, data layout, etc.

Definition at line 33 of file FPMover.cpp.