39 references to SectionFormat
ILCompiler.ReadyToRun (39)
IBC\IBCDataModel.cs (25)
35
public SectionTypeInfo(TokenType tokenType,
SectionFormat
section)
49
SectionTypeInfo[] sectionTypeInfo = new SectionTypeInfo[(int)
SectionFormat
.SectionFormatCount];
52
sectionTypeInfo[(int)
SectionFormat
.BasicBlockInfo] = new SectionTypeInfo(tokenType,
SectionFormat
.BasicBlockInfo);
53
sectionTypeInfo[(int)
SectionFormat
.BlobStream] = new SectionTypeInfo(tokenType,
SectionFormat
.BlobStream);
55
for (
SectionFormat
section = 0; section <
SectionFormat
.SectionFormatCount; section++)
68
case
SectionFormat
.ScenarioInfo:
69
case
SectionFormat
.BasicBlockInfo:
70
case
SectionFormat
.BlobStream:
74
case
SectionFormat
.TypeProfilingData:
75
case
SectionFormat
.GenericTypeProfilingData:
79
case
SectionFormat
.MethodProfilingData:
90
public static bool IsTokenList(
SectionFormat
sectionType)
103
public static IEnumerable<
SectionFormat
> SectionIterator(SectionIteratorKind iteratorKind)
108
yield return
SectionFormat
.BasicBlockInfo;
109
yield return
SectionFormat
.MethodProfilingData;
114
for (
SectionFormat
section = 0; section <
SectionFormat
.SectionFormatCount; section++)
173
public static uint InitialTokenForSection(
SectionFormat
format)
283
Tokens = new Dictionary<
SectionFormat
, List<TokenData>>();
295
public Dictionary<
SectionFormat
, List<TokenData>> Tokens { get; private set; }
468
public const
SectionFormat
FirstTokenFlagSection =
SectionFormat
.BlobStream + 1;
IBC\IBCDataReader.cs (12)
208
Dictionary<
SectionFormat
, SectionInfo> ReadSectionTable(out long highestValidOffset)
211
var result = new Dictionary<
SectionFormat
, SectionInfo>();
217
SectionFormat
sectionFormat = (
SectionFormat
)reader.ReadInt32();
220
(sectionFormat <
SectionFormat
.UserStringPoolProfilingData))
404
List<IBC.TokenData> ReadTokenSection(
SectionFormat
section)
639
private void IfPresent(Dictionary<
SectionFormat
, SectionInfo> sectionTable,
SectionFormat
section, Action f)
661
IfPresent(sectionTable,
SectionFormat
.ScenarioInfo, () => result.Scenarios = ReadScenarioSection(ref result.TotalNumberOfRuns));
662
IfPresent(sectionTable,
SectionFormat
.BasicBlockInfo, () => result.Methods = ReadBasicBlockSection(ref result.TotalNumberOfRuns));
663
foreach (
SectionFormat
section in IBCData.SectionIterator(IBCData.SectionIteratorKind.TokenFlags))
667
IfPresent(sectionTable,
SectionFormat
.BlobStream, () => result.BlobStream = ReadBlobStreamSection());
IBC\IBCProfileParser.cs (2)
55
foreach (
SectionFormat
section in IBCData.SectionIterator(iteratorKind))
81
if (section ==
SectionFormat
.MethodProfilingData)