diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Target/TargetInstrInfo.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h index 7526087..d19ca12 100644 --- a/include/llvm/Target/TargetInstrInfo.h +++ b/include/llvm/Target/TargetInstrInfo.h @@ -51,6 +51,15 @@ public: EXTRACT_SUBREG = 4, INSERT_SUBREG = 5 }; + + // Target independent implict values for use with subreg insert. All targets + // that support insert_subreg support IMPL_VAL_UNDEF. Support for the other + // values is target dependent. + enum ImplictVal { + IMPL_VAL_UNDEF = 0, + IMPL_VAL_ZERO = 1, + LAST_IMPL_VAL = 3 + }; unsigned getNumOpcodes() const { return NumOpcodes; } @@ -120,7 +129,6 @@ public: return false; } - /// convertToThreeAddress - This method must be implemented by targets that /// set the M_CONVERTIBLE_TO_3_ADDR flag. When this flag is set, the target /// may be able to convert a two-address instruction into one or more true |