Lines Matching refs:ResTy
1882 StructType *ResTy = cast<StructType>(GEP.getType()); in visitGetElementPtrInst() local
1883 Type *ResRsrcTy = ResTy->getElementType(0); in visitGetElementPtrInst()
1893 GEP.mutateType(ResTy); in visitGetElementPtrInst()
1930 Type *ResTy = PI.getType(); in visitPtrToIntInst() local
1931 unsigned Width = ResTy->getScalarSizeInBits(); in visitPtrToIntInst()
1939 Res = IRB.CreateIntCast(Off, ResTy, /*isSigned=*/false, in visitPtrToIntInst()
1942 Value *RsrcInt = IRB.CreatePtrToInt(Rsrc, ResTy, PI.getName() + ".rsrc"); in visitPtrToIntInst()
1945 ConstantExpr::getIntegerValue(ResTy, APInt(Width, BufferOffsetWidth)), in visitPtrToIntInst()
1947 Value *OffCast = IRB.CreateIntCast(Off, ResTy, /*isSigned=*/false, in visitPtrToIntInst()
2000 auto *ResTy = cast<StructType>(I.getType()); in visitAddrSpaceCastInst() local
2001 Type *RsrcTy = ResTy->getElementType(0); in visitAddrSpaceCastInst()
2002 Type *OffTy = ResTy->getElementType(1); in visitAddrSpaceCastInst()