const auto *ICE = S ? dyn_cast<ImplicitCastExpr>(S) : nullptr;
const bool IsParen = S ? isa<ParenExpr>(S) : false;
auto *Inst = Val ? cast<Instruction>(Val) : nullptr;
const auto *ICE = dyn_cast_if_present<ImplicitCastExpr>(S);
const bool IsParen = isa_and_present<ParenExpr>(S);
auto *Inst = cast_if_present<Instruction>(Val);