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