65 references to PgoInstrumentationKind
ILCompiler.ReadyToRun (65)
Compiler\ProfileDataManager.cs (4)
211
PgoInstrumentationKind
kind;
216
kind =
PgoInstrumentationKind
.HandleHistogramMethods;
221
kind =
PgoInstrumentationKind
.HandleHistogramTypes;
230
InstrumentationKind =
PgoInstrumentationKind
.HandleHistogramIntCount,
JitInterface\CorInfoImpl.ReadyToRun.cs (1)
3389
if (pSchema[iSchema].InstrumentationKind !=
PgoInstrumentationKind
.BasicBlockIntCount)
parent\parent\Common\JitInterface\CorInfoImpl.cs (10)
219
if (elem.InstrumentationKind ==
PgoInstrumentationKind
.HandleHistogramTypes ||
220
elem.InstrumentationKind ==
PgoInstrumentationKind
.HandleHistogramMethods)
247
(pgoData[i].InstrumentationKind ==
PgoInstrumentationKind
.HandleHistogramIntCount ||
248
pgoData[i].InstrumentationKind ==
PgoInstrumentationKind
.HandleHistogramLongCount) &&
249
(pgoData[i + 1].InstrumentationKind ==
PgoInstrumentationKind
.HandleHistogramTypes ||
250
pgoData[i + 1].InstrumentationKind ==
PgoInstrumentationKind
.HandleHistogramMethods))
283
bool isType = nativeSchema[index + 1].InstrumentationKind ==
PgoInstrumentationKind
.HandleHistogramTypes;
329
likelyClassElem.InstrumentationKind = isType ?
PgoInstrumentationKind
.GetLikelyClass :
PgoInstrumentationKind
.GetLikelyMethod;
4960
nativeSchemas[i].InstrumentationKind = (
PgoInstrumentationKind
)pgoResultsSchemas[i].InstrumentationKind;
parent\parent\Common\JitInterface\CorInfoTypes.cs (1)
315
public
PgoInstrumentationKind
InstrumentationKind;
parent\parent\Common\Pgo\PgoFormat.cs (49)
75
public
PgoInstrumentationKind
InstrumentationKind;
87
(((InstrumentationKind &
PgoInstrumentationKind
.MarshalMask) ==
PgoInstrumentationKind
.FourByte) ||
88
((InstrumentationKind &
PgoInstrumentationKind
.MarshalMask) ==
PgoInstrumentationKind
.EightByte)));
258
switch (curSchema.InstrumentationKind &
PgoInstrumentationKind
.MarshalMask)
260
case
PgoInstrumentationKind
.FourByte:
268
case
PgoInstrumentationKind
.EightByte:
276
case
PgoInstrumentationKind
.TypeHandle:
284
case
PgoInstrumentationKind
.MethodHandle:
321
curSchema.InstrumentationKind = (
PgoInstrumentationKind
)(((int)(curSchema.InstrumentationKind)) + checked((int)value));
323
curSchema.InstrumentationKind = (
PgoInstrumentationKind
)value;
348
if (curSchema.InstrumentationKind ==
PgoInstrumentationKind
.Done)
353
switch (curSchema.InstrumentationKind &
PgoInstrumentationKind
.MarshalMask)
355
case
PgoInstrumentationKind
.None:
359
case
PgoInstrumentationKind
.FourByte:
366
case
PgoInstrumentationKind
.EightByte:
373
case
PgoInstrumentationKind
.TypeHandle:
377
case
PgoInstrumentationKind
.MethodHandle:
440
PgoInstrumentationKind
marshal = schema.InstrumentationKind &
PgoInstrumentationKind
.MarshalMask;
443
case
PgoInstrumentationKind
.None:
445
case
PgoInstrumentationKind
.FourByte:
460
case
PgoInstrumentationKind
.EightByte:
475
case
PgoInstrumentationKind
.TypeHandle:
482
case
PgoInstrumentationKind
.MethodHandle:
503
valueEmitter.EmitLong((long)
PgoInstrumentationKind
.Done, (long)prevSchema.InstrumentationKind);
518
PgoInstrumentationKind
xdescr = x.InstrumentationKind &
PgoInstrumentationKind
.DescriptorMask;
519
PgoInstrumentationKind
ydescr = y.InstrumentationKind &
PgoInstrumentationKind
.DescriptorMask;
526
if ((x.InstrumentationKind ==
PgoInstrumentationKind
.EdgeIntCount || x.InstrumentationKind ==
PgoInstrumentationKind
.EdgeLongCount)
537
int IEqualityComparer<PgoSchemaElem>.GetHashCode(PgoSchemaElem obj) => obj.ILOffset ^ ((int)(obj.InstrumentationKind &
PgoInstrumentationKind
.DescriptorMask) << 20);
553
if (schema.InstrumentationKind ==
PgoInstrumentationKind
.NumRuns)
561
oneRunSchema.InstrumentationKind =
PgoInstrumentationKind
.NumRuns;
584
case
PgoInstrumentationKind
.BasicBlockIntCount:
585
case
PgoInstrumentationKind
.BasicBlockLongCount:
586
case
PgoInstrumentationKind
.EdgeIntCount:
587
case
PgoInstrumentationKind
.EdgeLongCount:
588
case
PgoInstrumentationKind
.HandleHistogramIntCount:
589
case
PgoInstrumentationKind
.HandleHistogramLongCount:
590
case
PgoInstrumentationKind
.ValueHistogramIntCount:
591
case
PgoInstrumentationKind
.ValueHistogramLongCount:
599
case
PgoInstrumentationKind
.HandleHistogramTypes:
616
case
PgoInstrumentationKind
.ValueHistogram:
635
case
PgoInstrumentationKind
.HandleHistogramMethods:
652
case
PgoInstrumentationKind
.Version:
658
case
PgoInstrumentationKind
.NumRuns: