From: Dan Gohman Date: Mon, 30 Jun 2008 20:36:26 +0000 (+0000) Subject: Reorder the fields in TargetLowering to require less padding. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9665c2ae79ce7163d86e70ec2cc4eba818b80b06;p=oota-llvm.git 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 --- diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h index afa8174e5f7..91f14cadf19 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;