6 writes to InstrumentationKind
ILCompiler.ReadyToRun (6)
Compiler\ProfileDataManager.cs (2)
230
InstrumentationKind
= PgoInstrumentationKind.HandleHistogramIntCount,
239
InstrumentationKind
= kind,
parent\parent\Common\JitInterface\CorInfoImpl.cs (1)
329
likelyClassElem.
InstrumentationKind
= isType ? PgoInstrumentationKind.GetLikelyClass : PgoInstrumentationKind.GetLikelyMethod;
parent\parent\Common\Pgo\PgoFormat.cs (3)
321
curSchema.
InstrumentationKind
= (PgoInstrumentationKind)(((int)(curSchema.InstrumentationKind)) + checked((int)value));
323
curSchema.
InstrumentationKind
= (PgoInstrumentationKind)value;
561
oneRunSchema.
InstrumentationKind
= PgoInstrumentationKind.NumRuns;
27 references to InstrumentationKind
ILCompiler.ReadyToRun (27)
parent\parent\Common\JitInterface\CorInfoImpl.cs (7)
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))
4960
nativeSchemas[i].InstrumentationKind = (PgoInstrumentationKind)pgoResultsSchemas[i].
InstrumentationKind
;
parent\parent\Common\Pgo\PgoFormat.cs (20)
87
(((
InstrumentationKind
& PgoInstrumentationKind.MarshalMask) == PgoInstrumentationKind.FourByte) ||
88
((
InstrumentationKind
& PgoInstrumentationKind.MarshalMask) == PgoInstrumentationKind.EightByte)));
90
public override string ToString() => $"{
InstrumentationKind
} @ {ILOffset} Count = {Count} DataLong = {DataLong}";
258
switch (curSchema.
InstrumentationKind
& PgoInstrumentationKind.MarshalMask)
321
curSchema.InstrumentationKind = (PgoInstrumentationKind)(((int)(curSchema.
InstrumentationKind
)) + checked((int)value));
348
if (curSchema.
InstrumentationKind
== PgoInstrumentationKind.Done)
353
switch (curSchema.
InstrumentationKind
& PgoInstrumentationKind.MarshalMask)
402
int TypeDiff = (int)schema.
InstrumentationKind
- (int)prevSchema.
InstrumentationKind
;
432
valueEmitter.EmitLong((long)schema.
InstrumentationKind
, (long)prevSchema.
InstrumentationKind
);
440
PgoInstrumentationKind marshal = schema.
InstrumentationKind
& PgoInstrumentationKind.MarshalMask;
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)
582
switch (existingSchemaItem.
InstrumentationKind
)