Home
last modified time | relevance | path

Searched refs:has_value (Results 1 – 25 of 185) sorted by relevance

12345678

/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DCustomizableOptional.h82 constexpr explicit operator bool() const { return has_value(); }
83 constexpr bool has_value() const { return Storage.has_value(); } in has_value() function
90 return has_value() ? operator*() : std::forward<U>(alt); in value_or()
98 return has_value() ? std::move(operator*()) : std::forward<U>(alt); in value_or()
123 return X.has_value() == Y.has_value();
137 return X.has_value() < Y.has_value();
185 return X.has_value();
H A DDirectoryEntry.h140 bool has_value() const { return MaybeRef.hasOptionalValue(); }
143 assert(has_value());
147 assert(has_value());
151 assert(has_value());
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DELFYAML.h338 return {{"Entries", Entries.has_value()}}; in getEntries()
352 return {{"Entries", Entries.has_value()}}; in getEntries()
370 return {{"Entries", Entries.has_value()}}; in getEntries()
401 return {{"Notes", Notes.has_value()}}; in getEntries()
412 return {{"Bucket", Bucket.has_value()}, {"Chain", Chain.has_value()}}; in getEntries()
454 return {{"Header", Header.has_value()}, in getEntries()
497 return {{"Symbols", Symbols.has_value()}}; in getEntries()
514 return {{"Options", Options.has_value()}}; in getEntries()
528 return {{"Libraries", Libs.has_value()}}; in getEntries()
548 return {{"Entries", Entries.has_value()}}; in getEntries()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DHardwareLoops.h54 return ForcePhi.has_value() && ForcePhi.value(); in getForcePhi()
57 return ForceNested.has_value() && ForceNested.value(); in getForceNested()
60 return ForceGuard.has_value() && ForceGuard.value(); in getForceGuard()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCSymbolWasm.h89 bool hasImportModule() const { return ImportModule.has_value(); } in hasImportModule()
101 bool hasImportName() const { return ImportName.has_value(); } in hasImportName()
109 bool hasExportName() const { return ExportName.has_value(); } in hasExportName()
137 bool hasTableType() const { return TableType.has_value(); } in hasTableType()
H A DMCSectionXCOFF.h120 bool isCsect() const { return CsectProp.has_value(); } in isCsect()
121 bool isDwarfSect() const { return DwarfSubtypeFlags.has_value(); } in isDwarfSect()
H A DMCDwarf.h308 trackMD5Usage(Checksum.has_value()); in setRootFile()
309 HasAnySource |= Source.has_value(); in setRootFile()
388 Header.trackMD5Usage(Checksum.has_value()); in setRootFile()
389 Header.HasAnySource |= Source.has_value(); in setRootFile()
/freebsd-14.2/contrib/llvm-project/libcxx/include/__expected/
H A Dexpected.h904 if (has_value())
913 if (has_value())
926 if (has_value()) {
939 if (has_value()) {
953 if (has_value()) {
967 if (has_value()) {
980 if (has_value()) {
993 if (has_value()) {
1007 if (has_value()) {
1021 if (has_value()) {
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/MCDisassembler/
H A DMCDisassembler.cpp91 if (StorageMappingClass.has_value() != in operator <()
92 SymInfo.StorageMappingClass.has_value()) in operator <()
93 return SymInfo.StorageMappingClass.has_value(); in operator <()
/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A Doptional375 if (__opt.has_value())
447 if (__opt.has_value())
453 if (has_value() == __opt.has_value()) {
454 if (has_value())
457 if (has_value())
735 if (this->has_value())
775 if (this->has_value() == __opt.has_value()) {
823 using __base::has_value;
826 if (!this->has_value())
832 if (!this->has_value())
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DMSVC.cpp553 if (!(WinSdkDir.has_value() || WinSysRoot.has_value()) && in getWindowsSDKLibraryPath()
554 WinSdkVersion.has_value()) in getWindowsSDKLibraryPath()
577 if (!(WinSdkDir.has_value() || WinSysRoot.has_value()) && in getUniversalCRTLibraryPath()
578 WinSdkVersion.has_value()) in getUniversalCRTLibraryPath()
710 if (!(WinSdkDir.has_value() || WinSysRoot.has_value()) && in AddClangSystemIncludeArgs()
711 WinSdkVersion.has_value()) in AddClangSystemIncludeArgs()
726 if (!(WinSdkDir.has_value() || WinSysRoot.has_value()) && in AddClangSystemIncludeArgs()
727 WinSdkVersion.has_value()) in AddClangSystemIncludeArgs()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DVectorBuilder.cpp65 NumInstParams + MaskPosOpt.has_value() + VLenPosOpt.has_value(); in createVectorInstruction()
/freebsd-14.2/contrib/llvm-project/lldb/source/Utility/
H A DSelectHelper.cpp141 if (max_read_fd.has_value()) { in Select()
145 if (max_write_fd.has_value()) { in Select()
149 if (max_error_fd.has_value()) { in Select()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/APINotes/
H A DTypes.h84 SwiftPrivateSpecified = Private.has_value(); in setSwiftPrivate()
241 SwiftImportAsNonGenericSpecified = Value.has_value(); in setSwiftImportAsNonGeneric()
250 SwiftObjCMembersSpecified = Value.has_value(); in setSwiftObjCMembers()
368 SwiftImportAsAccessorsSpecified = Value.has_value(); in setSwiftImportAsAccessors()
432 NoEscapeSpecified = Value.has_value(); in setNoEscape()
671 HasFlagEnum = Value.has_value(); in setFlagEnum()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DConstraintManager.h62 bool isConstrained() const { return Val.has_value(); } in isConstrained()
66 bool isUnderconstrained() const { return !Val.has_value(); } in isUnderconstrained()
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DSarif.cpp240 if (Location.Index.has_value()) in createPhysicalLocation()
302 if (A.Location.Index.has_value()) { in endRun()
307 if (A.Length.has_value()) in endRun()
313 if (A.Offset.has_value()) in endRun()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FixupInstTuning.cpp74 if (NewVal.has_value() && CurVal.has_value() && *NewVal != *CurVal) in CmpOptionals()
112 if (Res.has_value()) in processInstruction()
116 if (Res.has_value()) in processInstruction()
121 if (Res.has_value()) in processInstruction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DDXContainerEmitter.cpp177 if (!P.Flags.has_value()) in writeParts()
186 if (!P.Hash.has_value()) in writeParts()
198 if (!P.Info.has_value()) in writeParts()
251 if (P.Signature.has_value()) { in writeParts()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DObjCARCUtil.h38 .has_value(); in hasAttachedCallOpBundle()
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Core/
H A DRichManglingContext.h89 assert(parser.has_value()); in get()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDIEAttributeCloner.cpp152 !FuncAddressAdjustment.has_value(); in shouldSkipAttribute()
173 return !VarAddressAdjustment.has_value(); in shouldSkipAttribute()
178 !FuncAddressAdjustment.has_value(); in shouldSkipAttribute()
574 VarAddressAdjustment.has_value() || in cloneBlockAttr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVStripConvergentIntrinsics.cpp60 if (!OB.has_value()) in runOnFunction()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/
H A DThreadDecoder.cpp41 if (!m_decoded_thread.has_value()) { in Decode()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Remarks/
H A DRemarkLinker.h67 return KeepAllRemarks ? true : R.Loc.has_value(); in shouldKeepRemark()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DTrainingLogger.cpp42 if (AdviceSpec.has_value()) { in writeHeader()

12345678