mirror of
https://github.com/RPCSX/llvm.git
synced 2025-03-03 10:27:09 +00:00
Reorder some fields in SDNode. This avoids padding,
reducings its size from 80 to 72 on 64-bit hosts. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52584 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
94d7a5f815
commit
cdb7388233
@ -1051,17 +1051,17 @@ private:
|
|||||||
/// NumOperands/NumValues - The number of entries in the Operand/Value list.
|
/// NumOperands/NumValues - The number of entries in the Operand/Value list.
|
||||||
unsigned short NumOperands, NumValues;
|
unsigned short NumOperands, NumValues;
|
||||||
|
|
||||||
/// Prev/Next pointers - These pointers form the linked list of of the
|
|
||||||
/// AllNodes list in the current DAG.
|
|
||||||
SDNode *Prev, *Next;
|
|
||||||
friend struct ilist_traits<SDNode>;
|
|
||||||
|
|
||||||
/// UsesSize - The size of the uses list.
|
/// UsesSize - The size of the uses list.
|
||||||
unsigned UsesSize;
|
unsigned UsesSize;
|
||||||
|
|
||||||
/// Uses - List of uses for this SDNode.
|
/// Uses - List of uses for this SDNode.
|
||||||
SDUse *Uses;
|
SDUse *Uses;
|
||||||
|
|
||||||
|
/// Prev/Next pointers - These pointers form the linked list of of the
|
||||||
|
/// AllNodes list in the current DAG.
|
||||||
|
SDNode *Prev, *Next;
|
||||||
|
friend struct ilist_traits<SDNode>;
|
||||||
|
|
||||||
/// addUse - add SDUse to the list of uses.
|
/// addUse - add SDUse to the list of uses.
|
||||||
void addUse(SDUse &U) { U.addToList(&Uses); }
|
void addUse(SDUse &U) { U.addToList(&Uses); }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user