reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Analysis/ConstantFolding.cpp
  922     if (!Ty->isStructTy()) {
  923       if (Ty->isPointerTy()) {
  928         Ty = SrcElemTy;
  931         if (!Ty->isSized())
  933       } else if (auto *ATy = dyn_cast<SequentialType>(Ty)) {
  934         Ty = ATy->getElementType();
  941       APInt ElemSize(BitWidth, DL.getTypeAllocSize(Ty));
  958       auto *STy = cast<StructType>(Ty);
  971       NewIdxs.push_back(ConstantInt::get(Type::getInt32Ty(Ty->getContext()),
  974       Ty = STy->getTypeAtIndex(ElIdx);
  976   } while (Ty != ResElemTy);
  999   assert(C->getType()->getPointerElementType() == Ty &&
 1004   if (Ty != ResElemTy)