Lines Matching defs:ER
405 const ElementRegion *ER, CharKind CK) {
410 if (ER->getValueType() != Ctx.CharTy)
412 return ER->getIndex();
415 if (ER->getValueType() != Ctx.WideCharTy)
424 SVB.evalBinOpNN(State, BO_Mul, ER->getIndex(), WideSize, SizeTy);
445 const auto *ER = dyn_cast_or_null<ElementRegion>(R);
446 if (!ER)
449 const auto *SuperR = ER->getSuperRegion()->getAs<TypedValueRegion>();
563 const auto *ER = dyn_cast<ElementRegion>(R);
564 if (!ER)
568 std::optional<NonLoc> Idx = getIndex(state, ER, CK);
573 const auto *superReg = cast<SubRegion>(ER->getSuperRegion());
1185 const ElementRegion *ER = dyn_cast<ElementRegion>(R);
1186 if (!ER)
1191 assert(ER->getValueType() == C.getASTContext().CharTy &&
1195 const SubRegion *superReg = cast<SubRegion>(ER->getSuperRegion());
1199 DefinedOrUnknownSVal Idx = ER->getIndex().castAs<DefinedOrUnknownSVal>();
1285 if (const ElementRegion *ER = dyn_cast<ElementRegion>(R)) {
1286 R = ER->getSuperRegion();