Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCGExprCXX.cpp672 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()
[all …]