reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/Analysis/AliasAnalysis.h
  728     const MemoryLocation &Loc = OptLoc.getValueOr(MemoryLocation());
lib/Analysis/MemoryBuiltins.cpp
  223   Result.SndParam = Args.second.getValueOr(-1);
lib/CodeGen/LiveDebugValues.cpp
  160       return Fragment.getValueOr(DefaultFragment);
lib/CodeGen/SelectionDAG/StatepointLowering.cpp
  942   SI.ID = SD.StatepointID.getValueOr(DefaultID);
  943   SI.NumPatchBytes = SD.NumPatchBytes.getValueOr(0);
lib/IR/Attributes.cpp
   66          NumElemsArg.getValueOr(AllocSizeNumElemsNotPresent);
lib/IR/DebugInfoMetadata.cpp
  509                      Source.getValueOr(nullptr)};
lib/IR/LLVMContextImpl.h
  604         Checksum ? Checksum->Value : nullptr, Source.getValueOr(nullptr));
lib/MC/MCDwarf.cpp
  371       LineStr->emitRef(MCOS, DwarfFile.Source.getValueOr(StringRef()));
  374           DwarfFile.Source.getValueOr(StringRef())); // Source and...
lib/ObjectYAML/MinidumpEmitter.cpp
  222       DataEnd.getValueOr(File.tell()) - Result.Location.RVA;
lib/Support/NativeFormatting.cpp
  137   size_t W = std::min(kMaxWidth, Width.getValueOr(0u));
  165   size_t Prec = Precision.getValueOr(getDefaultPrecision(Style));
lib/Support/VirtualFileSystem.cpp
  715   const auto ResolvedUser = User.getValueOr(0);
  716   const auto ResolvedGroup = Group.getValueOr(0);
  717   const auto ResolvedType = Type.getValueOr(sys::fs::file_type::regular_file);
  718   const auto ResolvedPerms = Perms.getValueOr(sys::fs::all_all);
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
 2391         prfop, PRFM.getValueOr(""), S, getContext()));
lib/Testing/Support/Annotations.cpp
   36       Points[Name.getValueOr("")].push_back(Code.size());
   41       OpenRanges.emplace_back(Name.getValueOr(""), Code.size());
lib/Transforms/Scalar/LoopDistribute.cpp
  777     if (Pred.getComplexity() > (IsForced.getValueOr(false)
  783     if (!IsForced.getValueOr(false) && hasDisableAllTransformsHint(L))
  862     bool Forced = isForced().getValueOr(false);
  995     if (LDL.isForced().getValueOr(EnableLoopDistribute))
lib/Transforms/Scalar/WarnMissedTransforms.cpp
   54     if (VectorizeWidth.getValueOr(0) != 1)
   62     else if (InterleaveCount.getValueOr(0) != 1)
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
 2166               I->getSecond().SecondaryGlobalRecord.getValueOr(nullptr)) {
tools/clang/lib/Sema/SemaOpenMP.cpp
 5406     return InitDependOnLC.getValueOr(CondDependOnLC.getValueOr(0));
 5406     return InitDependOnLC.getValueOr(CondDependOnLC.getValueOr(0));
 5959                            InitDependOnLC.getValueOr(
 5960                                CondDependOnLC.getValueOr(0))];
 6039                            InitDependOnLC.getValueOr(
 6040                                CondDependOnLC.getValueOr(0))];
tools/clang/lib/Sema/SemaTemplateDeduction.cpp
 4439   unsigned Depth = DependentDeductionDepth.getValueOr(0);
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
 2278                  ClassScopeSpecializationArgs.getValueOr(
tools/clang/tools/extra/clang-tidy/readability/IdentifierNamingCheck.cpp
  387       Name, Style.Case.getValueOr(IdentifierNamingCheck::CaseType::CT_AnyCase));
tools/clang/tools/extra/clangd/ClangdLSPServer.cpp
  400         Server.NegotiatedOffsetEncoding.getValueOr(OffsetEncoding::UTF16));
 1023           Defs.push_back(S.Definition.getValueOr(S.PreferredDeclaration));
tools/clang/tools/extra/clangd/ClangdServer.cpp
  549                                        WorkspaceRoot.getValueOr("")));
tools/clang/tools/extra/clangd/CodeComplete.cpp
  173     if (!Opts.BundleOverloads.getValueOr(false))
tools/clang/tools/extra/clangd/index/MemIndex.cpp
   74       Req.Limit.getValueOr(std::numeric_limits<uint32_t>::max());
   92       Req.Limit.getValueOr(std::numeric_limits<uint32_t>::max());
