/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | GISelKnownBits.cpp | 72 APInt DemandedElts = getKnownBits() local 77 getKnownBits(Register R,const APInt & DemandedElts,unsigned Depth) getKnownBits() argument 114 computeKnownBitsMin(Register Src0,Register Src1,KnownBits & Known,const APInt & DemandedElts,unsigned Depth) computeKnownBitsMin() argument 145 computeKnownBitsImpl(Register R,KnownBits & Known,const APInt & DemandedElts,unsigned Depth) computeKnownBitsImpl() argument 620 computeNumSignBitsMin(Register Src0,Register Src1,const APInt & DemandedElts,unsigned Depth) computeNumSignBitsMin() argument 657 computeNumSignBits(Register R,const APInt & DemandedElts,unsigned Depth) computeNumSignBits() argument 842 APInt DemandedElts = computeNumSignBits() local [all...] |
/llvm-project/llvm/unittests/CodeGen/ |
H A D | AArch64SelectionDAGTest.cpp | 98 auto DemandedElts = APInt(2, 3); TEST_F() local 111 auto DemandedElts = APInt(2, 3); TEST_F() local 128 auto DemandedElts = APInt(3, 7); TEST_F() local 141 auto DemandedElts = APInt(2, 3); TEST_F() local 153 auto DemandedElts = APInt(2, 3); TEST_F() local 165 auto DemandedElts = APInt(3, 7); TEST_F() local 179 auto DemandedElts = APInt(3, 7); TEST_F() local 398 APInt DemandedElts; TEST_F() local 422 APInt DemandedElts; TEST_F() local 442 APInt DemandedElts(1,1); TEST_F() local 462 APInt DemandedElts(1, 1); TEST_F() local [all...] |
/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUInstCombineIntrinsic.cpp | 381 APInt DemandedElts = APInt::getAllOnes(VWidth); trimTrailingZerosInVector() local 406 APInt DemandedElts = APInt::getAllOnes(VWidth); defaultComponentBroadcast() local 1182 APInt DemandedElts; instCombineIntrinsic() local 1215 simplifyAMDGCNMemoryIntrinsicDemanded(InstCombiner & IC,IntrinsicInst & II,APInt DemandedElts,int DMaskIdx,bool IsLoad) simplifyAMDGCNMemoryIntrinsicDemanded() argument 1372 simplifyDemandedVectorEltsIntrinsic(InstCombiner & IC,IntrinsicInst & II,APInt DemandedElts,APInt & UndefElts,APInt & UndefElts2,APInt & UndefElts3,std::function<void (Instruction *,unsigned,APInt,APInt &)> SimplifyAndSetOp) const simplifyDemandedVectorEltsIntrinsic() argument [all...] |
H A D | AMDGPUISelLowering.cpp | 5631 computeKnownBitsForTargetNode(const SDValue Op,KnownBits & Known,const APInt & DemandedElts,const SelectionDAG & DAG,unsigned Depth) const computeKnownBitsForTargetNode() argument 5795 ComputeNumSignBitsForTargetNode(SDValue Op,const APInt & DemandedElts,const SelectionDAG & DAG,unsigned Depth) const ComputeNumSignBitsForTargetNode() argument 5857 computeNumSignBitsForTargetInstr(GISelKnownBits & Analysis,Register R,const APInt & DemandedElts,const MachineRegisterInfo & MRI,unsigned Depth) const computeNumSignBitsForTargetInstr() argument
|
/llvm-project/llvm/lib/Analysis/ |
H A D | ValueTracking.cpp | 136 getShuffleDemandedElts(const ShuffleVectorInst * Shuf,const APInt & DemandedElts,APInt & DemandedLHS,APInt & DemandedRHS) getShuffleDemandedElts() argument 160 APInt DemandedElts = computeKnownBits() local 182 computeKnownBits(const Value * V,const APInt & DemandedElts,const DataLayout & DL,unsigned Depth,AssumptionCache * AC,const Instruction * CxtI,const DominatorTree * DT,bool UseInstrInfo) computeKnownBits() argument 331 APInt DemandedElts = ComputeNumSignBits() local 354 computeKnownBitsAddSub(bool Add,const Value * Op0,const Value * Op1,bool NSW,bool NUW,const APInt & DemandedElts,KnownBits & KnownOut,KnownBits & Known2,unsigned Depth,const SimplifyQuery & Q) computeKnownBitsAddSub() argument 369 computeKnownBitsMul(const Value * Op0,const Value * Op1,bool NSW,const APInt & DemandedElts,KnownBits & Known,KnownBits & Known2,unsigned Depth,const SimplifyQuery & Q) computeKnownBitsMul() argument 877 computeKnownBitsFromShiftOperator(const Operator * I,const APInt & DemandedElts,KnownBits & Known,KnownBits & Known2,unsigned Depth,const SimplifyQuery & Q,function_ref<KnownBits (const KnownBits &,const KnownBits &,bool)> KF) computeKnownBitsFromShiftOperator() argument 892 getKnownBitsFromAndXorOr(const Operator * I,const APInt & DemandedElts,const KnownBits & KnownLHS,const KnownBits & KnownRHS,unsigned Depth,const SimplifyQuery & Q) getKnownBitsFromAndXorOr() argument 969 APInt DemandedElts = analyzeKnownBitsFromAndXorOr() local 1030 computeKnownBitsFromOperator(const Operator * I,const APInt & DemandedElts,KnownBits & Known,unsigned Depth,const SimplifyQuery & Q) computeKnownBitsFromOperator() argument 1910 computeKnownBits(const Value * V,const APInt & DemandedElts,unsigned Depth,const SimplifyQuery & Q) computeKnownBits() argument 1941 computeKnownBits(const Value * V,const APInt & DemandedElts,KnownBits & Known,unsigned Depth,const SimplifyQuery & Q) computeKnownBits() argument 2525 isNonZeroAdd(const APInt & DemandedElts,unsigned Depth,const SimplifyQuery & Q,unsigned BitWidth,Value * X,Value * Y,bool NSW,bool NUW) isNonZeroAdd() argument 2572 isNonZeroSub(const APInt & DemandedElts,unsigned Depth,const SimplifyQuery & Q,unsigned BitWidth,Value * X,Value * Y) isNonZeroSub() argument 2588 isNonZeroMul(const APInt & DemandedElts,unsigned Depth,const SimplifyQuery & Q,unsigned BitWidth,Value * X,Value * Y,bool NSW,bool NUW) isNonZeroMul() argument 2616 isNonZeroShift(const Operator * I,const APInt & DemandedElts,unsigned Depth,const SimplifyQuery & Q,const KnownBits & KnownVal) isNonZeroShift() argument 2668 isKnownNonZeroFromOperator(const Operator * I,const APInt & DemandedElts,unsigned Depth,const SimplifyQuery & Q) isKnownNonZeroFromOperator() argument 3126 isKnownNonZero(const Value * V,const APInt & DemandedElts,const SimplifyQuery & Q,unsigned Depth) isKnownNonZero() argument 3224 APInt DemandedElts = isKnownNonZero() local 3628 computeNumSignBitsVectorConstant(const Value * V,const APInt & DemandedElts,unsigned TyBits) computeNumSignBitsVectorConstant() argument 3654 ComputeNumSignBits(const Value * V,const APInt & DemandedElts,unsigned Depth,const SimplifyQuery & Q) ComputeNumSignBits() argument 3669 ComputeNumSignBitsImpl(const Value * V,const APInt & DemandedElts,unsigned Depth,const SimplifyQuery & Q) ComputeNumSignBitsImpl() argument 4735 APInt DemandedElts = computeKnownFPClass() local 4741 computeKnownFPClassForFPTrunc(const Operator * Op,const APInt & DemandedElts,FPClassTest InterestedClasses,KnownFPClass & Known,unsigned Depth,const SimplifyQuery & Q) computeKnownFPClassForFPTrunc() argument 4763 computeKnownFPClass(const Value * V,const APInt & DemandedElts,FPClassTest InterestedClasses,KnownFPClass & Known,unsigned Depth,const SimplifyQuery & Q) computeKnownFPClass() argument 5814 computeKnownFPClass(const Value * V,const APInt & DemandedElts,FPClassTest InterestedClasses,unsigned Depth,const SimplifyQuery & SQ) computeKnownFPClass() argument [all...] |
H A D | VectorUtils.cpp | 313 getShuffleDemandedElts(int SrcWidth,ArrayRef<int> Mask,const APInt & DemandedElts,APInt & DemandedLHS,APInt & DemandedRHS,bool AllowUndefElts) getShuffleDemandedElts() argument 1082 APInt DemandedElts = APInt::getAllOnes(VWidth); possiblyDemandedEltsInMask() local [all...] |
H A D | TargetTransformInfo.cpp | 375 simplifyDemandedVectorEltsIntrinsic(InstCombiner & IC,IntrinsicInst & II,APInt DemandedElts,APInt & UndefElts,APInt & UndefElts2,APInt & UndefElts3,std::function<void (Instruction *,unsigned,APInt,APInt &)> SimplifyAndSetOp) const simplifyDemandedVectorEltsIntrinsic() argument 591 getScalarizationOverhead(VectorType * Ty,const APInt & DemandedElts,bool Insert,bool Extract,TTI::TargetCostKind CostKind) const getScalarizationOverhead() argument
|
/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAG.cpp | 2699 MaskedValueIsZero(SDValue V,const APInt & Mask,const APInt & DemandedElts,unsigned Depth) const MaskedValueIsZero() argument 2706 MaskedVectorIsZero(SDValue V,const APInt & DemandedElts,unsigned Depth) const MaskedVectorIsZero() argument 2718 computeVectorKnownZeroElements(SDValue Op,const APInt & DemandedElts,unsigned Depth) const computeVectorKnownZeroElements() argument 2742 isSplatValue(SDValue V,const APInt & DemandedElts,APInt & UndefElts,unsigned Depth) const isSplatValue() argument 2936 APInt DemandedElts isSplatValue() local 2953 APInt DemandedElts getSplatSourceVector() local 3013 getValidShiftAmountRange(SDValue V,const APInt & DemandedElts,unsigned Depth) const getValidShiftAmountRange() argument 3062 getValidShiftAmount(SDValue V,const APInt & DemandedElts,unsigned Depth) const getValidShiftAmount() argument 3077 APInt DemandedElts = VT.isFixedLengthVector() getValidShiftAmount() local 3084 getValidMinimumShiftAmount(SDValue V,const APInt & DemandedElts,unsigned Depth) const getValidMinimumShiftAmount() argument 3098 APInt DemandedElts = VT.isFixedLengthVector() getValidMinimumShiftAmount() local 3105 getValidMaximumShiftAmount(SDValue V,const APInt & DemandedElts,unsigned Depth) const getValidMaximumShiftAmount() argument 3119 APInt DemandedElts = VT.isFixedLengthVector() getValidMaximumShiftAmount() local 3134 APInt DemandedElts = VT.isFixedLengthVector() computeKnownBits() local 3143 computeKnownBits(SDValue Op,const APInt & DemandedElts,unsigned Depth) const computeKnownBits() argument 4445 APInt DemandedElts = VT.isFixedLengthVector() ComputeNumSignBits() local 4451 ComputeNumSignBits(SDValue Op,const APInt & DemandedElts,unsigned Depth) const ComputeNumSignBits() argument 5120 ComputeMaxSignificantBits(SDValue Op,const APInt & DemandedElts,unsigned Depth) const ComputeMaxSignificantBits() argument 5137 APInt DemandedElts = VT.isVector() isGuaranteedNotToBeUndefOrPoison() local 5144 isGuaranteedNotToBeUndefOrPoison(SDValue Op,const APInt & DemandedElts,bool PoisonOnly,unsigned Depth) const isGuaranteedNotToBeUndefOrPoison() argument 5233 APInt DemandedElts = VT.isVector() canCreateUndefOrPoison() local 5240 canCreateUndefOrPoison(SDValue Op,const APInt & DemandedElts,bool PoisonOnly,bool ConsiderFlags,unsigned Depth) const canCreateUndefOrPoison() argument 11919 APInt DemandedElts = VT.isFixedLengthVector() isConstOrConstSplat() local 11925 isConstOrConstSplat(SDValue N,const APInt & DemandedElts,bool AllowUndefs,bool AllowTruncation) isConstOrConstSplat() argument 11964 APInt DemandedElts = VT.isFixedLengthVector() isConstOrConstSplatFP() local 11971 isConstOrConstSplatFP(SDValue N,const APInt & DemandedElts,bool AllowUndefs) isConstOrConstSplatFP() argument 12732 getSplatValue(const APInt & DemandedElts,BitVector * UndefElements) const getSplatValue() argument 12768 APInt DemandedElts = APInt::getAllOnes(getNumOperands()); getSplatValue() local 12772 getRepeatedSequence(const APInt & DemandedElts,SmallVectorImpl<SDValue> & Sequence,BitVector * UndefElements) const getRepeatedSequence() argument 12820 APInt DemandedElts = APInt::getAllOnes(getNumOperands()); getRepeatedSequence() local 12825 getConstantSplatNode(const APInt & DemandedElts,BitVector * UndefElements) const getConstantSplatNode() argument 12837 getConstantFPSplatNode(const APInt & DemandedElts,BitVector * UndefElements) const getConstantFPSplatNode() argument [all...] |
H A D | TargetLowering.cpp | 515 ShrinkDemandedConstant(SDValue Op,const APInt & DemandedBits,const APInt & DemandedElts,TargetLoweringOpt & TLO) const ShrinkDemandedConstant() argument 564 APInt DemandedElts = VT.isVector() ShrinkDemandedConstant() local 636 SimplifyDemandedBits(SDValue Op,const APInt & DemandedBits,const APInt & DemandedElts,DAGCombinerInfo & DCI) const SimplifyDemandedBits() argument 662 APInt DemandedElts = VT.isFixedLengthVector() SimplifyDemandedBits() local 671 SimplifyMultipleUseDemandedBits(SDValue Op,const APInt & DemandedBits,const APInt & DemandedElts,SelectionDAG & DAG,unsigned Depth) const SimplifyMultipleUseDemandedBits() argument 937 APInt DemandedElts = VT.isFixedLengthVector() SimplifyMultipleUseDemandedBits() local 945 SimplifyMultipleUseDemandedVectorElts(SDValue Op,const APInt & DemandedElts,SelectionDAG & DAG,unsigned Depth) const SimplifyMultipleUseDemandedVectorElts() argument 958 combineShiftToAVG(SDValue Op,TargetLowering::TargetLoweringOpt & TLO,const TargetLowering & TLI,const APInt & DemandedBits,const APInt & DemandedElts,unsigned Depth) combineShiftToAVG() argument 1119 APInt DemandedElts = OriginalDemandedElts; SimplifyDemandedBits() local 2966 SimplifyDemandedVectorElts(SDValue Op,const APInt & DemandedElts,DAGCombinerInfo & DCI) const SimplifyDemandedVectorElts() argument 3037 APInt DemandedElts = OriginalDemandedElts; SimplifyDemandedVectorElts() local 3717 computeKnownBitsForTargetNode(const SDValue Op,KnownBits & Known,const APInt & DemandedElts,const SelectionDAG & DAG,unsigned Depth) const computeKnownBitsForTargetNode() argument 3731 computeKnownBitsForTargetInstr(GISelKnownBits & Analysis,Register R,KnownBits & Known,const APInt & DemandedElts,const MachineRegisterInfo & MRI,unsigned Depth) const computeKnownBitsForTargetInstr() argument 3764 computeNumSignBitsForTargetInstr(GISelKnownBits & Analysis,Register R,const APInt & DemandedElts,const MachineRegisterInfo & MRI,unsigned Depth) const computeNumSignBitsForTargetInstr() argument 3770 SimplifyDemandedVectorEltsForTargetNode(SDValue Op,const APInt & DemandedElts,APInt & KnownUndef,APInt & KnownZero,TargetLoweringOpt & TLO,unsigned Depth) const SimplifyDemandedVectorEltsForTargetNode() argument 3782 SimplifyDemandedBitsForTargetNode(SDValue Op,const APInt & DemandedBits,const APInt & DemandedElts,KnownBits & Known,TargetLoweringOpt & TLO,unsigned Depth) const SimplifyDemandedBitsForTargetNode() argument 3795 SimplifyMultipleUseDemandedBitsForTargetNode(SDValue Op,const APInt & DemandedBits,const APInt & DemandedElts,SelectionDAG & DAG,unsigned Depth) const SimplifyMultipleUseDemandedBitsForTargetNode() argument 3829 isGuaranteedNotToBeUndefOrPoisonForTargetNode(SDValue Op,const APInt & DemandedElts,const SelectionDAG & DAG,bool PoisonOnly,unsigned Depth) const isGuaranteedNotToBeUndefOrPoisonForTargetNode() argument 3850 canCreateUndefOrPoisonForTargetNode(SDValue Op,const APInt & DemandedElts,const SelectionDAG & DAG,bool PoisonOnly,bool ConsiderFlags,unsigned Depth) const canCreateUndefOrPoisonForTargetNode() argument 3876 isSplatValueForTargetNode(SDValue Op,const APInt & DemandedElts,APInt & UndefElts,const SelectionDAG & DAG,unsigned Depth) const isSplatValueForTargetNode() argument [all...] |
/llvm-project/llvm/lib/Target/X86/ |
H A D | X86InstCombineIntrinsic.cpp | 2150 APInt DemandedElts = APInt::getLowBitsSet(Width, DemandedWidth); instCombineIntrinsic() local 3085 APInt DemandedElts = DemandedMask.zextOrTrunc(ArgWidth); simplifyDemandedUseBitsIntrinsic() local 3101 simplifyDemandedVectorEltsIntrinsic(InstCombiner & IC,IntrinsicInst & II,APInt DemandedElts,APInt & UndefElts,APInt & UndefElts2,APInt & UndefElts3,std::function<void (Instruction *,unsigned,APInt,APInt &)> simplifyAndSetOp) const simplifyDemandedVectorEltsIntrinsic() argument [all...] |
H A D | X86TargetTransformInfo.cpp | 4623 getScalarizationOverhead(VectorType * Ty,const APInt & DemandedElts,bool Insert,bool Extract,TTI::TargetCostKind CostKind) getScalarizationOverhead() argument 5027 APInt DemandedElts = getMemoryOpCost() local 5076 APInt DemandedElts = APInt::getAllOnes(NumElem); getMaskedMemoryOpCost() local [all...] |
H A D | X86ISelLowering.cpp | 3661 APInt DemandedElts = APInt::getZero(NumElts); isCompletePermute() local 5191 getPackDemandedElts(EVT VT,const APInt & DemandedElts,APInt & DemandedLHS,APInt & DemandedRHS) getPackDemandedElts() argument 5216 getHorizDemandedElts(EVT VT,const APInt & DemandedElts,APInt & DemandedLHS,APInt & DemandedRHS) getHorizDemandedElts() argument 5829 getFauxShuffleMask(SDValue N,const APInt & DemandedElts,SmallVectorImpl<int> & Mask,SmallVectorImpl<SDValue> & Ops,const SelectionDAG & DAG,unsigned Depth,bool ResolveKnownElts) getFauxShuffleMask() argument 6345 getTargetShuffleInputs(SDValue Op,const APInt & DemandedElts,SmallVectorImpl<SDValue> & Inputs,SmallVectorImpl<int> & Mask,APInt & KnownUndef,APInt & KnownZero,const SelectionDAG & DAG,unsigned Depth,bool ResolveKnownElts) getTargetShuffleInputs() argument 6371 getTargetShuffleInputs(SDValue Op,const APInt & DemandedElts,SmallVectorImpl<SDValue> & Inputs,SmallVectorImpl<int> & Mask,const SelectionDAG & DAG,unsigned Depth,bool ResolveKnownElts) getTargetShuffleInputs() argument 6390 APInt DemandedElts = APInt::getAllOnes(NumElts); getTargetShuffleInputs() local 8238 APInt DemandedElts = APInt::getAllOnes(NumElts); getHopForBuildVector() local 18014 APInt DemandedElts = APInt::getZero(NumElts); getExtractedDemandedElts() local 18139 APInt DemandedElts = getExtractedDemandedElts(Vec.getNode()); LowerEXTRACT_VECTOR_ELT() local 24523 APInt DemandedElts = APInt::getLowBitsSet(InNumElts, NumElts); LowerEXTEND_VECTOR_INREG() local 37033 targetShrinkDemandedConstant(SDValue Op,const APInt & DemandedBits,const APInt & DemandedElts,TargetLoweringOpt & TLO) const targetShrinkDemandedConstant() argument 37124 computeKnownBitsForPSADBW(SDValue LHS,SDValue RHS,KnownBits & Known,const APInt & DemandedElts,const SelectionDAG & DAG,unsigned Depth) computeKnownBitsForPSADBW() argument 37144 computeKnownBitsForPMADDWD(SDValue LHS,SDValue RHS,KnownBits & Known,const APInt & DemandedElts,const SelectionDAG & DAG,unsigned Depth) computeKnownBitsForPMADDWD() argument 37167 computeKnownBitsForPMADDUBSW(SDValue LHS,SDValue RHS,KnownBits & Known,const APInt & DemandedElts,const SelectionDAG & DAG,unsigned Depth) computeKnownBitsForPMADDUBSW() argument 37190 computeKnownBitsForTargetNode(const SDValue Op,KnownBits & Known,const APInt & DemandedElts,const SelectionDAG & DAG,unsigned Depth) const computeKnownBitsForTargetNode() argument 37611 ComputeNumSignBitsForTargetNode(SDValue Op,const APInt & DemandedElts,const SelectionDAG & DAG,unsigned Depth) const ComputeNumSignBitsForTargetNode() argument 40360 combineBlendOfPermutes(MVT VT,SDValue N0,SDValue N1,ArrayRef<int> BlendMask,const APInt & DemandedElts,SelectionDAG & DAG,const X86Subtarget & Subtarget,const SDLoc & DL) combineBlendOfPermutes() argument 41744 APInt DemandedElts = APInt::getAllOnes(VT.getVectorNumElements()); combineShuffle() local 41762 SimplifyDemandedVectorEltsForTargetShuffle(SDValue Op,const APInt & DemandedElts,unsigned MaskIndex,TargetLowering::TargetLoweringOpt & TLO,unsigned Depth) const SimplifyDemandedVectorEltsForTargetShuffle() argument 41829 SimplifyDemandedVectorEltsForTargetNode(SDValue Op,const APInt & DemandedElts,APInt & KnownUndef,APInt & KnownZero,TargetLoweringOpt & TLO,unsigned Depth) const SimplifyDemandedVectorEltsForTargetNode() argument 42610 APInt DemandedElts = OriginalDemandedElts.trunc(SrcVT.getVectorNumElements()); SimplifyDemandedBitsForTargetNode() local 42922 APInt DemandedElts = APInt::getOneBitSet( SimplifyDemandedBitsForTargetNode() local 42969 APInt DemandedElts = OriginalDemandedBits.zextOrTrunc(NumElts); SimplifyDemandedBitsForTargetNode() local 43110 SimplifyMultipleUseDemandedBitsForTargetNode(SDValue Op,const APInt & DemandedBits,const APInt & DemandedElts,SelectionDAG & DAG,unsigned Depth) const SimplifyMultipleUseDemandedBitsForTargetNode() argument 43230 isGuaranteedNotToBeUndefOrPoisonForTargetNode(SDValue Op,const APInt & DemandedElts,const SelectionDAG & DAG,bool PoisonOnly,unsigned Depth) const isGuaranteedNotToBeUndefOrPoisonForTargetNode() argument 43266 canCreateUndefOrPoisonForTargetNode(SDValue Op,const APInt & DemandedElts,const SelectionDAG & DAG,bool PoisonOnly,bool ConsiderFlags,unsigned Depth) const canCreateUndefOrPoisonForTargetNode() argument 43286 isSplatValueForTargetNode(SDValue Op,const APInt & DemandedElts,APInt & UndefElts,const SelectionDAG & DAG,unsigned Depth) const isSplatValueForTargetNode() argument 48544 APInt DemandedElts = APInt::getAllOnes(VT.getVectorNumElements()); combineVectorShiftVar() local 49893 APInt DemandedElts = APInt::getAllOnes(NumElts); combineAnd() local 50678 APInt DemandedElts = APInt::getZero(NumElts); combineOr() local 51746 APInt DemandedElts = APInt::getLowBitsSet(VT.getVectorNumElements(), StElts); combineVEXTRACT_STORE() local 53258 APInt DemandedElts = APInt::getAllOnes(VT.getVectorNumElements()); combineX86INT_TO_FP() local 53402 APInt DemandedElts = APInt::getAllOnes(NumElts); combineAndnp() local 53464 APInt DemandedElts = APInt::getLowBitsSet(8, 4); combineCVTPH2PS() local 57227 APInt DemandedElts = APInt::getAllOnes(VT.getVectorNumElements()); combineVPMADD() local 57310 APInt DemandedElts = APInt::getAllOnes(VT.getVectorNumElements()); combineKSHIFT() local [all...] |
/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | BasicTTIImpl.h | 698 simplifyDemandedVectorEltsIntrinsic(InstCombiner & IC,IntrinsicInst & II,APInt DemandedElts,APInt & UndefElts,APInt & UndefElts2,APInt & UndefElts3,std::function<void (Instruction *,unsigned,APInt,APInt &)> SimplifyAndSetOp) simplifyDemandedVectorEltsIntrinsic() argument 769 getScalarizationOverhead(VectorType * InTy,const APInt & DemandedElts,bool Insert,bool Extract,TTI::TargetCostKind CostKind) getScalarizationOverhead() argument 805 APInt DemandedElts = APInt::getAllOnes(Ty->getNumElements()); getScalarizationOverhead() local
|
/llvm-project/llvm/include/llvm/Analysis/ |
H A D | TargetTransformInfoImpl.h | 207 simplifyDemandedVectorEltsIntrinsic(InstCombiner & IC,IntrinsicInst & II,APInt DemandedElts,APInt & UndefElts,APInt & UndefElts2,APInt & UndefElts3,std::function<void (Instruction *,unsigned,APInt,APInt &)> SimplifyAndSetOp) simplifyDemandedVectorEltsIntrinsic() argument 371 getScalarizationOverhead(VectorType * Ty,const APInt & DemandedElts,bool Insert,bool Extract,TTI::TargetCostKind CostKind) getScalarizationOverhead() argument
|
H A D | TargetTransformInfo.h | 2318 simplifyDemandedVectorEltsIntrinsic(InstCombiner & IC,IntrinsicInst & II,APInt DemandedElts,APInt & UndefElts,APInt & UndefElts2,APInt & UndefElts3,std::function<void (Instruction *,unsigned,APInt,APInt &)> SimplifyAndSetOp) simplifyDemandedVectorEltsIntrinsic() argument 2459 getScalarizationOverhead(VectorType * Ty,const APInt & DemandedElts,bool Insert,bool Extract,TargetCostKind CostKind) getScalarizationOverhead() argument
|
/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineVectorOps.cpp | 592 APInt DemandedElts(NumElts, 0); in visitExtractElementInst() local 600 APInt DemandedElts = findDemandedEltsByAllUsers(SrcVec); in visitExtractElementInst() local
|
H A D | InstCombineSimplifyDemanded.cpp | 1398 SimplifyDemandedVectorElts(Value * V,APInt DemandedElts,APInt & PoisonElts,unsigned Depth,bool AllowMultipleUsers) SimplifyDemandedVectorElts() argument [all...] |
H A D | InstCombineCalls.cpp | 346 if (Value *V = SimplifyDemandedVectorElts(II.getOperand(0), DemandedElts, in simplifyMaskedStore() local 431 if (Value *V = SimplifyDemandedVectorElts(II.getOperand(0), DemandedElts, in simplifyMaskedScatter() local
|
/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZISelLowering.cpp | 7850 getDemandedSrcElements(SDValue Op,const APInt & DemandedElts,unsigned OpNo) getDemandedSrcElements() argument 7948 computeKnownBitsBinOp(const SDValue Op,KnownBits & Known,const APInt & DemandedElts,const SelectionDAG & DAG,unsigned Depth,unsigned OpNo) computeKnownBitsBinOp() argument 7963 computeKnownBitsForTargetNode(const SDValue Op,KnownBits & Known,const APInt & DemandedElts,const SelectionDAG & DAG,unsigned Depth) const computeKnownBitsForTargetNode() argument 8055 computeNumSignBitsBinOp(SDValue Op,const APInt & DemandedElts,const SelectionDAG & DAG,unsigned Depth,unsigned OpNo) computeNumSignBitsBinOp() argument 8080 ComputeNumSignBitsForTargetNode(SDValue Op,const APInt & DemandedElts,const SelectionDAG & DAG,unsigned Depth) const ComputeNumSignBitsForTargetNode() argument 8135 isGuaranteedNotToBeUndefOrPoisonForTargetNode(SDValue Op,const APInt & DemandedElts,const SelectionDAG & DAG,bool PoisonOnly,unsigned Depth) const isGuaranteedNotToBeUndefOrPoisonForTargetNode() argument [all...] |
/llvm-project/llvm/lib/Target/Lanai/ |
H A D | LanaiISelLowering.cpp | 1490 computeKnownBitsForTargetNode(const SDValue Op,KnownBits & Known,const APInt & DemandedElts,const SelectionDAG & DAG,unsigned Depth) const computeKnownBitsForTargetNode() argument
|
/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMTargetTransformInfo.cpp | 274 APInt DemandedElts = simplifyDemandedVectorEltsIntrinsic() local
|
/llvm-project/llvm/lib/Target/XCore/ |
H A D | XCoreISelLowering.cpp | 1720 computeKnownBitsForTargetNode(const SDValue Op,KnownBits & Known,const APInt & DemandedElts,const SelectionDAG & DAG,unsigned Depth) const computeKnownBitsForTargetNode() argument
|
/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyISelLowering.cpp | 929 computeKnownBitsForTargetNode(const SDValue Op,KnownBits & Known,const APInt & DemandedElts,const SelectionDAG & DAG,unsigned Depth) const computeKnownBitsForTargetNode() argument
|
/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | VectorCombine.cpp | 247 APInt DemandedElts = APInt::getOneBitSet(MinVecNumElts, 0); vectorizeLoadInsert() local
|
/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64TargetTransformInfo.cpp | 3004 getScalarizationOverhead(VectorType * Ty,const APInt & DemandedElts,bool Insert,bool Extract,TTI::TargetCostKind CostKind) getScalarizationOverhead() argument
|