Home
last modified time | relevance | path

Searched refs:DestIntTy (Results 1 – 1 of 1) sorted by relevance

/external/clang/lib/CodeGen/
DCGCall.cpp930 llvm::Type *DestIntTy = Ty; in CoerceIntOrPtrToIntOrPtr() local
931 if (isa<llvm::PointerType>(DestIntTy)) in CoerceIntOrPtrToIntOrPtr()
932 DestIntTy = CGF.IntPtrTy; in CoerceIntOrPtrToIntOrPtr()
934 if (Val->getType() != DestIntTy) { in CoerceIntOrPtrToIntOrPtr()
940 uint64_t DstSize = DL.getTypeSizeInBits(DestIntTy); in CoerceIntOrPtrToIntOrPtr()
944 Val = CGF.Builder.CreateTrunc(Val, DestIntTy, "coerce.val.ii"); in CoerceIntOrPtrToIntOrPtr()
946 Val = CGF.Builder.CreateZExt(Val, DestIntTy, "coerce.val.ii"); in CoerceIntOrPtrToIntOrPtr()
951 Val = CGF.Builder.CreateIntCast(Val, DestIntTy, false, "coerce.val.ii"); in CoerceIntOrPtrToIntOrPtr()