Lines Matching defs:CounterCoverageMappingBuilder
334 struct CounterCoverageMappingBuilder struct
338 llvm::DenseMap<const Stmt *, unsigned> &CounterMap;
341 std::vector<SourceMappingRegion> RegionStack;
343 CounterExpressionBuilder Builder;
349 SourceLocation MostRecentLocation;
352 Counter subtractCounters(Counter LHS, Counter RHS) { in subtractCounters()
357 Counter addCounters(Counter LHS, Counter RHS) { in addCounters()
361 Counter addCounters(Counter C1, Counter C2, Counter C3) { in addCounters()
365 Counter addCounters(Counter C1, Counter C2, Counter C3, Counter C4) { in addCounters()
372 Counter getRegionCounter(const Stmt *S) { in getRegionCounter()
380 size_t pushRegion(Counter Count, Optional<SourceLocation> StartLoc = None, in pushRegion()
393 void popRegions(size_t ParentIndex) { in popRegions()
431 SourceMappingRegion &getRegion() { in getRegion()
437 Counter propagateCounts(Counter TopCount, const Stmt *S) { in propagateCounts()
448 void adjustForOutOfOrderTraversal(SourceLocation EndLoc) { in adjustForOutOfOrderTraversal()
455 bool isNestedIn(SourceLocation Loc, FileID Parent) { in isNestedIn()
469 void handleFileExit(SourceLocation NewLoc) { in handleFileExit()
529 void extendRegion(const Stmt *S) { in extendRegion()
539 void terminateRegion(const Stmt *S) { in terminateRegion()
548 struct BreakContinue {
552 SmallVector<BreakContinue, 8> BreakContinueStack;
554 CounterCoverageMappingBuilder( in CounterCoverageMappingBuilder() function
561 void write(llvm::raw_ostream &OS) { in write()
573 void VisitStmt(const Stmt *S) { in VisitStmt()
583 void VisitDecl(const Decl *D) { in VisitDecl()
588 void VisitReturnStmt(const ReturnStmt *S) { in VisitReturnStmt()
595 void VisitGotoStmt(const GotoStmt *S) { terminateRegion(S); } in VisitGotoStmt()
597 void VisitLabelStmt(const LabelStmt *S) { in VisitLabelStmt()
605 void VisitBreakStmt(const BreakStmt *S) { in VisitBreakStmt()
612 void VisitContinueStmt(const ContinueStmt *S) { in VisitContinueStmt()
619 void VisitWhileStmt(const WhileStmt *S) { in VisitWhileStmt()
643 void VisitDoStmt(const DoStmt *S) { in VisitDoStmt()
664 void VisitForStmt(const ForStmt *S) { in VisitForStmt()
697 void VisitCXXForRangeStmt(const CXXForRangeStmt *S) { in VisitCXXForRangeStmt()
716 void VisitObjCForCollectionStmt(const ObjCForCollectionStmt *S) { in VisitObjCForCollectionStmt()
734 void VisitSwitchStmt(const SwitchStmt *S) { in VisitSwitchStmt()
767 void VisitSwitchCase(const SwitchCase *S) { in VisitSwitchCase()
788 void VisitIfStmt(const IfStmt *S) { in VisitIfStmt()
812 void VisitCXXTryStmt(const CXXTryStmt *S) { in VisitCXXTryStmt()
822 void VisitCXXCatchStmt(const CXXCatchStmt *S) { in VisitCXXCatchStmt()
827 void VisitAbstractConditionalOperator(const AbstractConditionalOperator *E) { in VisitAbstractConditionalOperator()
838 void VisitBinLAnd(const BinaryOperator *E) { in VisitBinLAnd()
846 void VisitBinLOr(const BinaryOperator *E) { in VisitBinLOr()
854 void VisitLambdaExpr(const LambdaExpr *LE) { in VisitLambdaExpr()