/freebsd/contrib/llvm-project/clang/lib/Basic/Targets/ |
H A D | RISCV.cpp | 209 auto VScale = getVScaleRange(Opts); in getTargetDefines() local 210 if (VScale && VScale->first && VScale->first == VScale->second) in getTargetDefines() 212 Twine(VScale->first * llvm::RISCV::RVVBitsPerBlock)); in getTargetDefines()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVSubtarget.h | 206 const unsigned VScale = *VLen / RISCV::RVVBitsPerBlock; in expandVScale() local 207 X = Quantity::getFixed(X.getKnownMinValue() * VScale); in expandVScale()
|
H A D | RISCVISelLowering.cpp | 6463 SDValue VScale = DAG.getNode(ISD::SRL, DL, XLenVT, Res, in LowerOperation() 6465 Res = DAG.getNode(ISD::MUL, DL, XLenVT, VScale, in LowerOperation() 6461 SDValue VScale = DAG.getNode(ISD::SRL, DL, XLenVT, Res, LowerOperation() local
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | CombinerHelperVectorOps.cpp | 458 auto VScale = B.buildVScale(DstTy, -RHSVScale->getSrc()); in matchSubOfVScale() local 459 B.buildAdd(Dst, Sub->getLHSReg(), VScale, Sub->getFlags()); in matchSubOfVScale()
|
H A D | MachineIRBuilder.cpp | 823 auto VScale = buildInstr(TargetOpcode::G_VSCALE); in buildVScale() local 824 VScale->setDebugLoc(DebugLoc()); in buildVScale() 825 Res.addDefToMIB(*getMRI(), VScale); in buildVScale() 826 VScale.addCImm(&MinElts); in buildVScale() 827 return VScale; in buildVScale()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
H A D | RISCV.cpp | 326 auto VScale = in coerceVLSVector() local 345 llvm::ScalableVectorType::get(EltType, NumElts / VScale->first); in coerceVLSVector()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | ScalarEvolutionExpressions.h | 771 const SCEV *visitVScale(const SCEVVScale *VScale) { return VScale; } 772 visitVScale(const SCEVVScale * VScale) visitVScale() argument
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | ExpandVectorPredication.cpp | 672 Value *VScale = Builder.CreateCall(VScaleFunc, {}, "vscale"); in discardEVLParameter() local 673 MaxEVL = Builder.CreateMul(VScale, FactorConst, "scalable_size", in discardEVLParameter()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 901 Value *VScale = Builder.CreateVScale(ConstantInt::get(DestTy, 1)); in visitTrunc() local 902 return replaceInstUsesWith(Trunc, VScale); in visitTrunc() 1268 Value *VScale = Builder.CreateVScale(ConstantInt::get(DestTy, 1)); in visitZExt() local 1269 return replaceInstUsesWith(Zext, VScale); in visitZExt() 1559 Value *VScale = Builder.CreateVScale(ConstantInt::get(DestTy, 1)); in visitSExt() local 1560 return replaceInstUsesWith(Sext, VScale); in visitSExt()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/ |
H A D | RISCVLegalizerInfo.cpp | 620 auto VScale = MIB.buildLShr(XLenTy, VLENB, MIB.buildConstant(XLenTy, 3)); in legalizeVScale() local 621 MIB.buildMul(Dst, VScale, MIB.buildConstant(XLenTy, Val)); in legalizeVScale()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | LoopVectorize.cpp | 4305 if (std::optional<unsigned> VScale = getVScaleForTuning(OrigLoop, TTI)) { in isMoreProfitable() local 4307 EstimatedWidthA *= *VScale; in isMoreProfitable() 4309 EstimatedWidthB *= *VScale; in isMoreProfitable() 4705 if (std::optional<unsigned> VScale = getVScaleForTuning(OrigLoop, TTI)) in selectEpilogueVectorizationFactor() local 4706 EstimatedRuntimeVF *= *VScale; in selectEpilogueVectorizationFactor() 4932 if (std::optional<unsigned> VScale = getVScaleForTuning(TheLoop, TTI)) in selectInterleaveCount() local 4933 EstimatedVF *= *VScale; in selectInterleaveCount() 9538 std::optional<unsigned> VScale, Loop *L, in areRuntimeChecksProfitable() argument 9593 if (VScale) in areRuntimeChecksProfitable() 9594 AssumedMinimumVscale = *VScale; in areRuntimeChecksProfitable()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaType.cpp | 8310 auto VScale = S.Context.getTargetInfo().getVScaleRange(S.getLangOpts()); in HandleRISCVRVVVectorBitsTypeAttr() local 8311 if (!VScale || !VScale->first || VScale->first != VScale->second) { in HandleRISCVRVVVectorBitsTypeAttr() 8346 unsigned ExpectedSize = VScale->first * MinElts; in HandleRISCVRVVVectorBitsTypeAttr()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64InstrInfo.cpp | 5353 int VScale = 1; in emitFrameOffsetAdj() local 5355 VScale = 16; in emitFrameOffsetAdj() 5357 VScale = 2; in emitFrameOffsetAdj() 5397 VScale == 1 in emitFrameOffsetAdj() 5399 : StackOffset::getScalable(VScale * (ThisVal << LocalShiftSize)); in emitFrameOffsetAdj() 5410 createDefCFA(TRI, FrameReg, DestReg, CFAOffset, VScale != 1)); in emitFrameOffsetAdj()
|
H A D | AArch64TargetTransformInfo.cpp | 1349 auto *VScale = IC.Builder.CreateVScale(StepVal); in instCombineSVECntElts() local 1350 VScale->takeName(&II); in instCombineSVECntElts() 1351 return IC.replaceInstUsesWith(II, VScale); in instCombineSVECntElts()
|
H A D | AArch64ISelDAGToDAG.cpp | 7245 SDValue VScale = N.getOperand(1); in SelectAddrModeIndexedSVE() local 7246 if (VScale.getOpcode() != ISD::VSCALE) in SelectAddrModeIndexedSVE() 7251 int64_t MulImm = cast<ConstantSDNode>(VScale.getOperand(0))->getSExtValue(); in SelectAddrModeIndexedSVE()
|
H A D | AArch64ISelLowering.cpp | 13671 unsigned VScale = MaxSVESize / AArch64::SVEBitsPerBlock; in isAllActivePredicate() local 13674 return PatNumElts == (NumElts * VScale); in isAllActivePredicate() 28153 SDValue VScale = (BitsPerElt == 64) in GenerateFixedLengthSVETBL() local 28160 DAG.getNode(ISD::SPLAT_VECTOR, DL, MaskType, VScale), in GenerateFixedLengthSVETBL()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ItaniumMangle.cpp | 4062 auto VScale = getASTContext().getTargetInfo().getVScaleRange( in mangleRISCVFixedRVVVectorType() local 4064 unsigned VLen = VScale->first * llvm::RISCV::RVVBitsPerBlock; in mangleRISCVFixedRVVVectorType()
|
H A D | ASTContext.cpp | 9976 auto VScale = Context.getTargetInfo().getVScaleRange(Context.getLangOpts()); in getRVVTypeSize() local 9977 if (!VScale) in getRVVTypeSize() 9987 return VScale->first * MinElts * EltSize; in getRVVTypeSize()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGBuilder.cpp | 4386 SDValue VScale = DAG.getNode( in visitGetElementPtr() local 4390 VScale = DAG.getSplatVector(N.getValueType(), dl, VScale); in visitGetElementPtr() 4391 IdxN = DAG.getNode(ISD::MUL, dl, N.getValueType(), IdxN, VScale); in visitGetElementPtr()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ScalarEvolution.cpp | 4054 RetVal visitVScale(const SCEVVScale *VScale) { return VScale; } in visitVScale() argument
|