Home
last modified time | relevance | path

Searched refs:UndefElts (Results 1 – 24 of 24) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ShuffleDecodeConstantPool.cpp55 UndefElts = APInt(NumMaskElts, 0); in extractConstantMask()
67 UndefElts.setBit(i); in extractConstantMask()
104 UndefElts.setBit(i); in extractConstantMask()
123 APInt UndefElts; in DecodePSHUFBMask() local
133 if (UndefElts[i]) { in DecodePSHUFBMask()
162 APInt UndefElts; in DecodeVPERMILPMask() local
173 if (UndefElts[i]) { in DecodeVPERMILPMask()
198 APInt UndefElts; in DecodeVPERMIL2PMask() local
209 if (UndefElts[i]) { in DecodeVPERMIL2PMask()
252 APInt UndefElts; in DecodeVPPERMMask() local
[all …]
H A DX86InstCombineIntrinsic.cpp2000 APInt UndefElts(Width, 0); in instCombineIntrinsic() local
2877 simplifyAndSetOp(&II, 0, DemandedElts, UndefElts); in simplifyDemandedVectorEltsIntrinsic()
2880 UndefElts = UndefElts[0]; in simplifyDemandedVectorEltsIntrinsic()
2921 UndefElts.clearBit(0); in simplifyDemandedVectorEltsIntrinsic()
2947 UndefElts.clearBit(0); in simplifyDemandedVectorEltsIntrinsic()
2948 UndefElts |= UndefElts2[0]; in simplifyDemandedVectorEltsIntrinsic()
2983 UndefElts.clearBit(0); in simplifyDemandedVectorEltsIntrinsic()
3008 UndefElts &= UndefElts2; in simplifyDemandedVectorEltsIntrinsic()
3025 UndefElts &= UndefElts2; in simplifyDemandedVectorEltsIntrinsic()
3074 UndefElts |= LaneElts; in simplifyDemandedVectorEltsIntrinsic()
[all …]
H A DX86TargetTransformInfo.h201 InstCombiner &IC, IntrinsicInst &II, APInt DemandedElts, APInt &UndefElts,
H A DX86ISelLowering.cpp4869 UndefElts = UndefElts.extractBits(NumSubElts, BaseIdx); in getTargetConstantBitsFromNode()
4927 APInt UndefElts; in isConstantSplat() local
4993 APInt UndefElts; in IsNOT() local
5647 APInt UndefElts; in createShuffleMaskFromVSELECT() local
5713 APInt UndefElts; in getFauxShuffleMask() local
29122 APInt UndefElts; in convertShiftLeftToScale() local
36806 APInt UndefElts; in computeKnownBitsForTargetNode() local
42985 APInt UndefElts; in combineBitcast() local
47503 APInt UndefElts; in combineVectorShiftVar() local
47638 UndefElts = 0; in combineVectorShiftImm()
[all …]
H A DX86ISelLowering.h1245 APInt &UndefElts, const SelectionDAG &DAG,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86ShuffleDecode.h100 void DecodePSHUFBMask(ArrayRef<uint64_t> RawMask, const APInt &UndefElts,
124 void DecodeVPPERMMask(ArrayRef<uint64_t> RawMask, const APInt &UndefElts,
149 ArrayRef<uint64_t> RawMask, const APInt &UndefElts,
154 ArrayRef<uint64_t> RawMask, const APInt &UndefElts,
158 void DecodeVPERMVMask(ArrayRef<uint64_t> RawMask, const APInt &UndefElts,
162 void DecodeVPERMV3Mask(ArrayRef<uint64_t> RawMask, const APInt &UndefElts,
H A DX86ShuffleDecode.cpp292 void DecodePSHUFBMask(ArrayRef<uint64_t> RawMask, const APInt &UndefElts, in DecodePSHUFBMask() argument
296 if (UndefElts[i]) { in DecodePSHUFBMask()
324 void DecodeVPPERMMask(ArrayRef<uint64_t> RawMask, const APInt &UndefElts, in DecodeVPPERMMask() argument
342 if (UndefElts[i]) { in DecodeVPPERMMask()
477 ArrayRef<uint64_t> RawMask, const APInt &UndefElts, in DecodeVPERMILPMask() argument
487 if (UndefElts[i]) { in DecodeVPERMILPMask()
509 if (UndefElts[i]) { in DecodeVPERMIL2PMask()
544 void DecodeVPERMVMask(ArrayRef<uint64_t> RawMask, const APInt &UndefElts, in DecodeVPERMVMask() argument
548 if (UndefElts[i]) { in DecodeVPERMVMask()
558 void DecodeVPERMV3Mask(ArrayRef<uint64_t> RawMask, const APInt &UndefElts, in DecodeVPERMV3Mask() argument
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h395 IntrinsicInst &II, APInt DemandedElts, APInt &UndefElts,
546 SimplifyDemandedVectorElts(Value *V, APInt DemandedElts, APInt &UndefElts,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.h226 InstCombiner &IC, IntrinsicInst &II, APInt DemandedElts, APInt &UndefElts,
H A DAMDGPUInstCombineIntrinsic.cpp1362 InstCombiner &IC, IntrinsicInst &II, APInt DemandedElts, APInt &UndefElts, in simplifyDemandedVectorEltsIntrinsic() argument
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h128 InstCombiner &IC, IntrinsicInst &II, APInt DemandedElts, APInt &UndefElts,
H A DAArch64TargetTransformInfo.cpp2041 APInt &UndefElts, APInt &UndefElts2, APInt &UndefElts3, in simplifyDemandedVectorEltsIntrinsic() argument
2058 SimplifyAndSetOp(&II, 0, OrigDemandedElts, UndefElts); in simplifyDemandedVectorEltsIntrinsic()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.h125 InstCombiner &IC, IntrinsicInst &II, APInt DemandedElts, APInt &UndefElts,
H A DARMTargetTransformInfo.cpp257 APInt &UndefElts, APInt &UndefElts2, APInt &UndefElts3, in simplifyDemandedVectorEltsIntrinsic() argument
273 SimplifyAndSetOp(&II, 0, OrigDemandedElts & DemandedElts, UndefElts); in simplifyDemandedVectorEltsIntrinsic()
275 UndefElts &= APInt::getSplat(NumElts, IsTop ? APInt::getLowBitsSet(2, 1) in simplifyDemandedVectorEltsIntrinsic()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h676 APInt & UndefElts, APInt & UndefElts2, APInt & UndefElts3,
1817 APInt &UndefElts, APInt &UndefElts2, APInt &UndefElts3,
2264 InstCombiner &IC, IntrinsicInst &II, APInt DemandedElts, APInt &UndefElts, in simplifyDemandedVectorEltsIntrinsic() argument
2269 IC, II, DemandedElts, UndefElts, UndefElts2, UndefElts3, in simplifyDemandedVectorEltsIntrinsic()
H A DTargetTransformInfoImpl.h203 InstCombiner &IC, IntrinsicInst &II, APInt DemandedElts, APInt &UndefElts, in simplifyDemandedVectorEltsIntrinsic() argument
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp374 InstCombiner &IC, IntrinsicInst &II, APInt DemandedElts, APInt &UndefElts, in simplifyDemandedVectorEltsIntrinsic() argument
379 IC, II, DemandedElts, UndefElts, UndefElts2, UndefElts3, in simplifyDemandedVectorEltsIntrinsic()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp2720 UndefElts = V.getOperand(0).isUndef() in isSplatValue()
2734 UndefElts = UndefLHS | UndefRHS; in isSplatValue()
2759 UndefElts = APInt::getZero(NumElts); in isSplatValue()
2767 UndefElts.setBit(i); in isSplatValue()
2786 UndefElts.setBit(i); in isSplatValue()
2844 UndefElts = UndefSrcElts.trunc(NumElts); in isSplatValue()
2892 APInt UndefElts; in isSplatValue() local
2899 (AllowUndefs || !UndefElts); in isSplatValue()
2909 APInt UndefElts; in getSplatSourceVector() local
2916 if (isSplatValue(V, DemandedElts, UndefElts)) { in getSplatSourceVector()
[all …]
H A DDAGCombiner.cpp25091 APInt UndefElts; in combineShuffleOfSplatVal() local
25092 if (DAG.isSplatValue(Shuf->getOperand(0), DemandedElts, UndefElts)) { in combineShuffleOfSplatVal()
25097 if (Idx < 0 || UndefElts[Idx]) in combineShuffleOfSplatVal()
25111 Idx = UndefElts[Idx] ? -1 : *MinNonUndefIdx; in combineShuffleOfSplatVal()
H A DTargetLowering.cpp3823 APInt &UndefElts, in isSplatValueForTargetNode() argument
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h685 InstCombiner &IC, IntrinsicInst &II, APInt DemandedElts, APInt &UndefElts, in simplifyDemandedVectorEltsIntrinsic() argument
690 IC, II, DemandedElts, UndefElts, UndefElts2, UndefElts3, in simplifyDemandedVectorEltsIntrinsic()
H A DSelectionDAG.h2175 bool isSplatValue(SDValue V, const APInt &DemandedElts, APInt &UndefElts,
H A DTargetLowering.h4070 APInt &UndefElts,
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DInstructions.cpp2355 APInt UndefElts = APInt::getZero(NumMaskElts); in isInsertSubvectorMask() local
2364 UndefElts.setBit(i); in isInsertSubvectorMask()
2375 assert((Src0Elts | Src1Elts | UndefElts).isAllOnes() && in isInsertSubvectorMask()