Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DExpandVectorPredication.cpp506 Value *VScale = Builder.CreateCall(VScaleFunc, {}, "vscale"); in discardEVLParameter() local
507 MaxEVL = Builder.CreateMul(VScale, FactorConst, "scalable_size", in discardEVLParameter()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp1008 Value *VScale = Builder.CreateVScale(ConstantInt::get(DestTy, 1)); in visitTrunc() local
1009 return replaceInstUsesWith(Trunc, VScale); in visitTrunc()
1351 Value *VScale = Builder.CreateVScale(ConstantInt::get(DestTy, 1)); in visitZExt() local
1352 return replaceInstUsesWith(Zext, VScale); in visitZExt()
1621 Value *VScale = Builder.CreateVScale(ConstantInt::get(DestTy, 1)); in visitSExt() local
1622 return replaceInstUsesWith(Sext, VScale); in visitSExt()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp5312 if (std::optional<unsigned> VScale = getVScaleForTuning()) { in isMoreProfitable() local
5314 EstimatedWidthA *= *VScale; in isMoreProfitable()
5316 EstimatedWidthB *= *VScale; in isMoreProfitable()
5362 if (std::optional<unsigned> VScale = getVScaleForTuning()) in selectVectorizationFactor() local
5363 AssumedMinimumVscale = *VScale; in selectVectorizationFactor()
5577 if (std::optional<unsigned> VScale = getVScaleForTuning()) in selectEpilogueVectorizationFactor() local
5578 EstimatedRuntimeVF *= *VScale; in selectEpilogueVectorizationFactor()
10059 std::optional<unsigned> VScale, Loop *L, in areRuntimeChecksProfitable() argument
10113 if (VScale) in areRuntimeChecksProfitable()
10114 AssumedMinimumVscale = *VScale; in areRuntimeChecksProfitable()
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.cpp4313 int VScale = 1; in emitFrameOffsetAdj() local
4315 VScale = 16; in emitFrameOffsetAdj()
4317 VScale = 2; in emitFrameOffsetAdj()
4357 VScale == 1 in emitFrameOffsetAdj()
4359 : StackOffset::getScalable(VScale * (ThisVal << LocalShiftSize)); in emitFrameOffsetAdj()
4370 createDefCFA(TRI, FrameReg, DestReg, CFAOffset, VScale != 1)); in emitFrameOffsetAdj()
H A DAArch64TargetTransformInfo.cpp966 auto *VScale = Builder.CreateVScale(StepVal); in instCombineSVECntElts() local
967 VScale->takeName(&II); in instCombineSVECntElts()
968 return IC.replaceInstUsesWith(II, VScale); in instCombineSVECntElts()
H A DAArch64ISelDAGToDAG.cpp5845 SDValue VScale = N.getOperand(1); in SelectAddrModeIndexedSVE() local
5846 if (VScale.getOpcode() != ISD::VSCALE) in SelectAddrModeIndexedSVE()
5851 int64_t MulImm = cast<ConstantSDNode>(VScale.getOperand(0))->getSExtValue(); in SelectAddrModeIndexedSVE()
H A DAArch64ISelLowering.cpp16274 unsigned VScale = MaxSVESize / AArch64::SVEBitsPerBlock; in isAllActivePredicate() local
16277 return PatNumElts == (NumElts * VScale); in isAllActivePredicate()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp3999 SDValue VScale = DAG.getNode( in visitGetElementPtr() local
4003 VScale = DAG.getSplatVector(N.getValueType(), dl, VScale); in visitGetElementPtr()
4004 IdxN = DAG.getNode(ISD::MUL, dl, N.getValueType(), IdxN, VScale); in visitGetElementPtr()
/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp3884 SDValue VScale = DAG.getNode(ISD::SRL, DL, VT, VLENB, in LowerOperation() local
3886 return DAG.getNode(ISD::MUL, DL, VT, VScale, Op.getOperand(0)); in LowerOperation()