Lines Matching refs:E1
150 static bool sameValue(const Expr *E1, const Expr *E2) { in sameValue() argument
151 E1 = ignoreUnaryPlus(getInitializer(E1->IgnoreParenImpCasts())); in sameValue()
154 if (isZero(E1) && isZero(E2)) in sameValue()
157 if (E1->getStmtClass() != E2->getStmtClass()) in sameValue()
160 switch (E1->getStmtClass()) { in sameValue()
162 return sameValue(cast<UnaryOperator>(E1)->getSubExpr(), in sameValue()
165 return cast<CharacterLiteral>(E1)->getValue() == in sameValue()
168 return cast<CXXBoolLiteralExpr>(E1)->getValue() == in sameValue()
171 return cast<IntegerLiteral>(E1)->getValue() == in sameValue()
174 return cast<FloatingLiteral>(E1)->getValue().bitwiseIsEqual( in sameValue()
177 return cast<StringLiteral>(E1)->getString() == in sameValue()
180 return cast<DeclRefExpr>(E1)->getDecl() == cast<DeclRefExpr>(E2)->getDecl(); in sameValue()