diff options
author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2011-05-31 02:53:58 +0000 |
---|---|---|
committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2011-05-31 02:53:58 +0000 |
commit | d979686bb47f2dcdca60f0a088f59d1964346453 (patch) | |
tree | 7ded909f4b2f02c1575f296c85359b6696571bbc /lib/Target/Mips/MipsInstrInfo.h | |
parent | 6e032942cf58d1c41f88609a1cec74eb74940ecd (diff) | |
download | external_llvm-d979686bb47f2dcdca60f0a088f59d1964346453.zip external_llvm-d979686bb47f2dcdca60f0a088f59d1964346453.tar.gz external_llvm-d979686bb47f2dcdca60f0a088f59d1964346453.tar.bz2 |
This patch implements the thread local storage. Implemented are General
Dynamic, Initial Exec and Local Exec TLS models.
Patch by Sasa Stankovic
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132322 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsInstrInfo.h')
-rw-r--r-- | lib/Target/Mips/MipsInstrInfo.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/lib/Target/Mips/MipsInstrInfo.h b/lib/Target/Mips/MipsInstrInfo.h index 5fdbf1f..abf6773 100644 --- a/lib/Target/Mips/MipsInstrInfo.h +++ b/lib/Target/Mips/MipsInstrInfo.h @@ -146,7 +146,21 @@ namespace MipsII { /// MO_ABS_HI/LO - Represents the hi or low part of an absolute symbol /// address. MO_ABS_HI, - MO_ABS_LO + MO_ABS_LO, + + /// MO_TLSGD - Represents the offset into the global offset table at which + // the module ID and TSL block offset reside during execution (General + // Dynamic TLS). + MO_TLSGD, + + /// MO_GOTTPREL - Represents the offset from the thread pointer (Initial + // Exec TLS). + MO_GOTTPREL, + + /// MO_TPREL_HI/LO - Represents the hi and low part of the offset from + // the thread pointer (Local Exec TLS). + MO_TPREL_HI, + MO_TPREL_LO }; } |