Lines Matching refs:hasOverflow
817 llvm::Value *hasOverflow = nullptr; in EmitCXXNewAllocSize() local
829 hasOverflow = CGF.Builder.CreateICmpUGE(numElements, thresholdV); in EmitCXXNewAllocSize()
843 hasOverflow = CGF.Builder.CreateICmpSLT(numElements, in EmitCXXNewAllocSize()
855 if (!hasOverflow) { in EmitCXXNewAllocSize()
856 hasOverflow = CGF.Builder.CreateICmpULT(numElements, in EmitCXXNewAllocSize()
862 hasOverflow = CGF.Builder.CreateOr(hasOverflow, in EmitCXXNewAllocSize()
887 if (hasOverflow) in EmitCXXNewAllocSize()
888 hasOverflow = CGF.Builder.CreateOr(hasOverflow, overflowed); in EmitCXXNewAllocSize()
890 hasOverflow = overflowed; in EmitCXXNewAllocSize()
926 if (hasOverflow) in EmitCXXNewAllocSize()
927 hasOverflow = CGF.Builder.CreateOr(hasOverflow, overflowed); in EmitCXXNewAllocSize()
929 hasOverflow = overflowed; in EmitCXXNewAllocSize()
937 if (hasOverflow) in EmitCXXNewAllocSize()
938 size = CGF.Builder.CreateSelect(hasOverflow, in EmitCXXNewAllocSize()