Searched refs:Optional (Results 676 - 700 of 1145) sorted by relevance

<<21222324252627282930>>

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DValueLattice.h176 Optional<APInt> asConstantInteger() const {
H A DTargetTransformInfo.h24 #include "llvm/ADT/Optional.h"
860 llvm::Optional<unsigned> getCacheSize(CacheLevel Level) const;
863 llvm::Optional<unsigned> getCacheAssociativity(CacheLevel Level) const;
1295 virtual llvm::Optional<unsigned> getCacheSize(CacheLevel Level) const = 0;
1296 virtual llvm::Optional<unsigned> getCacheAssociativity(CacheLevel Level) const = 0;
1678 llvm::Optional<unsigned> getCacheSize(CacheLevel Level) const override {
1681 llvm::Optional<unsigned> getCacheAssociativity(CacheLevel Level) const override {
1959 Optional<TargetTransformInfo> TTI;
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaLambda.cpp57 /// \returns An Optional<unsigned> Index that if evaluates to 'true' contains
62 static inline Optional<unsigned>
67 const Optional<unsigned> NoLambdaIsCaptureReady;
168 /// \returns An Optional<unsigned> Index that if evaluates to 'true' contains
173 Optional<unsigned> clang::getStackIndexOfNearestEnclosingCaptureCapableLambda(
177 const Optional<unsigned> NoLambdaIsCaptureCapable;
179 const Optional<unsigned> OptionalStackIndex =
435 Optional<std::tuple<unsigned, bool, Decl *>> Mangling) {
788 Optional<unsigned> NumExpansions, IdentifierInfo *Id, bool IsDirectInit,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DLLVMContextImpl.h27 #include "llvm/ADT/Optional.h"
415 Optional<unsigned> DWARFAddressSpace;
422 Optional<unsigned> DWARFAddressSpace, unsigned Flags,
582 Optional<DIFile::ChecksumInfo<MDString *>> Checksum;
583 Optional<MDString *> Source;
586 Optional<DIFile::ChecksumInfo<MDString *>> Checksum,
587 Optional<MDString *> Source)
1282 // Optional map for looking up composite types by identifier.
1283 Optional<DenseMap<const MDString *, DICompositeType *>> DITypeMap;
H A DModule.cpp15 #include "llvm/ADT/Optional.h"
532 Optional<CodeModel::Model> Module::getCodeModel() const {
596 auto getVersionComponent = [&](unsigned Index) -> Optional<unsigned> {
/freebsd-11-stable/contrib/llvm-project/lld/ELF/
H A DInputFiles.cpp104 Optional<MemoryBufferRef> readFile(StringRef path) {
237 if (Optional<DILineInfo> info = file.getDILineInfo(&sec, offset))
241 if (Optional<std::pair<std::string, unsigned>> fileLine =
275 Optional<std::pair<std::string, unsigned>>
285 Optional<DILineInfo> ObjFile<ELFT>::getDILineInfo(InputSectionBase *s,
490 else if (Optional<std::string> s = findFromSearchPaths(specifier))
492 else if (Optional<std::string> s = searchLibraryBaseName(specifier))
/freebsd-11-stable/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DDarwin.cpp1463 Optional<DarwinPlatform>
1505 Optional<DarwinPlatform>
1560 Optional<DarwinPlatform>
1562 const Optional<DarwinSDKInfo> &SDKInfo) {
1640 Optional<DarwinPlatform>
1663 Optional<DarwinPlatform> getDeploymentTargetFromTargetArg(
1675 Optional<DarwinSDKInfo> parseSDKSettings(llvm::vfs::FileSystem &VFS,
1720 Optional<DarwinPlatform> OSTarget =
1723 Optional<DarwinPlatform> OSVersionArgTarget =
1764 Optional<DarwinPlatfor
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.cpp287 Optional<Loc> IVarLoc = C.getSVal(IRE).getAs<Loc>();
415 static Optional<RefVal> refValFromRetEffect(RetEffect RE,
695 if (Optional<RefVal> updatedRefVal = refValFromRetEffect(RE, ResultTy))
910 Optional<BehaviorSummary> BSmr =
1338 Optional<AnyCall> C = AnyCall::forDecl(D);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ABI/SysV-arm/
H A DABISysV_arm.cpp1474 if (llvm::Optional<uint64_t> size = compiler_type.GetBitSize(&thread))
1581 llvm::Optional<uint64_t> bit_width = compiler_type.GetBitSize(&thread);
1582 llvm::Optional<uint64_t> byte_size = compiler_type.GetByteSize(&thread);
1718 llvm::Optional<uint64_t> base_byte_size =
1747 llvm::Optional<uint64_t> base_byte_size =
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DSymbolFileDWARF.cpp11 #include "llvm/ADT/Optional.h"
184 static llvm::Optional<std::string>
743 llvm::Optional<uint32_t> SymbolFileDWARF::GetDWARFUnitIndex(uint32_t cu_idx) {
767 if (llvm::Optional<uint32_t> dwarf_idx = GetDWARFUnitIndex(cu_idx)) {
1238 llvm::Optional<SymbolFileDWARF::DecodedUID>
1263 llvm::Optional<uint32_t> dwo_num = uid >> 32 & 0x7fffffff;
1276 llvm::Optional<DecodedUID> decoded = DecodeUID(uid);
1331 llvm::Optional<SymbolFile::ArrayInfo>
1560 llvm::Optional<uint64_t> SymbolFileDWARF::GetDWOId() {
1717 llvm::Optional<uint64_
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64LoadStoreOptimizer.cpp92 Optional<MCPhysReg> RenameReg = None;
104 Optional<MCPhysReg> getRenameReg() const { return RenameReg; }
802 Optional<MCPhysReg> RenameReg = Flags.getRenameReg();
1389 static Optional<MCPhysReg> tryToFindRegisterToRename(
1452 Optional<bool> MaybeCanRename = None;
1593 Optional<MCPhysReg> MaybeRenameReg = tryToFindRegisterToRename(
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Lex/
H A DPreprocessor.h38 #include "llvm/ADT/Optional.h"
476 llvm::Optional<PreambleSkipInfo> SkipInfo;
1966 Optional<FileEntryRef>
2215 Optional<FileEntryRef> LookupHeaderIncludeOrImport(
2284 llvm::Optional<PreambleSkipInfo> SkipInfo) {
2290 llvm::Optional<PreambleSkipInfo> getPreambleSkipInfo() const {
2337 Optional<unsigned>
H A DPPCallbacks.h310 Optional<FileEntryRef> File,
492 Optional<FileEntryRef> File,
/freebsd-11-stable/contrib/llvm-project/lld/COFF/
H A DPDB.cpp309 static Optional<ArrayRef<uint8_t>> getDebugH(ObjFile *file) {
406 if (Optional<ArrayRef<uint8_t>> debugH = getDebugH(file))
483 Optional<uint32_t> endPrecomp;
1885 Optional<std::pair<StringRef, uint32_t>>
1897 Optional<uint32_t> nameIndex;
1898 Optional<uint32_t> lineNumber;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DCGSCCPassManager.cpp11 #include "llvm/ADT/Optional.h"
167 Optional<PreservedAnalyses> InnerPA;
271 Optional<PreservedAnalyses> FunctionPA;
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DFunction.h54 template <typename T> class Optional;
320 Optional<StringRef> getSectionPrefix() const;
H A DCallSite.h28 #include "llvm/ADT/Optional.h"
568 Optional<OperandBundleUse> getOperandBundle(StringRef Name) const {
572 Optional<OperandBundleUse> getOperandBundle(uint32_t ID) const {
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineBasicBlock.h100 Optional<uint64_t> IrrLoopHeaderWeight;
806 Optional<uint64_t> getIrrLoopHeaderWeight() const {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMBaseInstrInfo.h105 Optional<DestSourcePair>
458 Optional<RegImmPair> isAddImmediate(const MachineInstr &MI,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64AsmBackend.cpp47 Optional<MCFixupKind> getFixupKind(StringRef Name) const override;
339 Optional<MCFixupKind> AArch64AsmBackend::getFixupKind(StringRef Name) const {
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/
H A DCheckerRegistry.cpp227 static llvm::Optional<CheckerRegistry::CheckerInfoSet>
269 llvm::Optional<CheckerInfoSet> Deps =
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DTargetInfo.h27 #include "llvm/ADT/Optional.h"
1259 virtual llvm::Optional<LangAS> getConstantAddressSpace() const {
1373 virtual Optional<unsigned> getDWARFAddressSpace(unsigned AddressSpace) const {
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DFormatString.h240 Optional<ConversionSpecifier> getStandardSpecifier() const;
459 Optional<LengthModifier> getCorrectedLengthModifier() const;
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Format/
H A DFormat.h2178 llvm::Optional<FormatStyle> GetLanguageStyle(LanguageKind Language) const;
2190 llvm::Optional<FormatStyle> Get(FormatStyle::LanguageKind Language) const;
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Frontend/
H A DASTUnit.h35 #include "llvm/ADT/Optional.h"
137 /// Optional owned invocation, just used to make the invocation used in
225 llvm::Optional<PrecompiledPreamble> Preamble;
836 llvm::Optional<StringRef> ModuleFormat = llvm::None,

Completed in 231 milliseconds

<<21222324252627282930>>