Searched refs:DRE1 (Results 1 – 3 of 3) sorted by relevance
4208 const auto *DRE1 = cast<DeclRefExpr>(E1); in isSameComparisonOperand() local4210 return DRE1->isPRValue() && DRE2->isPRValue() && in isSameComparisonOperand()4211 DRE1->getDecl() == DRE2->getDecl(); in isSameComparisonOperand()4232 const auto *DRE1 = dyn_cast<DeclRefExpr>(E1); in isSameComparisonOperand() local4234 if (DRE1 && DRE2) in isSameComparisonOperand()4235 return declaresSameEntity(DRE1->getDecl(), DRE2->getDecl()); in isSameComparisonOperand()
220 bool IsStmtEquivalent(const DeclRefExpr *DRE1, const DeclRefExpr *DRE2) { in IsStmtEquivalent() argument221 const ValueDecl *Decl1 = DRE1->getDecl(); in IsStmtEquivalent()
369 if (auto *DRE1 = dyn_cast<DeclRefExpr>(E1)) { in AST_MATCHER() local370 return DRE0->getDecl() == DRE1->getDecl(); in AST_MATCHER()