Home
last modified time | relevance | path

Searched refs:ElSize (Results 1 – 11 of 11) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ShuffleDecodeConstantPool.cpp154 void DecodeVPERMILPMask(const Constant *C, unsigned ElSize, in DecodeVPERMILPMask() argument
161 assert((ElSize == 32 || ElSize == 64) && "Unexpected vector element size."); in DecodeVPERMILPMask()
166 if (!extractConstantMask(C, ElSize, UndefElts, RawMask)) in DecodeVPERMILPMask()
170 unsigned NumEltsPerLane = 128 / ElSize; in DecodeVPERMILPMask()
182 if (ElSize == 64) in DecodeVPERMILPMask()
191 void DecodeVPERMIL2PMask(const Constant *C, unsigned M2Z, unsigned ElSize, in DecodeVPERMIL2PMask() argument
201 if (!extractConstantMask(C, ElSize, UndefElts, RawMask)) in DecodeVPERMIL2PMask()
205 unsigned NumEltsPerLane = 128 / ElSize; in DecodeVPERMIL2PMask()
234 if (ElSize == 64) in DecodeVPERMIL2PMask()
294 void DecodeVPERMVMask(const Constant *C, unsigned ElSize, in DecodeVPERMVMask() argument
[all …]
DX86ShuffleDecodeConstantPool.h32 void DecodeVPERMILPMask(const Constant *C, unsigned ElSize,
36 void DecodeVPERMIL2PMask(const Constant *C, unsigned MatchImm, unsigned ElSize,
43 void DecodeVPERMVMask(const Constant *C, unsigned ElSize,
47 void DecodeVPERMV3Mask(const Constant *C, unsigned ElSize,
DX86MCInstLower.cpp1938 unsigned ElSize; in EmitInstruction() local
1946 SrcIdx = 1; MaskIdx = 5; ElSize = 32; break; in EmitInstruction()
1950 SrcIdx = 2; MaskIdx = 6; ElSize = 32; break; in EmitInstruction()
1954 SrcIdx = 3; MaskIdx = 7; ElSize = 32; break; in EmitInstruction()
1960 SrcIdx = 1; MaskIdx = 5; ElSize = 64; break; in EmitInstruction()
1964 SrcIdx = 2; MaskIdx = 6; ElSize = 64; break; in EmitInstruction()
1968 SrcIdx = 3; MaskIdx = 7; ElSize = 64; break; in EmitInstruction()
1977 DecodeVPERMILPMask(C, ElSize, Mask); in EmitInstruction()
1998 unsigned ElSize; in EmitInstruction() local
2001 case X86::VPERMIL2PSrm: case X86::VPERMIL2PSYrm: ElSize = 32; break; in EmitInstruction()
[all …]
/external/llvm/lib/Target/X86/
DX86ShuffleDecodeConstantPool.cpp94 void DecodeVPERMILPMask(const Constant *C, unsigned ElSize, in DecodeVPERMILPMask() argument
107 if (ElSize != 32 && ElSize != 64) in DecodeVPERMILPMask()
127 if (EltTySize < 8 || EltTySize > ElSize) in DecodeVPERMILPMask()
130 unsigned NumElements = MaskTySize / ElSize; in DecodeVPERMILPMask()
135 unsigned NumElementsPerLane = 128 / ElSize; in DecodeVPERMILPMask()
136 unsigned Factor = ElSize / EltTySize; in DecodeVPERMILPMask()
149 if (ElSize == 64) in DecodeVPERMILPMask()
159 void DecodeVPERMIL2PMask(const Constant *C, unsigned M2Z, unsigned ElSize, in DecodeVPERMIL2PMask() argument
180 if (EltTySize < 8 || EltTySize > ElSize) in DecodeVPERMIL2PMask()
183 unsigned NumElements = MaskTySize / ElSize; in DecodeVPERMIL2PMask()
[all …]
DX86ShuffleDecodeConstantPool.h32 void DecodeVPERMILPMask(const Constant *C, unsigned ElSize,
36 void DecodeVPERMIL2PMask(const Constant *C, unsigned MatchImm, unsigned ElSize,
DX86MCInstLower.cpp1540 unsigned ElSize; in EmitInstruction() local
1543 case X86::VPERMIL2PSrm: case X86::VPERMIL2PSrmY: ElSize = 32; break; in EmitInstruction()
1544 case X86::VPERMIL2PDrm: case X86::VPERMIL2PDrmY: ElSize = 64; break; in EmitInstruction()
1549 DecodeVPERMIL2PMask(C, (unsigned)CtrlOp.getImm(), ElSize, Mask); in EmitInstruction()
DX86ISelLowering.cpp4258 unsigned ElSize = VT.getVectorElementType().getSizeInBits(); in isVEXTRACTIndex() local
4259 bool Result = (Index * ElSize) % vecWidth == 0; in isVEXTRACTIndex()
4276 unsigned ElSize = VT.getVectorElementType().getSizeInBits(); in isVINSERTIndex() local
4277 bool Result = (Index * ElSize) % vecWidth == 0; in isVINSERTIndex()
/external/llvm/lib/Analysis/
DScalarEvolutionExpander.cpp412 const SCEV *ElSize = SE.getSizeOfExpr(IntPtrTy, ElTy); in expandAddToGEP() local
413 if (!ElSize->isZero()) { in expandAddToGEP()
417 if (FactorOutConstant(Op, Remainder, ElSize, SE, DL)) { in expandAddToGEP()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DScalarEvolutionExpander.cpp425 const SCEV *ElSize = SE.getSizeOfExpr(IntPtrTy, ElTy); in expandAddToGEP() local
426 if (!ElSize->isZero()) { in expandAddToGEP()
430 if (FactorOutConstant(Op, Remainder, ElSize, SE, DL)) { in expandAddToGEP()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp8078 unsigned ElSize = DL.getTypeSizeInBits(VecTy->getElementType()); in isLegalInterleavedAccessType() local
8085 if (ElSize != 8 && ElSize != 16 && ElSize != 32 && ElSize != 64) in isLegalInterleavedAccessType()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMISelLowering.cpp14563 unsigned ElSize = DL.getTypeSizeInBits(VecTy->getElementType()); in isLegalInterleavedAccessType() local
14576 if (ElSize != 8 && ElSize != 16 && ElSize != 32) in isLegalInterleavedAccessType()