Lines Matching refs:Ex
475 if (const Expr *Ex = dyn_cast<Expr>(S)) {
479 Ex = Ex->IgnoreParenCasts();
480 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Ex)) {
708 const Expr *Ex = Cond;
711 Ex = Ex->IgnoreParenCasts();
712 switch (Ex->getStmtClass()) {
716 return VisitTrueTest(Cond, cast<BinaryOperator>(Ex), tookTrue, BRC,
719 return VisitTrueTest(Cond, cast<DeclRefExpr>(Ex), tookTrue, BRC,
722 const UnaryOperator *UO = cast<UnaryOperator>(Ex);
725 Ex = UO->getSubExpr();
734 bool ConditionBRVisitor::patternMatch(const Expr *Ex, llvm::raw_ostream &Out,
739 const Expr *OriginalExpr = Ex;
740 Ex = Ex->IgnoreParenCasts();
742 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Ex)) {
766 if (const IntegerLiteral *IL = dyn_cast<IntegerLiteral>(Ex)) {