You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// The allocation size depends on the alignment, and thus on the target.
36
39
/// The values in the example table are for x86-32-linux.
37
40
/// </note>
38
-
/// | Property | Definition |
39
-
/// |-----------------|------------|
40
-
/// | SizeInBits | Minimum number of bits needed to represent the full range of values for the type |
41
-
/// | StoreSizeInBits | Minimum number of bits needed to actually store a *single* value of the type |
42
-
/// | AbiSizeInBits | Total number of bits used to store a value in a sequence, including any alignment padding |
43
-
///
41
+
/// <list type="table">
42
+
/// <listheader>
43
+
/// <term>Property</term><term>Definition</term>
44
+
/// </listheader>
45
+
/// <item> <description>SizeInBits </description><description> Minimum number of bits needed to represent the full range of values for the type </description></item>
46
+
/// <item> <description>StoreSizeInBits </description><description> Minimum number of bits needed to actually store a *single* value of the type </description></item>
47
+
/// <item> <description>AbiSizeInBits </description><description> Total number of bits used to store a value in a sequence, including any alignment padding </description></item>
48
+
/// </list>
44
49
/// The allocation size determines the total size of each entry in a sequence so that the "next" element is computed
45
50
/// by adding the size to the start address of the current element.
46
51
/// </remarks>
@@ -49,11 +54,11 @@ public interface IDataLayout
49
54
/// <summary>Gets the byte ordering for this target</summary>
50
55
publicByteOrderingEndianness{get;}
51
56
52
-
/// <summary>Gets the size of a pointer for the default address space of the target</summary>
57
+
/// <summary>Gets the size (in bytes) of a pointer for the default address space of the target</summary>
53
58
/// <returns>Size of a pointer to the default address space</returns>
54
59
publicuintPointerSize();
55
60
56
-
/// <summary>Retrieves the size of a pointer for a given address space of the target</summary>
61
+
/// <summary>Retrieves the size (in bytes) of a pointer for a given address space of the target</summary>
57
62
/// <param name="addressSpace">Address space for the pointer</param>
58
63
/// <returns>Size of a pointer</returns>
59
64
publicuintPointerSize(uintaddressSpace);
@@ -109,7 +114,7 @@ public interface IDataLayout
109
114
/// </remarks>
110
115
publiculongStoreSizeOf(ITypeReftypeRef);
111
116
112
-
/// <summary>Retrieves the ABI specified size of the given type</summary>
117
+
/// <summary>Retrieves the ABI specified size (in bytes) of the given type</summary>
113
118
/// <param name="typeRef">Type to get the size from</param>
114
119
/// <returns>Size of the type</returns>
115
120
/// <remarks>
@@ -123,17 +128,17 @@ public interface IDataLayout
123
128
/// <returns>ABI specified alignment</returns>
124
129
publicuintAbiAlignmentOf(ITypeReftypeRef);
125
130
126
-
/// <summary>Retrieves the call frame alignment for a given type</summary>
131
+
/// <summary>Retrieves the call frame alignment (in bytes) for a given type</summary>
127
132
/// <param name="typeRef">type to get the alignment of</param>
128
133
/// <returns>Alignment for the type</returns>
129
134
publicuintCallFrameAlignmentOf(ITypeReftypeRef);
130
135
131
-
/// <summary>Gets the preferred alignment for an LLVM type</summary>
136
+
/// <summary>Gets the preferred alignment (in bytes) for an LLVM type</summary>
132
137
/// <param name="typeRef">Type to get the alignment of</param>
133
138
/// <returns>Preferred alignment</returns>
134
139
publicuintPreferredAlignmentOf(ITypeReftypeRef);
135
140
136
-
/// <summary>Gets the preferred alignment for a <see cref="Value"/></summary>
141
+
/// <summary>Gets the preferred alignment (in bytes) for a <see cref="Value"/></summary>
137
142
/// <param name="value">Value to get the alignment of</param>
0 commit comments