diff options
Diffstat (limited to 'src/gallium/drivers/radeon/AMDGPUISelLowering.h')
-rw-r--r-- | src/gallium/drivers/radeon/AMDGPUISelLowering.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/gallium/drivers/radeon/AMDGPUISelLowering.h b/src/gallium/drivers/radeon/AMDGPUISelLowering.h index 1b3f71006e2..16adf1b32bb 100644 --- a/src/gallium/drivers/radeon/AMDGPUISelLowering.h +++ b/src/gallium/drivers/radeon/AMDGPUISelLowering.h @@ -22,8 +22,15 @@ namespace llvm { class AMDGPUTargetLowering : public AMDILTargetLowering { protected: + + /// addLiveIn - This functions adds reg to the live in list of the entry block + /// and emits a copy from reg to MI.getOperand(0). + /// + // Some registers are loaded with values before the program + /// begins to execute. The loading of these values is modeled with pseudo + /// instructions which are lowered using this function. void addLiveIn(MachineInstr * MI, MachineFunction * MF, - MachineRegisterInfo & MRI, const struct TargetInstrInfo * TII, + MachineRegisterInfo & MRI, const TargetInstrInfo * TII, unsigned reg) const; public: @@ -31,6 +38,6 @@ public: }; -} /* End namespace llvm */ +} // End namespace llvm -#endif /* AMDGPUISELLOWERING_H */ +#endif // AMDGPUISELLOWERING_H |