| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/ |
| H A D | Optional.h | 238 template <typename T> class Optional { 244 constexpr Optional() {} in Optional() function 245 constexpr Optional(NoneType) {} in Optional() function 247 constexpr Optional(const T &y) : Storage(in_place, y) {} in Optional() function 248 constexpr Optional(const Optional &O) = default; 250 constexpr Optional(T &&y) : Storage(in_place, std::move(y)) {} in Optional() function 251 constexpr Optional(Optional &&O) = default; 254 constexpr Optional(in_place_t, ArgTypes &&...Args) in Optional() function 257 Optional &operator=(T &&y) { 261 Optional &operator=(Optional &&O) = default; [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFFormValue.h | 111 Optional<uint64_t> getAsReference() const; 116 Optional<UnitOffset> getAsRelativeReference() const; 117 Optional<uint64_t> getAsUnsignedConstant() const; 118 Optional<int64_t> getAsSignedConstant() const; 119 Optional<const char *> getAsCString() const; 120 Optional<uint64_t> getAsAddress() const; 121 Optional<object::SectionedAddress> getAsSectionedAddress() const; 122 Optional<uint64_t> getAsSectionOffset() const; 123 Optional<ArrayRef<uint8_t>> getAsBlock() const; 124 Optional<uint64_t> getAsCStringOffset() const; [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Remarks/ |
| H A D | BitstreamRemarkParser.h | 36 Optional<uint64_t> ContainerVersion; 37 Optional<uint8_t> ContainerType; 38 Optional<StringRef> StrTabBuf; 39 Optional<StringRef> ExternalFilePath; 40 Optional<uint64_t> RemarkVersion; 58 Optional<uint8_t> Type; 59 Optional<uint64_t> RemarkNameIdx; 60 Optional<uint64_t> PassNameIdx; 61 Optional<uint64_t> FunctionNameIdx; 62 Optional<uint64_t> SourceFileNameIdx; [all …]
|
| H A D | BitstreamRemarkSerializer.h | 107 Optional<uint64_t> RemarkVersion, 108 Optional<const StringTable *> StrTab = None, 109 Optional<StringRef> Filename = None); 150 Optional<StringRef> ExternalFilename = None) override; 163 Optional<BitstreamRemarkSerializerHelper> TmpHelper; 168 Optional<const StringTable *> StrTab; 169 Optional<StringRef> ExternalFilename; 174 Optional<const StringTable *> StrTab = None, 175 Optional<StringRef> ExternalFilename = None) 185 Optional<const StringTable *> StrTab = None, [all …]
|
| H A D | YAMLRemarkSerializer.h | 38 Optional<StringTable> StrTab = None); 43 Optional<StringRef> ExternalFilename = None) override; 52 Optional<StringTable> StrTab = None); 56 Optional<StringRef> ExternalFilename; 58 YAMLMetaSerializer(raw_ostream &OS, Optional<StringRef> ExternalFilename) in YAMLMetaSerializer() 86 Optional<StringRef> ExternalFilename = None) override; 98 Optional<StringRef> ExternalFilename, in YAMLStrTabMetaSerializer()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ObjectYAML/ |
| H A D | ELFYAML.h | 118 Optional<ELF_EM> Machine; 122 Optional<llvm::yaml::Hex64> EPhOff; 123 Optional<llvm::yaml::Hex16> EPhEntSize; 124 Optional<llvm::yaml::Hex16> EPhNum; 125 Optional<llvm::yaml::Hex16> EShEntSize; 126 Optional<llvm::yaml::Hex64> EShOff; 127 Optional<llvm::yaml::Hex16> EShNum; 128 Optional<llvm::yaml::Hex16> EShStrNdx; 138 Optional<StringRef> Section; 139 Optional<ELF_SHN> Index; [all …]
|
| H A D | DWARFYAML.h | 37 Optional<yaml::Hex64> Code; 44 Optional<uint64_t> ID; 55 Optional<yaml::Hex64> Length; 58 Optional<yaml::Hex8> AddrSize; 72 Optional<llvm::yaml::Hex64> Offset; 73 Optional<llvm::yaml::Hex8> AddrSize; 111 Optional<yaml::Hex64> Length; 113 Optional<uint8_t> AddrSize; 115 Optional<uint64_t> AbbrevTableID; 116 Optional<yaml::Hex64> AbbrOffset; [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/APINotes/ |
| H A D | Types.h | 73 llvm::Optional<bool> isSwiftPrivate() const { in isSwiftPrivate() 74 return SwiftPrivateSpecified ? llvm::Optional<bool>(SwiftPrivate) in isSwiftPrivate() 78 void setSwiftPrivate(llvm::Optional<bool> Private) { in setSwiftPrivate() 130 llvm::Optional<std::string> SwiftBridge; 133 llvm::Optional<std::string> NSErrorDomain; 138 const llvm::Optional<std::string> &getSwiftBridge() const { in getSwiftBridge() 142 void setSwiftBridge(const llvm::Optional<std::string> &SwiftType) { in setSwiftBridge() 146 void setSwiftBridge(const llvm::Optional<llvm::StringRef> &SwiftType) { in setSwiftBridge() 148 ? llvm::Optional<std::string>(std::string(*SwiftType)) in setSwiftBridge() 152 const llvm::Optional<std::string> &getNSErrorDomain() const { in getNSErrorDomain() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/APINotes/ |
| H A D | APINotesYAMLCompiler.cpp | 73 Optional<bool> NoEscape = false; 74 Optional<NullabilityKind> Nullability; 75 Optional<RetainCountConventionKind> RetainCountConvention; 154 Optional<NullabilityKind> NullabilityOfRet; 155 Optional<RetainCountConventionKind> RetainCountConvention; 157 Optional<bool> SwiftPrivate; 205 llvm::Optional<MethodKind> Kind; 206 llvm::Optional<NullabilityKind> Nullability; 208 Optional<bool> SwiftPrivate; 210 Optional<bool> SwiftImportAsAccessors; [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/MachO/ |
| H A D | Object.h | 48 Optional<uint32_t> OriginalOffset; 102 Optional<StringRef> getSegmentName() const; 105 Optional<uint64_t> getSegmentVMAddr() const; 132 Optional<uint32_t> section() const { in section() 133 return n_sect == MachO::NO_SECT ? None : Optional<uint32_t>(n_sect); in section() 160 Optional<SymbolEntry *> Symbol; 162 IndirectSymbolEntry(uint32_t OriginalIndex, Optional<SymbolEntry *> Symbol) in IndirectSymbolEntry() 178 Optional<const SymbolEntry *> Symbol; 180 Optional<const Section *> Sec; 316 Optional<uint32_t> SwiftVersion; [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
| H A D | FPEnv.cpp | 20 Optional<RoundingMode> StrToRoundingMode(StringRef RoundingArg) { in StrToRoundingMode() 23 return StringSwitch<Optional<RoundingMode>>(RoundingArg) in StrToRoundingMode() 33 Optional<StringRef> RoundingModeToStr(RoundingMode UseRounding) { in RoundingModeToStr() 34 Optional<StringRef> RoundingStr = None; in RoundingModeToStr() 60 Optional<fp::ExceptionBehavior> StrToExceptionBehavior(StringRef ExceptionArg) { in StrToExceptionBehavior() 61 return StringSwitch<Optional<fp::ExceptionBehavior>>(ExceptionArg) in StrToExceptionBehavior() 68 Optional<StringRef> ExceptionBehaviorToStr(fp::ExceptionBehavior UseExcept) { in ExceptionBehaviorToStr() 69 Optional<StringRef> ExceptStr = None; in ExceptionBehaviorToStr()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| H A D | SIMachineFunctionInfo.h | 118 Optional<unsigned> Mask; 181 Optional<SIArgument> PrivateSegmentBuffer; 182 Optional<SIArgument> DispatchPtr; 183 Optional<SIArgument> QueuePtr; 184 Optional<SIArgument> KernargSegmentPtr; 185 Optional<SIArgument> DispatchID; 186 Optional<SIArgument> FlatScratchInit; 187 Optional<SIArgument> PrivateSegmentSize; 189 Optional<SIArgument> WorkGroupIDX; 190 Optional<SIArgument> WorkGroupIDY; [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-pdbutil/ |
| H A D | PdbYaml.h | 74 Optional<PdbModiStream> Modi; 101 Optional<MSFHeaders> Headers; 102 Optional<std::vector<uint32_t>> StreamSizes; 103 Optional<std::vector<StreamBlockList>> StreamMap; 104 Optional<PdbInfoStream> PdbStream; 105 Optional<PdbDbiStream> DbiStream; 106 Optional<PdbTpiStream> TpiStream; 107 Optional<PdbTpiStream> IpiStream; 108 Optional<PdbPublicsStream> PublicsStream; 110 Optional<std::vector<StringRef>> StringTable;
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
| H A D | InlineCost.h | 165 Optional<int> HintThreshold; 168 Optional<int> ColdThreshold; 171 Optional<int> OptSizeThreshold; 174 Optional<int> OptMinSizeThreshold; 177 Optional<int> HotCallSiteThreshold; 181 Optional<int> LocallyHotCallSiteThreshold; 184 Optional<int> ColdCallSiteThreshold; 187 Optional<bool> ComputeFullInlineCost; 190 Optional<bool> EnableDeferral = true; 254 Optional<InlineResult> getAttributeBasedInliningDecision( [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Driver/ToolChains/ |
| H A D | AVR.cpp | 286 llvm::Optional<StringRef> GetMCUFamilyName(StringRef MCUName) { in GetMCUFamilyName() 289 return Optional<StringRef>(MCU.Family); in GetMCUFamilyName() 290 return Optional<StringRef>(); in GetMCUFamilyName() 293 llvm::Optional<unsigned> GetMCUSectionAddressData(StringRef MCUName) { in GetMCUSectionAddressData() 296 return Optional<unsigned>(MCU.DataAddr); in GetMCUSectionAddressData() 297 return Optional<unsigned>(); in GetMCUSectionAddressData() 323 Optional<StringRef> FamilyName = GetMCUFamilyName(CPU); in AVRToolChain() 324 Optional<std::string> AVRLibcRoot = findAVRLibcInstallation(); in AVRToolChain() 366 llvm::Optional<StringRef> FamilyName = GetMCUFamilyName(CPU); in ConstructJob() 367 llvm::Optional<unsigned> SectionAddressData = GetMCUSectionAddressData(CPU); in ConstructJob() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | StdLibraryFunctionsChecker.cpp | 298 llvm::Optional<llvm::APSInt> ConcreteSize; 300 llvm::Optional<ArgNo> SizeArgN; 304 llvm::Optional<ArgNo> SizeMultiplierArgN; 389 using ArgTypes = std::vector<Optional<QualType>>; 390 using RetType = Optional<QualType>; 412 for (Optional<QualType> Arg : ArgTys) { in Signature() 573 Optional<Summary> findFunctionSummary(const FunctionDecl *FD, 575 Optional<Summary> findFunctionSummary(const CallEvent &Call, 805 Optional<Summary> FoundSummary = findFunctionSummary(Call, C); in checkPreCall() 837 Optional<Summary> FoundSummary = findFunctionSummary(Call, C); in checkPostCall() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Marshallers.cpp | 16 static llvm::Optional<std::string> 62 llvm::Optional<std::string> 75 llvm::Optional<std::string> 88 llvm::Optional<std::string> 102 llvm::Optional<std::string> 124 static llvm::Optional<llvm::Regex::RegexFlags> 133 static llvm::Optional<llvm::StringRef> 142 llvm::Optional<llvm::Regex::RegexFlags> 145 llvm::Optional<llvm::Regex::RegexFlags> Flag; in getFlags() 149 if (llvm::Optional<llvm::Regex::RegexFlags> NextFlag = in getFlags() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | LoopUnrollPass.cpp | 188 Optional<unsigned> UserThreshold, Optional<unsigned> UserCount, in gatherUnrollingPreferences() 189 Optional<bool> UserAllowPartial, Optional<bool> UserRuntime, in gatherUnrollingPreferences() 190 Optional<bool> UserUpperBound, Optional<unsigned> UserFullUnrollMaxCount) { in gatherUnrollingPreferences() 336 static Optional<EstimatedUnrollCost> analyzeLoopUnrollCost( in analyzeLoopUnrollCost() 855 if (Optional<EstimatedUnrollCost> Cost = analyzeLoopUnrollCost( in computeUnrollCount() 1046 bool OnlyWhenForced, bool ForgetAllSCEV, Optional<unsigned> ProvidedCount, in tryToUnrollLoop() 1047 Optional<unsigned> ProvidedThreshold, Optional<bool> ProvidedAllowPartial, in tryToUnrollLoop() 1048 Optional<bool> ProvidedRuntime, Optional<bool> ProvidedUpperBound, in tryToUnrollLoop() 1049 Optional<bool> ProvidedAllowPeeling, in tryToUnrollLoop() 1050 Optional<bool> ProvidedAllowProfileBasedPeeling, in tryToUnrollLoop() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Sparc/ |
| H A D | SparcTargetMachine.h | 30 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM, 51 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM, 62 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM, 72 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
|
| H A D | SparcTargetMachine.cpp | 57 static Reloc::Model getEffectiveRelocModel(Optional<Reloc::Model> RM) { in getEffectiveRelocModel() 72 getEffectiveSparcCodeModel(Optional<CodeModel::Model> CM, Reloc::Model RM, in getEffectiveSparcCodeModel() 92 const TargetOptions &Options, Optional<Reloc::Model> RM, in SparcTargetMachine() 93 Optional<CodeModel::Model> CM, CodeGenOpt::Level OL, bool JIT, bool is64bit) in SparcTargetMachine() 190 Optional<Reloc::Model> RM, in SparcV8TargetMachine() 191 Optional<CodeModel::Model> CM, in SparcV8TargetMachine() 200 Optional<Reloc::Model> RM, in SparcV9TargetMachine() 201 Optional<CodeModel::Model> CM, in SparcV9TargetMachine() 210 Optional<Reloc::Model> RM, in SparcelTargetMachine() 211 Optional<CodeModel::Model> CM, in SparcelTargetMachine()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Bitcode/ |
| H A D | BitcodeAnalyzer.h | 53 Optional<BitstreamCursor> BlockInfoStream; 85 BitcodeAnalyzer(StringRef Buffer, Optional<StringRef> BlockInfoBuffer = None); 87 Error analyze(Optional<BCDumpOptions> O = None, 88 Optional<StringRef> CheckHash = None); 90 void printStats(BCDumpOptions O, Optional<StringRef> Filename = None); 95 Optional<BCDumpOptions> O = None, 96 Optional<StringRef> CheckHash = None);
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Object/ |
| H A D | XCOFFObjectFile.h | 421 Optional<SmallString<32>> ParmsType; 422 Optional<uint32_t> TraceBackTableOffset; 423 Optional<uint32_t> HandlerMask; 424 Optional<uint32_t> NumOfCtlAnchors; 425 Optional<SmallVector<uint32_t, 8>> ControlledStorageInfoDisp; 426 Optional<StringRef> FunctionName; 427 Optional<uint8_t> AllocaRegister; 428 Optional<TBVectorExt> VecExt; 429 Optional<uint8_t> ExtensionTable; 480 const Optional<SmallString<32>> &getParmsType() const { return ParmsType; } [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/MC/ |
| H A D | MCDwarf.h | 67 Optional<MD5::MD5Result> Checksum; 71 Optional<StringRef> Source; 235 Optional<MD5::MD5Result> Checksum, 236 Optional<StringRef> Source, 241 Optional<MCDwarfLineStr> &LineStr) const; 245 Optional<MCDwarfLineStr> &LineStr) const; 259 Optional<MD5::MD5Result> Checksum, in setRootFile() 260 Optional<StringRef> Source) { in setRootFile() 280 void emitV5FileDirTables(MCStreamer *MCOS, Optional<MCDwarfLineStr> &LineStr) const; 289 Optional<MD5::MD5Result> Checksum, in maybeSetRootFile() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Target/ |
| H A D | CGPassBuilderOption.h | 31 Optional<bool> OptimizeRegAlloc; 32 Optional<bool> EnableIPRA; 53 Optional<GlobalISelAbortMode> EnableGlobalISelAbort; 55 Optional<bool> VerifyMachineCode; 56 Optional<bool> EnableFastISelOption; 57 Optional<bool> EnableGlobalISelOption;
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/ |
| H A D | DirectoryEntry.h | 182 static_assert(sizeof(Optional<clang::DirectoryEntryRef>) == 187 std::is_trivially_copyable<Optional<clang::DirectoryEntryRef>>::value, 250 : public Optional<DirectoryEntryRef> { 264 : Optional<DirectoryEntryRef>(Ref) {} 265 OptionalDirectoryEntryRefDegradesToDirectoryEntryPtr(Optional<DirectoryEntryRef> MaybeRef) 266 : Optional<DirectoryEntryRef>(MaybeRef) {} 269 Optional<DirectoryEntryRef>::operator=(None); 273 Optional<DirectoryEntryRef>::operator=(Ref); 277 operator=(Optional<DirectoryEntryRef> MaybeRef) { 278 Optional<DirectoryEntryRef>::operator=(MaybeRef);
|