Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ShuffleDecodeConstantPool.cpp25 APInt &UndefElts, in extractConstantMask() argument
53 UndefElts = APInt(NumMaskElts, 0); in extractConstantMask()
65 UndefElts.setBit(i); in extractConstantMask()
102 UndefElts.setBit(i); in extractConstantMask()
121 APInt UndefElts; in DecodePSHUFBMask() local
123 if (!extractConstantMask(C, 8, UndefElts, RawMask)) in DecodePSHUFBMask()
131 if (UndefElts[i]) { in DecodePSHUFBMask()
160 APInt UndefElts; in DecodeVPERMILPMask() local
162 if (!extractConstantMask(C, ElSize, UndefElts, RawMask)) in DecodeVPERMILPMask()
171 if (UndefElts[i]) { in DecodeVPERMILPMask()
[all …]
DX86ISelLowering.cpp6134 APInt &UndefElts, in getTargetConstantBitsFromNode() argument
6161 UndefElts = UndefSrcElts; in getTargetConstantBitsFromNode()
6178 UndefElts = APInt(NumElts, 0); in getTargetConstantBitsFromNode()
6189 UndefElts.setBit(i); in getTargetConstantBitsFromNode()
6353 UndefElts, SubEltBits, AllowWholeUndefs, in getTargetConstantBitsFromNode()
6355 UndefElts = APInt::getSplat(NumElts, UndefElts); in getTargetConstantBitsFromNode()
6390 UndefElts, EltBits, AllowWholeUndefs, in getTargetConstantBitsFromNode()
6393 UndefElts.insertBits(UndefSubElts, BaseIdx); in getTargetConstantBitsFromNode()
6408 UndefElts, EltBits, AllowWholeUndefs, in getTargetConstantBitsFromNode()
6414 UndefElts = UndefElts.extractBits(NumSubElts, BaseIdx); in getTargetConstantBitsFromNode()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/Utils/
DX86ShuffleDecode.h111 void DecodePSHUFBMask(ArrayRef<uint64_t> RawMask, const APInt &UndefElts,
134 void DecodeVPPERMMask(ArrayRef<uint64_t> RawMask, const APInt &UndefElts,
159 ArrayRef<uint64_t> RawMask, const APInt &UndefElts,
164 ArrayRef<uint64_t> RawMask, const APInt &UndefElts,
168 void DecodeVPERMVMask(ArrayRef<uint64_t> RawMask, const APInt &UndefElts,
172 void DecodeVPERMV3Mask(ArrayRef<uint64_t> RawMask, const APInt &UndefElts,
DX86ShuffleDecode.cpp306 void DecodePSHUFBMask(ArrayRef<uint64_t> RawMask, const APInt &UndefElts, in DecodePSHUFBMask() argument
310 if (UndefElts[i]) { in DecodePSHUFBMask()
338 void DecodeVPPERMMask(ArrayRef<uint64_t> RawMask, const APInt &UndefElts, in DecodeVPPERMMask() argument
356 if (UndefElts[i]) { in DecodeVPPERMMask()
493 ArrayRef<uint64_t> RawMask, const APInt &UndefElts, in DecodeVPERMILPMask() argument
503 if (UndefElts[i]) { in DecodeVPERMILPMask()
515 ArrayRef<uint64_t> RawMask, const APInt &UndefElts, in DecodeVPERMIL2PMask() argument
525 if (UndefElts[i]) { in DecodeVPERMIL2PMask()
560 void DecodeVPERMVMask(ArrayRef<uint64_t> RawMask, const APInt &UndefElts, in DecodeVPERMVMask() argument
564 if (UndefElts[i]) { in DecodeVPERMVMask()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp1120 APInt &UndefElts, in SimplifyDemandedVectorElts() argument
1129 UndefElts = EltMask; in SimplifyDemandedVectorElts()
1134 UndefElts = EltMask; in SimplifyDemandedVectorElts()
1138 UndefElts = 0; in SimplifyDemandedVectorElts()
1152 UndefElts.setBit(i); in SimplifyDemandedVectorElts()
1161 UndefElts.setBit(i); in SimplifyDemandedVectorElts()
1236 UndefElts = EltMask; in SimplifyDemandedVectorElts()
1242 UndefElts |= UndefEltsOp; in SimplifyDemandedVectorElts()
1266 simplifyAndSetOp(I, 0, PreInsertDemandedElts, UndefElts); in SimplifyDemandedVectorElts()
1276 UndefElts.clearBit(IdxNo); in SimplifyDemandedVectorElts()
[all …]
DInstCombineVectorOps.cpp341 APInt UndefElts(NumElts, 0); in visitExtractElementInst() local
345 SimplifyDemandedVectorElts(SrcVec, DemandedElts, UndefElts)) { in visitExtractElementInst()
354 APInt UndefElts(NumElts, 0); in visitExtractElementInst() local
356 SrcVec, DemandedElts, UndefElts, 0 /* Depth */, in visitExtractElementInst()
1098 APInt UndefElts(VWidth, 0); in visitInsertElementInst() local
1100 if (Value *V = SimplifyDemandedVectorElts(&IE, AllOnesEltMask, UndefElts)) { in visitInsertElementInst()
1945 APInt UndefElts(VWidth, 0); in visitShuffleVectorInst() local
1947 if (Value *V = SimplifyDemandedVectorElts(&SVI, AllOnesEltMask, UndefElts)) { in visitShuffleVectorInst()
DInstCombineCalls.cpp1101 APInt UndefElts(DemandedElts.getBitWidth(), 0); in simplifyMaskedStore() local
1103 DemandedElts, UndefElts)) { in simplifyMaskedStore()
1139 APInt UndefElts(DemandedElts.getBitWidth(), 0); in simplifyMaskedScatter() local
1141 DemandedElts, UndefElts)) { in simplifyMaskedScatter()
1146 DemandedElts, UndefElts)) { in simplifyMaskedScatter()
1869 APInt UndefElts(VWidth, 0); in visitCallInst() local
1871 if (Value *V = SimplifyDemandedVectorElts(II, AllOnesEltMask, UndefElts)) { in visitCallInst()
1883 APInt UndefElts(Width, 0); in visitCallInst() local
1885 return SimplifyDemandedVectorElts(Op, DemandedElts, UndefElts); in visitCallInst()
DInstCombineInternal.h867 APInt &UndefElts, unsigned Depth = 0,
DInstCombineSelect.cpp2758 APInt UndefElts(VWidth, 0); in visitSelectInst() local
2760 if (Value *V = SimplifyDemandedVectorElts(&SI, AllOnesEltMask, UndefElts)) { in visitSelectInst()
DInstructionCombining.cpp1671 APInt UndefElts(VWidth, 0); in visitGetElementPtrInst() local
1674 UndefElts)) { in visitGetElementPtrInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp2281 APInt &UndefElts, unsigned Depth) { in isSplatValue() argument
2293 UndefElts = APInt::getNullValue(NumElts); in isSplatValue()
2301 UndefElts.setBit(i); in isSplatValue()
2320 UndefElts.setBit(i); in isSplatValue()
2341 UndefElts = UndefSrcElts.extractBits(NumElts, Idx); in isSplatValue()
2355 UndefElts = UndefLHS | UndefRHS; in isSplatValue()
2371 APInt UndefElts; in isSplatValue() local
2373 return isSplatValue(V, DemandedElts, UndefElts) && in isSplatValue()
2374 (AllowUndefs || !UndefElts); in isSplatValue()
2384 APInt UndefElts; in getSplatSourceVector() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DSelectionDAG.h1621 bool isSplatValue(SDValue V, const APInt &DemandedElts, APInt &UndefElts,