Home
last modified time | relevance | path

Searched refs:getZero (Results 1 – 25 of 134) sorted by relevance

123456

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp100 APInt Zero = APInt::getZero(BW), One = APInt(BW, 1); in splitPosNeg()
144 return ConstantRange(std::move(UMin) + 1, APInt::getZero(W)); in makeAllowedICmpRegion()
153 return getNonEmpty(CR.getUnsignedMin(), APInt::getZero(W)); in makeAllowedICmpRegion()
345 return getNonEmpty(APInt::getZero(BitWidth), -Other.getUnsignedMax()); in makeGuaranteedNoWrapRegion()
391 return getNonEmpty(APInt::getZero(BitWidth), in makeGuaranteedNoWrapRegion()
1187 return ConstantRange(APInt::getZero(getBitWidth())).sub(Other); in multiply()
1194 return ConstantRange(APInt::getZero(getBitWidth())).sub(*this); in multiply()
1264 getNonEmpty(APInt::getZero(getBitWidth()), in multiplyWithNoWrap()
1369 APInt Zero = APInt::getZero(getBitWidth()); in sdiv()
1469 return getNonEmpty(APInt::getZero(getBitWidth()), std::move(Upper)); in urem()
[all …]
H A DConstantFPRange.cpp149 Lower = APFloat::getZero(Lower.getSemantics(), /*Negative=*/true); in extendZeroIfEqual()
151 Upper = APFloat::getZero(Upper.getSemantics(), /*Negative=*/false); in extendZeroIfEqual()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DAnalysis.h69 TypeSize StartingOffset = TypeSize::getZero());
80 TypeSize StartingOffset = TypeSize::getZero()) {
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DCmpInstAnalysis.cpp109 Result.C = APInt::getZero(C.getBitWidth()); in decomposeBitTestICmp()
137 Result.C = APInt::getZero(C.getBitWidth()); in decomposeBitTestICmp()
208 Result.C = APInt::getZero(BitWidth); in decomposeBitTest()
H A DHashRecognize.cpp197 auto CheckLCR = ConstantRange(APInt::getZero(ICmpBW), APInt(ICmpBW, 2)); in computeInstr()
209 ConstantRange CheckRCR(APInt::getZero(ICmpBW), in computeInstr()
472 Table[0] = APInt::getZero(BW); in genSarwateTable()
478 (CRCInit.isSignBitSet() ? GenPoly : APInt::getZero(BW)); in genSarwateTable()
487 CRCInit = CRCInit.lshr(1) ^ (CRCInit[0] ? GenPoly : APInt::getZero(BW)); in genSarwateTable()
H A DDependenceAnalysis.cpp1426 SE->getSMaxExpr(SE->getZero(Delta->getType()), Delta), in weakCrossingSIVtest()
1469 Result.DV[Level].Distance = SE->getZero(Delta->getType()); in weakCrossingSIVtest()
1796 NewConstraint.setLine(SE->getZero(Delta->getType()), DstCoeff, Delta, in weakZeroSrcSIVtest()
1905 NewConstraint.setLine(SrcCoeff, SE->getZero(Delta->getType()), Delta, in weakZeroDstSIVtest()
2423 APInt RunningGCD = APInt::getZero(BitWidth); in gcdMIVtest()
2461 APInt ExtraGCD = APInt::getZero(BitWidth); in gcdMIVtest()
2857 SE->getZero(A[K].Coeff->getType()); in findBoundsALL()
2860 SE->getZero(A[K].Coeff->getType()); in findBoundsALL()
2995 return SE->getSMaxExpr(X, SE->getZero(X->getType())); in getPositivePart()
3001 return SE->getSMinExpr(X, SE->getZero(X->getType())); in getNegativePart()
[all …]
H A DScalarEvolutionDivision.cpp246 Zero = SE.getZero(Denominator->getType()); in SCEVDivision()
H A DBranchProbabilityInfo.cpp470 BranchProbability NewUnreachableSum = BranchProbability::getZero(); in calcMetadataWeights()
477 BranchProbability OldReachableSum = BranchProbability::getZero(); in calcMetadataWeights()
1119 auto Prob = BranchProbability::getZero(); in getEdgeProbability()
H A DBlockFrequencyInfoImpl.cpp550 auto Max = Scaled64::getZero(); in finalizeMetrics()
616 return Scaled64::getZero(); in getFloatingBlockFreq()
H A DStackSafetyAnalysis.cpp178 R = ConstantRange(APInt::getZero(PointerSize), APSize); in getStaticAllocaSizeRange()
338 ConstantRange(APInt::getZero(PointerSize), APSize)); in getAccessRange()
361 ConstantRange SizeRange(APInt::getZero(PointerSize), Sizes.getUpper() - 1); in getMemIntrinsicAccessRange()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DSelectOptimize.cpp197 : Scaled64::getZero(); in getOpCostOnBranch()
199 return Scaled64::getZero(); in getOpCostOnBranch()
968 CostInfo LoopCost[2] = {{Scaled64::getZero(), Scaled64::getZero()}, in findProfitableSIGroupsInnerLoops()
969 {Scaled64::getZero(), Scaled64::getZero()}}; in findProfitableSIGroupsInnerLoops()
978 Scaled64 SelectCost = Scaled64::getZero(), BranchCost = Scaled64::getZero(); in findProfitableSIGroupsInnerLoops()
1297 Scaled64 IPredCost = Scaled64::getZero(), in computeLoopCosts()
1298 INonPredCost = Scaled64::getZero(); in computeLoopCosts()
1338 Scaled64 CondCost = Scaled64::getZero(); in computeLoopCosts()
H A DSwitchLoweringUtils.cpp200 auto Prob = BranchProbability::getZero(); in buildJumpTable()
207 JTProbs[Clusters[I].MBB] = BranchProbability::getZero(); in buildJumpTable()
411 LowBound = APInt::getZero(Low.getBitWidth()); in buildBitTests()
420 auto TotalProb = BranchProbability::getZero(); in buildBitTests()
429 CaseBits(0, Clusters[i].MBB, 0, BranchProbability::getZero())); in buildBitTests()
H A DStackSlotColoring.cpp489 TypeSize LoadSize = TypeSize::getZero(); in RemoveDeadStores()
490 TypeSize StoreSize = TypeSize::getZero(); in RemoveDeadStores()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DBranchProbability.h51 static BranchProbability getZero() { return BranchProbability(0); } in getZero() function
229 BranchProbability ProbForUnknown = BranchProbability::getZero(); in normalizeProbabilities()
H A DScaledNumber.h524 static ScaledNumber getZero() { return ScaledNumber(0, 0); } in getZero() function
886 *this = getZero(); in shiftRight()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FixupVectorConstants.cpp88 return APInt::getZero(NumBits); in extractConstantBits()
112 APInt Bits = APInt::getZero(NumBits); in extractConstantBits()
132 APInt Bits = APInt::getZero(NumBits); in extractConstantBits()
191 APInt SplatBits = APInt::getZero(SplatBitWidth); in getSplatableConstant()
313 APInt TruncBits = APInt::getZero(NumElts * SrcEltBitWidth); in rebuildExtCst()
/freebsd/contrib/llvm-project/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp223 return ConstantFP::getZero(Tp); in getRandomConstant()
245 return ConstantFP::getZero(Tp); in getRandomValue()
430 return PT->push_back(ConstantFP::getZero(Ty)); in Act()
441 ConstantInt::get(Ty, APInt::getZero(Ty->getPrimitiveSizeInBits()))); in Act()
/freebsd/contrib/llvm-project/clang/lib/CIR/Dialect/IR/
H A DCIRAttrs.cpp182 FPAttr FPAttr::getZero(Type type) { in getZero() function in FPAttr
184 APFloat::getZero( in getZero()
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DOpDescriptor.cpp34 Cs.push_back(ConstantFP::get(Ctx, APFloat::getZero(Sem))); in makeConstantsWithType()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelLoweringHVX.cpp843 return getZero(dl, VecTy, DAG); in buildHvxVectorReg()
951 SDValue HalfV = getZero(dl, VecTy, DAG); in buildHvxVectorReg()
1077 SDValue Vec = ZeroFill ? getZero(dl, ByteTy, DAG) : DAG.getUNDEF(ByteTy); in createHvxPrefixPred()
1361 SDValue Zero = getZero(dl, MVT::i32, DAG); in extractHvxSubvectorPred()
1519 SDValue False = getZero(dl, ResTy, DAG); in extendHvxVectorPred()
1557 getZero(dl, VecTy, DAG)); in compressHvxPred()
1767 SDValue Res = getZero(dl, ByteTy, DAG); in LowerHvxConcatVectors()
2143 DAG.getSetCC(dl, MVT::i1, ModS, getZero(dl, MVT::i32, DAG), ISD::SETEQ); in LowerHvxFunnelShift()
2244 SDValue Z = getZero(dl, ty(V), DAG); in LowerHvxMaskedOp()
2461 DAG.getSetCC(dl, PredTy, And, getZero(dl, ResTy, DAG), ISD::SETLT); in emitHvxAddWithOverflow()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp1171 FalseCnt = Counter::getZero();
1173 TrueCnt = Counter::getZero();
1319 pushRegion(Counter::getZero()); in terminateRegion()
1488 GapRegionCounter = Counter::getZero(); in VisitStmt()
1879 size_t Index = pushRegion(Counter::getZero(), getStart(CS)); in VisitSwitchStmt()
1892 propagateCounts(Counter::getZero(), Body); in VisitSwitchStmt()
1933 addCounters(CaseCountSum, Counter::getZero(), /*Simplify=*/true); in VisitSwitchStmt()
2070 : Counter::getZero())} in VisitIfStmt()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFixedPoint.h229 return APSInt(APInt::getZero(getWidth()), Val.isUnsigned());
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DAlignmentFromAssumptions.cpp184 OffSCEV = SE->getZero(Int64Ty); in extractAlignmentInfo()
/freebsd/contrib/llvm-project/clang/lib/CIR/Lowering/
H A DLoweringHelpers.cpp38 return mlir::APInt::getZero(intTy.getWidth()); in getZeroInitFromType()
/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/
H A DConstant.cpp122 Constant *ConstantFP::getZero(Type *Ty, bool Negative) { in getZero() function in llvm::sandboxir::ConstantFP
123 auto *LLVMC = llvm::ConstantFP::getZero(Ty->LLVMTy, Negative); in getZero()

123456