HomeSort by: relevance | last modified time | path
    Searched refs:Probe (Results 1 - 22 of 22) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/IR/
PseudoProbe.cpp 1 //===- PseudoProbe.cpp - Pseudo Probe Helpers -----------------------------===//
9 // This file implements the helpers to manipulate pseudo probe IR intrinsic
26 "Only call instructions should have pseudo probe encodes as their "
32 PseudoProbe Probe;
33 Probe.Id =
35 Probe.Type =
37 Probe.Attr =
39 Probe.Factor =
42 return Probe;
50 PseudoProbe Probe;
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/ubsan/
ubsan_type_hash_itanium.cc 102 unsigned Probe = First;
104 if (!__ubsan_vptr_hash_set[Probe] || __ubsan_vptr_hash_set[Probe] == V)
105 return &__ubsan_vptr_hash_set[Probe];
106 Probe += ((V >> 16) & 65535) + 1;
107 if (Probe >= HashTableSize)
108 Probe -= HashTableSize;
110 // FIXME: Pick a random entry from the probe sequence to evict rather than
  /src/external/apache2/llvm/dist/llvm/lib/MC/
MCPseudoProbe.cpp 1 //===- lib/MC/MCPseudoProbe.cpp - Pseudo probe encoding support ----------===//
43 assert(Type <= 0xF && "Probe type too big to encode, exceeding 15");
45 "Probe attributes too big to encode, exceeding 7");
68 dbgs() << "Probe: " << Index << "\n";
90 const MCPseudoProbe &Probe, const MCPseudoProbeInlineStack &InlineStack) {
95 // Probe: GUID of C, ...
97 // which means, Function A inlines function B at call site with a probe id of
98 // 88, and B inlines C at probe 66. The tri-tree expects a tree path like {[0,
99 // A], [88, B], [66, C]} to locate the tree node where the probe should be
104 // An empty inline stack means the function that the probe originates fro
    [all...]
MCStreamer.cpp 1084 // Create a symbol at in the current section for use in the probe.
1090 // Create a (local) probe entry with the symbol.
1091 MCPseudoProbe Probe(ProbeSym, Guid, Index, Type, Attr);
1093 // Add the probe entry to this section's entries.
1095 getCurrentSectionOnly(), Probe, InlineStack);
  /src/external/apache2/llvm/dist/llvm/tools/llvm-profgen/
