Searched refs:DRE2 (Results 1 – 2 of 2) sorted by relevance
4236 const auto *DRE2 = cast<DeclRefExpr>(E2); in isSameComparisonOperand() local4237 return DRE1->isPRValue() && DRE2->isPRValue() && in isSameComparisonOperand()4238 DRE1->getDecl() == DRE2->getDecl(); in isSameComparisonOperand()4260 const auto *DRE2 = dyn_cast<DeclRefExpr>(E2); in isSameComparisonOperand() local4261 if (DRE1 && DRE2) in isSameComparisonOperand()4262 return declaresSameEntity(DRE1->getDecl(), DRE2->getDecl()); in isSameComparisonOperand()
222 bool IsStmtEquivalent(const DeclRefExpr *DRE1, const DeclRefExpr *DRE2) { in IsStmtEquivalent() argument224 const ValueDecl *Decl2 = DRE2->getDecl(); in IsStmtEquivalent()