| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/ |
| H A D | Optional.h | 72 if (other.hasValue()) { in OptionalStorage() 77 if (other.hasValue()) { in OptionalStorage() 93 constexpr bool hasValue() const noexcept { return hasVal; } in hasValue() function 117 if (hasValue()) { 126 if (hasValue()) { 136 if (other.hasValue()) { 137 if (hasValue()) { 150 if (other.hasValue()) { 151 if (hasValue()) { 193 constexpr bool hasValue() const noexcept { return hasVal; } in hasValue() function [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/MC/ |
| H A D | MCSymbolWasm.h | 85 bool hasImportModule() const { return ImportModule.hasValue(); } in hasImportModule() 87 if (ImportModule.hasValue()) in getImportModule() 97 bool hasImportName() const { return ImportName.hasValue(); } in hasImportName() 99 if (ImportName.hasValue()) in getImportName() 105 bool hasExportName() const { return ExportName.hasValue(); } in hasExportName() 128 assert(GlobalType.hasValue()); in getGlobalType() 133 bool hasTableType() const { return TableType.hasValue(); } in hasTableType() 147 assert(EventType.hasValue()); in getEventType()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/root/ |
| H A D | optional.d | 23 assert(!opt.hasValue(1)); 24 assert(!opt.hasValue(2)); 37 assert( opt.hasValue(1)); 38 assert(!opt.hasValue(2)); 86 bool hasValue(const T exp) const in Optional()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/APINotes/ |
| H A D | Types.h | 79 SwiftPrivateSpecified = Private.hasValue(); in setSwiftPrivate() 80 SwiftPrivate = Private.hasValue() ? *Private : 0; in setSwiftPrivate() 242 SwiftImportAsNonGenericSpecified = Value.hasValue(); in setSwiftImportAsNonGeneric() 243 SwiftImportAsNonGeneric = Value.hasValue() ? *Value : false; in setSwiftImportAsNonGeneric() 251 SwiftObjCMembersSpecified = Value.hasValue(); in setSwiftObjCMembers() 252 SwiftObjCMembers = Value.hasValue() ? *Value : false; in setSwiftObjCMembers() 370 SwiftImportAsAccessorsSpecified = Value.hasValue(); in setSwiftImportAsAccessors() 371 SwiftImportAsAccessors = Value.hasValue() ? *Value : false; in setSwiftImportAsAccessors() 435 NoEscapeSpecified = Value.hasValue(); in setNoEscape() 436 NoEscape = Value.hasValue() ? *Value : false; in setNoEscape() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/GSYM/ |
| H A D | FunctionInfo.h | 106 return OptLineTable.hasValue() || Inline.hasValue(); in hasRichInfo() 206 if (LHS.Inline.hasValue() != RHS.Inline.hasValue()) 207 return RHS.Inline.hasValue();
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ObjectYAML/ |
| H A D | ELFYAML.h | 319 return {{"Entries", Entries.hasValue()}}; in getEntries() 333 return {{"Entries", Entries.hasValue()}}; in getEntries() 351 return {{"Entries", Entries.hasValue()}}; in getEntries() 382 return {{"Notes", Notes.hasValue()}}; in getEntries() 393 return {{"Bucket", Bucket.hasValue()}, {"Chain", Chain.hasValue()}}; in getEntries() 435 return {{"Header", Header.hasValue()}, in getEntries() 436 {"BloomFilter", BloomFilter.hasValue()}, in getEntries() 437 {"HashBuckets", HashBuckets.hasValue()}, in getEntries() 438 {"HashValues", HashValues.hasValue()}}; in getEntries() 464 return {{"Dependencies", VerneedV.hasValue()}}; in getEntries() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/MCDisassembler/ |
| H A D | MCDisassembler.cpp | 88 if (StorageMappingClass.hasValue() != SymInfo.StorageMappingClass.hasValue()) in operator <() 89 return SymInfo.StorageMappingClass.hasValue(); in operator <() 91 if (StorageMappingClass.hasValue()) { in operator <()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| H A D | CFLSteensAliasAnalysis.cpp | 168 if (RetInfo.hasValue()) in FunctionInfo() 177 if (ParamInfo.hasValue()) in FunctionInfo() 253 assert(Iter->second.hasValue()); in ensureCached() 260 if (FunInfo.hasValue()) in getAliasSummary() 296 assert(MaybeInfo.hasValue()); in query() 300 if (!MaybeA.hasValue()) in query() 304 if (!MaybeB.hasValue()) in query()
|
| H A D | MemoryBuiltins.cpp | 244 return getAllocationData(V, AnyAlloc, TLI, LookThroughBitCast).hasValue(); in isAllocationFn() 249 return getAllocationData(V, AnyAlloc, GetTLI, LookThroughBitCast).hasValue(); in isAllocationFn() 266 return getAllocationData(V, MallocLike, TLI, LookThroughBitCast).hasValue(); in isMallocLikeFn() 272 .hasValue(); in isMallocLikeFn() 280 .hasValue(); in isAlignedAllocLikeFn() 286 .hasValue(); in isAlignedAllocLikeFn() 293 return getAllocationData(V, CallocLike, TLI, LookThroughBitCast).hasValue(); in isCallocLikeFn() 301 LookThroughBitCast).hasValue(); in isMallocOrCallocLikeFn() 308 return getAllocationData(V, AllocLike, TLI, LookThroughBitCast).hasValue(); in isAllocLikeFn() 315 return getAllocationData(V, ReallocLike, TLI, LookThroughBitCast).hasValue(); in isReallocLikeFn() [all …]
|
| H A D | BasicAliasAnalysis.cpp | 1022 if (!V1Size.hasValue() && !V2Size.hasValue()) { in aliasGEP() 1058 V2Size.hasValue() && DecompGEP1.Offset.sge(V2Size.getValue()) && in aliasGEP() 1065 V1Size.hasValue() && DecompGEP1.Offset.sle(-V1Size.getValue()) && in aliasGEP() 1116 if (VLeftSize.hasValue()) { in aliasGEP() 1122 if (VRightSize.hasValue() && Off.ule(INT32_MAX) && in aliasGEP() 1180 if (V1Size.hasValue() && V2Size.hasValue() && in aliasGEP() 1189 if (AllNonNegative && V2Size.hasValue() && in aliasGEP() 1196 if (AllNonPositive && V1Size.hasValue() && in aliasGEP() 1200 if (V1Size.hasValue() && V2Size.hasValue()) { in aliasGEP() 1722 if (VarIndices.size() != 2 || !MaybeV1Size.hasValue() || in constantOffsetHeuristic() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Object/ |
| H A D | ELFObjectFile.cpp | 172 if (Attr.hasValue()) in getARMFeatures() 176 if (Attr.hasValue()) { in getARMFeatures() 195 if (Attr.hasValue()) { in getARMFeatures() 210 if (Attr.hasValue()) { in getARMFeatures() 234 if (Attr.hasValue()) { in getARMFeatures() 253 if (Attr.hasValue()) { in getARMFeatures() 272 if (Attr.hasValue()) { in getARMFeatures() 308 if (Attr.hasValue()) { in getRISCVFeatures() 508 if (Attr.hasValue()) { in setARMSubArch()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/ |
| H A D | DirectoryEntry.h | 128 bool hasValue() const { return MaybeRef.hasOptionalValue(); } 131 assert(hasValue()); 135 assert(hasValue()); 140 assert(hasValue()); 286 return hasValue() ? &getValue().getDirEntry() : nullptr;
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | ConstraintManager.h | 57 return Val.hasValue() && Val.getValue(); in isConstrainedTrue() 62 return Val.hasValue() && !Val.getValue(); in isConstrainedFalse() 67 return Val.hasValue(); in isConstrained() 73 return !Val.hasValue(); in isUnderconstrained()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
| H A D | ObjCARCUtil.h | 36 if (!B.hasValue()) in hasAttachedCallOpBundle() 44 .hasValue(); in hasAttachedCallOpBundle()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
| H A D | AnalyzerOptions.cpp | 80 assert(K.hasValue() && "User mode is invalid."); in getExplorationStrategy() 92 assert(K.hasValue() && "IPA Mode is invalid."); in getIPAMode() 112 assert(K.hasValue() && "Invalid c++ member function inlining mode."); in mayInlineCXXMemberFunction()
|
| /netbsd-src/external/apache2/llvm/dist/clang/utils/TableGen/ |
| H A D | RISCVVEmitter.cpp | 101 bool isScalar() const { return Scale.hasValue() && Scale.getValue() == 0; } in isScalar() 102 bool isVector() const { return Scale.hasValue() && Scale.getValue() != 0; } in isVector() 339 if (!Scale.hasValue()) in verifyType() 918 if (T.hasValue()) in createHeader() 925 if (T.hasValue()) { in createHeader() 935 if (T.hasValue()) in createHeader() 943 if (T.hasValue()) in createHeader() 951 if (T.hasValue()) in createHeader() 1112 if (!Types.hasValue()) in createRVVIntrinsics() 1143 if (!T.hasValue()) in computeTypes()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/CodeView/ |
| H A D | SymbolSerializer.cpp | 27 assert(!CurrentSymbol.hasValue() && "Already in a symbol mapping!"); in visitSymbolBegin() 42 assert(CurrentSymbol.hasValue() && "Not in a symbol mapping!"); in visitSymbolEnd()
|
| H A D | ContinuationRecordBuilder.cpp | 52 assert(!Kind.hasValue()); in begin() 79 assert(Kind.hasValue()); in writeMemberType() 161 if (RefersTo.hasValue()) { in createSegmentRecord()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/ |
| H A D | blockexit.d | 104 if (a.e1.toBool().hasValue(false)) // if it's an assert(0) in blockExit() 223 if (!(result & BE.break_) && s.condition.toBool().hasValue(true)) in blockExit() 243 if (opt.hasValue(true)) in blockExit() 245 else if (opt.hasValue(false)) in blockExit() 283 if (opt.hasValue(true)) in blockExit() 287 else if (opt.hasValue(false)) in blockExit()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
| H A D | FormatStringParsing.h | 85 bool hasValue() const { return Start != nullptr; } in hasValue() function 87 assert(hasValue()); in getValue()
|
| H A D | AttrImpl.cpp | 164 if (ActiveAttr.hasValue()) in isDeclareTargetDeclaration() 172 if (ActiveAttr.hasValue()) in getDeviceType() 180 if (ActiveAttr.hasValue()) in getLocation()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Driver/ToolChains/ |
| H A D | AVR.cpp | 326 if (!FamilyName.hasValue()) { in AVRToolChain() 334 } else if (!AVRLibcRoot.hasValue()) { in AVRToolChain() 383 if (SectionAddressData.hasValue()) { in ConstructJob()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/Dynamic/ |
| H A D | VariantValue.h | 191 return Value->getTypedMatcher(MatcherOps(NK)).hasValue(); in hasTypedMatcher() 274 explicit operator bool() const { return hasValue(); } 275 bool hasValue() const { return Type != VT_Nothing; } in hasValue() function
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | DbiStreamBuilder.cpp | 75 if (!NewFpoData.hasValue()) in addNewFpoData() 289 if (NewFpoData.hasValue()) { in finalizeMsfLayout() 310 if (!S.hasValue()) in finalizeMsfLayout() 433 if (Stream.hasValue()) in commit() 440 if (!Stream.hasValue()) in commit()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/ |
| H A D | MacroInfo.cpp | 185 !isPublic.hasValue() || isPublic.getValue()); in getDefinition() 193 if (!isPublic.hasValue()) in getDefinition() 198 !isPublic.hasValue() || isPublic.getValue()); in getDefinition()
|