Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp386 struct SelectInstVisitor : public InstVisitor<SelectInstVisitor> { struct
387 Function &F;
389 VisitMode Mode = VM_counting; // Visiting mode.
390 unsigned *CurCtrIdx = nullptr; // Pointer to current counter index.
391 unsigned TotalNumCtrs = 0; // Total number of counters
392 GlobalVariable *FuncNameVar = nullptr;
393 uint64_t FuncHash = 0;
394 PGOUseFunc *UseFunc = nullptr;
396 SelectInstVisitor(Function &Func) : F(Func) {} in SelectInstVisitor() function
398 void countSelects(Function &Func) { in countSelects()
[all …]