Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVSubtarget.cpp144 assert(hasVInstructions() && in getMaxRVVVectorSizeInBits()
157 assert(hasVInstructions() && in getMinRVVVectorSizeInBits()
173 assert(hasVInstructions() && in getMaxLMULForFixedLengthVectors()
182 return hasVInstructions() && getMinRVVVectorSizeInBits() != 0; in useRVVForFixedLengthVectors()
H A DRISCVTargetTransformInfo.h100 bool supportsScalableVectors() const { return ST->hasVInstructions(); } in supportsScalableVectors()
102 bool enableScalableVectorization() const { return ST->hasVInstructions(); } in enableScalableVectorization()
105 return ST->hasVInstructions() ? TailFoldingStyle::Data in getPreferredTailFoldingStyle()
221 if (!ST->hasVInstructions()) in isLegalMaskedLoadStore()
246 if (!ST->hasVInstructions()) in isLegalMaskedGatherScatter()
295 if (!ST->hasVInstructions() || in getVPLegalizationStrategy()
361 return ST->hasVInstructions() ? 32 : 0; in getNumberOfRegisters()
H A DRISCVSubtarget.h182 assert(hasVInstructions() && "Expected V extension"); in getELen()
224 bool hasVInstructions() const { return HasStdExtZve32x; } in hasVInstructions() function
235 return hasVInstructions() ? MaxInterleaveFactor : 1; in getMaxInterleaveFactor()
303 bool supportsInitUndef() const override { return hasVInstructions(); } in supportsInitUndef()
H A DRISCVTargetTransformInfo.cpp277 return ST->hasVInstructions(); in hasActiveVectorLength()
303 if (ST->hasVInstructions()) in getMaxVScale()
309 if (ST->hasVInstructions()) in getVScaleForTuning()
328 (ST->hasVInstructions() && in getRegisterBitWidth()
861 if (ST->hasVInstructions() && LT.second.isVector()) { in getIntrinsicInstrCost()
888 if (ST->hasVInstructions() && LT.second.isVector()) in getIntrinsicInstrCost()
894 if (ST->hasVInstructions() && ST->hasStdExtZvbb() && LT.second.isVector()) in getIntrinsicInstrCost()
900 if (ST->hasVInstructions() && LT.second.isVector()) { in getIntrinsicInstrCost()
908 if (ST->hasVInstructions()) { in getIntrinsicInstrCost()
927 if (ST->hasVInstructions()) in getIntrinsicInstrCost()
[all …]
H A DRISCVInsertReadWriteCSR.cpp178 if (!ST.hasVInstructions()) in runOnMachineFunction()
H A DRISCVVectorPeephole.cpp253 if (!ST.hasVInstructions()) in runOnMachineFunction()
H A DRISCVInsertWriteVXRM.cpp419 if (!ST.hasVInstructions()) in runOnMachineFunction()
H A DRISCVFrameLowering.cpp1082 if (!ST.hasVInstructions()) { in assignRVVStackObjectOffsets()
1135 if (!MF.getSubtarget<RISCVSubtarget>().hasVInstructions()) in getScavSlotsNumForRVV()
1177 return MF.getSubtarget<RISCVSubtarget>().hasVInstructions(); in hasRVVFrameObject()
H A DRISCVGatherScatterLowering.cpp547 if (!ST->hasVInstructions() || !ST->useRVVForFixedLengthVectors()) in runOnFunction()
H A DRISCVRegisterInfo.cpp76 Subtarget.hasVInstructions(); in getCalleeSavedRegs()
H A DRISCVInsertVSETVLI.cpp1772 if (!ST->hasVInstructions()) in runOnMachineFunction()
H A DRISCVISelLowering.cpp164 if (Subtarget.hasVInstructions()) { in RISCVTargetLowering()
666 if (Subtarget.hasVInstructions()) { in RISCVTargetLowering()
1493 if (Subtarget.hasVInstructions()) in RISCVTargetLowering()
1523 if (Subtarget.hasVInstructions() && in getSetCCResultType()
1537 if (!Subtarget.hasVInstructions()) in shouldExpandGetVectorLength()
1561 return !Subtarget.hasVInstructions() || in shouldExpandCttzElements()
1846 if (Subtarget.hasVInstructions() && isa<VectorType>(Ty)) in isLegalAddressingMode()
1988 if (!VT.isVector() || !Subtarget.hasVInstructions()) in shouldFoldSelectWithIdentityConstant()
2082 if (!I->getType()->isVectorTy() || !Subtarget.hasVInstructions()) in canSplatOperand()
2147 if (!I->getType()->isVectorTy() || !Subtarget.hasVInstructions()) in shouldSinkOperands()
[all...]
H A DRISCVISelDAGToDAG.cpp547 if (!Subtarget->hasVInstructions()) in selectVSETVLI()
819 if (!Subtarget->hasVInstructions()) in selectSF_VC_X_SE()
H A DRISCVFeatures.td852 def HasVInstructions : Predicate<"Subtarget->hasVInstructions()">,
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/
H A DRISCVCallLowering.cpp351 if (IsLowerArgs && T->isVectorTy() && Subtarget.hasVInstructions() && in isSupportedArgumentType()
383 if (IsLowerRetVal && T->isVectorTy() && Subtarget.hasVInstructions() && in isSupportedReturnType()
H A DRISCVLegalizerInfo.cpp49 return ST.hasVInstructions() && in typeIsLegalIntOrFPVec()
63 return ST.hasVInstructions() && in typeIsLegalBoolVec()