LLVM API Documentation
#include "PPCSubtarget.h"#include "PPC.h"#include "PPCRegisterInfo.h"#include "llvm/CodeGen/MachineFunction.h"#include "llvm/CodeGen/MachineScheduler.h"#include "llvm/IR/Attributes.h"#include "llvm/IR/Function.h"#include "llvm/IR/GlobalValue.h"#include "llvm/Support/Host.h"#include "llvm/Support/TargetRegistry.h"#include "llvm/Target/TargetMachine.h"#include <cstdlib>#include "PPCGenSubtargetInfo.inc"
Go to the source code of this file.
Defines | |
| #define | DEBUG_TYPE "ppc-subtarget" |
| #define | GET_SUBTARGETINFO_TARGET_DESC |
| #define | GET_SUBTARGETINFO_CTOR |
Functions | |
| static std::string | getDataLayoutString (const Triple &T) |
| Return the datalayout string of a subtarget. | |
| static bool | needsAggressiveScheduling (unsigned Directive) |
| #define DEBUG_TYPE "ppc-subtarget" |
Definition at line 29 of file PPCSubtarget.cpp.
| #define GET_SUBTARGETINFO_CTOR |
Definition at line 32 of file PPCSubtarget.cpp.
| #define GET_SUBTARGETINFO_TARGET_DESC |
Definition at line 31 of file PPCSubtarget.cpp.
| static std::string getDataLayoutString | ( | const Triple & | T | ) | [static] |
Return the datalayout string of a subtarget.
Definition at line 36 of file PPCSubtarget.cpp.
References llvm::Triple::getArch(), llvm::DataLayout::getManglingComponent(), llvm::Triple::getOS(), llvm::Triple::isOSDarwin(), llvm::Triple::Lv2, llvm::Triple::ppc64, llvm::Triple::ppc64le, and llvm::MipsISD::Ret.
| static bool needsAggressiveScheduling | ( | unsigned | Directive | ) | [static] |
Definition at line 212 of file PPCSubtarget.cpp.
References llvm::PPC::DIR_440, llvm::PPC::DIR_A2, llvm::PPC::DIR_E500mc, llvm::PPC::DIR_E5500, llvm::PPC::DIR_PWR7, and llvm::PPC::DIR_PWR8.
Referenced by llvm::PPCSubtarget::enableMachineScheduler(), llvm::PPCSubtarget::overrideSchedPolicy(), and llvm::PPCSubtarget::useAA().