Searched refs:VScaleMin (Results 1 – 11 of 11) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/Basic/Targets/ |
H A D | RISCV.cpp | 297 unsigned VScaleMin = ISAInfo->getMinVLen() / llvm::RISCV::RVVBitsPerBlock; in getVScaleRange() local 299 if (LangOpts.VScaleMin || LangOpts.VScaleMax) { in getVScaleRange() 301 VScaleMin = std::max(VScaleMin, LangOpts.VScaleMin); in getVScaleRange() 303 if (VScaleMax != 0 && VScaleMax < VScaleMin) in getVScaleRange() 304 VScaleMax = VScaleMin; in getVScaleRange() 305 return std::pair<unsigned, unsigned>(VScaleMin ? VScaleMin : 1, VScaleMax); in getVScaleRange() 308 if (VScaleMin > 0) { in getVScaleRange() 310 return std::make_pair(VScaleMin, VScaleMax); in getVScaleRange()
|
H A D | AArch64.cpp | 670 if (Opts.VScaleMin && Opts.VScaleMin == Opts.VScaleMax) { in getTargetDefines() 671 Builder.defineMacro("__ARM_FEATURE_SVE_BITS", Twine(Opts.VScaleMin * 128)); in getTargetDefines() 682 if (LangOpts.VScaleMin || LangOpts.VScaleMax) in getVScaleRange() 684 LangOpts.VScaleMin ? LangOpts.VScaleMin : 1, LangOpts.VScaleMax); in getVScaleRange()
|
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
H A D | Flang.cpp | 238 unsigned VScaleMin = Bits / llvm::RISCV::RVVBitsPerBlock; in AddRISCVTargetArgs() local 240 Args.MakeArgString("-mvscale-max=" + llvm::Twine(VScaleMin))); in AddRISCVTargetArgs() 242 Args.MakeArgString("-mvscale-min=" + llvm::Twine(VScaleMin))); in AddRISCVTargetArgs()
|
H A D | Clang.cpp | 2201 unsigned VScaleMin = Bits / llvm::RISCV::RVVBitsPerBlock; in AddRISCVTargetArgs() local 2203 Args.MakeArgString("-mvscale-max=" + llvm::Twine(VScaleMin))); in AddRISCVTargetArgs() 2205 Args.MakeArgString("-mvscale-min=" + llvm::Twine(VScaleMin))); in AddRISCVTargetArgs()
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | LangOptions.def | 496 LANGOPT(VScaleMin, 32, 0, "Minimum vscale value")
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | CompilerInvocation.cpp | 4382 unsigned VScaleMin; in ParseLangArgs() local 4383 if (StringRef(A->getValue()).getAsInteger(10, VScaleMin) || VScaleMin == 0) in ParseLangArgs()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Verifier.cpp | 2315 unsigned VScaleMin = Attrs.getFnAttrs().getVScaleRangeMin(); in verifyFunctionAttrs() local 2316 if (VScaleMin == 0) in verifyFunctionAttrs() 2318 else if (!isPowerOf2_32(VScaleMin)) in verifyFunctionAttrs() 2321 if (VScaleMax && VScaleMin > VScaleMax) in verifyFunctionAttrs()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaType.cpp | 8227 if (!S.getLangOpts().VScaleMin || in HandleArmSveVectorBitsTypeAttr() 8228 S.getLangOpts().VScaleMin != S.getLangOpts().VScaleMax) { in HandleArmSveVectorBitsTypeAttr() 8251 if (VecSize != S.getLangOpts().VScaleMin * 128) { in HandleArmSveVectorBitsTypeAttr() 8253 << VecSize << S.getLangOpts().VScaleMin * 128; in HandleArmSveVectorBitsTypeAttr()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeVectorTypes.cpp | 6808 unsigned VScaleMin = Attr.getVScaleRangeMin(); in WidenVecOp_INSERT_SUBVECTOR() local 6809 if (VT.getSizeInBits().getKnownMinValue() * VScaleMin >= in WidenVecOp_INSERT_SUBVECTOR()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ASTContext.cpp | 9897 return (Context.getLangOpts().VScaleMin * 128) / Context.getCharWidth(); in getSVETypeSize() 9898 return Context.getLangOpts().VScaleMin * 128; in getSVETypeSize()
|
/freebsd/contrib/llvm-project/clang/include/clang/Driver/ |
H A D | Options.td | 4981 MarshallingInfoInt<LangOpts<"VScaleMin">>;
|