tools/clang/tools/extra/clangd/index/Merge.cpp
   96       Req.Limit.getValueOr(std::numeric_limits<uint32_t>::max());
  127       Req.Limit.getValueOr(std::numeric_limits<uint32_t>::max());
tools/clang/tools/extra/clangd/index/dex/Dex.cpp
  256       Req.Limit.getValueOr(std::numeric_limits<uint32_t>::max());
  271       Req.Limit.getValueOr(std::numeric_limits<uint32_t>::max());
tools/clang/tools/extra/clangd/unittests/HeadersTests.cpp
  102     return Path.getValueOr("");
tools/clang/tools/libclang/CXType.cpp
 1154   return MakeCXType(QT.getValueOr(QualType()), GetTU(CT));
tools/lld/COFF/PDB.cpp
  346     uint32_t pchSignature = file->pchSignature.getValueOr(0);
tools/lld/ELF/LinkerScript.cpp
 1086     dot = config->imageBase.getValueOr(0);
tools/lldb/source/Commands/CommandObjectFrame.cpp
  162           m_options.reg.getValue(), m_options.offset.getValueOr(0));
tools/lldb/source/Plugins/ABI/SysV-arc/ABISysV_arc.cpp
  155   return m_is_reg_file_reduced.getValueOr(false);
tools/lldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp
  341                      size.getValueOr(0)),
tools/lldb/source/Plugins/SymbolFile/DWARF/DIERef.h
   32       : m_dwo_num(dwo_num.getValueOr(0)), m_dwo_num_valid(bool(dwo_num)),
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
  491           attrs.byte_size.getValueOr(0) * 8);
 1343             unique_typename, die, unique_decl, attrs.byte_size.getValueOr(-1),
 1573   unique_ast_entry_up->m_byte_size = attrs.byte_size.getValueOr(0);
 2634         if (byte_size.getValueOr(0) == 0 && bit_offset < 0) {
 2701                     this_field_info.bit_offset += byte_size.getValueOr(0) * 8;
tools/lldb/source/Plugins/SymbolFile/NativePDB/UdtRecordCompleter.cpp
   67       std::make_pair(vtable_idx.getValueOr(0), std::move(base_spec)));
tools/lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
  702         m_ast, *builtin_type, encoding, bytes.getValueOr(0) * 8);
tools/llvm-objcopy/ELF/ELFConfig.cpp
  122         ELFConfig.NewSymbolVisibility.getValueOr((uint8_t)ELF::STV_DEFAULT));
tools/llvm-objcopy/ELF/ELFObjcopy.cpp
  748     getOutputElfType(Config.OutputArch.getValueOr(MachineInfo()));
  757       Config.ELF->NewSymbolVisibility.getValueOr((uint8_t)ELF::STV_DEFAULT);
  764       getOutputElfType(Config.OutputArch.getValueOr(MachineInfo()));
tools/llvm-pdbutil/BytesOutputStyle.cpp
   92     uint32_t Max = R.Max.getValueOr(R.Min);
  109     uint32_t Max = R.Max.getValueOr(File.getFileSize());
tools/llvm-pdbutil/llvm-pdbutil.cpp
  788   const auto &Info = YamlObj.PdbStream.getValueOr(DefaultInfoStream);
  798   const auto &Dbi = YamlObj.DbiStream.getValueOr(DefaultDbiStream);
  833   const auto &Tpi = YamlObj.TpiStream.getValueOr(DefaultTpiStream);
  841   const auto &Ipi = YamlObj.IpiStream.getValueOr(DefaultIpiStream);
tools/llvm-rc/ResourceFileWriter.cpp
  990   CtlStyle |= Ctl.Style.getValueOr(RCInt(0));
  991   uint32_t CtlExtStyle = Ctl.ExtStyle.getValueOr(0);
 1005     } Prefix{ulittle32_t(Ctl.HelpID.getValueOr(0)), ulittle32_t(CtlExtStyle),
 1061   uint32_t UsedStyle = ObjectData.Style.getValueOr(DefaultStyle);
 1073   uint32_t ExStyle = ObjectData.ExStyle.getValueOr(0);
 1264     RETURN_IF_ERROR(processString(Res->Bundle.Data[ID].getValueOr(StringRef()),
unittests/ADT/OptionalTest.cpp
  190   EXPECT_EQ(42, A.getValueOr(42));
  193   EXPECT_EQ(5, A.getValueOr(42));
unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
 1533   EXPECT_EQ(SpecDieName, StringOpt.getValueOr(nullptr));
 1552   EXPECT_EQ(AbsDieName, StringOpt.getValueOr(nullptr));