Home
last modified time | relevance | path

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

/external/llvm-project/compiler-rt/lib/ubsan/
Dubsan_handlers.cpp564 bool DstSigned = DstTy.isSignedIntegerTy(); in handleImplicitConversion() local
571 if (!SrcSigned && !DstSigned) { in handleImplicitConversion()
604 << DstTy.getIntegerBitWidth() << (DstSigned ? "" : "un"); in handleImplicitConversion()
/external/llvm-project/clang/lib/CodeGen/
DCGExprScalar.cpp975 bool DstSigned = DstType->isSignedIntegerOrEnumerationType(); in EmitIntegerTruncationCheckHelper() local
981 if (!SrcSigned && !DstSigned) { in EmitIntegerTruncationCheckHelper()
991 Check = Builder.CreateIntCast(Dst, SrcTy, DstSigned, "anyext"); in EmitIntegerTruncationCheckHelper()
1027 bool DstSigned = DstType->isSignedIntegerOrEnumerationType(); in EmitIntegerTruncationCheck() local
1029 (!SrcSigned && DstSigned)) in EmitIntegerTruncationCheck()
1065 bool DstSigned = DstType->isSignedIntegerOrEnumerationType(); in EmitIntegerSignChangeCheckHelper() local
1067 (void)DstSigned; // Only used in assert() in EmitIntegerSignChangeCheckHelper()
1073 assert(((SrcBits != DstBits) || (SrcSigned != DstSigned)) && in EmitIntegerSignChangeCheckHelper()
1128 bool DstSigned = DstType->isSignedIntegerOrEnumerationType(); in EmitIntegerSignChangeCheck() local
1137 if (SrcSigned == DstSigned && SrcBits == DstBits) in EmitIntegerSignChangeCheck()
[all …]