Lines Matching refs:ice
830 const ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(getCallee());
831 if (!ICE) // FIXME: deal with more complex calls (e.g. (func)(), (*func)()).
834 const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(ICE->getSubExpr());
2161 while (const ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(E))
2162 E = ICE->getSubExprAsWritten();
2173 while (const ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(E)) {
2174 if (ICE->getCastKind() == CK_NoOp)
2175 E = ICE->getSubExpr();
2183 while (const ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(E)) {
2184 if (ICE->getCastKind() == CK_NoOp)
2185 E = ICE->getSubExpr();
2243 if (const ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(E)) {
2244 if (ICE->getCastKind() == CK_NoOp ||
2245 ICE->getCastKind() == CK_LValueToRValue ||
2246 ICE->getCastKind() == CK_DerivedToBase ||
2247 ICE->getCastKind() == CK_UncheckedDerivedToBase) {
2248 E = ICE->getSubExpr();
2443 } else if (const ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(this)) {
2445 return ICE->getSubExpr()->isNullPointerConstant(Ctx, NPC);
2514 while (ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(E)) {
2515 if (ICE->getCastKind() == CK_LValueToRValue ||
2516 (ICE->getValueKind() != VK_RValue && ICE->getCastKind() == CK_NoOp))
2517 E = ICE->getSubExpr()->IgnoreParens();
2546 while (const ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(E)) {
2547 if (ICE->getValueKind() != VK_RValue &&
2548 ICE->getCastKind() == CK_NoOp)
2549 E = ICE->getSubExpr()->IgnoreParens();
3142 while (const ImplicitCastExpr *ice = dyn_cast<ImplicitCastExpr>(e))
3143 e = ice->getSubExpr();