Home
last modified time | relevance | path

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

12345

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DSelectOptimize.cpp249 : Scaled64::getZero(); in getTrueOpCost()
264 return Scaled64::getZero(); in getTrueOpCost()
275 : Scaled64::getZero(); in getFalseOpCost()
283 return Scaled64::getZero(); in getFalseOpCost()
866 CostInfo LoopCost[2] = {{Scaled64::getZero(), Scaled64::getZero()}, in findProfitableSIGroupsInnerLoops()
867 {Scaled64::getZero(), Scaled64::getZero()}}; in findProfitableSIGroupsInnerLoops()
876 Scaled64 SelectCost = Scaled64::getZero(), BranchCost = Scaled64::getZero(); in findProfitableSIGroupsInnerLoops()
1180 Scaled64 IPredCost = Scaled64::getZero(), in computeLoopCosts()
1181 INonPredCost = Scaled64::getZero(); in computeLoopCosts()
1220 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 DMachineBlockPlacement.cpp857 auto BestSuccSucc = BranchProbability::getZero(); in isProfitableToTailDup()
1602 auto BestProb = BranchProbability::getZero(); in selectBestSuccessor()
2504 auto LargestExitEdgeProb = BranchProbability::getZero(); in rotateLoopWithProfile()
2513 if (LargestExitEdgeProb > BranchProbability::getZero()) { in rotateLoopWithProfile()
3255 BranchProbability BestProb = BranchProbability::getZero(); in isBestSuccessor()
3286 BranchProbability DefaultBranchProb = BranchProbability::getZero(); in findDuplicateCandidates()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp132 return ConstantRange(std::move(UMin) + 1, APInt::getZero(W)); in makeAllowedICmpRegion()
141 return getNonEmpty(CR.getUnsignedMin(), APInt::getZero(W)); in makeAllowedICmpRegion()
334 return getNonEmpty(APInt::getZero(BitWidth), -Other.getUnsignedMax()); in makeGuaranteedNoWrapRegion()
380 return getNonEmpty(APInt::getZero(BitWidth), in makeGuaranteedNoWrapRegion()
1174 return ConstantRange(APInt::getZero(getBitWidth())).sub(Other); in multiply()
1181 return ConstantRange(APInt::getZero(getBitWidth())).sub(*this); in multiply()
1348 APInt Zero = APInt::getZero(getBitWidth()); in sdiv()
1451 return getNonEmpty(APInt::getZero(getBitWidth()), std::move(Upper)); in urem()
1487 return ConstantRange(APInt::getZero(getBitWidth()), std::move(Upper)); in srem()
1516 getNonEmpty(APInt::getZero(getBitWidth()), in binaryAnd()
[all …]
/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/include/llvm/Support/
H A DBranchProbability.h49 static BranchProbability getZero() { return BranchProbability(0); } in getZero() function
220 BranchProbability ProbForUnknown = BranchProbability::getZero(); in normalizeProbabilities()
H A DScaledNumber.h521 static ScaledNumber getZero() { return ScaledNumber(0, 0); } in getZero() function
883 *this = getZero(); in shiftRight()
H A DTypeSize.h351 static constexpr TypeSize getZero() { return TypeSize(0, false); } in getZero() function
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FixupVectorConstants.cpp89 return APInt::getZero(NumBits); in extractConstantBits()
105 APInt Bits = APInt::getZero(NumBits); in extractConstantBits()
125 APInt Bits = APInt::getZero(NumBits); in extractConstantBits()
184 APInt SplatBits = APInt::getZero(SplatBitWidth); in getSplatableConstant()
306 APInt TruncBits = APInt::getZero(NumElts * SrcEltBitWidth); in rebuildExtCst()
/freebsd/contrib/llvm-project/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp225 return ConstantFP::getZero(Tp); in getRandomConstant()
247 return ConstantFP::getZero(Tp); in getRandomValue()
441 return PT->push_back(ConstantFP::getZero(Ty)); in Act()
452 ConstantInt::get(Ty, APInt::getZero(Ty->getPrimitiveSizeInBits()))); in Act()
/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.cpp833 return getZero(dl, VecTy, DAG); in buildHvxVectorReg()
941 SDValue HalfV = getZero(dl, VecTy, DAG); in buildHvxVectorReg()
1067 SDValue Vec = ZeroFill ? getZero(dl, ByteTy, DAG) : DAG.getUNDEF(ByteTy); in createHvxPrefixPred()
1346 SDValue Zero = getZero(dl, MVT::i32, DAG); in extractHvxSubvectorPred()
1504 SDValue False = getZero(dl, ResTy, DAG); in extendHvxVectorPred()
1542 getZero(dl, VecTy, DAG)); in compressHvxPred()
1579 getZero(dl, MVT::i32, DAG)); in resizeToWidth()
1752 SDValue Res = getZero(dl, ByteTy, DAG); in LowerHvxConcatVectors()
2106 DAG.getSetCC(dl, MVT::i1, ModS, getZero(dl, MVT::i32, DAG), ISD::SETEQ); in LowerHvxFunnelShift()
2207 SDValue Z = getZero(d in LowerHvxMaskedOp()
[all...]
H A DHexagonISelLowering.h412 SDValue getZero(const SDLoc &dl, MVT Ty, SelectionDAG &DAG) const;
463 SDValue Idx = getZero(dl, MVT::i32, DAG); in LoHalf()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp1407 SE->getSMaxExpr(SE->getZero(Delta->getType()), Delta), in weakCrossingSIVtest()
1450 Result.DV[Level].Distance = SE->getZero(Delta->getType()); in weakCrossingSIVtest()
1777 NewConstraint.setLine(SE->getZero(Delta->getType()), DstCoeff, Delta, in weakZeroSrcSIVtest()
1886 NewConstraint.setLine(SrcCoeff, SE->getZero(Delta->getType()), Delta, in weakZeroDstSIVtest()
2407 APInt RunningGCD = APInt::getZero(BitWidth); in gcdMIVtest()
2447 APInt ExtraGCD = APInt::getZero(BitWidth); in gcdMIVtest()
2847 SE->getZero(A[K].Coeff->getType()); in findBoundsALL()
2850 SE->getZero(A[K].Coeff->getType()); in findBoundsALL()
2985 return SE->getSMaxExpr(X, SE->getZero(X->getType())); in getPositivePart()
2991 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.cpp474 BranchProbability NewUnreachableSum = BranchProbability::getZero(); in calcMetadataWeights()
481 BranchProbability OldReachableSum = BranchProbability::getZero(); in calcMetadataWeights()
1123 auto Prob = BranchProbability::getZero(); in getEdgeProbability()
H A DBlockFrequencyInfoImpl.cpp550 auto Max = Scaled64::getZero(); in finalizeMetrics()
616 return Scaled64::getZero(); in getFloatingBlockFreq()
H A DVectorUtils.cpp315 DemandedLHS = DemandedRHS = APInt::getZero(SrcWidth); in getShuffleDemandedElts()
580 DemandedLHS = APInt::getZero(NumElts); in getHorizDemandedEltsForFirstOperand()
581 DemandedRHS = APInt::getZero(NumElts); in getHorizDemandedEltsForFirstOperand()
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()
H A DValueTracking.cpp558 auto Zero = APInt::getZero(RHS->getType()->getScalarSizeInBits()); in cmpExcludesZero()
1012 return ConstantRange(APInt(BitWidth, 1), APInt::getZero(BitWidth)); in getVScaleRange()
1022 return ConstantRange(Min, APInt::getZero(BitWidth)); in getVScaleRange()
1191 APInt::getZero(FPType->getScalarSizeInBits()))); in computeKnownBitsFromOperator()
1234 APInt SubDemandedElts = APInt::getZero(NumElts * SubScale); in computeKnownBitsFromOperator()
3038 return rangeMetadataExcludesValue(Ranges, APInt::getZero(BitWidth)); in isKnownNonZeroFromOperator()
3078 return rangeMetadataExcludesValue(Ranges, APInt::getZero(BitWidth)); in isKnownNonZeroFromOperator()
9520 return ConstantRange::getNonEmpty(APInt::getZero(Width), in getRangeForIntrinsic()
9526 return ConstantRange::getNonEmpty(*C, APInt::getZero(Width)); in getRangeForIntrinsic()
9545 return ConstantRange::getNonEmpty(APInt::getZero(Width), *C + 1); in getRangeForIntrinsic()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp1137 popRegions(pushRegion(Counter::getZero(), getStart(C), getEnd(C),
1138 Counter::getZero(), BranchParams));
1282 pushRegion(Counter::getZero()); in terminateRegion()
1451 GapRegionCounter = Counter::getZero(); in VisitStmt()
1830 size_t Index = pushRegion(Counter::getZero(), getStart(CS)); in VisitSwitchStmt()
1843 propagateCounts(Counter::getZero(), Body); in VisitSwitchStmt()
1882 CaseCountSum = addCounters(CaseCountSum, Counter::getZero()); in VisitSwitchStmt()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFixedPoint.h214 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/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp548 return IC.replaceInstUsesWith(II, ConstantFP::getZero(Ty)); in instCombineIntrinsic()
1158 APFloat Zero = APFloat::getZero(II.getType()->getFltSemantics()); in instCombineIntrinsic()
1186 return IC.replaceInstUsesWith(II, ConstantFP::getZero(II.getType())); in instCombineIntrinsic()
1209 auto *Zero = ConstantFP::getZero(II.getType()); in instCombineIntrinsic()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUtils.cpp1330 const SCEV *Zero = SE.getZero(S->getType()); in isKnownNegativeInLoop()
1337 const SCEV *Zero = SE.getZero(S->getType()); in isKnownNonNegativeInLoop()
1344 const SCEV *Zero = SE.getZero(S->getType()); in isKnownPositiveInLoop()
1351 const SCEV *Zero = SE.getZero(S->getType()); in isKnownNonPositiveInLoop()

12345