Home
last modified time | relevance | path

Searched refs:hasVInstructions (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVSubtarget.cpp138 assert(hasVInstructions() && in getMaxRVVVectorSizeInBits()
163 assert(hasVInstructions() && in getMinRVVVectorSizeInBits()
192 assert(hasVInstructions() && in getMaxLMULForFixedLengthVectors()
201 return hasVInstructions() && getMinRVVVectorSizeInBits() != 0; in useRVVForFixedLengthVectors()
H A DRISCVTargetTransformInfo.h59 bool supportsScalableVectors() const { return ST->hasVInstructions(); } in supportsScalableVectors()
61 return ST->hasVInstructions() ? PredicationStyle::Data in emitGetActiveLaneMask()
119 if (!ST->hasVInstructions()) in isLegalMaskedLoadStore()
147 if (!ST->hasVInstructions()) in isLegalMaskedGatherScatter()
241 return ST->hasVInstructions() ? 32 : 0; in getNumberOfRegisters()
H A DRISCVSubtarget.h209 assert(hasVInstructions() && "Expected V extension"); in getELEN()
229 bool hasVInstructions() const { return HasStdExtZve32x; } in hasVInstructions() function
239 return hasVInstructions() ? MaxInterleaveFactor : 1; in getMaxInterleaveFactor()
H A DRISCVTargetTransformInfo.cpp135 if (ST->hasVInstructions()) in getMaxVScale()
141 if (ST->hasVInstructions()) in getVScaleForTuning()
158 ST->hasVInstructions() ? LMUL * RISCV::RVVBitsPerBlock : 0); in getRegisterBitWidth()
460 if (Size.isScalable() && ST->hasVInstructions()) in getRegUsageForType()
H A DRISCVFrameLowering.cpp920 if (!ST.hasVInstructions()) { in assignRVVStackObjectOffsets()
973 if (!MF.getSubtarget<RISCVSubtarget>().hasVInstructions()) in getScavSlotsNumForRVV()
1070 return MF.getSubtarget<RISCVSubtarget>().hasVInstructions(); in hasRVVFrameObject()
H A DRISCVGatherScatterLowering.cpp468 if (!ST->hasVInstructions() || !ST->useRVVForFixedLengthVectors()) in runOnFunction()
H A DRISCV.td395 def HasVInstructions : Predicate<"Subtarget->hasVInstructions()">,
H A DRISCVInsertVSETVLI.cpp1448 if (!ST.hasVInstructions()) in runOnMachineFunction()
H A DRISCVISelLowering.cpp113 if (Subtarget.hasVInstructions()) { in RISCVTargetLowering()
420 if (Subtarget.hasVInstructions()) { in RISCVTargetLowering()
962 if (Subtarget.hasVInstructions()) in RISCVTargetLowering()
978 if (Subtarget.hasVInstructions() && in getSetCCResultType()
1062 if (Subtarget.hasVInstructions() && isa<VectorType>(Ty)) in isLegalAddressingMode()
1222 if (!I->getType()->isVectorTy() || !Subtarget.hasVInstructions()) in shouldSinkOperands()
4657 if (!Subtarget.hasVInstructions()) in lowerVectorIntrinsicScalars()
10579 if (Subtarget.hasVInstructions()) in analyzeInputArgs()
10610 if (Subtarget.hasVInstructions()) in analyzeOutputArgs()
11462 if (Subtarget.hasVInstructions()) in CanLowerReturn()
[all …]
H A DRISCVISelDAGToDAG.cpp513 if (!Subtarget->hasVInstructions()) in selectVSETVLI()