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/ADT/Statistic.h"
#include "llvm/Support/Debug.h"
#include <iostream>

Include dependency graph for FPMover.cpp:

Go to the source code of this file.

Functions

FunctionPassllvm::createSparcFPMoverPass (TargetMachine &tm)
static void getDoubleRegPair (unsigned DoubleReg, unsigned &EvenReg, unsigned &OddReg)

Variables

Statistic NumFpDs ("fpmover","Number of instructions translated")
Statistic NoopFpDs ("fpmover","Number of noop instructions removed")
TargetMachineTM


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 54 of file FPMover.cpp.

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


Variable Documentation

Statistic NoopFpDs("fpmover","Number of noop instructions removed") [static]

Statistic NumFpDs("fpmover","Number of instructions translated") [static]

TargetMachine& TM

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

Definition at line 32 of file FPMover.cpp.