Lines Matching full:probe
1 //===- PseudoProbe.cpp - Pseudo Probe Helpers -----------------------------===//
9 // This file implements the helpers to manipulate pseudo probe IR intrinsic
29 PseudoProbe Probe;
30 Probe.Id =
32 Probe.Type =
34 Probe.Attr =
36 Probe.Factor =
39 Probe.Discriminator = 0;
40 return Probe;
49 "Only call instructions should have pseudo probe encodes as their "
58 PseudoProbe Probe;
59 Probe.Id = II->getIndex()->getZExtValue();
60 Probe.Type = (uint32_t)PseudoProbeType::Block;
61 Probe.Attr = II->getAttributes()->getZExtValue();
62 Probe.Factor = II->getFactor()->getZExtValue() /
64 Probe.Discriminator = 0;
66 Probe.Discriminator = DLoc->getDiscriminator();
67 return Probe;