Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibFunc.cpp389 P.ArgType = AMDGPULibFunc::I32; P.VectorSize = 4; break; in getNextParam()
391 P.ArgType = AMDGPULibFunc::U32; P.VectorSize = 4; break; in getNextParam()
393 P.ArgType = AMDGPULibFunc::F32; P.VectorSize = 4; break; in getNextParam()
412 P.VectorSize = 2; P.PtrKind = AMDGPULibFunc::BYVALUE; break; in getNextParam()
414 P.VectorSize = 3; P.PtrKind = AMDGPULibFunc::BYVALUE; break; in getNextParam()
416 P.VectorSize = 4; P.PtrKind = AMDGPULibFunc::BYVALUE; break; in getNextParam()
418 P.VectorSize = 8; P.PtrKind = AMDGPULibFunc::BYVALUE; break; in getNextParam()
420 P.VectorSize = 16; P.PtrKind = AMDGPULibFunc::BYVALUE; break; in getNextParam()
437 case AMDGPULibFunc::IMG1DA: P.VectorSize = 2; break; in getNextParam()
438 case AMDGPULibFunc::IMG1DB: P.VectorSize = 1; break; in getNextParam()
[all …]
H A DAMDGPULibFunc.h295 unsigned char VectorSize = 1;
302 VectorSize = 1; in reset()
294 unsigned char VectorSize; global() member
H A DAMDGPULibCalls.cpp402 return FInfo.getLeads()[0].VectorSize; in getVecSize()
464 nf.getLeads()[0].VectorSize = FInfo.getLeads()[0].VectorSize; in sincosUseNative()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonAsmPrinter.cpp248 unsigned VectorSize, MCContext &Ctx) { in ScaleVectorOffset() argument
259 auto *NewCE = MCConstantExpr::create(V / int32_t(VectorSize), Ctx); in ScaleVectorOffset()
272 unsigned VectorSize = HRI.getRegSizeInBits(Hexagon::HvxVRRegClass) / 8; in HexagonProcessInstruction() local
641 MappedInst = ScaleVectorOffset(Inst, 3, VectorSize, OutContext); in HexagonProcessInstruction()
651 MappedInst = ScaleVectorOffset(Inst, 2, VectorSize, OutContext); in HexagonProcessInstruction()
659 MappedInst = ScaleVectorOffset(Inst, 2, VectorSize, OutContext); in HexagonProcessInstruction()
667 MappedInst = ScaleVectorOffset(Inst, 1, VectorSize, OutContext); in HexagonProcessInstruction()
682 MappedInst = ScaleVectorOffset(Inst, 4, VectorSize, OutContext); in HexagonProcessInstruction()
697 MappedInst = ScaleVectorOffset(Inst, 3, VectorSize, OutContext); in HexagonProcessInstruction()
714 MappedInst = ScaleVectorOffset(Inst, 3, VectorSize, OutContext); in HexagonProcessInstruction()
[all …]
H A DHexagonInstrInfo.cpp2809 unsigned VectorSize = TRI->getSpillSize(Hexagon::HvxVRRegClass); in isValidOffset() local
2810 assert(isPowerOf2_32(VectorSize)); in isValidOffset()
2811 if (Offset & (VectorSize-1)) in isValidOffset()
2813 return isInt<4>(Offset >> Log2_32(VectorSize)); in isValidOffset()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DABIInfo.cpp278 bool SwiftABIInfo::isLegalVectorType(CharUnits VectorSize, llvm::Type *EltTy, in isLegalVectorType() argument
282 return (VectorSize.getQuantity() > 8 && VectorSize.getQuantity() <= 16); in isLegalVectorType()
H A DABIInfo.h151 virtual bool isLegalVectorType(CharUnits VectorSize, llvm::Type *EltTy,
H A DCGBuiltin.cpp7562 int VectorSize = 0; in LookupNeonLLVMIntrinsic() local
7564 VectorSize = 64; in LookupNeonLLVMIntrinsic()
7566 VectorSize = 128; in LookupNeonLLVMIntrinsic()
7574 Ty, VectorSize ? VectorSize / Ty->getPrimitiveSizeInBits() : 1); in LookupNeonLLVMIntrinsic()
7581 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.cpp100 bool isLegalVectorType(CharUnits VectorSize, llvm::Type *EltTy,
707 bool ARMSwiftABIInfo::isLegalVectorType(CharUnits VectorSize, llvm::Type *EltTy, in isLegalVectorType() argument
714 if (VectorSize.getQuantity() != 8 && in isLegalVectorType()
715 (VectorSize.getQuantity() != 16 || NumElts == 1)) in isLegalVectorType()
H A DAArch64.cpp96 bool isLegalVectorType(CharUnits VectorSize, llvm::Type *EltTy,
489 bool AArch64SwiftABIInfo::isLegalVectorType(CharUnits VectorSize, in isLegalVectorType() argument
494 if (VectorSize.getQuantity() != 8 && in isLegalVectorType()
495 (VectorSize.getQuantity() != 16 || NumElts == 1)) in isLegalVectorType()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerInfo.h966 unsigned VectorSize) { in widenVectorEltsToVectorMinSize() argument
974 VecTy.getSizeInBits() < VectorSize; in widenVectorEltsToVectorMinSize()
979 unsigned MinSize = VectorSize / NumElts; in widenVectorEltsToVectorMinSize()
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DNeonEmitter.cpp1601 int64_t VectorSize = cast<IntInit>(Expr->getArg(0))->getValue(); in emitDagShuffle() local
1602 VectorSize /= ElementSize; in emitDagShuffle()
1605 for (unsigned VI = 0; VI < Elts2.size(); VI += VectorSize) { in emitDagShuffle()
1606 for (int LI = VectorSize - 1; LI >= 0; --LI) { in emitDagShuffle()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclAttr.cpp4305 llvm::APInt VectorSize(64, 0); in AddModeAttr() local
4314 !Str.substr(1, VectorStringLength).getAsInteger(10, VectorSize) && in AddModeAttr()
4315 VectorSize.isPowerOf2()) { in AddModeAttr()
4322 VectorSize = 0; in AddModeAttr()
4326 if (!VectorSize) in AddModeAttr()
4366 VectorSize.getBoolValue()) { in AddModeAttr()
4408 if (VectorSize.getBoolValue()) { in AddModeAttr()
4409 NewTy = Context.getVectorType(NewTy, VectorSize.getZExtValue(), in AddModeAttr()
H A DTreeTransform.h16125 IntegerLiteral *VectorSize in RebuildExtVectorType() local
16128 return SemaRef.BuildExtVectorType(ElementType, VectorSize, AttributeLoc); in RebuildExtVectorType()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp2230 unsigned VectorSize = DL.getTypeSizeInBits(VTy).getFixedValue(); in createAndCheckVectorTypesForPromotion() local
2233 if (TypeSize != VectorSize && TypeSize != ElementSize && in createAndCheckVectorTypesForPromotion()
2234 VectorSize % TypeSize == 0) { in createAndCheckVectorTypesForPromotion()
2235 VectorType *NewVTy = VectorType::get(Ty, VectorSize / TypeSize, false); in createAndCheckVectorTypesForPromotion()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DAttr.td3378 def VectorSize : TypeAttr {