#include "llvm/CodeGen/TargetSubtargetInfo.h"
usingnamespacellvm;
TargetSubtargetInfo::TargetSubtargetInfo(
const Triple &TT, StringRef CPU, StringRef TuneCPU, StringRef FS,
ArrayRef<SubtargetFeatureKV> PF, ArrayRef<SubtargetSubTypeKV> PD,
const MCWriteProcResEntry *WPR, const MCWriteLatencyEntry *WL,
const MCReadAdvanceEntry *RA, const InstrStage *IS, const unsigned *OC,
const unsigned *FP)
: … { … }
TargetSubtargetInfo::~TargetSubtargetInfo() = default;
bool TargetSubtargetInfo::enableAtomicExpand() const { … }
bool TargetSubtargetInfo::enableIndirectBrExpand() const { … }
bool TargetSubtargetInfo::enableMachineScheduler() const { … }
bool TargetSubtargetInfo::enableJoinGlobalCopies() const { … }
bool TargetSubtargetInfo::enableRALocalReassignment(
CodeGenOptLevel OptLevel) const { … }
bool TargetSubtargetInfo::enablePostRAScheduler() const { … }
bool TargetSubtargetInfo::enablePostRAMachineScheduler() const { … }
bool TargetSubtargetInfo::useAA() const { … }
void TargetSubtargetInfo::mirFileLoaded(MachineFunction &MF) const { … }