Home
last modified time | relevance | path

Searched refs:DemandedLHS (Results 1 – 9 of 9) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DVectorUtils.cpp311 const APInt &DemandedElts, APInt &DemandedLHS, in getShuffleDemandedElts() argument
313 DemandedLHS = DemandedRHS = APInt::getZero(SrcWidth); in getShuffleDemandedElts()
321 DemandedLHS.setBit(0); in getShuffleDemandedElts()
339 DemandedLHS.setBit(M); in getShuffleDemandedElts()
H A DValueTracking.cpp136 APInt &DemandedLHS, APInt &DemandedRHS) { in getShuffleDemandedElts() argument
139 DemandedLHS = DemandedRHS = DemandedElts; in getShuffleDemandedElts()
1592 APInt DemandedLHS, DemandedRHS; in computeKnownBitsFromOperator() local
1599 if (!!DemandedLHS) { in computeKnownBitsFromOperator()
1601 computeKnownBits(LHS, DemandedLHS, Known, Depth + 1, Q); in computeKnownBitsFromOperator()
3537 APInt DemandedLHS, DemandedRHS; in ComputeNumSignBitsImpl() local
3543 if (!!DemandedLHS) { in ComputeNumSignBitsImpl()
3545 Tmp = ComputeNumSignBits(LHS, DemandedLHS, Depth + 1, Q); in ComputeNumSignBitsImpl()
5190 APInt DemandedLHS, DemandedRHS; in computeKnownFPClass() local
5195 if (!!DemandedLHS) { in computeKnownFPClass()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DVectorUtils.h191 const APInt &DemandedElts, APInt &DemandedLHS,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp1680 APInt DemandedLHS(DemandedElts), DemandedRHS(DemandedElts); in SimplifyDemandedVectorElts() local
1692 DemandedLHS.clearBit(i); in SimplifyDemandedVectorElts()
1698 simplifyAndSetOp(I, 1, DemandedLHS, PoisonElts2); in SimplifyDemandedVectorElts()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp2780 APInt DemandedLHS = APInt::getZero(NumElts); in isSplatValue() local
2792 DemandedLHS.setBit(M); in isSplatValue()
2799 if ((DemandedLHS.isZero() && DemandedRHS.isZero()) || in isSplatValue()
2800 (!DemandedLHS.isZero() && !DemandedRHS.isZero())) in isSplatValue()
2812 if (!DemandedLHS.isZero()) in isSplatValue()
2813 return CheckSplatSrc(V.getOperand(0), DemandedLHS); in isSplatValue()
3144 APInt DemandedLHS, DemandedRHS; in computeKnownBits() local
3148 DemandedLHS, DemandedRHS)) in computeKnownBits()
3153 if (!!DemandedLHS) { in computeKnownBits()
4342 APInt DemandedLHS, DemandedRHS; in ComputeNumSignBits() local
[all …]
H A DTargetLowering.cpp1329 APInt DemandedLHS, DemandedRHS; in SimplifyDemandedBits() local
1330 if (!getShuffleDemandedElts(NumElts, ShuffleMask, DemandedElts, DemandedLHS, in SimplifyDemandedBits()
1334 if (!!DemandedLHS || !!DemandedRHS) { in SimplifyDemandedBits()
1340 if (!!DemandedLHS) { in SimplifyDemandedBits()
1341 if (SimplifyDemandedBits(Op0, DemandedBits, DemandedLHS, Known2, TLO, in SimplifyDemandedBits()
1355 Op0, DemandedBits, DemandedLHS, TLO.DAG, Depth + 1); in SimplifyDemandedBits()
3371 APInt DemandedLHS(DemandedElts); in SimplifyDemandedVectorElts() local
3375 if (SimplifyDemandedVectorElts(LHS, DemandedLHS, UndefLHS, ZeroLHS, TLO, in SimplifyDemandedVectorElts()
3401 APInt DemandedLHS(NumElts, 0); in SimplifyDemandedVectorElts() local
3409 DemandedLHS.setBit(M); in SimplifyDemandedVectorElts()
[all …]
H A DDAGCombiner.cpp25644 APInt DemandedLHS = APInt::getZero(NumElts); in visitVECTOR_SHUFFLE() local
25653 APInt &Demanded = M < (int)NumElts ? DemandedLHS : DemandedRHS; in visitVECTOR_SHUFFLE()
25658 if (!IsInLaneMask && (!DemandedLHS.isZero() || !DemandedRHS.isZero()) && in visitVECTOR_SHUFFLE()
25659 (DemandedLHS.isZero() || DAG.MaskedVectorIsZero(N0, DemandedLHS)) && in visitVECTOR_SHUFFLE()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp5066 DemandedLHS.setBit(InnerIdx); in getPackDemandedElts()
5081 DemandedLHS = APInt::getZero(NumElts); in getHorizDemandedElts()
36611 APInt DemandedLHS, DemandedRHS; in computeKnownBitsForTargetNode() local
36618 if (!!DemandedLHS) { in computeKnownBitsForTargetNode()
36904 APInt DemandedLHS, DemandedRHS; in ComputeNumSignBitsForTargetNode() local
36928 if (!!DemandedLHS) in ComputeNumSignBitsForTargetNode()
41275 APInt DemandedLHS, DemandedRHS; in SimplifyDemandedVectorEltsForTargetNode() local
41312 APInt DemandedLHS, DemandedRHS; in SimplifyDemandedVectorEltsForTargetNode() local
41772 if (DemandedLHS || DemandedRHS) { in SimplifyDemandedBitsForTargetNode()
41773 DemandedLHS = DemandedLHS ? DemandedLHS : LHS; in SimplifyDemandedBitsForTargetNode()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp3685 SDValue DemandedLHS = TLI.SimplifyMultipleUseDemandedBits(LHS, Demanded, DAG); in simplifyMul24() local
3687 if (DemandedLHS || DemandedRHS) in simplifyMul24()
3689 DemandedLHS ? DemandedLHS : LHS, in simplifyMul24()