Searched refs:DemandedMask (Results 1 – 7 of 7) sorted by relevance
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 70 APInt DemandedMask(APInt::getAllOnesValue(BitWidth)); in SimplifyDemandedInstructionBits() local 72 Value *V = SimplifyDemandedUseBits(&Inst, DemandedMask, KnownZero, KnownOne, in SimplifyDemandedInstructionBits() 83 bool InstCombiner::SimplifyDemandedBits(Use &U, APInt DemandedMask, in SimplifyDemandedBits() argument 87 SimplifyDemandedUseBits(U.get(), DemandedMask, KnownZero, KnownOne, Depth, in SimplifyDemandedBits() 116 Value *InstCombiner::SimplifyDemandedUseBits(Value *V, APInt DemandedMask, in SimplifyDemandedUseBits() argument 122 uint32_t BitWidth = DemandedMask.getBitWidth(); in SimplifyDemandedUseBits() 132 KnownOne = CI->getValue() & DemandedMask; in SimplifyDemandedUseBits() 133 KnownZero = ~KnownOne & DemandedMask; in SimplifyDemandedUseBits() 139 KnownZero = DemandedMask; in SimplifyDemandedUseBits() 145 if (DemandedMask == 0) { // Not demanding any bits from V. in SimplifyDemandedUseBits() [all …]
|
D | InstCombineInternal.h | 515 Value *SimplifyDemandedUseBits(Value *V, APInt DemandedMask, APInt &KnownZero, 518 bool SimplifyDemandedBits(Use &U, APInt DemandedMask, APInt &KnownZero, 523 APInt DemandedMask, APInt &KnownZero,
|
D | InstCombineVectorOps.cpp | 203 APInt DemandedMask(VectorWidth, 0); in visitExtractElementInst() local 204 DemandedMask.setBit(IndexVal); in visitExtractElementInst() 205 if (Value *V = SimplifyDemandedVectorElts(EI.getOperand(0), DemandedMask, in visitExtractElementInst()
|
/external/llvm/lib/Target/XCore/ |
D | XCoreISelLowering.cpp | 1629 APInt DemandedMask = APInt::getLowBitsSet(BitWidth, 8); in PerformDAGCombine() local 1634 if (TLO.ShrinkDemandedConstant(OutVal, DemandedMask) || in PerformDAGCombine() 1635 TLI.SimplifyDemandedBits(OutVal, DemandedMask, KnownZero, KnownOne, in PerformDAGCombine() 1646 APInt DemandedMask = APInt::getLowBitsSet(BitWidth, 16); in PerformDAGCombine() local 1651 if (TLO.ShrinkDemandedConstant(Time, DemandedMask) || in PerformDAGCombine() 1652 TLI.SimplifyDemandedBits(Time, DemandedMask, KnownZero, KnownOne, in PerformDAGCombine()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 376 const APInt &DemandedMask, in SimplifyDemandedBits() argument 381 unsigned BitWidth = DemandedMask.getBitWidth(); in SimplifyDemandedBits() 384 APInt NewMask = DemandedMask; in SimplifyDemandedBits() 401 } else if (DemandedMask == 0) { in SimplifyDemandedBits()
|
/external/llvm/include/llvm/Target/ |
D | TargetLowering.h | 2088 bool SimplifyDemandedBits(SDValue Op, const APInt &DemandedMask,
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 21258 APInt DemandedMask = APInt::getHighBitsSet(BitWidth, 1); in PerformSELECTCombine() local 21263 if (TLO.ShrinkDemandedConstant(Cond, DemandedMask) || in PerformSELECTCombine() 21264 TLI.SimplifyDemandedBits(Cond, DemandedMask, KnownZero, KnownOne, in PerformSELECTCombine() 23180 APInt DemandedMask = APInt::getLowBitsSet(BitWidth, Log2_32(BitWidth)); in PerformBTCombine() local 23185 if (TLO.ShrinkDemandedConstant(Op1, DemandedMask) || in PerformBTCombine() 23186 TLI.SimplifyDemandedBits(Op1, DemandedMask, KnownZero, KnownOne, TLO)) in PerformBTCombine()
|