}
PPCSubtarget::PPCSubtarget(const std::string &TT, const std::string &CPU,
- const std::string &FS, PPCTargetMachine &TM,
- CodeGenOpt::Level OptLevel)
+ const std::string &FS, PPCTargetMachine &TM)
: PPCGenSubtargetInfo(TT, CPU, FS), TargetTriple(TT),
DL(getDataLayoutString(TargetTriple)),
IsPPC64(TargetTriple.getArch() == Triple::ppc64 ||
TargetTriple.getArch() == Triple::ppc64le),
- OptLevel(OptLevel), TargetABI(PPC_ABI_UNKNOWN),
+ TargetABI(PPC_ABI_UNKNOWN),
FrameLowering(initializeSubtargetDependencies(CPU, FS)), InstrInfo(*this),
TLInfo(TM), TSInfo(&DL) {}
bool HasLazyResolverStubs;
bool IsLittleEndian;
- /// OptLevel - What default optimization level we're emitting code for.
- CodeGenOpt::Level OptLevel;
-
enum {
PPC_ABI_UNKNOWN,
PPC_ABI_ELFv1,
/// of the specified triple.
///
PPCSubtarget(const std::string &TT, const std::string &CPU,
- const std::string &FS, PPCTargetMachine &TM,
- CodeGenOpt::Level OptLevel);
+ const std::string &FS, PPCTargetMachine &TM);
/// ParseSubtargetFeatures - Parses features string setting specified
/// subtarget options. Definition of function is auto generated by tblgen.
CodeGenOpt::Level OL)
: LLVMTargetMachine(T, TT, CPU, computeFSAdditions(FS, OL, TT), Options, RM,
CM, OL),
- Subtarget(TT, CPU, TargetFS, *this, OL) {
+ Subtarget(TT, CPU, TargetFS, *this) {
initAsmInfo();
}