Home
last modified time | relevance | path

Searched refs:VScale (Results 1 – 16 of 16) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/Targets/
H A DRISCV.cpp208 auto VScale = getVScaleRange(Opts); in getTargetDefines() local
209 if (VScale && VScale->first && VScale->first == VScale->second) in getTargetDefines()
211 Twine(VScale->first * llvm::RISCV::RVVBitsPerBlock)); in getTargetDefines()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DRISCV.cpp326 auto VScale = in coerceVLSVector() local
345 llvm::ScalableVectorType::get(EltType, NumElts / VScale->first); in coerceVLSVector()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp880 Value *VScale = Builder.CreateVScale(ConstantInt::get(DestTy, 1)); in visitTrunc() local
881 return replaceInstUsesWith(Trunc, VScale); in visitTrunc()
1230 Value *VScale = Builder.CreateVScale(ConstantInt::get(DestTy, 1)); in visitZExt() local
1231 return replaceInstUsesWith(Zext, VScale); in visitZExt()
1521 Value *VScale = Builder.CreateVScale(ConstantInt::get(DestTy, 1)); in visitSExt() local
1522 return replaceInstUsesWith(Sext, VScale); in visitSExt()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DScalarEvolutionExpressions.h771 const SCEV *visitVScale(const SCEVVScale *VScale) { return VScale; } in visitVScale() argument
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandVectorPredication.cpp648 Value *VScale = Builder.CreateCall(VScaleFunc, {}, "vscale"); in discardEVLParameter() local
649 MaxEVL = Builder.CreateMul(VScale, FactorConst, "scalable_size", in discardEVLParameter()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp4941 if (std::optional<unsigned> VScale = getVScaleForTuning(OrigLoop, TTI)) { in isMoreProfitable() local
4943 EstimatedWidthA *= *VScale; in isMoreProfitable()
4945 EstimatedWidthB *= *VScale; in isMoreProfitable()
5212 if (std::optional<unsigned> VScale = getVScaleForTuning(OrigLoop, TTI)) in selectEpilogueVectorizationFactor() local
5213 EstimatedRuntimeVF *= *VScale; in selectEpilogueVectorizationFactor()
5440 if (std::optional<unsigned> VScale = getVScaleForTuning(TheLoop, TTI)) in selectInterleaveCount() local
5441 EstimatedVF *= *VScale; in selectInterleaveCount()
9724 std::optional<unsigned> VScale, Loop *L, in areRuntimeChecksProfitable() argument
9779 if (VScale) in areRuntimeChecksProfitable()
9780 AssumedMinimumVscale = *VScale; in areRuntimeChecksProfitable()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaType.cpp8616 auto VScale = S.Context.getTargetInfo().getVScaleRange(S.getLangOpts()); in HandleRISCVRVVVectorBitsTypeAttr() local
8617 if (!VScale || !VScale->first || VScale->first != VScale->second) { in HandleRISCVRVVVectorBitsTypeAttr()
8652 unsigned ExpectedSize = VScale->first * MinElts; in HandleRISCVRVVVectorBitsTypeAttr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.cpp5311 int VScale = 1; in emitFrameOffsetAdj() local
5313 VScale = 16; in emitFrameOffsetAdj()
5315 VScale = 2; in emitFrameOffsetAdj()
5355 VScale == 1 in emitFrameOffsetAdj()
5357 : StackOffset::getScalable(VScale * (ThisVal << LocalShiftSize)); in emitFrameOffsetAdj()
5368 createDefCFA(TRI, FrameReg, DestReg, CFAOffset, VScale != 1)); in emitFrameOffsetAdj()
H A DAArch64TargetTransformInfo.cpp1208 auto *VScale = IC.Builder.CreateVScale(StepVal); in instCombineSVECntElts() local
1209 VScale->takeName(&II); in instCombineSVECntElts()
1210 return IC.replaceInstUsesWith(II, VScale); in instCombineSVECntElts()
H A DAArch64ISelDAGToDAG.cpp6927 SDValue VScale = N.getOperand(1); in SelectAddrModeIndexedSVE() local
6928 if (VScale.getOpcode() != ISD::VSCALE) in SelectAddrModeIndexedSVE()
6933 int64_t MulImm = cast<ConstantSDNode>(VScale.getOperand(0))->getSExtValue(); in SelectAddrModeIndexedSVE()
H A DAArch64ISelLowering.cpp12720 unsigned VScale = MaxSVESize / AArch64::SVEBitsPerBlock; in isAllActivePredicate() local
12723 return PatNumElts == (NumElts * VScale); in isAllActivePredicate()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DItaniumMangle.cpp4052 auto VScale = getASTContext().getTargetInfo().getVScaleRange( in mangleRISCVFixedRVVVectorType() local
4054 unsigned VLen = VScale->first * llvm::RISCV::RVVBitsPerBlock; in mangleRISCVFixedRVVVectorType()
H A DASTContext.cpp9526 auto VScale = Context.getTargetInfo().getVScaleRange(Context.getLangOpts()); in getRVVTypeSize() local
9527 if (!VScale) in getRVVTypeSize()
9537 return VScale->first * MinElts * EltSize; in getRVVTypeSize()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp4193 SDValue VScale = DAG.getNode( in visitGetElementPtr() local
4197 VScale = DAG.getSplatVector(N.getValueType(), dl, VScale); in visitGetElementPtr()
4198 IdxN = DAG.getNode(ISD::MUL, dl, N.getValueType(), IdxN, VScale); in visitGetElementPtr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp4049 RetVal visitVScale(const SCEVVScale *VScale) { return VScale; } in visitVScale() argument
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp6050 SDValue VScale = DAG.getNode(ISD::SRL, DL, XLenVT, Res, in LowerOperation() local
6052 Res = DAG.getNode(ISD::MUL, DL, XLenVT, VScale, in LowerOperation()