Index: llvm/include/llvm/CodeGen/MachineInstrBuilder.h =================================================================== --- llvm/include/llvm/CodeGen/MachineInstrBuilder.h +++ llvm/include/llvm/CodeGen/MachineInstrBuilder.h @@ -40,20 +40,22 @@ namespace RegState { - enum { - Define = 0x2, - Implicit = 0x4, - Kill = 0x8, - Dead = 0x10, - Undef = 0x20, - EarlyClobber = 0x40, - Debug = 0x80, - InternalRead = 0x100, - Renamable = 0x200, - DefineNoRead = Define | Undef, - ImplicitDefine = Implicit | Define, - ImplicitKill = Implicit | Kill - }; +enum { + Define = 0x2, ///< Register definition. + Implicit = 0x4, ///< Not emitted register (e.g. carry, or + ///< temporary result). + Kill = 0x8, ///< The last use of a register. + Dead = 0x10, ///< Unused definition. + Undef = 0x20, ///< Value of the register doesn't matter. + EarlyClobber = 0x40, ///< Register definition happens before uses. + Debug = 0x80, ///< Register 'use' is for debugging purpose. + InternalRead = 0x100, ///< Register reads a value that is defined + ///< inside the same instruction or bundle. + Renamable = 0x200, ///< Register that may be renamed. + DefineNoRead = Define | Undef, + ImplicitDefine = Implicit | Define, + ImplicitKill = Implicit | Kill +}; } // end namespace RegState