Searched refs:hasOverflow (Results 1 – 5 of 5) sorted by relevance
/external/clang/lib/CodeGen/ |
D | CGExprCXX.cpp | 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() [all …]
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGExprCXX.cpp | 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() [all …]
|
/external/llvm-project/clang-tools-extra/clangd/index/ |
D | SymbolLocation.h | 40 bool hasOverflow() const { in hasOverflow() function
|
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | IndexTests.cpp | 51 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/ |
D | XRefs.cpp | 117 if (Loc.Start.hasOverflow() || Loc.End.hasOverflow()) in logIfOverflow()
|