#include "PPCMachineFunctionInfo.h"
#include "llvm/ADT/Twine.h"
#include "llvm/BinaryFormat/XCOFF.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/MC/MCContext.h"
#include "llvm/Support/CommandLine.h"
usingnamespacellvm;
static cl::opt<bool> PPCDisableNonVolatileCR(
"ppc-disable-non-volatile-cr",
cl::desc("Disable the use of non-volatile CR register fields"),
cl::init(false), cl::Hidden);
void PPCFunctionInfo::anchor() { … }
PPCFunctionInfo::PPCFunctionInfo(const Function &F,
const TargetSubtargetInfo *STI)
: … { … }
MachineFunctionInfo *
PPCFunctionInfo::clone(BumpPtrAllocator &Allocator, MachineFunction &DestMF,
const DenseMap<MachineBasicBlock *, MachineBasicBlock *>
&Src2DstMBB) const { … }
MCSymbol *PPCFunctionInfo::getPICOffsetSymbol(MachineFunction &MF) const { … }
MCSymbol *PPCFunctionInfo::getGlobalEPSymbol(MachineFunction &MF) const { … }
MCSymbol *PPCFunctionInfo::getLocalEPSymbol(MachineFunction &MF) const { … }
MCSymbol *PPCFunctionInfo::getTOCOffsetSymbol(MachineFunction &MF) const { … }
bool PPCFunctionInfo::isLiveInSExt(Register VReg) const { … }
bool PPCFunctionInfo::isLiveInZExt(Register VReg) const { … }
void PPCFunctionInfo::appendParameterType(ParamType Type) { … }
uint32_t PPCFunctionInfo::getVecExtParmsType() const { … }
uint32_t PPCFunctionInfo::getParmsType() const { … }