| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | ExpandVectorPredication.cpp | 506 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 D | InstCombineCasts.cpp | 1008 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 D | LoopVectorize.cpp | 5312 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 D | AArch64InstrInfo.cpp | 4313 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 D | AArch64TargetTransformInfo.cpp | 966 auto *VScale = Builder.CreateVScale(StepVal); in instCombineSVECntElts() local 967 VScale->takeName(&II); in instCombineSVECntElts() 968 return IC.replaceInstUsesWith(II, VScale); in instCombineSVECntElts()
|
| H A D | AArch64ISelDAGToDAG.cpp | 5845 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 D | AArch64ISelLowering.cpp | 16274 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 D | SelectionDAGBuilder.cpp | 3999 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 D | RISCVISelLowering.cpp | 3884 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()
|