Home
last modified time | relevance | path

Searched refs:VectorSize (Results 1 – 18 of 18) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibFunc.cpp437 case AMDGPULibFunc::IMG1DA: P.VectorSize = 2; break; in getNextParam()
438 case AMDGPULibFunc::IMG1DB: P.VectorSize = 1; break; in getNextParam()
439 case AMDGPULibFunc::IMG2DA: P.VectorSize = 4; break; in getNextParam()
616 res.VectorSize = parseVecSize(param); in parseItaniumParam()
654 res.VectorSize = Prev.VectorSize; in parseItaniumParam()
661 Prev.VectorSize = res.VectorSize; in parseItaniumParam()
801 P.VectorSize == T.VectorSize && in findSubst()
854 if (p.VectorSize > 1) { in operator ()()
892 P.VectorSize = VT->getNumElements(); in getFromTy()
965 if (P.VectorSize > 1) in getIntrinsicParamType()
[all …]
H A DAMDGPULibFunc.h295 unsigned char VectorSize = 1; member
302 VectorSize = 1; in reset()
H A DAMDGPULibCalls.cpp401 return FInfo.getLeads()[0].VectorSize; in getVecSize()
463 nf.getLeads()[0].VectorSize = FInfo.getLeads()[0].VectorSize; in sincosUseNative()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonAsmPrinter.cpp246 unsigned VectorSize, MCContext &Ctx) { in ScaleVectorOffset() argument
639 MappedInst = ScaleVectorOffset(Inst, 3, VectorSize, OutContext); in HexagonProcessInstruction()
649 MappedInst = ScaleVectorOffset(Inst, 2, VectorSize, OutContext); in HexagonProcessInstruction()
657 MappedInst = ScaleVectorOffset(Inst, 2, VectorSize, OutContext); in HexagonProcessInstruction()
665 MappedInst = ScaleVectorOffset(Inst, 1, VectorSize, OutContext); in HexagonProcessInstruction()
680 MappedInst = ScaleVectorOffset(Inst, 4, VectorSize, OutContext); in HexagonProcessInstruction()
695 MappedInst = ScaleVectorOffset(Inst, 3, VectorSize, OutContext); in HexagonProcessInstruction()
712 MappedInst = ScaleVectorOffset(Inst, 3, VectorSize, OutContext); in HexagonProcessInstruction()
729 MappedInst = ScaleVectorOffset(Inst, 2, VectorSize, OutContext); in HexagonProcessInstruction()
734 MappedInst = ScaleVectorOffset(Inst, 1, VectorSize, OutContext); in HexagonProcessInstruction()
[all …]
H A DHexagonInstrInfo.cpp2780 unsigned VectorSize = TRI->getSpillSize(Hexagon::HvxVRRegClass); in isValidOffset() local
2781 assert(isPowerOf2_32(VectorSize)); in isValidOffset()
2782 if (Offset & (VectorSize-1)) in isValidOffset()
2784 return isInt<4>(Offset >> Log2_32(VectorSize)); in isValidOffset()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DABIInfo.cpp226 bool SwiftABIInfo::isLegalVectorType(CharUnits VectorSize, llvm::Type *EltTy, in isLegalVectorType() argument
230 return (VectorSize.getQuantity() > 8 && VectorSize.getQuantity() <= 16); in isLegalVectorType()
H A DABIInfo.h139 virtual bool isLegalVectorType(CharUnits VectorSize, llvm::Type *EltTy,
H A DCGBuiltin.cpp7303 int VectorSize = 0; in LookupNeonLLVMIntrinsic() local
7305 VectorSize = 64; in LookupNeonLLVMIntrinsic()
7307 VectorSize = 128; in LookupNeonLLVMIntrinsic()
7315 Ty, VectorSize ? VectorSize / Ty->getPrimitiveSizeInBits() : 1); in LookupNeonLLVMIntrinsic()
7322 int Elts = VectorSize ? VectorSize / ArgType->getPrimitiveSizeInBits() : 1; in LookupNeonLLVMIntrinsic()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InterleavedAccess.cpp438 int VectorSize = VT.getSizeInBits(); in createShuffleStride() local
440 int LaneCount = std::max(VectorSize / 128, 1); in createShuffleStride()
451 int VectorSize = VT.getSizeInBits(); in setGroupSize() local
452 int VF = VT.getVectorNumElements() / std::max(VectorSize / 128, 1); in setGroupSize()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DARM.cpp97 bool isLegalVectorType(CharUnits VectorSize, llvm::Type *EltTy,
709 bool ARMSwiftABIInfo::isLegalVectorType(CharUnits VectorSize, llvm::Type *EltTy, in isLegalVectorType() argument
716 if (VectorSize.getQuantity() != 8 && in isLegalVectorType()
717 (VectorSize.getQuantity() != 16 || NumElts == 1)) in isLegalVectorType()
H A DAArch64.cpp84 bool isLegalVectorType(CharUnits VectorSize, llvm::Type *EltTy,
473 bool AArch64SwiftABIInfo::isLegalVectorType(CharUnits VectorSize, in isLegalVectorType() argument
478 if (VectorSize.getQuantity() != 8 && in isLegalVectorType()
479 (VectorSize.getQuantity() != 16 || NumElts == 1)) in isLegalVectorType()
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DClangOpenCLBuiltinEmitter.cpp260 int VectorSize) const;
995 int VectorSize) const { in getTypeString()
1029 if (VectorSize > 1) { in getTypeString()
1030 S += std::to_string(VectorSize); in getTypeString()
H A DNeonEmitter.cpp1608 int64_t VectorSize = cast<IntInit>(Expr->getArg(0))->getValue(); in emitDagShuffle() local
1609 VectorSize /= ElementSize; in emitDagShuffle()
1612 for (unsigned VI = 0; VI < Elts2.size(); VI += VectorSize) { in emitDagShuffle()
1613 for (int LI = VectorSize - 1; LI >= 0; --LI) { in emitDagShuffle()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerInfo.h953 unsigned VectorSize) { in widenVectorEltsToVectorMinSize() argument
961 VecTy.getSizeInBits() < VectorSize; in widenVectorEltsToVectorMinSize()
966 unsigned MinSize = VectorSize / NumElts; in widenVectorEltsToVectorMinSize()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp2279 unsigned VectorSize = DL.getTypeSizeInBits(VTy).getFixedValue(); in createAndCheckVectorTypesForPromotion() local
2282 if (TypeSize != VectorSize && TypeSize != ElementSize && in createAndCheckVectorTypesForPromotion()
2283 VectorSize % TypeSize == 0) { in createAndCheckVectorTypesForPromotion()
2284 VectorType *NewVTy = VectorType::get(Ty, VectorSize / TypeSize, false); in createAndCheckVectorTypesForPromotion()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclAttr.cpp4782 llvm::APInt VectorSize(64, 0); in AddModeAttr() local
4791 !Str.substr(1, VectorStringLength).getAsInteger(10, VectorSize) && in AddModeAttr()
4792 VectorSize.isPowerOf2()) { in AddModeAttr()
4799 VectorSize = 0; in AddModeAttr()
4803 if (!VectorSize) in AddModeAttr()
4843 VectorSize.getBoolValue()) { in AddModeAttr()
4883 if (VectorSize.getBoolValue()) { in AddModeAttr()
4884 NewTy = Context.getVectorType(NewTy, VectorSize.getZExtValue(), in AddModeAttr()
H A DTreeTransform.h15092 IntegerLiteral *VectorSize in RebuildExtVectorType() local
15095 return SemaRef.BuildExtVectorType(ElementType, VectorSize, AttributeLoc); in RebuildExtVectorType()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DAttr.td3184 def VectorSize : TypeAttr {