Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DFormatStringParsing.h85 bool hasValue() const { return Start != nullptr; } in hasValue() function
87 assert(hasValue()); in getValue()
H A DPrintfFormatString.cpp446 if (!FSR.hasValue()) in ParsePrintfString()
476 if (!FSR.hasValue()) in ParseFormatStringHasSArg()
497 if (FSR.hasValue()) in parseFormatStringHasFormattingSpecifiers()
H A DScanfFormatString.cpp557 if (!FSR.hasValue()) in ParseScanfString()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemoryLocation.h152 bool hasValue() const { in hasValue() function
158 assert(hasValue() && "Getting value from an unknown LocationSize!"); in getValue()
170 return hasValue() && getValue().getKnownMinValue() == 0; in isZero()
/freebsd/contrib/llvm-project/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.cpp1090 if (!V1Size.hasValue() && !V2Size.hasValue()) { in aliasGEP()
1130 V2Size.hasValue() && !V2Size.isScalable() && in aliasGEP()
1137 V1Size.hasValue() && !V1Size.isScalable() && in aliasGEP()
1184 if (!VLeftSize.hasValue()) in aliasGEP()
1193 if (VRightSize.hasValue() && !VRightSize.isScalable() && in aliasGEP()
1240 if (VLeftSize.hasValue() && in aliasGEP()
1256 DecompGEP1.NWFlags.hasNoUnsignedWrap() && V2Size.hasValue() && in aliasGEP()
1267 if (!V1Size.hasValue() || !V2Size.hasValue() || in aliasGEP()
1938 if (GEP.VarIndices.size() != 2 || !MaybeV1Size.hasValue() || in constantOffsetHeuristic()
1939 !MaybeV2Size.hasValue()) in constantOffsetHeuristic()
/freebsd/contrib/llvm-project/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
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DDFAPacketizer.cpp255 if (!Op1.getValue() || !Op2.getValue() || !Op1.getSize().hasValue() || in alias()
256 !Op2.getSize().hasValue()) in alias()
H A DMachineOperand.cpp1127 !TS.hasValue() ? LLT() in MachineMemOperand()
1137 assert((!MMO->getSize().hasValue() || !getSize().hasValue() || in refineAlignment()
1270 if (!getSize().hasValue() || in print()
H A DStackProtector.cpp276 if (MemLoc && MemLoc->Size.hasValue() && in HasAddressTaken()
H A DMachineFunction.cpp528 assert((!Size.hasValue() || in getMachineMemOperand()
551 assert((!Size.hasValue() || in getMachineMemOperand()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVFoldMemOffset.cpp55 bool hasValue() const { return Offset.has_value(); } in hasValue() function in __anon99dd37ee0111::FoldableOffset
215 assert(Offset.hasValue() && "Expected an offset"); in foldOffset()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMHazardRecognizer.cpp192 if (!MO0->getSize().hasValue() || MO0->getSize().getValue() > 4) in getHazardType()
261 if (Size1.hasValue() && Size1.getValue() > 4) in EmitInstruction()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGAddressAnalysis.cpp111 if (PtrDiff >= 0 && NumBytes0.hasValue() && !NumBytes0.isScalable()) { in computeAliasing()
119 if (PtrDiff < 0 && NumBytes1.hasValue() && !NumBytes1.isScalable()) { in computeAliasing()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCHazardRecognizers.cpp377 if (MO->getSize().hasValue() && in getHazardType()
404 (*MI->memoperands_begin())->getSize().hasValue()) { in EmitInstruction()
H A DPPCISelDAGToDAG.cpp1528 bool hasValue() const { in hasValue() function
1533 assert(hasValue() && "Cannot get the value of a constant bit"); in getValue()
1538 assert(hasValue() && "Cannot get the value bit index of a constant bit"); in getValueBitIndex()
1719 if (LHSBits[i].hasValue() && LHSBits[i].getValue() == LastVal && in getValueBits()
1722 else if (RHSBits[i].hasValue() && RHSBits[i].getValue() == LastVal && in getValueBits()
1737 if (Bits[i].hasValue()) { in getValueBits()
1787 if ((*InBits)[i].hasValue() && (*InBits)[i].getValueBitIndex() >= 32) { in getValueBits()
1814 Bits[i] = (*LHSBits)[i].hasValue() in getValueBits()
1854 if (Bits[i].hasValue()) { in computeRotationAmounts()
1875 SDValue LastValue = Bits[0].hasValue() ? Bits[0].getValue() : SDValue(); in collectBitGroups()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsPreLegalizerCombiner.cpp70 if (!MMO->getSize().hasValue() || in tryCombineAll()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLoadStoreOpt.cpp128 if (PtrDiff >= 0 && Size1.hasValue() && !Size1.isScalable()) { in aliasIsKnownForLoadStore()
135 if (PtrDiff < 0 && Size2.hasValue() && !Size2.isScalable()) { in aliasIsKnownForLoadStore()
273 if (AA && MUC0.MMO->getValue() && MUC1.MMO->getValue() && Size0.hasValue() && in instMayAlias()
274 Size1.hasValue()) { in instMayAlias()
/freebsd/contrib/llvm-project/clang/include/clang/Interpreter/
H A DValue.h135 bool hasValue() const { return isValid() && !isVoid(); } in hasValue() function
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/
H A DGlobalISelMatchTable.h873 return hasValue() && PredicateMatcher::isIdentical(B); in isIdenticalDownToValue()
877 assert(hasValue() && "Can not get a value of a value-less predicate!"); in getValue()
880 virtual bool hasValue() const { return false; } in hasValue() function
971 bool hasValue() const override;
1421 bool hasValue() const override { in hasValue() function
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonSubtarget.cpp398 if (BaseOp0 == nullptr || !BaseOp0->isReg() || !Size0.hasValue() || in apply()
411 if (BaseOp1 == nullptr || !BaseOp1->isReg() || !Size0.hasValue() || in apply()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineC.cpp855 bool hasValue = false; in VisitGuardedExpr() local
871 hasValue = true; in VisitGuardedExpr()
878 if (!hasValue) in VisitGuardedExpr()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DCommandLine.h555 bool hasValue() const { return false; }
586 bool hasValue() const { return Valid; }
604 if (!VC.hasValue())
1471 if (V.hasValue())
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFISelDAGToDAG.cpp246 if (!LD->getMemOperand()->getSize().hasValue()) in PreprocessLoad()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAttr.cpp560 AlignPackStack.hasValue() && in DiagnoseNonDefaultPragmaAlignPack()
565 AlignPackStack.hasValue() ? PrevLocation : SourceLocation(), in DiagnoseNonDefaultPragmaAlignPack()

123