llvm.org GIT mirror llvm / 61e729e
More explicit keywords. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40757 91177308-0d34-0410-b5e6-96231b3b80d8 Dan Gohman 13 years ago
8 changed file(s) with 8 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
4545
4646 struct BranchFolder : public MachineFunctionPass {
4747 static char ID;
48 BranchFolder(bool defaultEnableTailMerge) :
48 explicit BranchFolder(bool defaultEnableTailMerge) :
4949 MachineFunctionPass((intptr_t)&ID) {
5050 switch (FlagEnableTailMerge) {
5151 case cl::BOU_UNSET: EnableTailMerge = defaultEnableTailMerge; break;
7474 void operator=(const VirtRegMap&); // DO NOT IMPLEMENT
7575
7676 public:
77 VirtRegMap(MachineFunction &mf);
77 explicit VirtRegMap(MachineFunction &mf);
7878
7979 void grow();
8080
7575 class ARMTargetLowering : public TargetLowering {
7676 int VarArgsFrameIndex; // FrameIndex for start of varargs area.
7777 public:
78 ARMTargetLowering(TargetMachine &TM);
78 explicit ARMTargetLowering(TargetMachine &TM);
7979
8080 virtual SDOperand LowerOperation(SDOperand Op, SelectionDAG &DAG);
8181 virtual const char *getTargetNodeName(unsigned Opcode) const;
6363 int VarArgsBase; // What is the base FrameIndex
6464 bool useITOF;
6565 public:
66 AlphaTargetLowering(TargetMachine &TM);
66 explicit AlphaTargetLowering(TargetMachine &TM);
6767
6868 /// LowerOperation - Provide custom lowering hooks for some operations.
6969 ///
4242 unsigned GP, SP, RP; // FIXME - clean this mess up
4343
4444 public:
45 IA64TargetLowering(TargetMachine &TM);
45 explicit IA64TargetLowering(TargetMachine &TM);
4646
4747 unsigned VirtGPR; // this is public so it can be accessed in the selector
4848 // for ISD::RET. add an accessor instead? FIXME
5252 // const MipsSubtarget &MipsSubTarget;
5353 public:
5454
55 MipsTargetLowering(MipsTargetMachine &TM);
55 explicit MipsTargetLowering(MipsTargetMachine &TM);
5656
5757 /// LowerOperation - Provide custom lowering hooks for some operations.
5858 virtual SDOperand LowerOperation(SDOperand Op, SelectionDAG &DAG);
185185 int ReturnAddrIndex; // FrameIndex for return slot.
186186 const PPCSubtarget &PPCSubTarget;
187187 public:
188 PPCTargetLowering(PPCTargetMachine &TM);
188 explicit PPCTargetLowering(PPCTargetMachine &TM);
189189
190190 /// getTargetNodeName() - This method returns the name of a target specific
191191 /// DAG node.
285285 int BytesToPopOnReturn; // Number of arg bytes ret should pop.
286286 int BytesCallerReserves; // Number of arg bytes caller makes.
287287 public:
288 X86TargetLowering(TargetMachine &TM);
288 explicit X86TargetLowering(TargetMachine &TM);
289289
290290 // Return the number of bytes that a function should pop when it returns (in
291291 // addition to the space used by the return address).