Home
last modified time | relevance | path

Searched refs:getValueOr (Results 1 – 25 of 166) sorted by relevance

1234567

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFFormValue.h188 return toString(V).getValueOr(Default); in toString()
210 return toUnsigned(V).getValueOr(Default); in toUnsigned()
232 return toReference(V).getValueOr(Default); in toReference()
253 return toSigned(V).getValueOr(Default); in toSigned()
281 return toAddress(V).getValueOr(Default); in toAddress()
303 return toSectionOffset(V).getValueOr(Default); in toSectionOffset()
/external/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
DDWARFFormValue.h193 return toString(V).getValueOr(Default); in toString()
215 return toUnsigned(V).getValueOr(Default); in toUnsigned()
237 return toReference(V).getValueOr(Default); in toReference()
258 return toSigned(V).getValueOr(Default); in toSigned()
286 return toAddress(V).getValueOr(Default); in toAddress()
308 return toSectionOffset(V).getValueOr(Default); in toSectionOffset()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DWarnMissedTransforms.cpp55 if (VectorizeWidth.getValueOr(0) != 1) in warnAboutLeftoverTransformations()
63 else if (InterleaveCount.getValueOr(0) != 1) in warnAboutLeftoverTransformations()
/external/llvm-project/lldb/source/Utility/
DProcessInfo.cpp148 resolver.GetUserName(GetUserID()).getValueOr("")); in Dump()
152 resolver.GetGroupName(GetGroupID()).getValueOr("")); in Dump()
156 resolver.GetUserName(GetEffectiveUserID()).getValueOr("")); in Dump()
160 resolver.GetGroupName(GetEffectiveGroupID()).getValueOr("")); in Dump()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Testing/Support/
DAnnotations.cpp36 Points[Name.getValueOr("")].push_back(Code.size()); in Annotations()
41 OpenRanges.emplace_back(Name.getValueOr(""), Code.size()); in Annotations()
/external/llvm-project/llvm/lib/Testing/Support/
DAnnotations.cpp36 Points[Name.getValueOr("")].push_back(Code.size()); in Annotations()
41 OpenRanges.emplace_back(Name.getValueOr(""), Code.size()); in Annotations()
/external/llvm-project/clang-tools-extra/clangd/index/
DMemIndex.cpp74 Req.Limit.getValueOr(std::numeric_limits<uint32_t>::max()); in refs()
95 Req.Limit.getValueOr(std::numeric_limits<uint32_t>::max()); in relations()
DMerge.cpp97 Req.Limit.getValueOr(std::numeric_limits<uint32_t>::max()); in refs()
134 Req.Limit.getValueOr(std::numeric_limits<uint32_t>::max()); in relations()
/external/llvm/unittests/ADT/
DOptionalTest.cpp174 EXPECT_EQ(42, A.getValueOr(42)); in TEST_F()
177 EXPECT_EQ(5, A.getValueOr(42)); in TEST_F()
365 EXPECT_EQ(42, std::move(A).getValueOr(MoveOnly(42)).val); in TEST_F()
372 EXPECT_EQ(5, std::move(A).getValueOr(MoveOnly(42)).val); in TEST_F()
/external/llvm-project/lldb/source/Expression/
DMaterializer.cpp70 m_persistent_variable_sp->GetByteSize().getValueOr(0), 8, in MakeAllocation()
109 m_persistent_variable_sp->GetByteSize().getValueOr(0), in MakeAllocation()
238 m_persistent_variable_sp->GetByteSize().getValueOr(0)); in Dematerialize()
284 .getValueOr(0)); in Dematerialize()
293 m_persistent_variable_sp->GetByteSize().getValueOr(0), read_error); in Dematerialize()
375 m_persistent_variable_sp->GetByteSize().getValueOr(0), 0); in DumpToLog()
378 m_persistent_variable_sp->GetByteSize().getValueOr(0), err); in DumpToLog()
531 m_variable_sp->GetType()->GetByteSize(scope).getValueOr(0), in Materialize()
628 valobj_sp->GetByteSize().getValueOr(0), extract_error); in Dematerialize()
925 const size_t pvar_byte_size = ret->GetByteSize().getValueOr(0); in Dematerialize()
/external/llvm/include/llvm/ADT/
DOptional.h132 LLVM_CONSTEXPR T getValueOr(U &&value) const LLVM_LVALUE_FUNCTION { in getValueOr() function
141 T getValueOr(U &&value) && { in getValueOr() function
/external/llvm-project/llvm/unittests/ADT/
DOptionalTest.cpp199 EXPECT_EQ(42, A.getValueOr(42)); in TEST()
202 EXPECT_EQ(5, A.getValueOr(42)); in TEST()
399 EXPECT_EQ(42, std::move(A).getValueOr(MoveOnly(42)).val); in TEST()
406 EXPECT_EQ(5, std::move(A).getValueOr(MoveOnly(42)).val); in TEST()
/external/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
DDIERef.h32 : m_dwo_num(dwo_num.getValueOr(0)), m_dwo_num_valid(bool(dwo_num)), in DIERef()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineOptimizationRemarkEmitter.cpp57 if (OptDiag.getHotness().getValueOr(0) < in emit()
/external/llvm-project/llvm/lib/CodeGen/
DMachineOptimizationRemarkEmitter.cpp57 if (OptDiag.getHotness().getValueOr(0) < in emit()
/external/llvm-project/clang-tools-extra/clangd/unittests/support/
DFileCacheTests.cpp45 Value = Data.getValueOr("").str(); in get()
/external/tensorflow/tensorflow/compiler/mlir/lite/
Dtf_tfl_passes.cc53 quant_specs.default_ranges.first.getValueOr(0.0), in AddQuantizationPasses()
54 quant_specs.default_ranges.second.getValueOr(0.0), in AddQuantizationPasses()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DNativeFormatting.cpp137 size_t W = std::min(kMaxWidth, Width.getValueOr(0u)); in write_hex()
165 size_t Prec = Precision.getValueOr(getDefaultPrecision(Style)); in write_double()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DNativeFormatting.cpp138 size_t W = std::min(kMaxWidth, Width.getValueOr(0u)); in write_hex()
166 size_t Prec = Precision.getValueOr(getDefaultPrecision(Style)); in write_double()
/external/llvm-project/llvm/lib/Support/
DNativeFormatting.cpp136 size_t W = std::min(kMaxWidth, Width.getValueOr(0u)); in write_hex()
164 size_t Prec = Precision.getValueOr(getDefaultPrecision(Style)); in write_double()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DOptimizationRemarkEmitter.cpp79 if (OptDiag.getHotness().getValueOr(0) < in emit()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DWarnMissedTransforms.cpp64 else if (InterleaveCount.getValueOr(0) != 1) in warnAboutLeftoverTransformations()
DLoopDistribute.cpp778 if (Pred.getComplexity() > (IsForced.getValueOr(false) in processLoop()
784 if (!IsForced.getValueOr(false) && hasDisableAllTransformsHint(L)) in processLoop()
861 bool Forced = isForced().getValueOr(false); in fail()
993 if (LDL.isForced().getValueOr(EnableLoopDistribute)) in runImpl()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DOptional.h132 constexpr T getValueOr(U &&value) const LLVM_LVALUE_FUNCTION { in getValueOr() function
141 T getValueOr(U &&value) && { in getValueOr() function
/external/llvm-project/lld/wasm/
DSyntheticSections.cpp142 if (config->is64.getValueOr(false)) in writeBody()
239 if (config->is64.getValueOr(false)) in writeBody()
289 unsigned opcode_ptr_const = config->is64.getValueOr(false) in generateRelocationCode()
292 unsigned opcode_ptr_add = config->is64.getValueOr(false) in generateRelocationCode()

1234567