aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Target
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-06-30 20:36:26 +0000
committerDan Gohman <gohman@apple.com>2008-06-30 20:36:26 +0000
commit9665c2ae79ce7163d86e70ec2cc4eba818b80b06 (patch)
treeeb3a3dc17bb7d864473b1b0de152cef2b824f792 /include/llvm/Target
parent3d3c3e0cfade01e3cccdb9f1f2bddf5c8c17aa48 (diff)
downloadexternal_llvm-9665c2ae79ce7163d86e70ec2cc4eba818b80b06.zip
external_llvm-9665c2ae79ce7163d86e70ec2cc4eba818b80b06.tar.gz
external_llvm-9665c2ae79ce7163d86e70ec2cc4eba818b80b06.tar.bz2
Reorder the fields in TargetLowering to require less padding.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52919 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target')
-rw-r--r--include/llvm/Target/TargetLowering.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h
index afa8174..91f14ca 100644
--- a/include/llvm/Target/TargetLowering.h
+++ b/include/llvm/Target/TargetLowering.h
@@ -1288,24 +1288,18 @@ private:
TargetMachine &TM;
const TargetData *TD;
- /// IsLittleEndian - True if this is a little endian target.
- ///
- bool IsLittleEndian;
-
/// PointerTy - The type to use for pointers, usually i32 or i64.
///
MVT PointerTy;
+ /// IsLittleEndian - True if this is a little endian target.
+ ///
+ bool IsLittleEndian;
+
/// UsesGlobalOffsetTable - True if this target uses a GOT for PIC codegen.
///
bool UsesGlobalOffsetTable;
- /// ShiftAmountTy - The type to use for shift amounts, usually i8 or whatever
- /// PointerTy is.
- MVT ShiftAmountTy;
-
- OutOfRangeShiftAmount ShiftAmtHandling;
-
/// SelectIsExpensive - Tells the code generator not to expand operations
/// into sequences that use the select operations if possible.
bool SelectIsExpensive;
@@ -1321,14 +1315,6 @@ private:
/// it.
bool Pow2DivIsCheap;
- /// SetCCResultContents - Information about the contents of the high-bits in
- /// the result of a setcc comparison operation.
- SetCCResultValue SetCCResultContents;
-
- /// SchedPreferenceInfo - The target scheduling preference: shortest possible
- /// total cycles or lowest register usage.
- SchedPreference SchedPreferenceInfo;
-
/// UseUnderscoreSetJmp - This target prefers to use _setjmp to implement
/// llvm.setjmp. Defaults to false.
bool UseUnderscoreSetJmp;
@@ -1337,6 +1323,20 @@ private:
/// llvm.longjmp. Defaults to false.
bool UseUnderscoreLongJmp;
+ /// ShiftAmountTy - The type to use for shift amounts, usually i8 or whatever
+ /// PointerTy is.
+ MVT ShiftAmountTy;
+
+ OutOfRangeShiftAmount ShiftAmtHandling;
+
+ /// SetCCResultContents - Information about the contents of the high-bits in
+ /// the result of a setcc comparison operation.
+ SetCCResultValue SetCCResultContents;
+
+ /// SchedPreferenceInfo - The target scheduling preference: shortest possible
+ /// total cycles or lowest register usage.
+ SchedPreference SchedPreferenceInfo;
+
/// JumpBufSize - The size, in bytes, of the target's jmp_buf buffers
unsigned JumpBufSize;