Searched refs:Optional (Results 351 - 375 of 1145) sorted by relevance

<<11121314151617181920>>

/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCStringChecker.cpp268 Optional<DefinedSVal> val = V.getAs<DefinedSVal>();
401 Optional<NonLoc> Length = LengthVal.getAs<NonLoc>();
414 if (Optional<Loc> BufLoc = BufStart.getAs<Loc>()) {
434 if (Optional<Loc> BufLoc = BufStart.getAs<Loc>()) {
470 Optional<Loc> firstLoc = firstVal.getAs<Loc>();
474 Optional<Loc> secondLoc = secondVal.getAs<Loc>();
497 Optional<DefinedOrUnknownSVal> reverseTest =
518 Optional<NonLoc> Length = LengthVal.getAs<NonLoc>();
528 Optional<Loc> FirstStartLoc = FirstStart.getAs<Loc>();
535 Optional<Lo
[all...]
H A DUnreachableCodeChecker.cpp77 if (Optional<BlockEntrance> BE = P.getAs<BlockEntrance>()) {
132 if (Optional<CFGStmt> S = (*ci).getAs<CFGStmt>())
202 if (Optional<CFGStmt> S = I->getAs<CFGStmt>()) {
H A DBasicObjCFoundationChecks.cpp375 static Optional<uint64_t> GetCFNumberSize(ASTContext &Ctx, uint64_t i) {
448 Optional<nonloc::ConcreteInt> V = TheTypeVal.getAs<nonloc::ConcreteInt>();
453 Optional<uint64_t> OptCFNumberSize = GetCFNumberSize(Ctx, NumberKind);
468 Optional<loc::MemRegionVal> LV = TheValueExpr.getAs<loc::MemRegionVal>();
559 Optional<DefinedSVal> DefArgVal = ArgVal.getAs<DefinedSVal>();
747 Optional<ExplodedNode*> errorNode;
862 Optional<DefinedSVal> KnownCollection = CollectionVal.getAs<DefinedSVal>();
894 Optional<Loc> ElementLoc;
933 Optional<DefinedSVal> CountGreaterThanZero =
962 if (Optional<BlockEdg
[all...]
H A DGenericTaintChecker.cpp109 static Optional<FunctionData> create(const CallExpr *CE,
155 static Optional<SVal> getPointedToSVal(CheckerContext &C, const Expr *Arg);
267 Optional<SVal> V = getPointedToSVal(C, E);
519 Optional<FunctionData> FData = FunctionData::create(CE, C);
579 Optional<SVal> V = getPointedToSVal(C, Arg);
614 Optional<SVal> V = getPointedToSVal(C, Arg);
648 Optional<SVal> GenericTaintChecker::getPointedToSVal(CheckerContext &C,
655 Optional<Loc> AddrLoc = AddrVal.getAs<Loc>();
817 Optional<SVal> PointedToSVal = getPointedToSVal(C, E);
939 llvm::Optional<TaintConfi
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DAliasAnalysisSummary.h38 #include "llvm/ADT/Optional.h"
203 Optional<InstantiatedValue> instantiateInterfaceValue(InterfaceValue IValue,
232 Optional<InstantiatedRelation>
241 Optional<InstantiatedAttr> instantiateExternalAttribute(ExternalAttribute EAttr,
H A DLoopCacheAnalysis.cpp141 Optional<bool> IndexedReference::hasSpacialReuse(const IndexedReference &Other,
196 Optional<bool> IndexedReference::hasTemporalReuse(const IndexedReference &Other,
458 Optional<unsigned> TRT)
460 TRT((TRT == None) ? Optional<unsigned>(TemporalReuseThreshold) : TRT),
475 DependenceInfo &DI, Optional<unsigned> TRT) {
540 Optional<bool> HasTemporalReuse =
542 Optional<bool> HasSpacialReuse =
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DLazyRandomTypeCollection.cpp100 Optional<CVType> LazyRandomTypeCollection::tryGetType(TypeIndex Index) {
204 Optional<TypeIndex> LazyRandomTypeCollection::getFirst() {
213 Optional<TypeIndex> LazyRandomTypeCollection::getNext(TypeIndex Prev) {
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DObjCARCAnalysisUtils.h25 #include "llvm/ADT/Optional.h"
259 llvm::Optional<unsigned> ImpreciseReleaseMDKind;
262 llvm::Optional<unsigned> CopyOnEscapeMDKind;
265 llvm::Optional<unsigned> NoObjCARCExceptionsMDKind;
/freebsd-11-stable/contrib/llvm-project/clang/lib/Format/
H A DContinuationIndenter.h44 llvm::Optional<FormatStyle> getDelimiterStyle(StringRef Delimiter) const;
46 llvm::Optional<FormatStyle>
123 llvm::Optional<FormatStyle> getRawStringStyle(const FormatToken &Current,
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbIndex.cpp83 llvm::Optional<uint16_t>
88 llvm::Optional<uint16_t> PdbIndex::GetModuleIndexForVa(lldb::addr_t va) const {
144 llvm::Optional<uint16_t> modi = GetModuleIndexForVa(va);
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DFileManager.h287 llvm::Optional<DirectoryEntryRef>
344 llvm::Optional<FileEntryRef> getOptionalFileRef(StringRef Filename,
376 llvm::Optional<FileEntryRef> getBypassFile(FileEntryRef VFE);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DWARFLinker/
H A DDWARFLinkerCompileUnit.h132 Optional<PatchLocation> getUnitRangesAttribute() const {
258 Optional<BasicDIEUnit> NewUnit;
291 Optional<PatchLocation> UnitRangeAttribute;
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeViewRecordIO.h14 #include "llvm/ADT/Optional.h"
63 Error beginRecord(Optional<uint32_t> MaxLength);
245 Optional<uint32_t> MaxLength;
247 Optional<uint32_t> bytesRemaining(uint32_t CurrentOffset) const {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIMemoryLegalizer.cpp25 #include "llvm/ADT/Optional.h"
214 Optional<std::tuple<SIAtomicScope, SIAtomicAddrSpace, bool>>
222 Optional<SIMemOpInfo> constructFromMIWithMMO(
231 Optional<SIMemOpInfo> getLoadInfo(
235 Optional<SIMemOpInfo> getStoreInfo(
240 Optional<SIMemOpInfo> getAtomicFenceInfo(
245 Optional<SIMemOpInfo> getAtomicCmpxchgOrRmwInfo(
451 Optional<std::tuple<SIAtomicScope, SIAtomicAddrSpace, bool>>
516 Optional<SIMemOpInfo> SIMemOpAccess::constructFromMIWithMMO(
575 Optional<SIMemOpInf
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedPointee.cpp127 static llvm::Optional<DereferenceInfo> dereference(ProgramStateRef State,
164 llvm::Optional<DereferenceInfo> DerefInfo = dereference(State, FR);
222 static llvm::Optional<DereferenceInfo> dereference(ProgramStateRef State,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DIntrinsicInst.cpp53 Optional<uint64_t> DbgVariableIntrinsic::getFragmentSizeInBits() const {
105 Optional<fp::RoundingMode> ConstrainedFPIntrinsic::getRoundingMode() const {
114 Optional<fp::ExceptionBehavior>
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DFunctionInfo.cpp180 Optional<LineEntry> LineEntry;
181 Optional<DataExtractor> InlineInfoData;
227 Optional<FileEntry> LineEntryFile = GR.getFile(LineEntry->File);
/freebsd-11-stable/contrib/llvm-project/lld/COFF/
H A DDebugTypes.cpp155 static Optional<std::string> findPdbPath(StringRef pdbPath,
175 Optional<std::string> p = findPdbPath(ts.Name, dependentFile);
219 Optional<std::string> p = findPdbPath(ts.Name, dependentFile);
/freebsd-11-stable/contrib/llvm-project/lldb/source/DataFormatters/
H A DVectorType.cpp174 llvm::Optional<uint64_t> container_size =
176 llvm::Optional<uint64_t> element_size = element_type.GetByteSize(exe_scope);
202 llvm::Optional<uint64_t> size = m_child_type.GetByteSize(nullptr);
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCallEvent.h412 virtual Optional<unsigned>
749 Optional<unsigned>
753 return (ASTArgumentIndex > 0) ? Optional<unsigned>(ASTArgumentIndex - 1)
1066 Optional<unsigned> RequiredArgs;
1067 Optional<size_t> RequiredParams;
1071 static Optional<size_t> readRequiredParams(Optional<unsigned> RequiredArgs,
1072 Optional<size_t> RequiredParams) {
1092 Optional<unsigned> RequiredArgs = None,
1093 Optional<size_
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Driver/
H A DJob.cpp326 int Command::Execute(ArrayRef<llvm::Optional<StringRef>> Redirects,
359 Optional<ArrayRef<StringRef>> Env;
389 int CC1Command::Execute(ArrayRef<llvm::Optional<StringRef>> Redirects,
452 int FallbackCommand::Execute(ArrayRef<llvm::Optional<StringRef>> Redirects,
482 int ForceSuccessCommand::Execute(ArrayRef<llvm::Optional<StringRef>> Redirects,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopPredication.cpp265 Optional<LoopICmp> parseLoopICmp(ICmpInst *ICI);
266 Optional<LoopICmp> parseLoopLatchICmp();
288 Optional<Value *> widenICmpRangeCheck(ICmpInst *ICI, SCEVExpander &Expander,
290 Optional<Value *> widenICmpRangeCheckIncrementingLoop(LoopICmp LatchCheck,
294 Optional<Value *> widenICmpRangeCheckDecrementingLoop(LoopICmp LatchCheck,
372 Optional<LoopICmp>
470 static Optional<LoopICmp> generateLoopLatchCheck(const DataLayout &DL,
561 Optional<Value *> LoopPredication::widenICmpRangeCheckIncrementingLoop(
610 Optional<Value *> LoopPredication::widenICmpRangeCheckDecrementingLoop(
673 Optional<Valu
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFContext.cpp97 std::vector<Optional<StrOffsetsContributionDescriptor>>;
111 [](const Optional<StrOffsetsContributionDescriptor> &L,
112 const Optional<StrOffsetsContributionDescriptor> &R) {
123 [](const Optional<StrOffsetsContributionDescriptor> &L,
124 const Optional<StrOffsetsContributionDescriptor> &R) {
267 llvm::function_ref<Optional<object::SectionedAddress>(uint32_t)>
292 Optional<uint64_t> DumpOffset) {
324 std::array<Optional<uint64_t>, DIDT_ID_Count> DumpOffsets) {
342 StringRef Section) -> Optional<uint64_t> * {
462 Optional<uint64_
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUtils.cpp250 /// Optional's not-a-value.
251 Optional<const MDOperand *> llvm::findStringMetadataForLoop(const Loop *TheLoop,
266 static Optional<bool> getOptionalBoolLoopAttribute(const Loop *TheLoop,
288 llvm::Optional<int> llvm::getOptionalIntLoopAttribute(Loop *TheLoop,
302 Optional<MDNode *> llvm::makeFollowupLoopID(
395 Optional<int> Count =
416 Optional<int> Count =
431 Optional<bool> Enable =
437 Optional<int> VectorizeWidth =
439 Optional<in
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateVariadic.cpp584 Optional<unsigned> NumExpansions) {
602 Optional<unsigned> NumExpansions) {
625 Optional<unsigned> NumExpansions) {
649 bool &RetainExpansion, Optional<unsigned> &NumExpansions) {
654 Optional<unsigned> NumPartialExpansions;
782 Optional<unsigned> Sema::getNumArgumentsInExpansion(QualType T,
788 Optional<unsigned> Result;
1031 SourceLocation &Ellipsis, Optional<unsigned> &NumExpansions) const {
1088 Optional<unsigned> Sema::getFullyPackExpandedSize(TemplateArgument Arg) {
1210 Optional<unsigne
[all...]

Completed in 377 milliseconds

<<11121314151617181920>>