Home
last modified time | relevance | path

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

/external/llvm-project/compiler-rt/lib/ubsan/
Dubsan_handlers.cpp563 bool SrcSigned = SrcTy.isSignedIntegerTy(); in handleImplicitConversion() local
571 if (!SrcSigned && !DstSigned) { in handleImplicitConversion()
603 << (SrcSigned ? "" : "un") << DstTy << Value(DstTy, Dst) in handleImplicitConversion()
/external/llvm-project/clang/lib/CodeGen/
DCGExprScalar.cpp974 bool SrcSigned = SrcType->isSignedIntegerOrEnumerationType(); in EmitIntegerTruncationCheckHelper() local
981 if (!SrcSigned && !DstSigned) { in EmitIntegerTruncationCheckHelper()
1026 bool SrcSigned = SrcType->isSignedIntegerOrEnumerationType(); in EmitIntegerTruncationCheck() local
1029 (!SrcSigned && DstSigned)) in EmitIntegerTruncationCheck()
1064 bool SrcSigned = SrcType->isSignedIntegerOrEnumerationType(); in EmitIntegerSignChangeCheckHelper() local
1066 (void)SrcSigned; // Only used in assert() in EmitIntegerSignChangeCheckHelper()
1073 assert(((SrcBits != DstBits) || (SrcSigned != DstSigned)) && in EmitIntegerSignChangeCheckHelper()
1127 bool SrcSigned = SrcType->isSignedIntegerOrEnumerationType(); in EmitIntegerSignChangeCheck() local
1137 if (SrcSigned == DstSigned && SrcBits == DstBits) in EmitIntegerSignChangeCheck()
1141 if (!SrcSigned && !DstSigned) in EmitIntegerSignChangeCheck()
[all …]