/// no dSYM file is being used, this file index will be set to a
/// valid value that can be used in DIERef objects which will contain
/// an index that identifies the .DWO or .o file.
- std::optional<uint64_t> m_file_index = std::nullopt;
+ std::optional<uint64_t> m_file_index;
};
#endif // LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_SYMBOLFILEDWARF_H
LazyValueInfo *LVI = nullptr;
AAResults *AA = nullptr;
std::unique_ptr<DomTreeUpdater> DTU;
- std::optional<BlockFrequencyInfo *> BFI = std::nullopt;
- std::optional<BranchProbabilityInfo *> BPI = std::nullopt;
+ std::optional<BlockFrequencyInfo *> BFI;
+ std::optional<BranchProbabilityInfo *> BPI;
bool ChangedSinceLastAnalysisUpdate = false;
bool HasGuards = false;
#ifndef LLVM_ENABLE_ABI_BREAKING_CHECKS
bool SetKillLocation = false;
if (IsSplit) {
- std::optional<DIExpression::FragmentInfo> BaseFragment = std::nullopt;
+ std::optional<DIExpression::FragmentInfo> BaseFragment;
{
auto R = BaseFragments.find(getAggregateVariable(DbgAssign));
if (R == BaseFragments.end())
ValueBoundsConstraintSet &cstr;
Value value;
- std::optional<int64_t> dim = std::nullopt;
+ std::optional<int64_t> dim;
};
public:
if (type.isa<LLVMPointerType>())
return isPointerTypeAllowed;
- std::optional<unsigned> bitWidth = std::nullopt;
+ std::optional<unsigned> bitWidth;
if (auto floatType = type.dyn_cast<FloatType>()) {
if (!isCompatibleFloatingPointType(type))
return false;
// Check if computed bound equals the corresponding iter_arg.
Value singleValue = nullptr;
- std::optional<int64_t> singleDim = std::nullopt;
+ std::optional<int64_t> singleDim;
if (auto dimExpr = bound.getResult(0).dyn_cast<AffineDimExpr>()) {
int64_t idx = dimExpr.getPosition();
singleValue = boundOperands[idx].first;
for (Operation *ancestor : potentialAncestors) {
Operation *definingOp;
- std::optional<unsigned> resultNo = std::nullopt;
+ std::optional<unsigned> resultNo;
unsigned argumentNo, blockNo, regionNo;
if (auto opResult = payloadValue.dyn_cast<OpResult>()) {
definingOp = opResult.getOwner();
});
};
- std::optional<unsigned> firstConsumedOperand = std::nullopt;
+ std::optional<unsigned> firstConsumedOperand;
for (OpOperand &operand : op->getOpOperands()) {
auto range = effectsOn(operand.get());
if (range.empty()) {