Lines Matching defs:OpTy
491 Type *OpTy = Op->getType();
492 SmallVector<Type *, 2> Types = {OpTy, OpTy};
494 B.getInt32(getPointerAddressSpace(OpTy))};
803 Type *OpTy = Op->getType();
804 Type *Ty = OpTy;
806 if (auto *PtrTy = dyn_cast<PointerType>(OpTy)) {
811 Ty = deduceNestedTypeHelper(dyn_cast<User>(Op), OpTy, Visited,
816 Change |= Ty != OpTy;
825 Type *OpTy = ArrTy->getElementType();
826 Type *Ty = OpTy;
827 if (auto *PtrTy = dyn_cast<PointerType>(OpTy)) {
832 Ty = deduceNestedTypeHelper(dyn_cast<User>(Op), OpTy, Visited,
835 if (Ty != OpTy) {
843 Type *OpTy = VecTy->getElementType();
844 Type *Ty = OpTy;
845 if (auto *PtrTy = dyn_cast<PointerType>(OpTy)) {
850 Ty = deduceNestedTypeHelper(dyn_cast<User>(Op), OpTy, Visited,
853 if (Ty != OpTy) {
1166 Type *OpTy = Op->getType();
1181 buildIntrWithMD(Intrinsic::spv_assign_ptr_type, {OpTy}, OpTyVal, Op,
1182 {B.getInt32(getPointerAddressSpace(OpTy))}, B);
1595 Type *OpTy = Op->getType();
1597 OpTy = restoreMutatedType(GR, OpI, OpTy);
1598 if (OpTy == Op->getType())
1599 OpTy = deduceElementTypeByValueDeep(OpTy, Op, false);
1600 replacePointerOperandWithPtrCast(I, Pointer, OpTy, 1, B);
1605 Type *OpTy = LI->getType();
1606 if (auto *PtrTy = dyn_cast<PointerType>(OpTy)) {
1608 OpTy = getTypedPointerWrapper(ElemTy, PtrTy->getAddressSpace());
1610 Type *NewOpTy = OpTy;
1611 OpTy = deduceElementTypeByValueDeep(OpTy, LI, false);
1612 if (OpTy == NewOpTy)
1616 replacePointerOperandWithPtrCast(I, Pointer, OpTy, 0, B);
1621 Type *OpTy = GEPI->getSourceElementType();
1622 replacePointerOperandWithPtrCast(I, Pointer, OpTy, 0, B);
1623 if (isNestedPointer(OpTy))
1972 Type *OpTy = Op->getType();
1973 if (isa<UndefValue>(Op) && OpTy->isAggregateType()) {
1979 Type *OpTy = Op->getType();
1980 Type *OpTyElem = getPointeeType(OpTy);
1983 } else if (isPointerTy(OpTy)) {
1988 {OpTy}, Op, Op, {}, B);
2034 Type *OpTy = Op->getType();
2036 if (OpTy->isTargetExtTy())
2037 OpTyVal = PoisonValue::get(OpTy);
2040 {OpTy, OpTyVal->getType()}, Op, OpTyVal, {}, B);
2042 if (!IsConstComposite && isPointerTy(OpTy) &&
2046 SmallVector<Type *, 2> Types = {OpTy, OpTy};
2049 B.getInt32(getPointerAddressSpace(OpTy))};