Home
last modified time | relevance | path

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

12345678910>>...13

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DOptional.h72 if (other.hasValue()) { in OptionalStorage()
117 if (hasValue()) {
126 if (hasValue()) {
137 if (hasValue()) {
151 if (hasValue()) {
217 if (hasValue()) {
226 if (hasValue()) {
288 constexpr bool hasValue() const { return Storage.hasValue(); } in hasValue() function
336 return X.hasValue() == Y.hasValue();
348 return X.hasValue() < Y.hasValue();
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCSymbolWasm.h85 bool hasImportModule() const { return ImportModule.hasValue(); } in hasImportModule()
87 if (ImportModule.hasValue()) in getImportModule()
97 bool hasImportName() const { return ImportName.hasValue(); } in hasImportName()
99 if (ImportName.hasValue()) in getImportName()
105 bool hasExportName() const { return ExportName.hasValue(); } in hasExportName()
128 assert(GlobalType.hasValue()); in getGlobalType()
133 bool hasTableType() const { return TableType.hasValue(); } in hasTableType()
147 assert(TagType.hasValue()); in getTagType()
H A DMCSectionXCOFF.h111 bool isCsect() const { return CsectProp.hasValue(); } in isCsect()
112 bool isDwarfSect() const { return DwarfSubtypeFlags.hasValue(); } in isDwarfSect()
/freebsd-13.1/contrib/llvm-project/lldb/source/Utility/
H A DSelectHelper.cpp87 if (!vold.hasValue()) in updateMaxFd()
126 if (!max_fd.hasValue()) { in Select()
141 if (max_read_fd.hasValue()) { in Select()
145 if (max_write_fd.hasValue()) { in Select()
149 if (max_error_fd.hasValue()) { in Select()
164 if (max_read_fd.hasValue()) { in Select()
168 if (max_write_fd.hasValue()) { in Select()
172 if (max_error_fd.hasValue()) { in Select()
198 if (m_end_time.hasValue()) { in Select()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/APINotes/
H A DTypes.h79 SwiftPrivateSpecified = Private.hasValue(); in setSwiftPrivate()
80 SwiftPrivate = Private.hasValue() ? *Private : 0; in setSwiftPrivate()
242 SwiftImportAsNonGenericSpecified = Value.hasValue(); in setSwiftImportAsNonGeneric()
251 SwiftObjCMembersSpecified = Value.hasValue(); in setSwiftObjCMembers()
370 SwiftImportAsAccessorsSpecified = Value.hasValue(); in setSwiftImportAsAccessors()
435 NoEscapeSpecified = Value.hasValue(); in setNoEscape()
436 NoEscape = Value.hasValue() ? *Value : false; in setNoEscape()
673 HasFlagEnum = Value.hasValue(); in setFlagEnum()
674 IsFlagEnum = Value.hasValue() ? *Value : false; in setFlagEnum()
683 if (!EnumExtensibility.hasValue())
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/
H A DFunctionInfo.h106 return OptLineTable.hasValue() || Inline.hasValue(); in hasRichInfo()
206 if (LHS.Inline.hasValue() != RHS.Inline.hasValue())
207 return RHS.Inline.hasValue();
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DELFYAML.h320 return {{"Entries", Entries.hasValue()}}; in getEntries()
334 return {{"Entries", Entries.hasValue()}}; in getEntries()
352 return {{"Entries", Entries.hasValue()}}; in getEntries()
383 return {{"Notes", Notes.hasValue()}}; in getEntries()
394 return {{"Bucket", Bucket.hasValue()}, {"Chain", Chain.hasValue()}}; in getEntries()
436 return {{"Header", Header.hasValue()}, in getEntries()
479 return {{"Symbols", Symbols.hasValue()}}; in getEntries()
496 return {{"Options", Options.hasValue()}}; in getEntries()
510 return {{"Libraries", Libs.hasValue()}}; in getEntries()
530 return {{"Entries", Entries.hasValue()}}; in getEntries()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/MCDisassembler/
H A DMCDisassembler.cpp88 if (StorageMappingClass.hasValue() != SymInfo.StorageMappingClass.hasValue()) in operator <()
89 return SymInfo.StorageMappingClass.hasValue(); in operator <()
91 if (StorageMappingClass.hasValue()) { in operator <()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DCFLSteensAliasAnalysis.cpp168 if (RetInfo.hasValue()) in FunctionInfo()
177 if (ParamInfo.hasValue()) in FunctionInfo()
253 assert(Iter->second.hasValue()); in ensureCached()
260 if (FunInfo.hasValue()) in getAliasSummary()
296 assert(MaybeInfo.hasValue()); in query()
300 if (!MaybeA.hasValue()) in query()
304 if (!MaybeB.hasValue()) in query()
H A DMemoryBuiltins.cpp244 return getAllocationData(V, AnyAlloc, TLI, LookThroughBitCast).hasValue(); in isAllocationFn()
266 return getAllocationData(V, MallocLike, TLI, LookThroughBitCast).hasValue(); in isMallocLikeFn()
272 .hasValue(); in isMallocLikeFn()
280 .hasValue(); in isAlignedAllocLikeFn()
286 .hasValue(); in isAlignedAllocLikeFn()
293 return getAllocationData(V, CallocLike, TLI, LookThroughBitCast).hasValue(); in isCallocLikeFn()
301 LookThroughBitCast).hasValue(); in isMallocOrCallocLikeFn()
308 return getAllocationData(V, AllocLike, TLI, LookThroughBitCast).hasValue(); in isAllocLikeFn()
321 return getAllocationDataForFunction(F, ReallocLike, TLI).hasValue(); in isReallocLikeFn()
328 return getAllocationData(V, OpNewLike, TLI, LookThroughBitCast).hasValue(); in isOpNewLikeFn()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DConstraintManager.h57 return Val.hasValue() && Val.getValue(); in isConstrainedTrue()
62 return Val.hasValue() && !Val.getValue(); in isConstrainedFalse()
67 return Val.hasValue(); in isConstrained()
73 return !Val.hasValue(); in isUnderconstrained()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Object/
H A DELFObjectFile.cpp172 if (Attr.hasValue()) in getARMFeatures()
176 if (Attr.hasValue()) { in getARMFeatures()
195 if (Attr.hasValue()) { in getARMFeatures()
210 if (Attr.hasValue()) { in getARMFeatures()
234 if (Attr.hasValue()) { in getARMFeatures()
253 if (Attr.hasValue()) { in getARMFeatures()
272 if (Attr.hasValue()) { in getARMFeatures()
308 if (Attr.hasValue()) { in getRISCVFeatures()
512 if (Attr.hasValue()) { in setARMSubArch()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DDirectoryEntry.h128 bool hasValue() const { return MaybeRef.hasOptionalValue(); }
131 assert(hasValue());
135 assert(hasValue());
140 assert(hasValue());
286 return hasValue() ? &getValue().getDirEntry() : nullptr;
/freebsd-13.1/contrib/llvm-project/lldb/source/Breakpoint/
H A DBreakpointIDList.cpp55 if (!bp_id.hasValue()) in AddBreakpointID()
79 if (!bp_id.hasValue()) in FindBreakpointID()
92 if (bp_id.hasValue()) in InsertStringArray()
166 if (bp_id.hasValue()) in FindAndReplaceIDRanges()
195 if (!start_bp.hasValue() || in FindAndReplaceIDRanges()
203 if (!end_bp.hasValue() || in FindAndReplaceIDRanges()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DObjCARCUtil.h43 .hasValue(); in hasAttachedCallOpBundle()
50 if (!B.hasValue()) in hasAttachedCallOpBundle()
/freebsd-13.1/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DAVR.cpp326 if (!FamilyName.hasValue()) { in AVRToolChain()
334 } else if (!AVRLibcRoot.hasValue()) { in AVRToolChain()
364 if (!AVRLibcRoot.hasValue()) in AddClangSystemIncludeArgs()
400 if (SectionAddressData.hasValue()) { in ConstructJob()
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DSymbolSerializer.cpp27 assert(!CurrentSymbol.hasValue() && "Already in a symbol mapping!"); in visitSymbolBegin()
42 assert(CurrentSymbol.hasValue() && "Not in a symbol mapping!"); in visitSymbolEnd()
H A DContinuationRecordBuilder.cpp52 assert(!Kind.hasValue()); in begin()
79 assert(Kind.hasValue()); in writeMemberType()
161 if (RefersTo.hasValue()) { in createSegmentRecord()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DAnalyzerOptions.cpp80 assert(K.hasValue() && "User mode is invalid."); in getExplorationStrategy()
92 assert(K.hasValue() && "IPA Mode is invalid."); in getIPAMode()
112 assert(K.hasValue() && "Invalid c++ member function inlining mode."); in mayInlineCXXMemberFunction()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DFormatStringParsing.h85 bool hasValue() const { return Start != nullptr; } in hasValue() function
87 assert(hasValue()); in getValue()
H A DAttrImpl.cpp164 if (ActiveAttr.hasValue()) in isDeclareTargetDeclaration()
172 if (ActiveAttr.hasValue()) in getDeviceType()
180 if (ActiveAttr.hasValue()) in getLocation()
/freebsd-13.1/contrib/llvm-project/lldb/source/API/
H A DSBMemoryRegionInfo.cpp122 return m_opaque_up->GetDirtyPageList().hasValue(); in HasDirtyMemoryPageList()
131 if (dirty_page_list.hasValue()) in GetNumDirtyPages()
144 if (dirty_page_list.hasValue() && idx < dirty_page_list.getValue().size()) in GetDirtyPageAddressAtIndex()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/ASTMatchers/Dynamic/
H A DVariantValue.h191 return Value->getTypedMatcher(MatcherOps(NK)).hasValue(); in hasTypedMatcher()
274 explicit operator bool() const { return hasValue(); }
275 bool hasValue() const { return Type != VT_Nothing; } in hasValue() function
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineFunctionSplitter.cpp85 if (!Count.hasValue()) in isColdBlock()
111 if (SectionPrefix.hasValue() && in runOnMachineFunction()
/freebsd-13.1/contrib/llvm-project/clang/utils/TableGen/
H A DRISCVVEmitter.cpp101 bool isScalar() const { return Scale.hasValue() && Scale.getValue() == 0; } in isScalar()
102 bool isVector() const { return Scale.hasValue() && Scale.getValue() != 0; } in isVector()
343 if (!Scale.hasValue()) in verifyType()
935 if (T.hasValue()) in createHeader()
942 if (T.hasValue()) { in createHeader()
952 if (T.hasValue()) in createHeader()
960 if (T.hasValue()) in createHeader()
968 if (T.hasValue()) in createHeader()
1152 if (!Types.hasValue()) in createRVVIntrinsics()
1188 if (!T.hasValue()) in computeTypes()

12345678910>>...13