| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ShuffleDecodeConstantPool.cpp | 55 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 D | X86InstCombineIntrinsic.cpp | 933 APInt UndefElts(Width, 0); in instCombineIntrinsic() local 1802 simplifyAndSetOp(&II, 0, DemandedElts, UndefElts); in simplifyDemandedVectorEltsIntrinsic() 1805 UndefElts = UndefElts[0]; in simplifyDemandedVectorEltsIntrinsic() 1811 simplifyAndSetOp(&II, 0, DemandedElts, UndefElts); in simplifyDemandedVectorEltsIntrinsic() 1846 UndefElts.clearBit(0); in simplifyDemandedVectorEltsIntrinsic() 1872 UndefElts.clearBit(0); in simplifyDemandedVectorEltsIntrinsic() 1873 UndefElts |= UndefElts2[0]; in simplifyDemandedVectorEltsIntrinsic() 1908 UndefElts.clearBit(0); in simplifyDemandedVectorEltsIntrinsic() 1933 UndefElts &= UndefElts2; in simplifyDemandedVectorEltsIntrinsic() 1982 UndefElts |= LaneElts; in simplifyDemandedVectorEltsIntrinsic() [all …]
|
| H A D | X86TargetTransformInfo.h | 170 InstCombiner &IC, IntrinsicInst &II, APInt DemandedElts, APInt &UndefElts,
|
| H A D | X86ISelLowering.cpp | 6788 UndefElts = UndefElts.extractBits(NumSubElts, BaseIdx); in getTargetConstantBitsFromNode() 6846 APInt UndefElts; in isConstantSplat() local 7549 APInt UndefElts; in getFauxShuffleMask() local 11200 APInt UndefElts; in createShuffleMaskFromVSELECT() local 23228 APInt UndefElts; in LowerVSETCC() local 40285 APInt UndefElts; in combineBitcast() local 44151 APInt UndefElts; in combineVectorShiftVar() local 44237 APInt UndefElts; in combineVectorShiftImm() local 44258 UndefElts = 0; in combineVectorShiftImm() 44922 APInt UndefElts; in combineAnd() local [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/ |
| H A D | X86ShuffleDecode.h | 100 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 D | X86ShuffleDecode.cpp | 291 void DecodePSHUFBMask(ArrayRef<uint64_t> RawMask, const APInt &UndefElts, in DecodePSHUFBMask() argument 295 if (UndefElts[i]) { in DecodePSHUFBMask() 323 void DecodeVPPERMMask(ArrayRef<uint64_t> RawMask, const APInt &UndefElts, in DecodeVPPERMMask() argument 341 if (UndefElts[i]) { in DecodeVPPERMMask() 476 ArrayRef<uint64_t> RawMask, const APInt &UndefElts, in DecodeVPERMILPMask() argument 486 if (UndefElts[i]) { in DecodeVPERMILPMask() 508 if (UndefElts[i]) { in DecodeVPERMIL2PMask() 543 void DecodeVPERMVMask(ArrayRef<uint64_t> RawMask, const APInt &UndefElts, in DecodeVPERMVMask() argument 547 if (UndefElts[i]) { in DecodeVPERMVMask() 557 void DecodeVPERMV3Mask(ArrayRef<uint64_t> RawMask, const APInt &UndefElts, in DecodeVPERMV3Mask() argument [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSimplifyDemanded.cpp | 1096 UndefElts = EltMask; in SimplifyDemandedVectorElts() 1101 UndefElts = EltMask; in SimplifyDemandedVectorElts() 1105 UndefElts = 0; in SimplifyDemandedVectorElts() 1119 UndefElts.setBit(i); in SimplifyDemandedVectorElts() 1128 UndefElts.setBit(i); in SimplifyDemandedVectorElts() 1197 UndefElts = EltMask; in SimplifyDemandedVectorElts() 1272 UndefElts = EltMask; in SimplifyDemandedVectorElts() 1331 UndefElts.setBit(i); in SimplifyDemandedVectorElts() 1334 UndefElts.setBit(i); in SimplifyDemandedVectorElts() 1394 if (UndefElts[i]) in SimplifyDemandedVectorElts() [all …]
|
| H A D | InstCombineVectorOps.cpp | 381 APInt UndefElts(NumElts, 0); in visitExtractElementInst() local 385 SimplifyDemandedVectorElts(SrcVec, DemandedElts, UndefElts)) in visitExtractElementInst() 392 APInt UndefElts(NumElts, 0); in visitExtractElementInst() local 394 SrcVec, DemandedElts, UndefElts, 0 /* Depth */, in visitExtractElementInst() 1497 APInt UndefElts(VWidth, 0); in visitInsertElementInst() local 1499 if (Value *V = SimplifyDemandedVectorElts(&IE, AllOnesEltMask, UndefElts)) { in visitInsertElementInst() 2446 APInt UndefElts(VWidth, 0); in visitShuffleVectorInst() local 2448 if (Value *V = SimplifyDemandedVectorElts(&SVI, AllOnesEltMask, UndefElts)) { in visitShuffleVectorInst()
|
| H A D | InstCombineCalls.cpp | 342 APInt UndefElts(DemandedElts.getBitWidth(), 0); in simplifyMaskedStore() local 344 SimplifyDemandedVectorElts(II.getOperand(0), DemandedElts, UndefElts)) in simplifyMaskedStore() 381 APInt UndefElts(DemandedElts.getBitWidth(), 0); in simplifyMaskedScatter() local 383 SimplifyDemandedVectorElts(II.getOperand(0), DemandedElts, UndefElts)) in simplifyMaskedScatter() 386 SimplifyDemandedVectorElts(II.getOperand(1), DemandedElts, UndefElts)) in simplifyMaskedScatter() 898 APInt UndefElts(VWidth, 0); in visitCallInst() local 900 if (Value *V = SimplifyDemandedVectorElts(II, AllOnesEltMask, UndefElts)) { in visitCallInst()
|
| H A D | InstructionCombining.cpp | 188 IntrinsicInst &II, APInt DemandedElts, APInt &UndefElts, APInt &UndefElts2, in targetSimplifyDemandedVectorEltsIntrinsic() argument 195 *this, II, DemandedElts, UndefElts, UndefElts2, UndefElts3, in targetSimplifyDemandedVectorEltsIntrinsic() 1907 APInt UndefElts(VWidth, 0); in visitGetElementPtrInst() local 1910 UndefElts)) { in visitGetElementPtrInst()
|
| H A D | InstCombineInternal.h | 593 SimplifyDemandedVectorElts(Value *V, APInt DemandedElts, APInt &UndefElts,
|
| H A D | InstCombineSelect.cpp | 2434 APInt UndefElts(NumElts, 0); in foldVectorSelect() local 2436 if (Value *V = SimplifyDemandedVectorElts(&Sel, AllOnesEltMask, UndefElts)) { in foldVectorSelect()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/ |
| H A D | InstCombiner.h | 386 IntrinsicInst &II, APInt DemandedElts, APInt &UndefElts, 519 SimplifyDemandedVectorElts(Value *V, APInt DemandedElts, APInt &UndefElts,
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUTargetTransformInfo.h | 195 InstCombiner &IC, IntrinsicInst &II, APInt DemandedElts, APInt &UndefElts,
|
| H A D | AMDGPUInstCombineIntrinsic.cpp | 1051 InstCombiner &IC, IntrinsicInst &II, APInt DemandedElts, APInt &UndefElts, in simplifyDemandedVectorEltsIntrinsic() argument
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfo.h | 569 InstCombiner &IC, IntrinsicInst &II, APInt DemandedElts, APInt &UndefElts, 1480 InstCombiner &IC, IntrinsicInst &II, APInt DemandedElts, APInt &UndefElts, 1824 InstCombiner &IC, IntrinsicInst &II, APInt DemandedElts, APInt &UndefElts, in simplifyDemandedVectorEltsIntrinsic() argument 1829 IC, II, DemandedElts, UndefElts, UndefElts2, UndefElts3, in simplifyDemandedVectorEltsIntrinsic()
|
| H A D | TargetTransformInfoImpl.h | 182 InstCombiner &IC, IntrinsicInst &II, APInt DemandedElts, APInt &UndefElts, in simplifyDemandedVectorEltsIntrinsic() argument
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | TargetTransformInfo.cpp | 306 InstCombiner &IC, IntrinsicInst &II, APInt DemandedElts, APInt &UndefElts, in simplifyDemandedVectorEltsIntrinsic() argument 311 IC, II, DemandedElts, UndefElts, UndefElts2, UndefElts3, in simplifyDemandedVectorEltsIntrinsic()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 2477 UndefElts = V.getOperand(0).isUndef() in isSplatValue() 2491 UndefElts = UndefLHS | UndefRHS; in isSplatValue() 2510 UndefElts = APInt::getNullValue(NumElts); in isSplatValue() 2518 UndefElts.setBit(i); in isSplatValue() 2537 UndefElts.setBit(i); in isSplatValue() 2574 APInt UndefElts; in isSplatValue() local 2580 return isSplatValue(V, DemandedElts, UndefElts) && in isSplatValue() 2581 (AllowUndefs || !UndefElts); in isSplatValue() 2591 APInt UndefElts; in getSplatSourceVector() local 2597 if (isSplatValue(V, DemandedElts, UndefElts)) { in getSplatSourceVector() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | BasicTTIImpl.h | 589 InstCombiner &IC, IntrinsicInst &II, APInt DemandedElts, APInt &UndefElts, in simplifyDemandedVectorEltsIntrinsic() argument 594 IC, II, DemandedElts, UndefElts, UndefElts2, UndefElts3, in simplifyDemandedVectorEltsIntrinsic()
|
| H A D | SelectionDAG.h | 1837 bool isSplatValue(SDValue V, const APInt &DemandedElts, APInt &UndefElts,
|