Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCGCall.cpp1101 llvm::Type *DestIntTy = Ty; in CoerceIntOrPtrToIntOrPtr() local
1102 if (isa<llvm::PointerType>(DestIntTy)) in CoerceIntOrPtrToIntOrPtr()
1103 DestIntTy = CGF.IntPtrTy; in CoerceIntOrPtrToIntOrPtr()
1105 if (Val->getType() != DestIntTy) { in CoerceIntOrPtrToIntOrPtr()
1111 uint64_t DstSize = DL.getTypeSizeInBits(DestIntTy); in CoerceIntOrPtrToIntOrPtr()
1115 Val = CGF.Builder.CreateTrunc(Val, DestIntTy, "coerce.val.ii"); in CoerceIntOrPtrToIntOrPtr()
1117 Val = CGF.Builder.CreateZExt(Val, DestIntTy, "coerce.val.ii"); in CoerceIntOrPtrToIntOrPtr()
1122 Val = CGF.Builder.CreateIntCast(Val, DestIntTy, false, "coerce.val.ii"); in CoerceIntOrPtrToIntOrPtr()