Lines Matching refs:isIdenticalStmt

28 static bool isIdenticalStmt(const ASTContext &Ctx, const Stmt *Stmt1,
91 if (isIdenticalStmt(AC->getASTContext(), RHS, B2->getRHS())) {
99 if (isIdenticalStmt(AC->getASTContext(), RHS, LHS)) {
118 if (InnerIf && isIdenticalStmt(AC->getASTContext(), I->getCond(), InnerIf->getCond(), /*IgnoreSideEffects=*/ false)) {
140 if (isIdenticalStmt(AC->getASTContext(), Cond1, Cond2, false)) {
170 if (isIdenticalStmt(AC->getASTContext(), Stmt1, Stmt2, true)) {
253 if (isIdenticalStmt(AC->getASTContext(), B->getLHS(), B->getRHS())) {
276 if (isIdenticalStmt(AC->getASTContext(), C->getTrueExpr(),
306 static bool isIdenticalStmt(const ASTContext &Ctx, const Stmt *Stmt1,
335 if (!*I1 || !*I2 || !isIdenticalStmt(Ctx, *I1, *I2, IgnoreSideEffects))
372 return isIdenticalStmt(Ctx, ReturnStmt1->getRetValue(),
379 if (!isIdenticalStmt(Ctx, ForStmt1->getInit(), ForStmt2->getInit(),
382 if (!isIdenticalStmt(Ctx, ForStmt1->getCond(), ForStmt2->getCond(),
385 if (!isIdenticalStmt(Ctx, ForStmt1->getInc(), ForStmt2->getInc(),
388 if (!isIdenticalStmt(Ctx, ForStmt1->getBody(), ForStmt2->getBody(),
397 if (!isIdenticalStmt(Ctx, DStmt1->getCond(), DStmt2->getCond(),
400 if (!isIdenticalStmt(Ctx, DStmt1->getBody(), DStmt2->getBody(),
409 if (!isIdenticalStmt(Ctx, WStmt1->getCond(), WStmt2->getCond(),
412 if (!isIdenticalStmt(Ctx, WStmt1->getBody(), WStmt2->getBody(),
421 if (!isIdenticalStmt(Ctx, IStmt1->getCond(), IStmt2->getCond(),
424 if (!isIdenticalStmt(Ctx, IStmt1->getThen(), IStmt2->getThen(),
427 if (!isIdenticalStmt(Ctx, IStmt1->getElse(), IStmt2->getElse(),
442 if (!isIdenticalStmt(Ctx, *I1, *I2, IgnoreSideEffects))