Home
last modified time | relevance | path

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

12345678910>>...12

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A DOptional.h72 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 DMCSymbolWasm.h85 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 Doptional.d23 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 DTypes.h79 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 DFunctionInfo.h106 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 DELFYAML.h319 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 DMCDisassembler.cpp88 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 DCFLSteensAliasAnalysis.cpp168 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 DMemoryBuiltins.cpp244 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 DBasicAliasAnalysis.cpp1022 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 DELFObjectFile.cpp172 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 DDirectoryEntry.h128 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 DConstraintManager.h57 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 DObjCARCUtil.h36 if (!B.hasValue()) in hasAttachedCallOpBundle()
44 .hasValue(); in hasAttachedCallOpBundle()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DAnalyzerOptions.cpp80 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 DRISCVVEmitter.cpp101 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 DSymbolSerializer.cpp27 assert(!CurrentSymbol.hasValue() && "Already in a symbol mapping!"); in visitSymbolBegin()
42 assert(CurrentSymbol.hasValue() && "Not in a symbol mapping!"); in visitSymbolEnd()
H A DContinuationRecordBuilder.cpp52 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 Dblockexit.d104 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 DFormatStringParsing.h85 bool hasValue() const { return Start != nullptr; } in hasValue() function
87 assert(hasValue()); in getValue()
H A DAttrImpl.cpp164 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 DAVR.cpp326 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 DVariantValue.h191 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 DDbiStreamBuilder.cpp75 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 DMacroInfo.cpp185 !isPublic.hasValue() || isPublic.getValue()); in getDefinition()
193 if (!isPublic.hasValue()) in getDefinition()
198 !isPublic.hasValue() || isPublic.getValue()); in getDefinition()

12345678910>>...12