Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp71 bool InstCombiner::SimplifyDemandedBits(Use &U, APInt DemandedMask, in SimplifyDemandedBits() function in InstCombiner
243 if (SimplifyDemandedBits(I->getOperandUse(1), DemandedMask, RHSKnownZero, in SimplifyDemandedUseBits()
245 SimplifyDemandedBits(I->getOperandUse(0), DemandedMask & ~RHSKnownZero, in SimplifyDemandedUseBits()
281 if (SimplifyDemandedBits(I->getOperandUse(1), DemandedMask, RHSKnownZero, in SimplifyDemandedUseBits()
283 SimplifyDemandedBits(I->getOperandUse(0), DemandedMask & ~RHSKnownOne, in SimplifyDemandedUseBits()
323 if (SimplifyDemandedBits(I->getOperandUse(1), DemandedMask, RHSKnownZero, in SimplifyDemandedUseBits()
325 SimplifyDemandedBits(I->getOperandUse(0), DemandedMask, LHSKnownZero, in SimplifyDemandedUseBits()
416 if (SimplifyDemandedBits(I->getOperandUse(2), DemandedMask, RHSKnownZero, in SimplifyDemandedUseBits()
418 SimplifyDemandedBits(I->getOperandUse(1), DemandedMask, LHSKnownZero, in SimplifyDemandedUseBits()
438 if (SimplifyDemandedBits(I->getOperandUse(0), DemandedMask, KnownZero, in SimplifyDemandedUseBits()
[all …]
DInstCombineInternal.h518 bool SimplifyDemandedBits(Use &U, APInt DemandedMask, APInt &KnownZero,
DInstCombineCompares.cpp2936 if (SimplifyDemandedBits(I.getOperandUse(0), in visitICmpInst()
2940 if (SimplifyDemandedBits(I.getOperandUse(1), in visitICmpInst()
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp387 bool TargetLowering::SimplifyDemandedBits(SDValue Op, in SimplifyDemandedBits() function in TargetLowering
448 if (SimplifyDemandedBits(Op.getOperand(1), NewMask, KnownZero, in SimplifyDemandedBits()
452 if (SimplifyDemandedBits(Op.getOperand(0), ~KnownZero & NewMask, in SimplifyDemandedBits()
479 if (SimplifyDemandedBits(Op.getOperand(1), NewMask, KnownZero, in SimplifyDemandedBits()
483 if (SimplifyDemandedBits(Op.getOperand(0), ~KnownOne & NewMask, in SimplifyDemandedBits()
513 if (SimplifyDemandedBits(Op.getOperand(1), NewMask, KnownZero, in SimplifyDemandedBits()
517 if (SimplifyDemandedBits(Op.getOperand(0), NewMask, KnownZero2, in SimplifyDemandedBits()
583 if (SimplifyDemandedBits(Op.getOperand(2), NewMask, KnownZero, in SimplifyDemandedBits()
586 if (SimplifyDemandedBits(Op.getOperand(1), NewMask, KnownZero2, in SimplifyDemandedBits()
601 if (SimplifyDemandedBits(Op.getOperand(3), NewMask, KnownZero, in SimplifyDemandedBits()
[all …]
DDAGCombiner.cpp182 bool SimplifyDemandedBits(SDValue Op) { in SimplifyDemandedBits() function in __anonbfbf49f20111::DAGCombiner
185 return SimplifyDemandedBits(Op, Demanded); in SimplifyDemandedBits()
188 bool SimplifyDemandedBits(SDValue Op, const APInt &Demanded);
924 bool DAGCombiner::SimplifyDemandedBits(SDValue Op, const APInt &Demanded) { in SimplifyDemandedBits() function in DAGCombiner
927 if (!TLI.SimplifyDemandedBits(Op, Demanded, KnownZero, KnownOne, TLO)) in SimplifyDemandedBits()
1733 if (!VT.isVector() && SimplifyDemandedBits(SDValue(N, 0))) in visitADD()
3263 SimplifyDemandedBits(SDValue(N, 0))) in visitAND()
3814 SimplifyDemandedBits(SDValue(N, 0))) in visitOR()
4236 SimplifyDemandedBits(SDValue(N, 0))) in visitXOR()
4416 if (N1C && SimplifyDemandedBits(SDValue(N, 0))) in visitSHL()
[all …]
/external/llvm/test/Transforms/InstCombine/
Dsimplify-demanded-bits-pointer.ll3 ; SimplifyDemandedBits should cope with pointer types.
/external/llvm/test/CodeGen/AMDGPU/
Dmad_uint24.ll58 ; SimplifyDemandedBits on the first operand of the mul instruction
Dllvm.AMDGPU.bfe.u32.ll557 ; Make sure that SimplifyDemandedBits doesn't cause the and to be
/external/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp1639 TLI.SimplifyDemandedBits(OutVal, DemandedMask, KnownZero, KnownOne, in PerformDAGCombine()
1656 TLI.SimplifyDemandedBits(Time, DemandedMask, KnownZero, KnownOne, in PerformDAGCombine()
/external/llvm/include/llvm/Target/
DTargetLowering.h2154 bool SimplifyDemandedBits(SDValue Op, const APInt &DemandedMask,
/external/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp2325 if (TLI.SimplifyDemandedBits(Op, Demanded, KnownZero, KnownOne, TLO)) in simplifyI24()
2567 TLI.SimplifyDemandedBits(BitsFrom, Demanded, in PerformDAGCombine()
DSIISelLowering.cpp2021 TLI.SimplifyDemandedBits(Src, Demanded, KnownZero, KnownOne, TLO)) { in PerformDAGCombine()
/external/llvm/lib/Target/
DREADME.txt2166 SimplifyDemandedBits shrinks the "and" constant to 2 but instcombine misses the
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp8766 if (TLI.SimplifyDemandedBits(Addr, DemandedMask, KnownZero, KnownOne, TLO)) { in performTBISimplification()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp24435 TLI.SimplifyDemandedBits(Cond, DemandedMask, KnownZero, KnownOne, in PerformSELECTCombine()
26902 TLI.SimplifyDemandedBits(Op1, DemandedMask, KnownZero, KnownOne, TLO)) in PerformBTCombine()