Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp71 bool InstCombinerImpl::SimplifyDemandedBits(Instruction *I, unsigned OpNo, in SimplifyDemandedBits() function in InstCombinerImpl
191 if (SimplifyDemandedBits(I, 1, DemandedMask, RHSKnown, Depth + 1) || in SimplifyDemandedUseBits()
220 if (SimplifyDemandedBits(I, 1, DemandedMask, RHSKnown, Depth + 1) || in SimplifyDemandedUseBits()
248 if (SimplifyDemandedBits(I, 1, DemandedMask, RHSKnown, Depth + 1) || in SimplifyDemandedUseBits()
249 SimplifyDemandedBits(I, 0, DemandedMask, LHSKnown, Depth + 1)) in SimplifyDemandedUseBits()
340 if (SimplifyDemandedBits(I, 2, DemandedMask, RHSKnown, Depth + 1) || in SimplifyDemandedUseBits()
341 SimplifyDemandedBits(I, 1, DemandedMask, LHSKnown, Depth + 1)) in SimplifyDemandedUseBits()
437 if (SimplifyDemandedBits(I, 0, DemandedMask, Known, Depth + 1)) in SimplifyDemandedUseBits()
832 if (SimplifyDemandedBits(I, 0, Mask2, LHSKnown, Depth + 1)) in SimplifyDemandedUseBits()
867 if (SimplifyDemandedBits(I, 0, AllOnes, Known2, Depth + 1) || in SimplifyDemandedUseBits()
[all …]
H A DInstCombineInternal.h470 bool SimplifyDemandedBits(Instruction *I, unsigned Op,
H A DInstCombineCompares.cpp5494 if (SimplifyDemandedBits(&I, 0, in foldICmpUsingKnownBits()
5499 if (SimplifyDemandedBits(&I, 1, APInt::getAllOnes(BitWidth), Op1Known, 0)) in foldICmpUsingKnownBits()
H A DInstCombineCalls.cpp1632 if (SimplifyDemandedBits(II, 2, Op2Demanded, Op2Known)) in visitCallInst()
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp605 bool Simplified = SimplifyDemandedBits(Op, DemandedBits, Known, TLO); in SimplifyDemandedBits()
622 SimplifyDemandedBits(Op, DemandedBits, DemandedElts, Known, TLO); in SimplifyDemandedBits()
1064 bool TargetLowering::SimplifyDemandedBits( in SimplifyDemandedBits() function in TargetLowering
1611 if (SimplifyDemandedBits(Op.getOperand(2), DemandedBits, Known, TLO, in SimplifyDemandedBits()
1641 if (SimplifyDemandedBits(Op.getOperand(3), DemandedBits, Known, TLO, in SimplifyDemandedBits()
2026 if (SimplifyDemandedBits(Op2, DemandedAmtBits, DemandedElts, in SimplifyDemandedBits()
2367 if (SimplifyDemandedBits(Src, TruncMask, DemandedElts, Known, TLO, in SimplifyDemandedBits()
2530 if (SimplifyDemandedBits(Src, DemandedSrcBits, DemandedSrcElts, in SimplifyDemandedBits()
2554 if (SimplifyDemandedBits(Src, DemandedSrcBits, DemandedSrcElts, in SimplifyDemandedBits()
2598 if (SimplifyDemandedBits(Op0, LoMask, DemandedElts, Known2, TLO, in SimplifyDemandedBits()
[all …]
H A DDAGCombiner.cpp322 bool SimplifyDemandedBits(SDValue Op) { in SimplifyDemandedBits() function in __anon1ce99a1d0111::DAGCombiner
2599 if (SimplifyDemandedBits(SDValue(N, 0))) in visitADDLike()
4227 if (SimplifyDemandedBits(SDValue(N, 0))) in visitMUL()
4848 if (SimplifyDemandedBits(SDValue(N, 0))) in visitMULHU()
5302 if (SimplifyDemandedBits(SDValue(N, 0))) in visitIMINMAX()
6579 if (SimplifyDemandedBits(SDValue(N, 0))) in visitAND()
7267 if (SimplifyDemandedBits(SDValue(N, 0))) in visitOR()
8884 if (SimplifyDemandedBits(SDValue(N, 0))) in visitXOR()
9090 if (SimplifyDemandedBits(SDValue(N, 0))) in visitRotate()
9184 if (SimplifyDemandedBits(SDValue(N, 0))) in visitSHL()
[all …]
/openbsd/gnu/llvm/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h525 virtual bool SimplifyDemandedBits(Instruction *I, unsigned OpNo,
/openbsd/gnu/llvm/llvm/include/llvm/CodeGen/
H A DTargetLowering.h3721 bool SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits,
3728 bool SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits,
3735 bool SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits,
3740 bool SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits,
/openbsd/gnu/llvm/llvm/docs/
H A DXRayExample.rst93 …00019] 0.000138 TargetLowering.cpp:506:0: llvm::TargetLowering::SimplifyDemandedBits(llvm::SDVal…
/openbsd/gnu/llvm/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp1603 TLI.SimplifyDemandedBits(OutVal, DemandedMask, Known, TLO)) in PerformDAGCombine()
1619 TLI.SimplifyDemandedBits(Time, DemandedMask, Known, TLO)) in PerformDAGCombine()
/openbsd/gnu/llvm/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp189 if (IC.SimplifyDemandedBits(&II, 0, APInt::getLowBitsSet(32, 16), in instCombineIntrinsic()
220 if (IC.SimplifyDemandedBits(&II, CarryOp, APInt::getOneBitSet(32, 29), in instCombineIntrinsic()
H A DARMISelLowering.cpp15038 if (TLI.SimplifyDemandedBits(Op0, DemandedMask, DCI)) in PerformVMOVhrCombine()
15242 if (TLI.SimplifyDemandedBits(Op, DemandedMask, DCI)) in PerformPREDICATE_CASTCombine()
17427 if (SimplifyDemandedBits(N->getOperand(3), DemandedMask, DCI)) in PerformIntrinsicCombine()
17444 if (SimplifyDemandedBits(N->getOperand(1), DemandedMask, DCI)) in PerformIntrinsicCombine()
18765 if (SimplifyDemandedBits(N->getOperand(1), DemandedMask, DCI)) in PerformDAGCombine()
18772 if (SimplifyDemandedBits(N->getOperand(1), DemandedMask, DCI)) in PerformDAGCombine()
18784 (SimplifyDemandedBits(N->getOperand(1), DemandedMask, DCI))) in PerformDAGCombine()
18793 if ((SimplifyDemandedBits(N->getOperand(0), LowMask, DCI)) || in PerformDAGCombine()
18794 (SimplifyDemandedBits(N->getOperand(1), HighMask, DCI))) in PerformDAGCombine()
18803 if ((SimplifyDemandedBits(N->getOperand(0), HighMask, DCI)) || in PerformDAGCombine()
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp42844 if (SimplifyDemandedBits(Op.getOperand(0), DemandedMask, in SimplifyDemandedBitsForTargetNode()
43161 if (SimplifyDemandedBits(Op1, LoMask, Known, TLO, Depth + 1)) in SimplifyDemandedBitsForTargetNode()
48415 if (TLI.SimplifyDemandedBits(SDValue(N, 0), in combineVectorInsert()
49323 TLI.SimplifyDemandedBits(N0, Bits0, Elts0, DCI) || in combineAnd()
49324 TLI.SimplifyDemandedBits(N1, Bits1, Elts1, DCI)) { in combineAnd()
50569 if (TLI.SimplifyDemandedBits(Mask, DemandedBits, DCI)) { in combineMaskedLoad()
50643 if (TLI.SimplifyDemandedBits(Mask, DemandedBits, DCI)) { in combineMaskedStore()
52665 TLI.SimplifyDemandedBits(N0, Bits0, Elts0, DCI) || in combineAndnp()
52666 TLI.SimplifyDemandedBits(N1, Bits1, Elts1, DCI)) { in combineAndnp()
53681 if (TLI.SimplifyDemandedBits(Mask, DemandedMask, DCI)) { in combineX86GatherScatter()
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVInstrInfo.td1779 // occurs because SimplifyDemandedBits prefers srl over sra.
1784 // SimplifyDemandedBits.
H A DRISCVISelLowering.cpp10093 if (!SimplifyDemandedBits(Op, Mask, DCI)) in PerformDAGCombine()
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp2927 if (TLI.SimplifyDemandedBits(LHS, Demanded, DCI)) in simplifyMul24()
2929 if (TLI.SimplifyDemandedBits(RHS, Demanded, DCI)) in simplifyMul24()
4256 TLI.SimplifyDemandedBits(BitsFrom, Demanded, Known, TLO)) { in PerformDAGCombine()
H A DSIISelLowering.cpp11555 if (TLI.SimplifyDemandedBits(Src, DemandedBits, DCI)) { in performCvtF32UByteNCombine()
/openbsd/gnu/llvm/llvm/lib/Target/
H A DREADME.txt2166 SimplifyDemandedBits shrinks the "and" constant to 2 but instcombine misses the
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp19067 if (TLI.SimplifyDemandedBits(Op, DemandedMask, DCI)) in performVectorShiftCombine()
19207 if (TLI.SimplifyDemandedBits(Addr, DemandedMask, Known, TLO)) { in performTBISimplification()