Home
last modified time | relevance | path

Searched refs:DestIntTy (Results 1 – 4 of 4) 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()
/external/llvm-project/clang/lib/CodeGen/
DCGCall.cpp1187 llvm::Type *DestIntTy = Ty; in CoerceIntOrPtrToIntOrPtr() local
1188 if (isa<llvm::PointerType>(DestIntTy)) in CoerceIntOrPtrToIntOrPtr()
1189 DestIntTy = CGF.IntPtrTy; in CoerceIntOrPtrToIntOrPtr()
1191 if (Val->getType() != DestIntTy) { in CoerceIntOrPtrToIntOrPtr()
1197 uint64_t DstSize = DL.getTypeSizeInBits(DestIntTy); in CoerceIntOrPtrToIntOrPtr()
1201 Val = CGF.Builder.CreateTrunc(Val, DestIntTy, "coerce.val.ii"); in CoerceIntOrPtrToIntOrPtr()
1203 Val = CGF.Builder.CreateZExt(Val, DestIntTy, "coerce.val.ii"); in CoerceIntOrPtrToIntOrPtr()
1208 Val = CGF.Builder.CreateIntCast(Val, DestIntTy, false, "coerce.val.ii"); in CoerceIntOrPtrToIntOrPtr()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp247 Type *DestIntTy = IntegerType::getIntNTy(Scalar->getContext(), DestWidth); in foldBitcastExtElt() local
248 return new BitCastInst(Builder.CreateTrunc(Scalar, DestIntTy), DestTy); in foldBitcastExtElt()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp263 Type *DestIntTy = IntegerType::getIntNTy(Scalar->getContext(), DestWidth); in foldBitcastExtElt() local
264 return new BitCastInst(Builder.CreateTrunc(Scalar, DestIntTy), DestTy); in foldBitcastExtElt()