PseudoProbe.cpp 1 //===--- PseudoProbe.cpp - Pseudo probe decoding utilities ------*- C++-*-===//
28 "Probe function must exist for a valid GUID");
43 // Note that it won't include the probe's belonging function(leaf location)
186 // PROBE RECORDS
190 // 0 - block probe, 1 - indirect call, 2 - direct call
201 // Index of the callsite probe (ULEB128)
278 OS << "Pseudo Probe Desc:\n";
291 for (auto &Probe : It->second) {
292 OS << " [Probe]:\t";
293 Probe.print(OS, GUID2FuncDescMap, true)
    [all...]
PseudoProbe.h 1 //===--- PseudoProbe.h - Pseudo probe decoding utilities ---------*- C++-*-===//
77 void addProbes(PseudoProbe *Probe) { ProbeVector.push_back(Probe); }
100 A pseudo probe has the format like below:
103 0 - block probe, 1 - indirect call, 2 - direct call
152 // Print pseudo probe while disassembling
158 Decode pseudo probe info from ELF section, used along with ELF reader
208 // Look up the probe of a call for the input address
213 // Helper function to populate one probe's inline stack into
217 // Current probe(bar:3) inlined at foo:2 then inlined at main:
    [all...]
ProfileGenerator.cpp 445 // Enable pseudo probe functionalities in SampleProf
456 // from callee's probe
459 // Fill in boundary samples for a call probe
495 for (const auto &Probe : It->second) {
496 if (!Probe.isBlock())
498 ProbeCounter[&Probe] += Count;
516 const PseudoProbe *Probe = PI.first;
519 if (Probe->isDangling())
522 getFunctionProfileForLeafProbe(ContextStrStack, Probe, Binary);
526 FrameSamples[Probe->getInlineTreeNode()] = &FunctionProfile
    [all...]
ProfiledBinary.h 134 // Pseudo probe decoder
162 /// 3. Pseudo probe related sections, used by probe-based profile
249 getInlineContextForProbe(const PseudoProbe *Probe,
252 return ProbeDecoder.getInlineContextForProbe(Probe, InlineContextStack,
261 const PseudoProbeFuncDesc *getInlinerDescForProbe(const PseudoProbe *Probe) {
262 return ProbeDecoder.getInlinerDescForProbe(Probe);
PerfReader.cpp 50 // We don't need to top frame probe since it should be extracted
180 // Same as recordRangeCount, We don't need to top frame probe since we will
356 for (const auto *Probe : CtxKey->Probes) {
357 Binary->getInlineContextForProbe(Probe, ContextStack, true);
  /src/external/apache2/llvm/dist/llvm/lib/Support/
FoldingSet.cpp 289 void *Probe = OldBuckets[i];
290 if (!Probe) continue;
291 while (Node *NodeInBucket = GetNextPtr(Probe)) {
293 Probe = NodeInBucket->getNextInBucket();
330 void *Probe = *Bucket;
335 while (Node *NodeInBucket = GetNextPtr(Probe)) {
340 Probe = NodeInBucket->getNextInBucket();
449 void *Probe = NodePtr->getNextInBucket();
451 if (FoldingSetNode *NextNodeInBucket = GetNextPtr(Probe))
455 void **Bucket = GetBucketPtr(Probe);
    [all...]
  /src/external/gpl3/gcc/dist/libsanitizer/ubsan/
ubsan_type_hash_itanium.cpp 114 unsigned Probe = First;
116 if (!__ubsan_vptr_hash_set[Probe] || __ubsan_vptr_hash_set[Probe] == V)
117 return &__ubsan_vptr_hash_set[Probe];
118 Probe += ((V >> 16) & 65535) + 1;
119 if (Probe >= HashTableSize)
120 Probe -= HashTableSize;
122 // FIXME: Pick a random entry from the probe sequence to evict rather than
  /src/external/gpl3/gcc.old/dist/libsanitizer/ubsan/
ubsan_type_hash_itanium.cpp 102 unsigned Probe = First;
104 if (!__ubsan_vptr_hash_set[Probe] || __ubsan_vptr_hash_set[Probe] == V)
105 return &__ubsan_vptr_hash_set[Probe];
106 Probe += ((V >> 16) & 65535) + 1;
107 if (Probe >= HashTableSize)
108 Probe -= HashTableSize;
110 // FIXME: Pick a random entry from the probe sequence to evict rather than
  /src/external/apache2/llvm/dist/llvm/include/llvm/MC/
MCPseudoProbe.h 1 //===- MCPseudoProbe.h - Pseudo probe encoding support ---------*- C++ -*-===//
10 // probe encoding for AutoFDO. Pseudo probes together with their inline context
24 // PROBE RECORDS
28 // 0 - block probe, 1 - indirect call, 2 - direct call
39 // ID of the callsite probe (ULEB128)
60 // If set, indicates that the probe is encoded as an address delta
65 /// Instances of this class represent a pseudo probe instance for a pseudo probe
81 assert(Type <= 0xFF && "Probe type too big to encode, exceeding 2^8");
83 "Probe attributes too big to encode, exceeding 2^16")
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
SampleProfileProbe.cpp 1 //===- SampleProfileProbe.cpp - Pseudo probe Instrumentation -------------===//
36 #define DEBUG_TYPE "sample-profile-probe"
42 VerifyPseudoProbe("verify-pseudo-probe", cl::init(false), cl::Hidden,
43 cl::desc("Do pseudo probe verification"));
46 "verify-pseudo-probe-funcs", cl::Hidden,
50 UpdatePseudoProbe("update-pseudo-probe", cl::init(true), cl::Hidden,
51 cl::desc("Update pseudo probe distribution factor"));
100 "\n*** Pseudo Probe Verification After " + PassID.str() + " ***\n";
141 if (Optional<PseudoProbe> Probe = extractProbe(I)) {
143 ProbeFactors[{Probe->Id, Hash}] += Probe->Factor
    [all...]
SampleProfile.cpp 466 // A pseudo probe helper to correlate the imported sample counts.
546 // Here use error_code to represent: 1) The dangling probe. 2) Ignore the weight
547 // of non-probe instruction. So if all instructions of the BB give error_code,
551 "Profile is not pseudo probe based");
552 Optional<PseudoProbe> Probe = extractProbe(Inst);
553 // Ignore the non-probe instruction. If none of the instruction in the BB is
554 // probe, we choose to infer the BB's weight.
555 if (!Probe)
558 // This is not the dangling probe from the training pass but generated by the
561 if (Probe->isDangling()
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86WinAllocaExpander.cpp 44 enum Lowering { TouchAndSub, Sub, Probe };
99 // For a non-constant amount or a large amount, we have to probe.
101 return Probe;
169 case Probe:
245 case Probe:
247 // The probe lowering expects the amount in RAX/EAX.
252 // Do the probe.
286 if (MF.getFunction().hasFnAttribute("stack-probe-size")) {
288 .getFnAttribute("stack-probe-size")
292 NoStackArgProbe = MF.getFunction().hasFnAttribute("no-stack-arg-probe");
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
FoldingSet.h 716 void *Probe = static_cast<FoldingSetNode*>(Ptr)->getNextInBucket();
717 uintptr_t x = reinterpret_cast<uintptr_t>(Probe) & ~0x1;
  /src/crypto/external/apache2/openssl/dist/crypto/
sparccpuid.S 258 ! Probe and instrument VIS1 instruction. Output is number of cycles it
  /src/crypto/external/bsd/openssl/dist/crypto/
sparccpuid.S 258 ! Probe and instrument VIS1 instruction. Output is number of cycles it
  /src/crypto/external/bsd/openssl.old/dist/crypto/
sparccpuid.S 252 ! Probe and instrument VIS1 instruction. Output is number of cycles it
  /src/sys/arch/mips/mips/
mipsX_subr.S 1905 tlbp # Probe the invalid entry
2117 tlbp # Probe for the entry.
2292 tlbp # probe the entry in question
2771 tlbp # probe VPN
  /src/external/gpl3/gcc.old/dist/libphobos/src/std/
typecons.d 3666 struct Probe
3672 Nullable!(Probe[1]) test = [Probe()].staticArray;

Completed in 117 milliseconds