Lines Matching defs:ER
407 const ElementRegion *ER, CharKind CK) {
412 if (ER->getValueType() != Ctx.CharTy)
414 return ER->getIndex();
417 if (ER->getValueType() != Ctx.WideCharTy)
426 SVB.evalBinOpNN(State, BO_Mul, ER->getIndex(), WideSize, SizeTy);
447 const auto *ER = dyn_cast_or_null<ElementRegion>(R);
448 if (!ER)
451 const auto *SuperR = ER->getSuperRegion()->getAs<TypedValueRegion>();
567 const auto *ER = dyn_cast<ElementRegion>(R);
568 if (!ER)
572 std::optional<NonLoc> Idx = getIndex(state, ER, CK);
577 const auto *superReg = cast<SubRegion>(ER->getSuperRegion());
1190 const ElementRegion *ER = dyn_cast<ElementRegion>(R);
1191 if (!ER)
1196 assert(ER->getValueType() == C.getASTContext().CharTy &&
1200 const SubRegion *superReg = cast<SubRegion>(ER->getSuperRegion());
1204 DefinedOrUnknownSVal Idx = ER->getIndex().castAs<DefinedOrUnknownSVal>();
1290 if (const ElementRegion *ER = dyn_cast<ElementRegion>(R)) {
1291 R = ER->getSuperRegion();