diff options
Diffstat (limited to 'llvm/lib/Target/R600/AMDGPUAsmPrinter.h')
| -rw-r--r-- | llvm/lib/Target/R600/AMDGPUAsmPrinter.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/R600/AMDGPUAsmPrinter.h b/llvm/lib/Target/R600/AMDGPUAsmPrinter.h index c1acb6ea0ff..b854203060d 100644 --- a/llvm/lib/Target/R600/AMDGPUAsmPrinter.h +++ b/llvm/lib/Target/R600/AMDGPUAsmPrinter.h @@ -49,15 +49,15 @@ private: uint64_t CodeLen; }; - void getSIProgramInfo(SIProgramInfo &Out, MachineFunction &MF) const; - void findNumUsedRegistersSI(MachineFunction &MF, + void getSIProgramInfo(SIProgramInfo &Out, const MachineFunction &MF) const; + void findNumUsedRegistersSI(const MachineFunction &MF, unsigned &NumSGPR, unsigned &NumVGPR) const; /// \brief Emit register usage information so that the GPU driver /// can correctly setup the GPU state. - void EmitProgramInfoR600(MachineFunction &MF); - void EmitProgramInfoSI(MachineFunction &MF, const SIProgramInfo &KernelInfo); + void EmitProgramInfoR600(const MachineFunction &MF); + void EmitProgramInfoSI(const MachineFunction &MF, const SIProgramInfo &KernelInfo); public: explicit AMDGPUAsmPrinter(TargetMachine &TM, MCStreamer &Streamer); |

