Home
last modified time | relevance | path

Searched refs:VecSize (Results 1 – 25 of 32) sorted by relevance

12

/external/deqp/framework/common/
DtcuVector.hpp36 template <typename T, int VecSize, int Size>
40 explicit VecAccess (Vector<T, VecSize>& v, int x, int y);
41 explicit VecAccess (Vector<T, VecSize>& v, int x, int y, int z);
42 explicit VecAccess (Vector<T, VecSize>& v, int x, int y, int z, int w);
49 Vector<T, VecSize>& m_vector;
53 template <typename T, int VecSize, int Size>
54 VecAccess<T, VecSize, Size>::VecAccess (Vector<T, VecSize>& v, int x, int y) in VecAccess()
62 template <typename T, int VecSize, int Size>
63 VecAccess<T, VecSize, Size>::VecAccess (Vector<T, VecSize>& v, int x, int y, int z) in VecAccess()
72 template <typename T, int VecSize, int Size>
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/Utils/
DX86ShuffleDecode.cpp495 unsigned VecSize = NumElts * ScalarBits; in DecodeVPERMILPMask() local
496 unsigned NumLanes = VecSize / 128; in DecodeVPERMILPMask()
498 assert((VecSize == 128 || VecSize == 256 || VecSize == 512) && in DecodeVPERMILPMask()
513 unsigned VecSize = NumElts * ScalarBits; in DecodeVPERMIL2PMask() local
514 unsigned NumLanes = VecSize / 128; in DecodeVPERMIL2PMask()
516 assert((VecSize == 128 || VecSize == 256) && "Unexpected vector size"); in DecodeVPERMIL2PMask()
/external/llvm/lib/Target/X86/Utils/
DX86ShuffleDecode.cpp514 unsigned VecSize = VT.getSizeInBits(); in DecodeVPERMILPMask() local
516 unsigned NumLanes = VecSize / 128; in DecodeVPERMILPMask()
518 assert((VecSize == 128 || VecSize == 256 || VecSize == 512) && in DecodeVPERMILPMask()
532 unsigned VecSize = VT.getSizeInBits(); in DecodeVPERMIL2PMask() local
534 unsigned NumLanes = VecSize / 128; in DecodeVPERMIL2PMask()
536 assert((VecSize == 128 || VecSize == 256) && in DecodeVPERMIL2PMask()
/external/llvm/test/Linker/
Dtestlink.ll14 ; CHECK: %VecSize = type { <5 x i32> }
15 ; CHECK: %VecSize.{{[0-9]}} = type { <10 x i32> }
16 %VecSize = type { <5 x i32> }
109 define void @VecSizeCrash(%VecSize) {
/external/swiftshader/third_party/llvm-7.0/llvm/test/Linker/
Dtestlink.ll14 ; CHECK: %VecSize = type { <5 x i32> }
15 ; CHECK: %VecSize.{{[0-9]}} = type { <10 x i32> }
16 %VecSize = type { <5 x i32> }
109 define void @VecSizeCrash(%VecSize) {
/external/swiftshader/third_party/llvm-7.0/llvm/test/Linker/Inputs/
Dtestlink.ll7 %VecSize = type { <10 x i32> }
56 define void @VecSizeCrash1(%VecSize) {
/external/llvm/test/Linker/Inputs/
Dtestlink.ll7 %VecSize = type { <10 x i32> }
56 define void @VecSizeCrash1(%VecSize) {
/external/llvm/lib/Target/NVPTX/
DNVPTXReplaceImageHandles.cpp96 unsigned VecSize = in processInstr() local
100 MachineOperand &SurfHandle = MI.getOperand(VecSize); in processInstr()
DNVPTXISelLowering.cpp1212 unsigned VecSize = 4; in LowerCall() local
1214 VecSize = 2; in LowerCall()
1218 unsigned PerStoreOffset = MemVT.getStoreSizeInBits() / 8 * VecSize; in LowerCall()
1220 for (unsigned i = 0; i < NumElts; i += VecSize) { in LowerCall()
1245 if (VecSize == 4) { in LowerCall()
1562 unsigned VecSize = 4; in LowerCall() local
1565 VecSize = 2; in LowerCall()
1568 EVT VecVT = EVT::getVectorVT(F->getContext(), EltVT, VecSize); in LowerCall()
1569 for (unsigned i = 0; i < NumElts; i += VecSize) { in LowerCall()
1576 for (unsigned j = 0; j < VecSize; ++j) in LowerCall()
[all …]
DNVPTXISelDAGToDAG.cpp2733 unsigned VecSize; in tryLoadParam() local
2738 VecSize = 1; in tryLoadParam()
2741 VecSize = 2; in tryLoadParam()
2744 VecSize = 4; in tryLoadParam()
2753 switch (VecSize) { in tryLoadParam()
2834 if (VecSize == 1) { in tryLoadParam()
2836 } else if (VecSize == 2) { in tryLoadParam()
DNVPTXAsmPrinter.cpp189 unsigned VecSize = in lowerImageHandleOperand() local
193 if (OpNo == VecSize && MO.isImm()) { in lowerImageHandleOperand()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
DNVPTXReplaceImageHandles.cpp96 unsigned VecSize = in processInstr() local
100 MachineOperand &SurfHandle = MI.getOperand(VecSize); in processInstr()
DNVPTXISelDAGToDAG.cpp2106 unsigned VecSize; in tryLoadParam() local
2111 VecSize = 1; in tryLoadParam()
2114 VecSize = 2; in tryLoadParam()
2117 VecSize = 4; in tryLoadParam()
2126 switch (VecSize) { in tryLoadParam()
2156 if (VecSize == 1) { in tryLoadParam()
2158 } else if (VecSize == 2) { in tryLoadParam()
DNVPTXAsmPrinter.cpp169 unsigned VecSize = in lowerImageHandleOperand() local
173 if (OpNo == VecSize && MO.isImm()) { in lowerImageHandleOperand()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonVExtract.cpp139 unsigned VecSize = HRI.getRegSizeInBits(VecRC) / 8; in runOnMachineFunction() local
151 .addImm(SR == 0 ? 0 : VecSize/2); in runOnMachineFunction()
DHexagonPatternsHVX.td71 int32_t VecSize = HRI->getSpillSize(Hexagon::HvxVRRegClass);
72 assert(isPowerOf2_32(VecSize));
73 if ((uint32_t(V) & (uint32_t(VecSize)-1)) != 0)
75 int32_t L = Log2_32(VecSize);
/external/spirv-llvm/lib/SPIRV/
DSPIRVUtil.cpp754 size_t VecSize = Range.second - Range.first; in addVector() local
755 if (VecSize == 1) in addVector()
757 assert(isValidVectorSize(VecSize) && "Invalid vector size"); in addVector()
759 auto Vec = Builder.CreateVectorSplat(VecSize, *Range.first); in addVector()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp572 int VecSize = Shuf.getOperand(0)->getType()->getVectorNumElements(); in isShuffleEquivalentToSelect() local
575 if (MaskSize != VecSize) in isShuffleEquivalentToSelect()
582 if (Elt != -1 && Elt != i && Elt != i + VecSize) in isShuffleEquivalentToSelect()
/external/clang/lib/CodeGen/
DTargetInfo.cpp849 unsigned VecSize = Context.getTypeSize(VT); in isX86VectorTypeForVectorCall() local
850 if (VecSize == 128 || VecSize == 256 || VecSize == 512) in isX86VectorTypeForVectorCall()
4675 unsigned VecSize = getContext().getTypeSize(VT); in isHomogeneousAggregateBaseType() local
4676 if (VecSize == 64 || VecSize == 128) in isHomogeneousAggregateBaseType()
5575 unsigned VecSize = getContext().getTypeSize(VT); in isHomogeneousAggregateBaseType() local
5576 if (VecSize == 64 || VecSize == 128) in isHomogeneousAggregateBaseType()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSIInstructions.td1178 multiclass SI_INDIRECT_Pattern <ValueType vt, ValueType eltvt, string VecSize> {
1182 (!cast<Instruction>("SI_INDIRECT_SRC_"#VecSize) $src, $idx, imm:$offset)
1188 (!cast<Instruction>("SI_INDIRECT_DST_"#VecSize) $src, $idx, imm:$offset, $val)
DSIISelLowering.cpp4205 unsigned VecSize = VecVT.getSizeInBits(); in lowerINSERT_VECTOR_ELT() local
4209 assert(VecSize <= 64); in lowerINSERT_VECTOR_ELT()
4245 MVT IntVT = MVT::getIntegerVT(VecSize); in lowerINSERT_VECTOR_ELT()
4282 unsigned VecSize = VecVT.getSizeInBits(); in lowerEXTRACT_VECTOR_ELT() local
4284 assert(VecSize <= 64); in lowerEXTRACT_VECTOR_ELT()
4298 MVT IntVT = MVT::getIntegerVT(VecSize); in lowerEXTRACT_VECTOR_ELT()
7239 unsigned VecSize = VecVT.getSizeInBits(); in performExtractVectorEltCombine() local
7248 VecSize > 32 && in performExtractVectorEltCombine()
7249 VecSize % 32 == 0 && in performExtractVectorEltCombine()
/external/llvm/lib/IR/
DConstants.cpp930 unsigned VecSize = V.size(); in getTypeForElements() local
931 SmallVector<Type*, 16> EltTypes(VecSize); in getTypeForElements()
932 for (unsigned i = 0; i != VecSize; ++i) in getTypeForElements()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstants.cpp998 unsigned VecSize = V.size(); in getTypeForElements() local
999 SmallVector<Type*, 16> EltTypes(VecSize); in getTypeForElements()
1000 for (unsigned i = 0; i != VecSize; ++i) in getTypeForElements()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DScalarReplAggregates.cpp800 uint64_t VecSize = TD.getTypeAllocSizeInBits(VTy); in ConvertScalar_InsertValue() local
805 if (ValSize == VecSize) in ConvertScalar_InsertValue()
/external/clang/lib/AST/
DExprConstant.cpp1743 unsigned VecSize = Info.Ctx.getTypeSize(VecTy); in EvalAndBitcastToAPInt() local
1747 Res = llvm::APInt::getNullValue(VecSize); in EvalAndBitcastToAPInt()
1763 Res |= EltAsInt.zextOrTrunc(VecSize).rotr(i*EltSize+BaseEltSize); in EvalAndBitcastToAPInt()
1765 Res |= EltAsInt.zextOrTrunc(VecSize).rotl(i*EltSize); in EvalAndBitcastToAPInt()

12