Home | History | Annotate | Download | only in Core

Lines Matching defs:Ex

314   const Expr *Ex = dyn_cast<Expr>(S);
315 if (Ex) {
316 Ex = Ex->IgnoreParenLValueCasts();
317 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Ex)) {
530 const Expr *Ex = Cond;
533 Ex = Ex->IgnoreParens();
534 switch (Ex->getStmtClass()) {
538 return VisitTrueTest(Cond, cast<BinaryOperator>(Ex), tookTrue, BRC,
541 return VisitTrueTest(Cond, cast<DeclRefExpr>(Ex), tookTrue, BRC,
544 const UnaryOperator *UO = cast<UnaryOperator>(Ex);
547 Ex = UO->getSubExpr()->IgnoreParenNoopCasts(BRC.getASTContext());
556 bool ConditionBRVisitor::patternMatch(const Expr *Ex, llvm::raw_ostream &Out,
561 const Expr *OriginalExpr = Ex;
562 Ex = Ex->IgnoreParenCasts();
564 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Ex)) {
588 if (const IntegerLiteral *IL = dyn_cast<IntegerLiteral>(Ex)) {