Searched refs:SimplifyDemandedBits (Results 1 - 14 of 14) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp64 /// Inst is an integer instruction that SimplifyDemandedBits knows about. See if
79 /// This form of SimplifyDemandedBits simplifies the specified instruction
82 bool InstCombiner::SimplifyDemandedBits(Instruction *I, unsigned OpNo, function in class:InstCombiner
104 /// might recursively be SimplifyDemandedBits itself) to simplify the
169 if (SimplifyDemandedBits(I, 1, DemandedMask, RHSKnown, Depth + 1) ||
170 SimplifyDemandedBits(I, 0, DemandedMask & ~RHSKnown.Zero, LHSKnown,
203 if (SimplifyDemandedBits(I, 1, DemandedMask, RHSKnown, Depth + 1) ||
204 SimplifyDemandedBits(I, 0, DemandedMask & ~RHSKnown.One, LHSKnown,
236 if (SimplifyDemandedBits(I, 1, DemandedMask, RHSKnown, Depth + 1) ||
237 SimplifyDemandedBits(
[all...]
H A DInstCombineInternal.h840 bool SimplifyDemandedBits(Instruction *I, unsigned Op,
H A DInstCombineCalls.cpp2012 if (SimplifyDemandedBits(II, 2, Op2Demanded, Op2Known))
3424 if (SimplifyDemandedBits(II, 0, APInt::getLowBitsSet(32, 16),
3453 if (SimplifyDemandedBits(II, CarryOp, APInt::getOneBitSet(32, 29),
H A DInstCombineCompares.cpp1302 // predicate like SimplifyDemandedBits, but which goes downwards the use-def
1664 // be turned into lshr by SimplifyDemandedBits, but not if there is an
4976 if (SimplifyDemandedBits(&I, 0,
4981 if (SimplifyDemandedBits(&I, 1, APInt::getAllOnesValue(BitWidth),
4998 // If Min and Max are known to be the same, then SimplifyDemandedBits figured
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp580 bool TargetLowering::SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits, function in class:TargetLowering
587 bool Simplified = SimplifyDemandedBits(Op, DemandedBits, Known, TLO);
595 bool TargetLowering::SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits, function in class:TargetLowering
604 return SimplifyDemandedBits(Op, DemandedBits, DemandedElts, Known, TLO, Depth,
800 bool TargetLowering::SimplifyDemandedBits( function in class:TargetLowering
865 if (SimplifyDemandedBits(Src, SrcDemandedBits, SrcKnown, TLO, Depth + 1))
872 // TODO: Call SimplifyDemandedBits for non-constant demanded elements.
904 if (SimplifyDemandedBits(Scl, DemandedSclBits, KnownScl, TLO, Depth + 1))
910 if (SimplifyDemandedBits(Vec, DemandedBits, DemandedVecElts, KnownVec, TLO,
941 if (SimplifyDemandedBits(Su
[all...]
H A DDAGCombiner.cpp303 bool SimplifyDemandedBits(SDValue Op) { function in class:__anon4640::DAGCombiner
306 return SimplifyDemandedBits(Op, DemandedBits);
309 bool SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits) { function in class:__anon4640::DAGCombiner
313 return SimplifyDemandedBits(Op, DemandedBits, DemandedElts);
325 bool SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits,
1056 bool DAGCombiner::SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits, function in class:DAGCombiner
1060 if (!TLI.SimplifyDemandedBits(Op, DemandedBits, DemandedElts, Known, TLO))
2252 if (SimplifyDemandedBits(SDValue(N, 0)))
5384 // Note: the SimplifyDemandedBits fold below can make an information-losing
5400 if (SimplifyDemandedBits(SDValu
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLowering.h3135 bool SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits,
3140 /// Helper wrapper around SimplifyDemandedBits, demanding all elements.
3142 bool SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits,
3147 /// Helper wrapper around SimplifyDemandedBits.
3149 bool SimplifyDemandedBits(SDValue Op, const APInt &DemandedMask,
3152 /// More limited version of SimplifyDemandedBits that can be used to "look
3243 /// More limited version of SimplifyDemandedBits that can be used to "look
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp1611 TLI.SimplifyDemandedBits(OutVal, DemandedMask, Known, TLO))
1627 TLI.SimplifyDemandedBits(Time, DemandedMask, Known, TLO))
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp1026 if ((SimplifyDemandedBits(N->getOperand(0), LHSMask, DCI)) ||
1027 (SimplifyDemandedBits(N->getOperand(1), RHSMask, DCI)))
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp2819 // Now try SimplifyDemandedBits which can simplify the nodes used by our
2822 if (TLI.SimplifyDemandedBits(LHS, Demanded, DCI))
2824 if (TLI.SimplifyDemandedBits(RHS, Demanded, DCI))
3284 // SimplifyDemandedBits will be unable to remove them because there will be
3295 // mul_lo + mul_hi) so that SimplifyDemandedBits will deal with it.
3324 // SimplifyDemandedBits has the annoying habit of turning useful zero_extends
4091 TLI.SimplifyDemandedBits(BitsFrom, Demanded, Known, TLO)) {
H A DSIISelLowering.cpp9951 if (TLI.SimplifyDemandedBits(Src, Demanded, Known, TLO)) {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp14674 if (SimplifyDemandedBits(N->getOperand(1), DemandedMask, DCI))
14681 if (SimplifyDemandedBits(N->getOperand(1), DemandedMask, DCI))
14690 if ((SimplifyDemandedBits(N->getOperand(0), DemandedMask, DCI)) ||
14691 (SimplifyDemandedBits(N->getOperand(1), DemandedMask, DCI)))
14700 if ((SimplifyDemandedBits(N->getOperand(0), LowMask, DCI)) ||
14701 (SimplifyDemandedBits(N->getOperand(1), HighMask, DCI)))
14710 if ((SimplifyDemandedBits(N->getOperand(0), HighMask, DCI)) ||
14711 (SimplifyDemandedBits(N->getOperand(1), LowMask, DCI)))
14718 if ((SimplifyDemandedBits(N->getOperand(0), DemandedMask, DCI)) ||
14719 (SimplifyDemandedBits(
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp7947 // as SimplifyDemandedBits will just turn that back into BUILD_VECTOR.
11600 if (TLI.SimplifyDemandedBits(Addr, DemandedMask, Known, TLO)) {

Completed in 950 milliseconds