Searched refs:DestIntTy (Results 1 – 1 of 1) sorted by relevance
670 llvm::Type *DestIntTy = Ty; in CoerceIntOrPtrToIntOrPtr() local671 if (isa<llvm::PointerType>(DestIntTy)) in CoerceIntOrPtrToIntOrPtr()672 DestIntTy = CGF.IntPtrTy; in CoerceIntOrPtrToIntOrPtr()674 if (Val->getType() != DestIntTy) { in CoerceIntOrPtrToIntOrPtr()680 uint64_t DstSize = DL.getTypeAllocSizeInBits(DestIntTy); in CoerceIntOrPtrToIntOrPtr()683 Val = CGF.Builder.CreateTrunc(Val, DestIntTy, "coerce.val.ii"); in CoerceIntOrPtrToIntOrPtr()685 Val = CGF.Builder.CreateZExt(Val, DestIntTy, "coerce.val.ii"); in CoerceIntOrPtrToIntOrPtr()690 Val = CGF.Builder.CreateIntCast(Val, DestIntTy, false, "coerce.val.ii"); in CoerceIntOrPtrToIntOrPtr()