Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/AST/
H A DFormatStringParsing.h85 bool hasValue() const { return Start != nullptr; } in hasValue() function
87 assert(hasValue()); in getValue()
H A DPrintfFormatString.cpp430 if (!FSR.hasValue()) in ParsePrintfString()
460 if (!FSR.hasValue()) in ParseFormatStringHasSArg()
481 if (FSR.hasValue()) in parseFormatStringHasFormattingSpecifiers()
H A DScanfFormatString.cpp559 if (!FSR.hasValue()) in ParseScanfString()
H A DExprConstant.cpp2355 if (!Value.hasValue()) { in CheckEvaluationResult()
5953 if (Subobj.getUnionValue().hasValue()) in found()
6275 if (!Result.hasValue()) { in HandleConstructorCall()
6358 if (!Value->hasValue() || in HandleConstructorCall()
8323 if (!V->hasValue()) { in VisitVarDecl()
10008 if (!Result.hasValue()) in VisitCXXParenListOrInitListExpr()
10098 if (Result.hasValue()) in VisitCXXConstructExpr()
10803 if (Filler.hasValue()) { in VisitCXXParenListOrInitListExpr()
10876 bool HadZeroInit = Value->hasValue(); in VisitCXXConstructExpr()
11500 return V.hasValue(); in EvaluateBuiltinConstantP()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DMemoryLocation.h157 bool hasValue() const { in hasValue() function
161 assert(hasValue() && "Getting value from an unknown LocationSize!"); in getValue()
172 bool isZero() const { return hasValue() && getValue() == 0; } in isZero()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DScalarEvolutionAliasAnalysis.cpp57 APInt ASizeInt(BitWidth, LocA.Size.hasValue() in alias()
60 APInt BSizeInt(BitWidth, LocB.Size.hasValue() in alias()
H A DBasicAliasAnalysis.cpp1019 if (!V1Size.hasValue() && !V2Size.hasValue()) { in aliasGEP()
1048 V2Size.hasValue() && DecompGEP1.Offset.sge(V2Size.getValue()) && in aliasGEP()
1055 V1Size.hasValue() && DecompGEP1.Offset.sle(-V1Size.getValue()) && in aliasGEP()
1105 if (!VLeftSize.hasValue()) in aliasGEP()
1113 if (VRightSize.hasValue() && Off.ule(INT32_MAX) && in aliasGEP()
1127 if (!V1Size.hasValue() || !V2Size.hasValue()) in aliasGEP()
1731 if (GEP.VarIndices.size() != 2 || !MaybeV1Size.hasValue() || in constantOffsetHeuristic()
1732 !MaybeV2Size.hasValue()) in constantOffsetHeuristic()
H A DMemoryDependenceAnalysis.cpp1065 if (CacheInfo->Size.hasValue() && Loc.Size.hasValue()) { in getNonLocalPointerDepFromBB()
1074 ThrowOutEverything = !Loc.Size.hasValue(); in getNonLocalPointerDepFromBB()
H A DLint.cpp469 Check(!Loc.Size.hasValue() || BaseSize == MemoryLocation::UnknownSize || in visitMemoryReference()
/openbsd-src/gnu/llvm/clang/include/clang/ASTMatchers/Dynamic/
H A DVariantValue.h274 explicit operator bool() const { return hasValue(); }
275 bool hasValue() const { return Type != VT_Nothing; } in hasValue() function
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DExprEngineC.cpp823 bool hasValue = false; in VisitGuardedExpr() local
839 hasValue = true; in VisitGuardedExpr()
846 if (!hasValue) in VisitGuardedExpr()
/openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp1384 bool hasValue() const { in hasValue() function
1389 assert(hasValue() && "Cannot get the value of a constant bit"); in getValue()
1394 assert(hasValue() && "Cannot get the value bit index of a constant bit"); in getValueBitIndex()
1564 if (LHSBits[i].hasValue() && LHSBits[i].getValue() == LastVal && in getValueBits()
1567 else if (RHSBits[i].hasValue() && RHSBits[i].getValue() == LastVal && in getValueBits()
1582 if (Bits[i].hasValue()) { in getValueBits()
1632 if ((*InBits)[i].hasValue() && (*InBits)[i].getValueBitIndex() >= 32) { in getValueBits()
1659 Bits[i] = (*LHSBits)[i].hasValue() in getValueBits()
1699 if (Bits[i].hasValue()) { in computeRotationAmounts()
1720 SDValue LastValue = Bits[0].hasValue() ? Bits[0].getValue() : SDValue(); in collectBitGroups()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DCommandLine.h548 bool hasValue() const { return false; }
578 bool hasValue() const { return Valid; }
595 if (!VC.hasValue())
1455 if (V.hasValue())
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaAttr.cpp431 assert(Eval.Val.hasValue()); in ConstantFoldAttrArgs()
448 AlignPackStack.hasValue() && in DiagnoseNonDefaultPragmaAlignPack()
453 AlignPackStack.hasValue() ? PrevLocation : SourceLocation(), in DiagnoseNonDefaultPragmaAlignPack()
H A DSemaDeclCXX.cpp16635 if (!V.hasValue()) in ConvertAPValueToString()
H A DSemaDecl.cpp17679 AlignPackStack.hasValue()) { in ActOnTagFinishDefinition()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DStackProtector.cpp177 if (MemLoc && MemLoc->Size.hasValue() && in HasAddressTaken()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DAPValue.h391 bool hasValue() const { return Kind != None && Kind != Indeterminate; }
/openbsd-src/gnu/llvm/llvm/utils/TableGen/
H A DGlobalISelEmitter.cpp1174 return hasValue() && PredicateMatcher::isIdentical(B); in isIdenticalDownToValue()
1178 assert(hasValue() && "Can not get a value of a value-less predicate!"); in getValue()
1181 virtual bool hasValue() const { return false; } in hasValue() function in __anon8aabd5ea0111::PredicateMatcher
1273 bool hasValue() const override { in hasValue() function in __anon8aabd5ea0111::LLTOperandMatcher
1828 bool hasValue() const override { in hasValue() function in __anon8aabd5ea0111::InstructionOpcodeMatcher
6195 if (!Predicate.hasValue()) in candidateConditionMatches()
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DCommandLine.cpp2219 if (D.hasValue()) \
2245 if (D.hasValue()) in PRINT_OPT_DIFF()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCodeGenFunction.cpp2377 assert(Init.hasValue() && "Invalid DeclRefExpr initializer!"); in EmitDeclRefExprDbgValue()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DSema.h659 bool hasValue() const { return CurrentValue != DefaultValue; } in hasValue() function
699 if (!FpPragmaStack.hasValue()) { in CurFPFeatureOverrides()