• Home
  • Raw
  • Download

Lines Matching defs:CounterCoverageMappingBuilder

516 struct CounterCoverageMappingBuilder  struct
520 llvm::DenseMap<const Stmt *, unsigned> &CounterMap;
523 std::vector<SourceMappingRegion> RegionStack;
527 Optional<SourceMappingRegion> DeferredRegion;
529 CounterExpressionBuilder Builder;
535 SourceLocation MostRecentLocation;
538 Optional<std::pair<SourceLocation, size_t>> LastTerminatedRegion;
541 Counter subtractCounters(Counter LHS, Counter RHS) { in subtractCounters()
546 Counter addCounters(Counter LHS, Counter RHS) { in addCounters()
550 Counter addCounters(Counter C1, Counter C2, Counter C3) { in addCounters()
557 Counter getRegionCounter(const Stmt *S) { in getRegionCounter()
565 size_t pushRegion(Counter Count, Optional<SourceLocation> StartLoc = None, in pushRegion()
578 size_t completeDeferred(Counter Count, SourceLocation DeferredEndLoc) { in completeDeferred()
619 void completeTopLevelDeferredRegion(Counter Count, in completeTopLevelDeferredRegion()
638 size_t locationDepth(SourceLocation Loc) { in locationDepth()
651 void popRegions(size_t ParentIndex) { in popRegions()
737 SourceMappingRegion &getRegion() { in getRegion()
744 Counter propagateCounts(Counter TopCount, const Stmt *S, in propagateCounts()
764 bool isRegionAlreadyAdded(SourceLocation StartLoc, SourceLocation EndLoc) { in isRegionAlreadyAdded()
776 void adjustForOutOfOrderTraversal(SourceLocation EndLoc) { in adjustForOutOfOrderTraversal()
795 void handleFileExit(SourceLocation NewLoc) { in handleFileExit()
858 void extendRegion(const Stmt *S) { in extendRegion()
870 void terminateRegion(const Stmt *S) { in terminateRegion()
883 Optional<SourceRange> findGapAreaBetween(SourceLocation AfterLoc, in findGapAreaBetween()
895 Optional<SourceRange> findGapAreaBetween(const Stmt *AfterStmt, in findGapAreaBetween()
902 void fillGapAreaWithCount(SourceLocation StartLoc, SourceLocation EndLoc, in fillGapAreaWithCount()
915 struct BreakContinue {
919 SmallVector<BreakContinue, 8> BreakContinueStack;
921 CounterCoverageMappingBuilder( in CounterCoverageMappingBuilder() function
929 void write(llvm::raw_ostream &OS) { in write()
945 void VisitStmt(const Stmt *S) { in VisitStmt()
954 void VisitDecl(const Decl *D) { in VisitDecl()
981 void VisitReturnStmt(const ReturnStmt *S) { in VisitReturnStmt()
988 void VisitCoroutineBodyStmt(const CoroutineBodyStmt *S) { in VisitCoroutineBodyStmt()
993 void VisitCoreturnStmt(const CoreturnStmt *S) { in VisitCoreturnStmt()
1000 void VisitCXXThrowExpr(const CXXThrowExpr *E) { in VisitCXXThrowExpr()
1007 void VisitGotoStmt(const GotoStmt *S) { terminateRegion(S); } in VisitGotoStmt()
1009 void VisitLabelStmt(const LabelStmt *S) { in VisitLabelStmt()
1020 void VisitBreakStmt(const BreakStmt *S) { in VisitBreakStmt()
1029 void VisitContinueStmt(const ContinueStmt *S) { in VisitContinueStmt()
1036 void VisitCallExpr(const CallExpr *E) { in VisitCallExpr()
1046 void VisitWhileStmt(const WhileStmt *S) { in VisitWhileStmt()
1075 void VisitDoStmt(const DoStmt *S) { in VisitDoStmt()
1096 void VisitForStmt(const ForStmt *S) { in VisitForStmt()
1143 void VisitCXXForRangeStmt(const CXXForRangeStmt *S) { in VisitCXXForRangeStmt()
1172 void VisitObjCForCollectionStmt(const ObjCForCollectionStmt *S) { in VisitObjCForCollectionStmt()
1198 void VisitSwitchStmt(const SwitchStmt *S) { in VisitSwitchStmt()
1244 void VisitSwitchCase(const SwitchCase *S) { in VisitSwitchCase()
1265 void VisitIfStmt(const IfStmt *S) { in VisitIfStmt()
1304 void VisitCXXTryStmt(const CXXTryStmt *S) { in VisitCXXTryStmt()
1319 void VisitCXXCatchStmt(const CXXCatchStmt *S) { in VisitCXXCatchStmt()
1323 void VisitAbstractConditionalOperator(const AbstractConditionalOperator *E) { in VisitAbstractConditionalOperator()
1347 void VisitBinLAnd(const BinaryOperator *E) { in VisitBinLAnd()
1356 void VisitBinLOr(const BinaryOperator *E) { in VisitBinLOr()
1365 void VisitLambdaExpr(const LambdaExpr *LE) { in VisitLambdaExpr()