Home
last modified time | relevance | path

Searched refs:hasValue (Results 1 – 25 of 56) sorted by relevance

123

/NextBSD/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
HDConstraintManager.h42 return Val.hasValue() && Val.getValue(); in isConstrainedTrue()
47 return Val.hasValue() && !Val.getValue(); in isConstrainedFalse()
52 return Val.hasValue(); in isConstrained()
58 return !Val.hasValue(); in isUnderconstrained()
/NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
HDAnalyzerOptions.cpp145 if (!V.hasValue()) in getBooleanOption()
260 if (!AlwaysInlineSize.hasValue()) in getAlwaysInlineSize()
266 if (!MaxInlinableSize.hasValue()) { in getMaxInlinableSize()
287 if (!GraphTrimInterval.hasValue()) in getGraphTrimInterval()
293 if (!MaxTimesInlineLarge.hasValue()) in getMaxTimesInlineLarge()
299 if (!MaxNodesPerTopLevelFunction.hasValue()) { in getMaxNodesPerTopLevelFunction()
HDExprEngineC.cpp663 bool hasValue = false; in VisitGuardedExpr() local
681 hasValue = true; in VisitGuardedExpr()
688 if (!hasValue) in VisitGuardedExpr()
/NextBSD/contrib/llvm/lib/Analysis/
HDCFLAliasAnalysis.cpp216 assert(Iter->second.hasValue()); in ensureCached()
404 if (!MaybeInfo.hasValue()) in tryInterproceduralAnalysis()
419 if (!MaybeInfo.hasValue()) in tryInterproceduralAnalysis()
433 if (!MaybeInfo.hasValue()) in tryInterproceduralAnalysis()
441 if (MaybeRelation.hasValue()) { in tryInterproceduralAnalysis()
471 if (!MaybeRelation.hasValue()) in tryInterproceduralAnalysis()
950 assert(MaybeVal.hasValue()); in addInstructionToGraph()
1094 if (Attrs.hasValue()) in buildSetsFrom()
1120 if (!MaybeFnA.hasValue() && !MaybeFnB.hasValue()) { in query()
1127 if (MaybeFnA.hasValue()) { in query()
[all …]
HDStratifiedSets.h394 bool has(const T &Elem) const { return get(Elem).hasValue(); } in has()
397 if (get(Main).hasValue()) in add()
660 if (!MaybeVal.hasValue()) in indexOf()
/NextBSD/contrib/llvm/lib/DebugInfo/DWARF/
HDDWARFDebugInfoEntry.cpp166 if (Ref.hasValue()) { in dumpAttribute()
265 return Result.hasValue() ? Result.getValue() : FailValue; in getAttributeValueAsString()
274 return Result.hasValue() ? Result.getValue() : FailValue; in getAttributeValueAsAddress()
283 return Result.hasValue() ? Result.getValue() : FailValue; in getAttributeValueAsUnsignedConstant()
292 return Result.hasValue() ? Result.getValue() : FailValue; in getAttributeValueAsReference()
301 return Result.hasValue() ? Result.getValue() : FailValue; in getAttributeValueAsSectionOffset()
/NextBSD/contrib/llvm/tools/clang/lib/Analysis/
HDFormatStringParsing.h63 bool hasValue() const { return Start != nullptr; } in hasValue() function
65 assert(hasValue()); in getValue()
HDBodyFarm.cpp359 if (Val.hasValue()) in getBody()
456 if (Val.hasValue()) in getBody()
HDPrintfFormatString.cpp341 if (!FSR.hasValue()) in ParsePrintfString()
371 if (!FSR.hasValue()) in ParseFormatStringHasSArg()
HDUninitializedValues.cpp137 assert(idx.hasValue()); in getValue()
198 assert(idx.hasValue()); in operator []()
/NextBSD/contrib/llvm/include/llvm/ADT/
HDOptional.h125 bool hasValue() const { return hasVal; } in hasValue() function
133 return hasValue() ? getValue() : std::forward<U>(value); in getValueOr()
142 return hasValue() ? std::move(getValue()) : std::forward<U>(value); in getValueOr()
/NextBSD/contrib/llvm/tools/clang/include/clang/ASTMatchers/Dynamic/
HDVariantValue.h178 return Value->getTypedMatcher(TypedMatcherOps<T>()).hasValue(); in hasTypedMatcher()
261 explicit operator bool() const { return hasValue(); }
262 bool hasValue() const { return Type != VT_Nothing; } in hasValue() function
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaCUDA.cpp199 if (!InferredTarget.hasValue()) { in inferCUDATargetForImplicitSpecialMember()
244 if (!InferredTarget.hasValue()) { in inferCUDATargetForImplicitSpecialMember()
263 if (InferredTarget.hasValue()) { in inferCUDATargetForImplicitSpecialMember()
/NextBSD/contrib/llvm/tools/clang/lib/Lex/
HDMacroInfo.cpp179 !isPublic.hasValue() || isPublic.getValue()); in getDefinition()
187 if (!isPublic.hasValue()) in getDefinition()
192 !isPublic.hasValue() || isPublic.getValue()); in getDefinition()
/NextBSD/contrib/llvm/lib/Transforms/Scalar/
HDInductiveRangeCheckElimination.cpp1181 if (!MaybeSR.hasValue()) { in run()
1199 Increasing ? SR.LowLimit.hasValue() : SR.HighLimit.hasValue(); in run()
1201 Increasing ? SR.HighLimit.hasValue() : SR.LowLimit.hasValue(); in run()
1372 if (!R1.hasValue()) in IntersectRange()
1430 if (!MaybeLoopStructure.hasValue()) { in runOnLoop()
1450 if (Result.hasValue()) { in runOnLoop()
1453 if (MaybeSafeIterRange.hasValue()) { in runOnLoop()
1460 if (!SafeIterRange.hasValue()) in runOnLoop()
/NextBSD/contrib/llvm/lib/CodeGen/SelectionDAG/
HDStatepointLowering.cpp154 if (!SpillSlot.hasValue()) in findPreviousSpillSlot()
157 if (MergedResult.hasValue() && *MergedResult != *SpillSlot) in findPreviousSpillSlot()
220 if (!Index.hasValue()) in reservePreviousStackSlotForValue()
487 if (Opt.hasValue()) { in lowerStatepointMetaArgs()
494 if (Opt.hasValue()) { in lowerStatepointMetaArgs()
501 if (Opt.hasValue()) { in lowerStatepointMetaArgs()
/NextBSD/contrib/llvm/lib/LibDriver/
HDLibDriver.cpp80 if (!EnvOpt.hasValue()) in getSearchPaths()
134 if (!Path.hasValue()) { in libDriverMain()
/NextBSD/contrib/llvm/lib/Support/
HDProcess.cpp35 if (!OptPath.hasValue()) in FindInEnvPath()
/NextBSD/contrib/llvm/tools/clang/lib/Edit/
HDRewriteObjCFoundationAPI.cpp730 if (!UpperU.hasValue() && !UpperL.hasValue()) in getLiteralInfo()
732 else if (UpperU.hasValue() && !UpperL.hasValue()) in getLiteralInfo()
734 else if (UpperL.hasValue() && !UpperU.hasValue()) in getLiteralInfo()
/NextBSD/contrib/llvm/tools/clang/lib/ASTMatchers/
HDASTMatchFinder.cpp310 const bool EnableCheckProfiling = Options.CheckProfiling.hasValue(); in onStartOfTranslationUnit()
320 const bool EnableCheckProfiling = Options.CheckProfiling.hasValue(); in onEndOfTranslationUnit()
528 const bool EnableCheckProfiling = Options.CheckProfiling.hasValue(); in matchWithoutFilter()
550 const bool EnableCheckProfiling = Options.CheckProfiling.hasValue(); in matchWithFilter()
/NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
HDMallocChecker.cpp681 if (!KernelZeroFlagVal.hasValue()) { in performKernelMalloc()
763 if (MaybeState.hasValue()) in checkPostStmt()
771 if (MaybeState.hasValue()) in checkPostStmt()
1593 if (!CheckKind.hasValue()) in ReportBadFree()
1721 if (!CheckKind.hasValue()) in ReportOffsetFree()
1775 if (!CheckKind.hasValue()) in ReportUseAfterFree()
1802 if (!CheckKind.hasValue()) in ReportDoubleFree()
1830 if (!CheckKind.hasValue()) in ReportDoubleDelete()
1857 if (!CheckKind.hasValue()) in ReportUseZeroAllocated()
2060 if (!CheckKind.hasValue()) in reportLeak()
[all …]
/NextBSD/contrib/llvm/tools/clang/lib/Driver/
HDMSVCToolChain.cpp298 if (VcInstallDir.hasValue()) { in getVisualStudioBinariesFolder()
305 if (OptPath.hasValue()) { in getVisualStudioBinariesFolder()
/NextBSD/contrib/llvm/tools/clang/lib/ASTMatchers/Dynamic/
HDRegistry.cpp519 if (Result.hasValue()) { in constructBoundMatcher()
521 if (Bound.hasValue()) { in constructBoundMatcher()
/NextBSD/contrib/llvm/lib/Target/PowerPC/
HDPPCISelDAGToDAG.cpp790 bool hasValue() const { in hasValue() function
795 assert(hasValue() && "Cannot get the value of a constant bit"); in getValue()
800 assert(hasValue() && "Cannot get the value bit index of a constant bit"); in getValueBitIndex()
968 if (Bits[i].hasValue()) { in computeRotationAmounts()
989 SDValue LastValue = Bits[0].hasValue() ? Bits[0].getValue() : SDValue(); in collectBitGroups()
993 SDValue ThisValue = Bits[i].hasValue() ? Bits[i].getValue() : SDValue(); in collectBitGroups()
1085 if (!Bits[i].hasValue()) in assignRepl32BitGroups()
1092 if (!Bits[i].hasValue()) in assignRepl32BitGroups()
1098 if (!Bits[i].hasValue()) in assignRepl32BitGroups()
1207 if (Bits[i].hasValue()) in getZerosMask()
[all …]
/NextBSD/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/
HDPathDiagnostic.h524 if (IsPrunable.hasValue() && !override)
531 return IsPrunable.hasValue() ? IsPrunable.getValue() : false; in isPrunable()

123