Home
last modified time | relevance | path

Searched refs:isEmpty (Results 1 – 25 of 222) sorted by relevance

123456789

/llvm-project-15.0.7/clang/include/clang/Basic/
H A DThunk.h57 bool isEmpty() const { in isEmpty() function
69 bool isEmpty() const { return !NonVirtual && Virtual.isEmpty(); } in isEmpty() function
124 bool isEmpty() const { in isEmpty() function
136 bool isEmpty() const { return !NonVirtual && Virtual.isEmpty(); } in isEmpty() function
181 bool isEmpty() const { in isEmpty() function
182 return This.isEmpty() && Return.isEmpty() && Method == nullptr; in isEmpty()
/llvm-project-15.0.7/mlir/unittests/Analysis/Presburger/
H A DSimplexTest.cpp29 ASSERT_FALSE(simplex.isEmpty()); in TEST()
34 ASSERT_TRUE(simplex.isEmpty()); in TEST()
39 ASSERT_TRUE(simplex.isEmpty()); in TEST()
42 ASSERT_TRUE(simplex.isEmpty()); in TEST()
45 ASSERT_FALSE(simplex.isEmpty()); in TEST()
53 ASSERT_FALSE(simplex.isEmpty()); in TEST()
55 EXPECT_TRUE(simplex.isEmpty()); in TEST()
60 ASSERT_FALSE(simplex.isEmpty()); in expectInequalityMakesSetEmpty()
241 ASSERT_FALSE(simplex.isEmpty()); in TEST()
249 ASSERT_FALSE(simplex.isEmpty()); in TEST()
[all …]
/llvm-project-15.0.7/llvm/unittests/ADT/
H A DImmutableListTest.cpp55 EXPECT_TRUE(L.isEmpty()); in TEST_F()
56 EXPECT_FALSE(L2.isEmpty()); in TEST_F()
71 EXPECT_TRUE(L.isEmpty()); in TEST_F()
72 EXPECT_FALSE(L3.isEmpty()); in TEST_F()
118 EXPECT_FALSE(L2.isEmpty()); in TEST_F()
134 EXPECT_TRUE(L.isEmpty()); in TEST_F()
135 EXPECT_FALSE(L2.isEmpty()); in TEST_F()
136 EXPECT_FALSE(L3.isEmpty()); in TEST_F()
137 EXPECT_FALSE(L4.isEmpty()); in TEST_F()
206 EXPECT_FALSE(L2.isEmpty()); in TEST_F()
[all …]
H A DImmutableSetTest.cpp41 EXPECT_TRUE(f.getEmptySet().isEmpty()); in TEST_F()
55 EXPECT_TRUE(S.isEmpty()); in TEST_F()
56 EXPECT_FALSE(S2.isEmpty()); in TEST_F()
65 EXPECT_TRUE(S.isEmpty()); in TEST_F()
66 EXPECT_FALSE(S3.isEmpty()); in TEST_F()
86 EXPECT_TRUE(S.isEmpty()); in TEST_F()
87 EXPECT_FALSE(S2.isEmpty()); in TEST_F()
88 EXPECT_FALSE(S3.isEmpty()); in TEST_F()
89 EXPECT_FALSE(S4.isEmpty()); in TEST_F()
H A DImmutableMapTest.cpp21 EXPECT_TRUE(f.getEmptyMap().isEmpty()); in TEST()
35 EXPECT_TRUE(S.isEmpty()); in TEST()
36 EXPECT_FALSE(S2.isEmpty()); in TEST()
55 EXPECT_TRUE(int_int_map::getEmptyMap(&f).isEmpty()); in TEST()
70 EXPECT_TRUE(S.isEmpty()); in TEST()
71 EXPECT_FALSE(S2.isEmpty()); in TEST()
H A DSCCIteratorTest.cpp60 EXPECT_FALSE(NodesInThisSCC.isEmpty()); in TEST()
82 EXPECT_TRUE(G.NodesReachableFrom(j).Meet(NodesInThisSCC).isEmpty()); in TEST()
94 EXPECT_TRUE(NodesInSomeSCC.Meet(NodesInThisSCC).isEmpty()); in TEST()
/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DMCInstrItineraries.h126 bool isEmpty() const { return Itineraries == nullptr; } in isEmpty() function
152 if (isEmpty()) in getStageLatency()
168 if (isEmpty()) in getOperandCycle()
207 if (isEmpty()) in getOperandLatency()
229 if (isEmpty()) in getNumMicroOps()
/llvm-project-15.0.7/clang/include/clang/Frontend/
H A DFrontendAction.h131 assert(!CurrentInput.isEmpty() && "No current file!"); in isCurrentFileAST()
140 assert(!CurrentInput.isEmpty() && "No current file!"); in getCurrentFile()
145 assert(!CurrentInput.isEmpty() && "No current file!"); in getCurrentFileOrBufferName()
152 assert(!CurrentInput.isEmpty() && "No current file!"); in getCurrentFileKind()
/llvm-project-15.0.7/llvm/include/llvm/FuzzMutate/
H A DRandom.h42 bool isEmpty() const { return TotalWeight == 0; } in isEmpty() function
45 assert(!isEmpty() && "Nothing selected"); in getSelection()
49 explicit operator bool() const { return !isEmpty();}
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DImmutableSet.h419 bool isEmpty(TreeTy* T) const { return !T; }
491 assert(!isEmpty(L) && "Left tree cannot be empty to have a height >= 2");
499 assert(!isEmpty(LR) && "LR cannot be empty because it has a height >= 1");
531 if (isEmpty(T))
551 if (isEmpty(T))
570 if (isEmpty(L))
572 if (isEmpty(R))
580 assert(!isEmpty(T));
581 if (isEmpty(getLeft(T))) {
1047 bool isEmpty() const { return !Root; }
[all …]
H A DTwine.h197 bool isEmpty() const { in isEmpty() function
203 return isNull() || isEmpty(); in isNullary()
516 if (isEmpty()) in concat()
518 if (Suffix.isEmpty()) in concat()
/llvm-project-15.0.7/llvm/unittests/FuzzMutate/
H A DReservoirSamplerTest.cpp18 ASSERT_FALSE(Sampler.isEmpty()); in TEST()
25 ASSERT_TRUE(Sampler.isEmpty()); in TEST()
/llvm-project-15.0.7/flang/include/flang/Frontend/
H A DFrontendAction.h75 assert(!currentInput.isEmpty() && "No current file!"); in getCurrentFile()
80 assert(!currentInput.isEmpty() && "No current file!"); in getCurrentFileOrBufferName()
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/
H A DFusionOnTensors.cpp198 bool TileLoopNest::isEmpty() { return tileLoopOps.empty(); } in isEmpty() function in TileLoopNest
202 if (isEmpty() || tiledRootAndFusedOpsLoops.count(rootOp) == 0) in isValid()
305 if (!isEmpty()) in tileRootOp()
338 if (isEmpty()) in fuseProducer()
404 assert(!isEmpty() && "expect tile loop nest to be non-empty"); in getRootOpReplacementResults()
481 if (tileLoopNest.isEmpty()) in tileConsumerAndFuseProducers()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DRangeConstraintManager.cpp347 assert(!isEmpty()); in getMinValue()
352 assert(!isEmpty()); in getMaxValue()
357 assert(!isEmpty()); in isUnsigned()
362 assert(!isEmpty()); in getBitWidth()
367 assert(!isEmpty()); in getAPSIntType()
372 if (isEmpty() || !pin(Point)) in containsImpl()
596 if (LHS.isEmpty() || RHS.isEmpty() || LHS.getMaxValue() < RHS.getMinValue() || in intersect()
611 if (What.isEmpty()) in negate()
1379 if (LHS.isEmpty() || RHS.isEmpty()) { in VisitBinaryOperator()
3150 if (New.isEmpty()) in assumeSymWithinInclusiveRange()
[all …]
H A DLoopUnrolling.cpp77 if (!LS.isEmpty() && LS.getHead().getLoopStmt() == LoopStmt) in processLoopEnd()
309 if (!LS.isEmpty() && LoopStmt == LS.getHead().getLoopStmt() && in updateLoopStack()
325 unsigned outerStep = (LS.isEmpty() ? 1 : LS.getHead().getMaxStep()); in updateLoopStack()
339 if (LS.isEmpty() || !LS.getHead().isUnrolled()) in isUnrolledState()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DScoreboardHazardRecognizer.cpp39 if (ItinData && !ItinData->isEmpty()) { in ScoreboardHazardRecognizer()
113 if (!ItinData || ItinData->isEmpty()) in getHazardType()
172 if (!ItinData || ItinData->isEmpty()) in EmitInstruction()
/llvm-project-15.0.7/clang/lib/AST/
H A DVTableBuilder.cpp428 if (!Offset.isEmpty()) { in dump()
1141 if (ThisAdjustment.isEmpty()) in ComputeThisAdjustments()
1189 if (!Offset.isEmpty()) { in ComputeReturnAdjustment()
1271 if (Offset.isEmpty()) in ComputeThisAdjustment()
1962 if (!Thunk.isEmpty()) { in dumpLayout()
2010 if (!Thunk.isEmpty()) { in dumpLayout()
2517 if (!TI.isEmpty()) { in AddMethod()
3127 if (!T.isEmpty()) { in dumpMicrosoftThunkAdjustment()
3181 if (!Thunk.isEmpty()) in dumpLayout()
3197 if (!Thunk.isEmpty()) { in dumpLayout()
[all …]
/llvm-project-15.0.7/llvm/lib/BinaryFormat/
H A DMsgPackDocument.cpp42 assert(!Key.isEmpty()); in operator []()
44 if (N.isEmpty()) { in operator []()
202 if (!DestNode->isEmpty()) { in readFromBlob()
206 DocNode MapKey = !Stack.empty() && !Stack.back().MapKey.isEmpty() in readFromBlob()
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/
H A Dlocal_cache.h53 DCHECK(isEmpty()); in init()
100 bool isEmpty() const { in isEmpty() function
117 DCHECK(isEmpty()); in drain()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DMemoryOpRemark.cpp312 if (!Var.isEmpty()) in visitVariable()
326 if (!Var.isEmpty()) { in visitVariable()
346 if (!Var.isEmpty()) in visitVariable()
370 assert(!VI.isEmpty() && "No extra content to display."); in visitPtr()
/llvm-project-15.0.7/clang/lib/Basic/
H A DProfileList.cpp35 bool isEmpty() const { return Sections.empty(); } in isEmpty() function in clang::ProfileSpecialCaseList
69 Empty(SCL->isEmpty()), in ProfileList()
/llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/
H A DMsgPackDocument.h78 bool isEmpty() const { return !KindAndDoc || getKind() == Type::Empty; } in isEmpty() function
153 if (Rhs.isEmpty())
156 if (Lhs.isEmpty())
261 assert(N.isEmpty() || N.getDocument() == getDocument()); in push_back()
/llvm-project-15.0.7/clang/test/Analysis/inlining/
H A Dcontainers.cpp18 clang_analyzer_eval(set.isEmpty()); in test()
107 bool isEmpty() { in isEmpty() function in MySet
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObject.h186 bool isEmpty() const { return Chain.isEmpty(); } in isEmpty() function

123456789