ModuleSummaryIndexYAML.h (311833) | ModuleSummaryIndexYAML.h (312197) |
---|---|
1//===-- llvm/ModuleSummaryIndexYAML.h - YAML I/O for summary ----*- C++ -*-===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// --- 15 unchanged lines hidden (view full) --- 24 io.enumCase(value, "Single", TypeTestResolution::Single); 25 io.enumCase(value, "AllOnes", TypeTestResolution::AllOnes); 26 } 27}; 28 29template <> struct MappingTraits<TypeTestResolution> { 30 static void mapping(IO &io, TypeTestResolution &res) { 31 io.mapOptional("Kind", res.TheKind); | 1//===-- llvm/ModuleSummaryIndexYAML.h - YAML I/O for summary ----*- C++ -*-===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// --- 15 unchanged lines hidden (view full) --- 24 io.enumCase(value, "Single", TypeTestResolution::Single); 25 io.enumCase(value, "AllOnes", TypeTestResolution::AllOnes); 26 } 27}; 28 29template <> struct MappingTraits<TypeTestResolution> { 30 static void mapping(IO &io, TypeTestResolution &res) { 31 io.mapOptional("Kind", res.TheKind); |
32 io.mapOptional("SizeBitWidth", res.SizeBitWidth); | 32 io.mapOptional("SizeM1BitWidth", res.SizeM1BitWidth); |
33 } 34}; 35 36template <> struct MappingTraits<TypeIdSummary> { 37 static void mapping(IO &io, TypeIdSummary& summary) { 38 io.mapOptional("TTRes", summary.TTRes); 39 } 40}; --- 71 unchanged lines hidden --- | 33 } 34}; 35 36template <> struct MappingTraits<TypeIdSummary> { 37 static void mapping(IO &io, TypeIdSummary& summary) { 38 io.mapOptional("TTRes", summary.TTRes); 39 } 40}; --- 71 unchanged lines hidden --- |