Home
last modified time | relevance | path

Searched defs:SelectInstVisitor (Results 1 – 1 of 1) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp409 struct SelectInstVisitor : public InstVisitor<SelectInstVisitor> { struct
410 Function &F;
411 unsigned NSIs = 0; // Number of select instructions instrumented.
412 VisitMode Mode = VM_counting; // Visiting mode.
413 unsigned *CurCtrIdx = nullptr; // Pointer to current counter index.
414 unsigned TotalNumCtrs = 0; // Total number of counters
415 GlobalVariable *FuncNameVar = nullptr;
416 uint64_t FuncHash = 0;
417 PGOUseFunc *UseFunc = nullptr;
419 SelectInstVisitor(Function &Func) : F(Func) {} in SelectInstVisitor() function
[all …]