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

References

lib/IR/ConstantFold.cpp
 2168   if (Idxs.empty()) return C;
 2171       PointeeTy, C, makeArrayRef((Value *const *)Idxs.data(), Idxs.size()));
 2173   if (isa<UndefValue>(C))
 2178     return GEPTy->isVectorTy() && !C->getType()->isVectorTy()
 2180                      cast<VectorType>(GEPTy)->getNumElements(), C)
 2181                : C;
 2183   if (C->isNullValue()) {
 2192       PointerType *PtrTy = cast<PointerType>(C->getType()->getScalarType());
 2198       if (VectorType *VT = dyn_cast<VectorType>(C->getType()))
 2214   if (ConstantExpr *CE = dyn_cast<ConstantExpr>(C)) {
 2334   Type *Prev = C->getType();
 2456     return ConstantExpr::getGetElementPtr(PointeeTy, C, NewIdxs, InBounds,
 2463     if (auto *GV = dyn_cast<GlobalVariable>(C))
 2465         return ConstantExpr::getGetElementPtr(PointeeTy, C, Idxs,