Lines Matching refs:hasOverflow
672 llvm::Value *hasOverflow = nullptr; in EmitCXXNewAllocSize() local
684 hasOverflow = CGF.Builder.CreateICmpUGE(numElements, thresholdV); in EmitCXXNewAllocSize()
698 hasOverflow = CGF.Builder.CreateICmpSLT(numElements, in EmitCXXNewAllocSize()
710 if (!hasOverflow) { in EmitCXXNewAllocSize()
711 hasOverflow = CGF.Builder.CreateICmpULT(numElements, in EmitCXXNewAllocSize()
717 hasOverflow = CGF.Builder.CreateOr(hasOverflow, in EmitCXXNewAllocSize()
742 if (hasOverflow) in EmitCXXNewAllocSize()
743 hasOverflow = CGF.Builder.CreateOr(hasOverflow, overflowed); in EmitCXXNewAllocSize()
745 hasOverflow = overflowed; in EmitCXXNewAllocSize()
781 if (hasOverflow) in EmitCXXNewAllocSize()
782 hasOverflow = CGF.Builder.CreateOr(hasOverflow, overflowed); in EmitCXXNewAllocSize()
784 hasOverflow = overflowed; in EmitCXXNewAllocSize()
792 if (hasOverflow) in EmitCXXNewAllocSize()
793 size = CGF.Builder.CreateSelect(hasOverflow, in EmitCXXNewAllocSize()