Home
last modified time | relevance | path

Searched refs:SimplifyDemandedBits (Results 1 – 16 of 16) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp71 bool InstCombinerImpl::SimplifyDemandedBits(Instruction *I, unsigned OpNo, in SimplifyDemandedBits() function in InstCombinerImpl
163 if (SimplifyDemandedBits(I, 1, DemandedMask, RHSKnown, Depth + 1) || in SimplifyDemandedUseBits()
192 if (SimplifyDemandedBits(I, 1, DemandedMask, RHSKnown, Depth + 1) || in SimplifyDemandedUseBits()
220 if (SimplifyDemandedBits(I, 1, DemandedMask, RHSKnown, Depth + 1) || in SimplifyDemandedUseBits()
221 SimplifyDemandedBits(I, 0, DemandedMask, LHSKnown, Depth + 1)) in SimplifyDemandedUseBits()
342 SimplifyDemandedBits(I, 1, DemandedMask, LHSKnown, Depth + 1)) in SimplifyDemandedUseBits()
419 if (SimplifyDemandedBits(I, 0, DemandedMask, Known, Depth + 1)) in SimplifyDemandedUseBits()
550 if (SimplifyDemandedBits(I, 0, DemandedMaskIn, Known, Depth + 1)) in SimplifyDemandedUseBits()
712 if (SimplifyDemandedBits(I, 0, Mask2, LHSKnown, Depth + 1)) in SimplifyDemandedUseBits()
747 if (SimplifyDemandedBits(I, 0, AllOnes, Known2, Depth + 1) || in SimplifyDemandedUseBits()
[all …]
H A DInstCombineInternal.h570 bool SimplifyDemandedBits(Instruction *I, unsigned Op,
H A DInstCombineCompares.cpp5127 if (SimplifyDemandedBits(&I, 0, in foldICmpUsingKnownBits()
5132 if (SimplifyDemandedBits(&I, 1, APInt::getAllOnesValue(BitWidth), in foldICmpUsingKnownBits()
H A DInstCombineCalls.cpp1176 if (SimplifyDemandedBits(II, 2, Op2Demanded, Op2Known)) in visitCallInst()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp599 bool Simplified = SimplifyDemandedBits(Op, DemandedBits, Known, TLO); in SimplifyDemandedBits()
890 bool TargetLowering::SimplifyDemandedBits( in SimplifyDemandedBits() function in TargetLowering
1371 if (SimplifyDemandedBits(Op.getOperand(2), DemandedBits, Known, TLO, in SimplifyDemandedBits()
1388 if (SimplifyDemandedBits(Op.getOperand(3), DemandedBits, Known, TLO, in SimplifyDemandedBits()
1695 if (SimplifyDemandedBits(Op1, Demanded1, DemandedElts, Known, TLO, in SimplifyDemandedBits()
1710 if (SimplifyDemandedBits(Op2, DemandedAmtBits, DemandedElts, in SimplifyDemandedBits()
1998 if (SimplifyDemandedBits(Src, TruncMask, DemandedElts, Known, TLO, in SimplifyDemandedBits()
2160 if (SimplifyDemandedBits(Src, DemandedSrcBits, DemandedSrcElts, in SimplifyDemandedBits()
2184 if (SimplifyDemandedBits(Src, DemandedSrcBits, DemandedSrcElts, in SimplifyDemandedBits()
2206 if (SimplifyDemandedBits(Op0, LoMask, DemandedElts, Known2, TLO, in SimplifyDemandedBits()
[all …]
H A DDAGCombiner.cpp320 bool SimplifyDemandedBits(SDValue Op) { in SimplifyDemandedBits() function in __anonc943a8c40111::DAGCombiner
2432 if (SimplifyDemandedBits(SDValue(N, 0))) in visitADDLike()
4804 if (SimplifyDemandedBits(SDValue(N, 0))) in visitIMINMAX()
5907 if (SimplifyDemandedBits(SDValue(N, 0))) in visitAND()
6542 if (SimplifyDemandedBits(SDValue(N, 0))) in visitOR()
7967 if (SimplifyDemandedBits(SDValue(N, 0))) in visitXOR()
8181 if (SimplifyDemandedBits(SDValue(N, 0))) in visitRotate()
8269 if (SimplifyDemandedBits(SDValue(N, 0))) in visitSHL()
8734 if (SimplifyDemandedBits(SDValue(N, 0))) in visitSRA()
8935 if (SimplifyDemandedBits(SDValue(N, 0))) in visitSRL()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h515 virtual bool SimplifyDemandedBits(Instruction *I, unsigned OpNo,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp5941 if (SimplifyDemandedBits(Op0, Mask, DCI)) { in PerformDAGCombine()
5955 if (SimplifyDemandedBits(ShAmt, ShAmtMask, DCI)) { in PerformDAGCombine()
5971 if (SimplifyDemandedBits(Op0, OpMask, DCI) || in PerformDAGCombine()
5972 SimplifyDemandedBits(Op1, OpMask, DCI) || in PerformDAGCombine()
5973 SimplifyDemandedBits(ShAmt, ShAmtMask, DCI)) { in PerformDAGCombine()
6002 if (SimplifyDemandedBits(LHS, LHSMask, DCI) || in PerformDAGCombine()
6003 SimplifyDemandedBits(RHS, RHSMask, DCI)) { in PerformDAGCombine()
6033 if (SimplifyDemandedBits(LHS, LHSMask, DCI) || in PerformDAGCombine()
6034 SimplifyDemandedBits(RHS, RHSMask, DCI)) { in PerformDAGCombine()
6048 if (SimplifyDemandedBits(LHS, Mask, DCI) || in PerformDAGCombine()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLowering.h3353 bool SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits,
3360 bool SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits,
3367 bool SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp187 if (IC.SimplifyDemandedBits(&II, 0, APInt::getLowBitsSet(32, 16), in instCombineIntrinsic()
218 if (IC.SimplifyDemandedBits(&II, CarryOp, APInt::getOneBitSet(32, 29), in instCombineIntrinsic()
H A DARMISelLowering.cpp14415 if (TLI.SimplifyDemandedBits(Op0, DemandedMask, DCI)) in PerformVMOVhrCombine()
14619 if (TLI.SimplifyDemandedBits(Op, DemandedMask, DCI)) in PerformPREDICATE_CASTCombine()
16475 if (SimplifyDemandedBits(N->getOperand(3), DemandedMask, DCI)) in PerformIntrinsicCombine()
16492 if (SimplifyDemandedBits(N->getOperand(1), DemandedMask, DCI)) in PerformIntrinsicCombine()
17750 if (SimplifyDemandedBits(N->getOperand(1), DemandedMask, DCI)) in PerformDAGCombine()
17757 if (SimplifyDemandedBits(N->getOperand(1), DemandedMask, DCI)) in PerformDAGCombine()
17769 (SimplifyDemandedBits(N->getOperand(1), DemandedMask, DCI))) in PerformDAGCombine()
17778 if ((SimplifyDemandedBits(N->getOperand(0), LowMask, DCI)) || in PerformDAGCombine()
17779 (SimplifyDemandedBits(N->getOperand(1), HighMask, DCI))) in PerformDAGCombine()
17788 if ((SimplifyDemandedBits(N->getOperand(0), HighMask, DCI)) || in PerformDAGCombine()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp1610 TLI.SimplifyDemandedBits(OutVal, DemandedMask, Known, TLO)) in PerformDAGCombine()
1626 TLI.SimplifyDemandedBits(Time, DemandedMask, Known, TLO)) in PerformDAGCombine()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp39327 if (SimplifyDemandedBits(Op.getOperand(0), DemandedMask, in SimplifyDemandedBitsForTargetNode()
39614 if (SimplifyDemandedBits(Op1, LoMask, Known, TLO, Depth + 1)) in SimplifyDemandedBitsForTargetNode()
41284 if (TLI.SimplifyDemandedBits( in combineExtractVectorElt()
44263 if (TLI.SimplifyDemandedBits(SDValue(N, 0), in combineVectorShiftImm()
44282 if (TLI.SimplifyDemandedBits(SDValue(N, 0), in combineVectorInsert()
46038 if (TLI.SimplifyDemandedBits(Mask, DemandedBits, DCI)) { in combineMaskedLoad()
46112 if (TLI.SimplifyDemandedBits(Mask, DemandedBits, DCI)) { in combineMaskedStore()
47186 if (TLI.SimplifyDemandedBits(SDValue(N, 0), DemandedMask, DCI)) in combineVTRUNC()
48894 if (TLI.SimplifyDemandedBits(Mask, DemandedMask, DCI)) { in combineX86GatherScatter()
48986 if (TLI.SimplifyDemandedBits(Mask, DemandedMask, DCI)) { in combineGatherScatter()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp2913 if (TLI.SimplifyDemandedBits(LHS, Demanded, DCI)) in simplifyMul24()
2915 if (TLI.SimplifyDemandedBits(RHS, Demanded, DCI)) in simplifyMul24()
4190 TLI.SimplifyDemandedBits(BitsFrom, Demanded, Known, TLO)) { in PerformDAGCombine()
H A DSIISelLowering.cpp10768 if (TLI.SimplifyDemandedBits(Src, DemandedBits, DCI)) { in performCvtF32UByteNCombine()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp15101 if (TLI.SimplifyDemandedBits(Op, DemandedMask, DCI)) in performVectorShiftCombine()
15224 if (TLI.SimplifyDemandedBits(Addr, DemandedMask, Known, TLO)) { in performTBISimplification()