Home
last modified time | relevance | path

Searched refs:hasOverflow (Results 1 – 5 of 5) 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 …]
/external/llvm-project/clang/lib/CodeGen/
DCGExprCXX.cpp817 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()
[all …]
/external/llvm-project/clang-tools-extra/clangd/index/
DSymbolLocation.h40 bool hasOverflow() const { in hasOverflow() function
/external/llvm-project/clang-tools-extra/clangd/unittests/
DIndexTests.cpp51 EXPECT_FALSE(Pos.hasOverflow()); in TEST()
54 EXPECT_TRUE(Pos.hasOverflow()); in TEST()
59 EXPECT_TRUE(Pos.hasOverflow()); in TEST()
/external/llvm-project/clang-tools-extra/clangd/
DXRefs.cpp117 if (Loc.Start.hasOverflow() || Loc.End.hasOverflow()) in logIfOverflow()