llvm.org GIT mirror llvm / 2392efe
Add explicit keywords. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72969 91177308-0d34-0410-b5e6-96231b3b80d8 Dan Gohman 11 years ago
7 changed file(s) with 17 addition(s) and 15 deletion(s). Raw diff Collapse all Expand all
9999 GPRCS1Frames(0), GPRCS2Frames(0), DPRCSFrames(0),
100100 JumpTableUId(0), ConstPoolEntryUId(0) {}
101101
102 ARMFunctionInfo(MachineFunction &MF) :
102 explicit ARMFunctionInfo(MachineFunction &MF) :
103103 isThumb(MF.getTarget().getSubtarget().isThumb()),
104104 Align(isThumb ? 1U : 2U),
105105 VarArgsRegSaveSize(0), HasStackFrame(false),
3232 public:
3333 AlphaMachineFunctionInfo() : GlobalBaseReg(0), GlobalRetAddr(0) {}
3434
35 AlphaMachineFunctionInfo(MachineFunction &MF) : GlobalBaseReg(0),
36 GlobalRetAddr(0) {}
35 explicit AlphaMachineFunctionInfo(MachineFunction &MF) : GlobalBaseReg(0),
36 GlobalRetAddr(0) {}
3737
3838 unsigned getGlobalBaseReg() const { return GlobalBaseReg; }
3939 void setGlobalBaseReg(unsigned Reg) { GlobalBaseReg = Reg; }
2323 // by this machinefunction? (used to compute the appropriate
2424 // entry in the 'alloc' instruction at the top of the
2525 // machinefunction)
26 IA64FunctionInfo(MachineFunction& MF) { outRegsUsed=0; };
26 explicit IA64FunctionInfo(MachineFunction& MF) { outRegsUsed=0; };
2727
2828 };
2929
2727 public:
2828 MSP430MachineFunctionInfo() : CalleeSavedFrameSize(0) {}
2929
30 MSP430MachineFunctionInfo(MachineFunction &MF) : CalleeSavedFrameSize(0) {}
30 explicit MSP430MachineFunctionInfo(MachineFunction &MF)
31 : CalleeSavedFrameSize(0) {}
3132
3233 unsigned getCalleeSavedFrameSize() const { return CalleeSavedFrameSize; }
3334 void setCalleeSavedFrameSize(unsigned bytes) { CalleeSavedFrameSize = bytes; }
5858 bool HasFastCall;
5959
6060 public:
61 PPCFunctionInfo(MachineFunction &MF)
61 explicit PPCFunctionInfo(MachineFunction &MF)
6262 : FramePointerSaveIndex(0),
6363 ReturnAddrSaveIndex(0),
6464 SpillsCR(false),
7272 SRetReturnReg(0),
7373 GlobalBaseReg(0) {}
7474
75 X86MachineFunctionInfo(MachineFunction &MF) : ForceFramePointer(false),
76 CalleeSavedFrameSize(0),
77 BytesToPopOnReturn(0),
78 DecorationStyle(None),
79 ReturnAddrIndex(0),
80 TailCallReturnAddrDelta(0),
81 SRetReturnReg(0),
82 GlobalBaseReg(0) {}
75 explicit X86MachineFunctionInfo(MachineFunction &MF)
76 : ForceFramePointer(false),
77 CalleeSavedFrameSize(0),
78 BytesToPopOnReturn(0),
79 DecorationStyle(None),
80 ReturnAddrIndex(0),
81 TailCallReturnAddrDelta(0),
82 SRetReturnReg(0),
83 GlobalBaseReg(0) {}
8384
8485 bool getForceFramePointer() const { return ForceFramePointer;}
8586 void setForceFramePointer(bool forceFP) { ForceFramePointer = forceFP; }
3939 FPSpillSlot(0),
4040 VarArgsFrameIndex(0) {}
4141
42 XCoreFunctionInfo(MachineFunction &MF) :
42 explicit XCoreFunctionInfo(MachineFunction &MF) :
4343 UsesLR(false),
4444 LRSpillSlot(0),
4545 FPSpillSlot(0),