mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 22:24:07 +00:00
Add explicit keywords.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72969 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -100,7 +100,7 @@ public:
|
|||||||
GPRCS1Frames(0), GPRCS2Frames(0), DPRCSFrames(0),
|
GPRCS1Frames(0), GPRCS2Frames(0), DPRCSFrames(0),
|
||||||
JumpTableUId(0), ConstPoolEntryUId(0) {}
|
JumpTableUId(0), ConstPoolEntryUId(0) {}
|
||||||
|
|
||||||
ARMFunctionInfo(MachineFunction &MF) :
|
explicit ARMFunctionInfo(MachineFunction &MF) :
|
||||||
isThumb(MF.getTarget().getSubtarget<ARMSubtarget>().isThumb()),
|
isThumb(MF.getTarget().getSubtarget<ARMSubtarget>().isThumb()),
|
||||||
Align(isThumb ? 1U : 2U),
|
Align(isThumb ? 1U : 2U),
|
||||||
VarArgsRegSaveSize(0), HasStackFrame(false),
|
VarArgsRegSaveSize(0), HasStackFrame(false),
|
||||||
|
@ -33,7 +33,7 @@ class AlphaMachineFunctionInfo : public MachineFunctionInfo {
|
|||||||
public:
|
public:
|
||||||
AlphaMachineFunctionInfo() : GlobalBaseReg(0), GlobalRetAddr(0) {}
|
AlphaMachineFunctionInfo() : GlobalBaseReg(0), GlobalRetAddr(0) {}
|
||||||
|
|
||||||
AlphaMachineFunctionInfo(MachineFunction &MF) : GlobalBaseReg(0),
|
explicit AlphaMachineFunctionInfo(MachineFunction &MF) : GlobalBaseReg(0),
|
||||||
GlobalRetAddr(0) {}
|
GlobalRetAddr(0) {}
|
||||||
|
|
||||||
unsigned getGlobalBaseReg() const { return GlobalBaseReg; }
|
unsigned getGlobalBaseReg() const { return GlobalBaseReg; }
|
||||||
|
@ -24,7 +24,7 @@ public:
|
|||||||
// by this machinefunction? (used to compute the appropriate
|
// by this machinefunction? (used to compute the appropriate
|
||||||
// entry in the 'alloc' instruction at the top of the
|
// entry in the 'alloc' instruction at the top of the
|
||||||
// machinefunction)
|
// machinefunction)
|
||||||
IA64FunctionInfo(MachineFunction& MF) { outRegsUsed=0; };
|
explicit IA64FunctionInfo(MachineFunction& MF) { outRegsUsed=0; };
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -28,7 +28,8 @@ class MSP430MachineFunctionInfo : public MachineFunctionInfo {
|
|||||||
public:
|
public:
|
||||||
MSP430MachineFunctionInfo() : CalleeSavedFrameSize(0) {}
|
MSP430MachineFunctionInfo() : CalleeSavedFrameSize(0) {}
|
||||||
|
|
||||||
MSP430MachineFunctionInfo(MachineFunction &MF) : CalleeSavedFrameSize(0) {}
|
explicit MSP430MachineFunctionInfo(MachineFunction &MF)
|
||||||
|
: CalleeSavedFrameSize(0) {}
|
||||||
|
|
||||||
unsigned getCalleeSavedFrameSize() const { return CalleeSavedFrameSize; }
|
unsigned getCalleeSavedFrameSize() const { return CalleeSavedFrameSize; }
|
||||||
void setCalleeSavedFrameSize(unsigned bytes) { CalleeSavedFrameSize = bytes; }
|
void setCalleeSavedFrameSize(unsigned bytes) { CalleeSavedFrameSize = bytes; }
|
||||||
|
@ -59,7 +59,7 @@ private:
|
|||||||
bool HasFastCall;
|
bool HasFastCall;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
PPCFunctionInfo(MachineFunction &MF)
|
explicit PPCFunctionInfo(MachineFunction &MF)
|
||||||
: FramePointerSaveIndex(0),
|
: FramePointerSaveIndex(0),
|
||||||
ReturnAddrSaveIndex(0),
|
ReturnAddrSaveIndex(0),
|
||||||
SpillsCR(false),
|
SpillsCR(false),
|
||||||
|
@ -73,7 +73,8 @@ public:
|
|||||||
SRetReturnReg(0),
|
SRetReturnReg(0),
|
||||||
GlobalBaseReg(0) {}
|
GlobalBaseReg(0) {}
|
||||||
|
|
||||||
X86MachineFunctionInfo(MachineFunction &MF) : ForceFramePointer(false),
|
explicit X86MachineFunctionInfo(MachineFunction &MF)
|
||||||
|
: ForceFramePointer(false),
|
||||||
CalleeSavedFrameSize(0),
|
CalleeSavedFrameSize(0),
|
||||||
BytesToPopOnReturn(0),
|
BytesToPopOnReturn(0),
|
||||||
DecorationStyle(None),
|
DecorationStyle(None),
|
||||||
|
@ -40,7 +40,7 @@ public:
|
|||||||
FPSpillSlot(0),
|
FPSpillSlot(0),
|
||||||
VarArgsFrameIndex(0) {}
|
VarArgsFrameIndex(0) {}
|
||||||
|
|
||||||
XCoreFunctionInfo(MachineFunction &MF) :
|
explicit XCoreFunctionInfo(MachineFunction &MF) :
|
||||||
UsesLR(false),
|
UsesLR(false),
|
||||||
LRSpillSlot(0),
|
LRSpillSlot(0),
|
||||||
FPSpillSlot(0),
|
FPSpillSlot(0),
|
||||||
|
Reference in New Issue
Block a user