Home
last modified time | relevance | path

Searched refs:VScaleRange (Results 1 – 23 of 23) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DSVEIntrinsicOpts.cpp281 auto Attr = F->getFnAttribute(Attribute::VScaleRange); in optimizePredicateStore()
341 auto Attr = F->getFnAttribute(Attribute::VScaleRange); in optimizePredicateLoad()
H A DAArch64TargetMachine.cpp444 if (F.hasFnAttribute(Attribute::VScaleRange)) { in getSubtargetImpl()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DEVLIndVarSimplify.cpp80 if (F.hasFnAttribute(Attribute::VScaleRange)) in getVFFromIndVar()
H A DLoopVectorize.cpp1487 if (Fn->hasFnAttribute(Attribute::VScaleRange)) { in initializeVScaleForTuning()
1488 auto Attr = Fn->getFnAttribute(Attribute::VScaleRange); in initializeVScaleForTuning()
2199 if (F.hasFnAttribute(Attribute::VScaleRange)) in getMaxVScale()
2200 return F.getFnAttribute(Attribute::VScaleRange).getVScaleRangeMax(); in getMaxVScale()
3882 TheFunction->hasFnAttribute(Attribute::VScaleRange)) { in getMaximizedVFForTarget()
3883 auto Attr = TheFunction->getFnAttribute(Attribute::VScaleRange); in getMaximizedVFForTarget()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAttributes.cpp310 return get(Context, VScaleRange, packVScaleRangeArgs(MinValue, MaxValue)); in getWithVScaleRangeArgs()
469 assert(hasAttribute(Attribute::VScaleRange) && in getVScaleRangeMin()
475 assert(hasAttribute(Attribute::VScaleRange) && in getVScaleRangeMax()
588 if (hasAttribute(Attribute::VScaleRange)) { in getAsString()
1364 if (auto A = findEnumAttribute(Attribute::VScaleRange)) in getVScaleRangeMin()
1370 if (auto A = findEnumAttribute(Attribute::VScaleRange)) in getVScaleRangeMax()
2218 return addRawIntAttr(Attribute::VScaleRange, RawArgs); in addVScaleRangeAttrFromRawRepr()
H A DFunction.cpp1161 Attribute Attr = getFnAttribute(Attribute::VScaleRange); in getVScaleValue()
H A DVerifier.cpp2428 if (Attrs.hasFnAttr(Attribute::VScaleRange)) { in verifyFunctionAttrs()
6346 if (Attrs.hasFnAttr(Attribute::VScaleRange)) in visitIntrinsicCall()
6980 if (Attrs.hasFnAttr(Attribute::VScaleRange)) in visitVPIntrinsic()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp941 Trunc.getFunction()->hasFnAttribute(Attribute::VScaleRange)) { in visitTrunc()
943 Trunc.getFunction()->getFnAttribute(Attribute::VScaleRange); in visitTrunc()
1315 Zext.getFunction()->hasFnAttribute(Attribute::VScaleRange)) { in visitZExt()
1317 Zext.getFunction()->getFnAttribute(Attribute::VScaleRange); in visitZExt()
1605 Sext.getFunction()->hasFnAttribute(Attribute::VScaleRange)) { in visitSExt()
1607 Sext.getFunction()->getFnAttribute(Attribute::VScaleRange); in visitSExt()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetMachine.cpp218 Attribute VScaleRangeAttr = F.getFnAttribute(Attribute::VScaleRange); in getSubtargetImpl()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenFunction.cpp1123 std::optional<std::pair<unsigned, unsigned>> VScaleRange = in StartFunction() local
1126 if (VScaleRange) { in StartFunction()
1128 getLLVMContext(), VScaleRange->first, VScaleRange->second)); in StartFunction()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h2079 ConstantRange VScaleRange(APInt(64, 1), APInt::getZero(64)); in getIntrinsicInstrCost()
2081 VScaleRange = getVScaleRange(I->getCaller(), 64); in getIntrinsicInstrCost()
2084 RetTy, ArgType.getVectorElementCount(), ZeroIsPoison, &VScaleRange); in getIntrinsicInstrCost()
H A DTargetLowering.h498 const ConstantRange *VScaleRange) const;
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp1000 const ConstantRange *VScaleRange) const { in getBitWidthForCttzElements()
1004 CR = CR.umul_sat(*VScaleRange); in getBitWidthForCttzElements()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DAttributes.td368 def VScaleRange : IntAttr<"vscale_range", IntersectPreserve, [FnAttr]>;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp979 case Attribute::VScaleRange: in constructFunctionDeclaration()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp2208 return Attribute::VScaleRange; in getAttrFromCode()
2385 else if (Kind == Attribute::VScaleRange) in parseAttributeGroupBlock()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp1089 Attribute Attr = F->getFnAttribute(Attribute::VScaleRange); in getVScaleRange()
2462 return F->hasFnAttribute(Attribute::VScaleRange); in isKnownToBeAPowerOfTwo()
H A DScalarEvolution.cpp10962 return isa<SCEVVScale>(S) && F.hasFnAttribute(Attribute::VScaleRange); in isKnownToBeAPowerOfTwo()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp8126 ConstantRange VScaleRange(1, true); // Dummy value. in visitIntrinsicCall() local
8128 VScaleRange = getVScaleRange(I.getCaller(), 64); in visitIntrinsicCall()
8130 I.getType(), OpVT.getVectorElementCount(), ZeroIsPoison, &VScaleRange); in visitIntrinsicCall()
H A DTargetLowering.cpp9616 ConstantRange VScaleRange(1, /*isFullSet=*/true); // Fixed length default. in expandVectorFindLastActive() local
9618 VScaleRange = getVScaleRange(&DAG.getMachineFunction().getFunction(), 64); in expandVectorFindLastActive()
9622 /*ZeroIsPoison=*/true, &VScaleRange); in expandVectorFindLastActive()
H A DLegalizeVectorTypes.cpp7256 Attribute::VScaleRange); in WidenVecOp_INSERT_SUBVECTOR()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp909 case Attribute::VScaleRange: in getAttrKindEncoding()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp1579 case Attribute::VScaleRange: { in parseEnumAttribute()