Home
last modified time | relevance | path

Searched refs:hasValue (Results 1 – 25 of 182) sorted by relevance

12345678

/freebsd-12.1/contrib/llvm/tools/lldb/source/Utility/
H A DSelectHelper.cpp88 if (!vold.hasValue()) in updateMaxFd()
127 if (!max_fd.hasValue()) { in Select()
144 if (max_read_fd.hasValue()) { in Select()
148 if (max_write_fd.hasValue()) { in Select()
152 if (max_error_fd.hasValue()) { in Select()
167 if (max_read_fd.hasValue()) { in Select()
171 if (max_write_fd.hasValue()) { in Select()
175 if (max_error_fd.hasValue()) { in Select()
207 if (m_end_time.hasValue()) { in Select()
/freebsd-12.1/contrib/llvm/include/llvm/MC/
H A DMCSymbolWasm.h60 if (ImportModule.hasValue()) { in getImportModule()
68 if (ImportName.hasValue()) { in getImportName()
79 assert(GlobalType.hasValue()); in getGlobalType()
85 assert(EventType.hasValue()); in getEventType()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DCFLSteensAliasAnalysis.cpp167 if (RetInfo.hasValue()) in FunctionInfo()
176 if (ParamInfo.hasValue()) in FunctionInfo()
252 assert(Iter->second.hasValue()); in ensureCached()
259 if (FunInfo.hasValue()) in getAliasSummary()
295 assert(MaybeInfo.hasValue()); in query()
299 if (!MaybeA.hasValue()) in query()
303 if (!MaybeB.hasValue()) in query()
H A DScalarEvolutionAliasAnalysis.cpp46 APInt ASizeInt(BitWidth, LocA.Size.hasValue() in alias()
49 APInt BSizeInt(BitWidth, LocB.Size.hasValue() in alias()
/freebsd-12.1/contrib/llvm/include/llvm/ADT/
H A DOptional.h165 bool hasValue() const { return Storage.hasVal; } in hasValue() function
173 return hasValue() ? getValue() : std::forward<U>(value); in getValueOr()
182 return hasValue() ? std::move(getValue()) : std::forward<U>(value); in getValueOr()
196 return X.hasValue() == Y.hasValue();
208 return X.hasValue() < Y.hasValue();
251 return X.hasValue();
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DConstraintManager.h58 return Val.hasValue() && Val.getValue(); in isConstrainedTrue()
63 return Val.hasValue() && !Val.getValue(); in isConstrainedFalse()
68 return Val.hasValue(); in isConstrained()
74 return !Val.hasValue(); in isUnderconstrained()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DMemoryLocation.h120 if (!hasValue() || !Other.hasValue()) in unionWith()
126 bool hasValue() const { return Value != Unknown; } in hasValue() function
128 assert(hasValue() && "Getting value from an unknown LocationSize!"); in getValue()
139 bool isZero() const { return hasValue() && getValue() == 0; } in isZero()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Breakpoint/
H A DBreakpointIDList.cpp58 if (!bp_id.hasValue()) in AddBreakpointID()
82 if (!bp_id.hasValue()) in FindBreakpointID()
95 if (bp_id.hasValue()) in InsertStringArray()
170 if (bp_id.hasValue()) in FindAndReplaceIDRanges()
200 if (!start_bp.hasValue() || in FindAndReplaceIDRanges()
209 if (!end_bp.hasValue() || in FindAndReplaceIDRanges()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DAnalyzerOptions.cpp68 assert(K.hasValue() && "User mode is invalid."); in getExplorationStrategy()
80 assert(K.hasValue() && "IPA Mode is invalid."); in getIPAMode()
100 assert(K.hasValue() && "Invalid c++ member function inlining mode."); in mayInlineCXXMemberFunction()
/freebsd-12.1/contrib/llvm/lib/DebugInfo/CodeView/
H A DTypeRecordMapping.cpp85 assert(!TypeKind.hasValue() && "Already in a type mapping!"); in visitTypeBegin()
86 assert(!MemberKind.hasValue() && "Already in a member mapping!"); in visitTypeBegin()
101 assert(TypeKind.hasValue() && "Not in a type mapping!"); in visitTypeEnd()
102 assert(!MemberKind.hasValue() && "Still in a member mapping!"); in visitTypeEnd()
111 assert(TypeKind.hasValue() && "Not in a type mapping!"); in visitMemberBegin()
112 assert(!MemberKind.hasValue() && "Already in a member mapping!"); in visitMemberBegin()
127 assert(TypeKind.hasValue() && "Not in a type mapping!"); in visitMemberEnd()
128 assert(MemberKind.hasValue() && "Not in a member mapping!"); in visitMemberEnd()
H A DSymbolSerializer.cpp28 assert(!CurrentSymbol.hasValue() && "Already in a symbol mapping!"); in visitSymbolBegin()
43 assert(CurrentSymbol.hasValue() && "Not in a symbol mapping!"); in visitSymbolEnd()
H A DContinuationRecordBuilder.cpp52 assert(!Kind.hasValue()); in begin()
82 assert(Kind.hasValue()); in writeMemberType()
169 if (RefersTo.hasValue()) { in createSegmentRecord()
H A DCodeViewRecordIO.cpp52 if (ThisMin.hasValue()) in maxFieldLength()
53 Min = (Min.hasValue()) ? std::min(*Min, *ThisMin) : *ThisMin; in maxFieldLength()
55 assert(Min.hasValue() && "Every field must have a maximum length!"); in maxFieldLength()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DFormatStringParsing.h72 bool hasValue() const { return Start != nullptr; } in hasValue() function
74 assert(hasValue()); in getValue()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/ASTMatchers/Dynamic/
H A DVariantValue.h179 return Value->getTypedMatcher(TypedMatcherOps<T>()).hasValue(); in hasTypedMatcher()
270 explicit operator bool() const { return hasValue(); }
271 bool hasValue() const { return Type != VT_Nothing; } in hasValue() function
/freebsd-12.1/contrib/llvm/lib/DebugInfo/PDB/Native/
H A DDbiStreamBuilder.cpp79 if (!NewFpoData.hasValue()) in addNewFpoData()
293 if (NewFpoData.hasValue()) { in finalizeMsfLayout()
314 if (!S.hasValue()) in finalizeMsfLayout()
433 if (Stream.hasValue()) in commit()
440 if (!Stream.hasValue()) in commit()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/
H A DMacroInfo.cpp186 !isPublic.hasValue() || isPublic.getValue()); in getDefinition()
194 if (!isPublic.hasValue()) in getDefinition()
199 !isPublic.hasValue() || isPublic.getValue()); in getDefinition()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DLoopRotation.cpp49 MSSAU.hasValue() ? MSSAU.getPointer() : nullptr, in run()
106 MSSAU.hasValue() ? MSSAU.getPointer() : nullptr, SQ, in runOnLoop()
H A DLoopUnrollAndJamPass.cpp369 if (NewInnerEpilogueLoopID.hasValue()) in tryToUnrollAndJamLoop()
397 if (NewOuterEpilogueLoopID.hasValue()) in tryToUnrollAndJamLoop()
404 if (NewInnerLoopID.hasValue()) in tryToUnrollAndJamLoop()
413 if (NewOuterLoopID.hasValue()) { in tryToUnrollAndJamLoop()
H A DLoopUnrollPass.cpp234 if (UserThreshold.hasValue()) { in gatherUnrollingPreferences()
238 if (UserCount.hasValue()) in gatherUnrollingPreferences()
240 if (UserAllowPartial.hasValue()) in gatherUnrollingPreferences()
242 if (UserRuntime.hasValue()) in gatherUnrollingPreferences()
244 if (UserUpperBound.hasValue()) in gatherUnrollingPreferences()
246 if (UserAllowPeeling.hasValue()) in gatherUnrollingPreferences()
1094 if (RemainderLoopID.hasValue()) in tryToUnrollLoop()
1102 if (NewLoopID.hasValue()) { in tryToUnrollLoop()
H A DInductiveRangeCheckElimination.cpp1388 if (!MaybeSR.hasValue()) { in run()
1406 Increasing ? SR.LowLimit.hasValue() : SR.HighLimit.hasValue(); in run()
1408 Increasing ? SR.HighLimit.hasValue() : SR.LowLimit.hasValue(); in run()
1680 if (!R1.hasValue()) in IntersectSignedRange()
1709 if (!R1.hasValue()) in IntersectUnsignedRange()
1807 if (!MaybeLoopStructure.hasValue()) { in run()
1831 if (Result.hasValue()) { in run()
1834 if (MaybeSafeIterRange.hasValue()) { in run()
1844 if (!SafeIterRange.hasValue()) in run()
/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DBinaryStreamRef.h53 if (Length.hasValue()) in getLength()
72 if (Result.Length.hasValue()) in drop_front()
92 if (!Result.Length.hasValue()) in drop_back()
/freebsd-12.1/contrib/llvm/lib/MC/
H A DMCSchedule.cpp102 if (Throughput.hasValue()) in getReciprocalThroughput()
146 if (Throughput.hasValue()) in getReciprocalThroughput()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Target/
H A DUnixSignals.cpp306 if (should_suppress.hasValue() && in GetFilteredSignals()
310 if (should_stop.hasValue() && signal_stop != should_stop.getValue()) in GetFilteredSignals()
313 if (should_notify.hasValue() && signal_notify != should_notify.getValue()) in GetFilteredSignals()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DFunction.h271 bool hasValue() const { return PCT != PCT_Invalid; } in hasValue() function
275 explicit operator bool() { return hasValue(); }
276 bool operator!() const { return !hasValue(); }
308 bool hasProfileData() const { return getEntryCount().hasValue(); } in hasProfileData()

12345678