| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | CustomizableOptional.h | 82 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 D | DirectoryEntry.h | 140 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 D | ELFYAML.h | 338 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 D | HardwareLoops.h | 54 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 D | MCSymbolWasm.h | 89 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 D | MCSectionXCOFF.h | 120 bool isCsect() const { return CsectProp.has_value(); } in isCsect() 121 bool isDwarfSect() const { return DwarfSubtypeFlags.has_value(); } in isDwarfSect()
|
| H A D | MCDwarf.h | 308 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 D | expected.h | 904 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 D | MCDisassembler.cpp | 91 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 D | optional | 375 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 D | MSVC.cpp | 553 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 D | VectorBuilder.cpp | 65 NumInstParams + MaskPosOpt.has_value() + VLenPosOpt.has_value(); in createVectorInstruction()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Utility/ |
| H A D | SelectHelper.cpp | 141 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 D | Types.h | 84 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 D | ConstraintManager.h | 62 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 D | Sarif.cpp | 240 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 D | X86FixupInstTuning.cpp | 74 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 D | DXContainerEmitter.cpp | 177 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 D | ObjCARCUtil.h | 38 .has_value(); in hasAttachedCallOpBundle()
|
| /freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Core/ |
| H A D | RichManglingContext.h | 89 assert(parser.has_value()); in get()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/ |
| H A D | DIEAttributeCloner.cpp | 152 !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 D | SPIRVStripConvergentIntrinsics.cpp | 60 if (!OB.has_value()) in runOnFunction()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/ |
| H A D | ThreadDecoder.cpp | 41 if (!m_decoded_thread.has_value()) { in Decode()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Remarks/ |
| H A D | RemarkLinker.h | 67 return KeepAllRemarks ? true : R.Loc.has_value(); in shouldKeepRemark()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | TrainingLogger.cpp | 42 if (AdviceSpec.has_value()) { in writeHeader()
|