Lines Matching refs:StmtSequence
23 StmtSequence::StmtSequence(const CompoundStmt *Stmt, const Decl *D, in StmtSequence() function in StmtSequence
31 StmtSequence::StmtSequence(const Stmt *Stmt, const Decl *D) in StmtSequence() function in StmtSequence
34 StmtSequence::StmtSequence() in StmtSequence() function in StmtSequence
37 bool StmtSequence::contains(const StmtSequence &Other) const { in contains()
59 StmtSequence::iterator StmtSequence::begin() const { in begin()
67 StmtSequence::iterator StmtSequence::end() const { in end()
69 return reinterpret_cast<StmtSequence::iterator>(&S) + 1; in end()
75 ASTContext &StmtSequence::getASTContext() const { in getASTContext()
80 SourceLocation StmtSequence::getBeginLoc() const { in getBeginLoc()
84 SourceLocation StmtSequence::getEndLoc() const { return back()->getEndLoc(); } in getEndLoc()
86 SourceRange StmtSequence::getSourceRange() const { in getSourceRange()
94 Sequences.push_back(StmtSequence(D->getBody(), D)); in analyzeCodeBody()
99 static bool containsAnyInGroup(StmtSequence &Seq, in containsAnyInGroup()
101 for (StmtSequence &GroupSeq : Group) { in containsAnyInGroup()
119 for (StmtSequence &Stmt : Group) { in containsGroup()
161 for (const StmtSequence &S : Group) { in isAutoGenerated()
251 std::vector<std::pair<size_t, StmtSequence>> &StmtsByHash) { in saveHash()
291 createHash(SubHash), StmtSequence(CS, D, Pos, Pos + Length))); in saveHash()
298 StmtsByHash.push_back(std::make_pair(HashCode, StmtSequence(S, D))); in saveHash()
318 static void CollectStmtSequenceData(const StmtSequence &Sequence, in CollectStmtSequenceData()
328 CollectStmtSequenceData(StmtSequence(Child, Sequence.getContainingDecl()), in CollectStmtSequenceData()
335 static bool areSequencesClones(const StmtSequence &LHS, in areSequencesClones()
336 const StmtSequence &RHS) { in areSequencesClones()
362 std::vector<std::pair<size_t, StmtSequence>> StmtsByHash; in constrain()
365 for (const StmtSequence &S : Group) { in constrain()
414 Sequences, [](const StmtSequence &A, const StmtSequence &B) { in constrain()
420 const StmtSequence &Seq, std::size_t Limit, in calculateStmtComplexity()
450 StmtSequence(S, Seq.getContainingDecl()), Limit, MacroStack); in calculateStmtComplexity()
457 StmtSequence(S, Seq.getContainingDecl()), Limit, MacroStack); in calculateStmtComplexity()
468 CloneGroups, [](const StmtSequence &A, const StmtSequence &B) { in constrain()
477 llvm::function_ref<bool(const StmtSequence &, const StmtSequence &)> in splitCloneGroups() argument
495 StmtSequence Prototype = HashGroup[i]; in splitCloneGroups()
506 const StmtSequence &Candidate = HashGroup[j]; in splitCloneGroups()