/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 71 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 …]
|
D | InstCombineInternal.h | 518 bool SimplifyDemandedBits(Use &U, APInt DemandedMask, APInt &KnownZero,
|
D | InstCombineCompares.cpp | 2936 if (SimplifyDemandedBits(I.getOperandUse(0), in visitICmpInst() 2940 if (SimplifyDemandedBits(I.getOperandUse(1), in visitICmpInst()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 387 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 …]
|
D | DAGCombiner.cpp | 182 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/ |
D | simplify-demanded-bits-pointer.ll | 3 ; SimplifyDemandedBits should cope with pointer types.
|
/external/llvm/test/CodeGen/AMDGPU/ |
D | mad_uint24.ll | 58 ; SimplifyDemandedBits on the first operand of the mul instruction
|
D | llvm.AMDGPU.bfe.u32.ll | 557 ; Make sure that SimplifyDemandedBits doesn't cause the and to be
|
/external/llvm/lib/Target/XCore/ |
D | XCoreISelLowering.cpp | 1639 TLI.SimplifyDemandedBits(OutVal, DemandedMask, KnownZero, KnownOne, in PerformDAGCombine() 1656 TLI.SimplifyDemandedBits(Time, DemandedMask, KnownZero, KnownOne, in PerformDAGCombine()
|
/external/llvm/include/llvm/Target/ |
D | TargetLowering.h | 2154 bool SimplifyDemandedBits(SDValue Op, const APInt &DemandedMask,
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelLowering.cpp | 2325 if (TLI.SimplifyDemandedBits(Op, Demanded, KnownZero, KnownOne, TLO)) in simplifyI24() 2567 TLI.SimplifyDemandedBits(BitsFrom, Demanded, in PerformDAGCombine()
|
D | SIISelLowering.cpp | 2021 TLI.SimplifyDemandedBits(Src, Demanded, KnownZero, KnownOne, TLO)) { in PerformDAGCombine()
|
/external/llvm/lib/Target/ |
D | README.txt | 2166 SimplifyDemandedBits shrinks the "and" constant to 2 but instcombine misses the
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 8766 if (TLI.SimplifyDemandedBits(Addr, DemandedMask, KnownZero, KnownOne, TLO)) { in performTBISimplification()
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 24435 TLI.SimplifyDemandedBits(Cond, DemandedMask, KnownZero, KnownOne, in PerformSELECTCombine() 26902 TLI.SimplifyDemandedBits(Op1, DemandedMask, KnownZero, KnownOne, TLO)) in PerformBTCombine()
|