LLVM API Documentation
#include "PPCRegisterInfo.h"#include "PPC.h"#include "PPCFrameLowering.h"#include "PPCInstrBuilder.h"#include "PPCMachineFunctionInfo.h"#include "PPCSubtarget.h"#include "llvm/ADT/BitVector.h"#include "llvm/ADT/STLExtras.h"#include "llvm/CodeGen/MachineFrameInfo.h"#include "llvm/CodeGen/MachineFunction.h"#include "llvm/CodeGen/MachineInstrBuilder.h"#include "llvm/CodeGen/MachineModuleInfo.h"#include "llvm/CodeGen/MachineRegisterInfo.h"#include "llvm/CodeGen/RegisterScavenging.h"#include "llvm/IR/CallingConv.h"#include "llvm/IR/Constants.h"#include "llvm/IR/Function.h"#include "llvm/IR/Type.h"#include "llvm/Support/CommandLine.h"#include "llvm/Support/Debug.h"#include "llvm/Support/ErrorHandling.h"#include "llvm/Support/MathExtras.h"#include "llvm/Support/raw_ostream.h"#include "llvm/Target/TargetFrameLowering.h"#include "llvm/Target/TargetInstrInfo.h"#include "llvm/Target/TargetMachine.h"#include "llvm/Target/TargetOptions.h"#include <cstdlib>#include "PPCGenRegisterInfo.inc"
Go to the source code of this file.
Defines | |
| #define | DEBUG_TYPE "reginfo" |
| #define | GET_REGINFO_TARGET_DESC |
Functions | |
| static unsigned | getCRFromCRBit (unsigned SrcReg) |
| static bool | usesIXAddr (const MachineInstr &MI) |
| static unsigned | getOffsetONFromFION (const MachineInstr &MI, unsigned FIOperandNum) |
Variables | |
| static cl::opt< bool > | EnableBasePointer ("ppc-use-base-pointer", cl::Hidden, cl::init(true), cl::desc("Enable use of a base pointer for complex stack frames")) |
| static cl::opt< bool > | AlwaysBasePointer ("ppc-always-use-base-pointer", cl::Hidden, cl::init(false), cl::desc("Force the use of a base pointer in every function")) |
| #define DEBUG_TYPE "reginfo" |
Definition at line 46 of file PPCRegisterInfo.cpp.
| #define GET_REGINFO_TARGET_DESC |
Definition at line 48 of file PPCRegisterInfo.cpp.
| static unsigned getCRFromCRBit | ( | unsigned | SrcReg | ) | [static] |
Definition at line 488 of file PPCRegisterInfo.cpp.
Referenced by llvm::PPCRegisterInfo::lowerCRBitRestore(), and llvm::PPCRegisterInfo::lowerCRBitSpilling().
| static unsigned getOffsetONFromFION | ( | const MachineInstr & | MI, |
| unsigned | FIOperandNum | ||
| ) | [static] |
Definition at line 698 of file PPCRegisterInfo.cpp.
References llvm::MachineInstr::isInlineAsm().
Referenced by llvm::PPCRegisterInfo::eliminateFrameIndex(), llvm::PPCRegisterInfo::isFrameOffsetLegal(), and llvm::PPCRegisterInfo::resolveFrameIndex().
| static bool usesIXAddr | ( | const MachineInstr & | MI | ) | [static] |
Definition at line 683 of file PPCRegisterInfo.cpp.
References llvm::MachineInstr::getOpcode(), and llvm::AArch64DB::LD.
Referenced by llvm::PPCRegisterInfo::eliminateFrameIndex(), and llvm::PPCRegisterInfo::isFrameOffsetLegal().
cl::opt<bool> AlwaysBasePointer("ppc-always-use-base-pointer", cl::Hidden, cl::init(false), cl::desc("Force the use of a base pointer in every function")) [static] |
Referenced by llvm::PPCRegisterInfo::hasBasePointer().
cl::opt<bool> EnableBasePointer("ppc-use-base-pointer", cl::Hidden, cl::init(true), cl::desc("Enable use of a base pointer for complex stack frames")) [static] |
Referenced by llvm::PPCRegisterInfo::hasBasePointer().