namespace {
struct Filler : public MachineFunctionPass {
- const SparcSubtarget *Subtarget;
+ const SparcSubtarget *Subtarget = nullptr;
static char ID;
Filler() : MachineFunctionPass(ID) {}
class LLVM_LIBRARY_VISIBILITY LEONMachineFunctionPass
: public MachineFunctionPass {
protected:
- const SparcSubtarget *Subtarget;
+ const SparcSubtarget *Subtarget = nullptr;
const int LAST_OPERAND = -1;
// this vector holds free registers that we allocate in groups for some of the
class SparcDAGToDAGISel : public SelectionDAGISel {
/// Subtarget - Keep a pointer to the Sparc Subtarget around so that we can
/// make the right decision when generating code for different targets.
- const SparcSubtarget *Subtarget;
+ const SparcSubtarget *Subtarget = nullptr;
public:
explicit SparcDAGToDAGISel(SparcTargetMachine &tm) : SelectionDAGISel(tm) {}