Home
last modified time | relevance | path

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

123

/src/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()
/src/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemoryLocation.h166 bool hasValue() const { in hasValue() function
172 assert(hasValue() && "Getting value from an unknown LocationSize!"); in getValue()
184 return hasValue() && getValue().getKnownMinValue() == 0; in isZero()
195 return hasValue() && getValue() == Other;
/src/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.cpp1083 if (!V1Size.hasValue() && !V2Size.hasValue()) { in aliasGEP()
1115 V2Size.hasValue() && !V2Size.isScalable() && in aliasGEP()
1123 V1Size.hasValue() && !V1Size.isScalable() && in aliasGEP()
1174 if (!VLeftSize.hasValue()) in aliasGEP()
1183 if (VRightSize.hasValue() && !VRightSize.isScalable() && in aliasGEP()
1230 if (VLeftSize.hasValue() && in aliasGEP()
1241 if (!V1Size.hasValue() || !V2Size.hasValue()) in aliasGEP()
1886 if (GEP.VarIndices.size() != 2 || !MaybeV1Size.hasValue() || in constantOffsetHeuristic()
1887 !MaybeV2Size.hasValue()) in constantOffsetHeuristic()
H A DMemoryDependenceAnalysis.cpp372 if (!MemLoc.Size.hasValue()) in canSkipClobberingStore()
1099 if (CacheInfo->Size.hasValue() && Loc.Size.hasValue()) { in getNonLocalPointerDepFromBB()
1109 ThrowOutEverything = !Loc.Size.hasValue(); in getNonLocalPointerDepFromBB()
/src/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
/src/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.cpp1112 !TS.hasValue() ? LLT() in MachineMemOperand()
1122 assert((!MMO->getSize().hasValue() || !getSize().hasValue() || in refineAlignment()
1246 if (!getSize().hasValue() || in print()
H A DStackProtector.cpp264 if (MemLoc && MemLoc->Size.hasValue() && in HasAddressTaken()
H A DMachineFunction.cpp492 assert((!Size.hasValue() || in getMachineMemOperand()
515 assert((!Size.hasValue() || in getMachineMemOperand()
/src/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMHazardRecognizer.cpp194 if (!MO0->getSize().hasValue() || MO0->getSize().getValue() > 4) in getHazardType()
263 if (Size1.hasValue() && Size1.getValue() > 4) in EmitInstruction()
/src/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()
/src/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 …]
/src/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsPreLegalizerCombiner.cpp73 if (!MMO->getSize().hasValue() || in tryCombineAll()
/src/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLoadStoreOpt.cpp131 if (PtrDiff >= 0 && Size1.hasValue() && !Size1.isScalable()) { in aliasIsKnownForLoadStore()
138 if (PtrDiff < 0 && Size2.hasValue() && !Size2.isScalable()) { in aliasIsKnownForLoadStore()
276 if (AA && MUC0.MMO->getValue() && MUC1.MMO->getValue() && Size0.hasValue() && in instMayAlias()
277 Size1.hasValue()) { in instMayAlias()
/src/contrib/llvm-project/clang/include/clang/Interpreter/
H A DValue.h134 bool hasValue() const { return isValid() && !isVoid(); } in hasValue() function
/src/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/
H A DGlobalISelMatchTable.h859 return hasValue() && PredicateMatcher::isIdentical(B); in isIdenticalDownToValue()
863 assert(hasValue() && "Can not get a value of a value-less predicate!"); in getValue()
866 virtual bool hasValue() const { return false; } in hasValue() function
957 bool hasValue() const override;
1381 bool hasValue() const override { in hasValue() function
/src/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonSubtarget.cpp397 if (BaseOp0 == nullptr || !BaseOp0->isReg() || !Size0.hasValue() || in apply()
410 if (BaseOp1 == nullptr || !BaseOp1->isReg() || !Size0.hasValue() || in apply()
/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineC.cpp816 bool hasValue = false; in VisitGuardedExpr() local
832 hasValue = true; in VisitGuardedExpr()
839 if (!hasValue) in VisitGuardedExpr()
/src/contrib/llvm-project/llvm/include/llvm/Support/
H A DCommandLine.h554 bool hasValue() const { return false; }
585 bool hasValue() const { return Valid; }
603 if (!VC.hasValue())
1465 if (V.hasValue())
/src/contrib/llvm-project/clang/lib/Sema/
H A DSemaAttr.cpp442 assert(Eval.Val.hasValue()); in ConstantFoldAttrArgs()
459 AlignPackStack.hasValue() && in DiagnoseNonDefaultPragmaAlignPack()
464 AlignPackStack.hasValue() ? PrevLocation : SourceLocation(), in DiagnoseNonDefaultPragmaAlignPack()
/src/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFISelDAGToDAG.cpp250 if (!LD->getMemOperand()->getSize().hasValue()) in PreprocessLoad()

123