Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVSubtarget.cpp160 assert(hasVInstructions() && in getMaxRVVVectorSizeInBits()
173 assert(hasVInstructions() && in getMinRVVVectorSizeInBits()
189 assert(hasVInstructions() && in getMaxLMULForFixedLengthVectors()
198 return hasVInstructions() && in useRVVForFixedLengthVectors()
H A DRISCVTargetTransformInfo.h111 return ST->hasVInstructions(); in supportsScalableVectors()
115 return ST->hasVInstructions(); in enableScalableVectorization()
119 return ST->hasVInstructions() ? TailFoldingStyle::Data in getPreferredTailFoldingStyle()
255 if (!ST->hasVInstructions()) in isLegalMaskedLoadStore()
281 if (!ST->hasVInstructions()) in isLegalMaskedGatherScatter()
347 if (!ST->hasVInstructions() || in getVPLegalizationStrategy()
419 return ST->hasVInstructions() ? 32 : 0; in getNumberOfRegisters()
H A DRISCVSubtarget.h214 assert(hasVInstructions() && "Expected V extension"); in getELen()
259 bool hasVInstructions() const { return HasStdExtZve32x; } in hasVInstructions() function
270 return hasVInstructions() ? MaxInterleaveFactor : 1; in getMaxInterleaveFactor()
H A DRISCVTargetTransformInfo.cpp286 return ST->hasVInstructions(); in hasActiveVectorLength()
333 if (ST->hasVInstructions()) in getMaxVScale()
339 if (ST->hasVInstructions()) in getVScaleForTuning()
358 (ST->hasVInstructions() && in getRegisterBitWidth()
627 FVTp && ST->hasVInstructions() && LT.second.isFixedLengthVector()) { in getShuffleCost()
1279 if (ST->hasVInstructions() && LT.second.isVector()) { in getIntrinsicInstrCost()
1304 if (ST->hasVInstructions() && LT.second.isVector()) { in getIntrinsicInstrCost()
1328 if (ST->hasVInstructions() && LT.second.isVector()) in getIntrinsicInstrCost()
1335 if (ST->hasVInstructions() && LT.second.isVector()) { in getIntrinsicInstrCost()
1355 if (ST->hasVInstructions() && LT.second.isVector()) { in getIntrinsicInstrCost()
[all …]
H A DRISCVVMV0Elimination.cpp83 if (!ST->hasVInstructions()) in runOnMachineFunction()
H A DRISCVInsertReadWriteCSR.cpp178 if (!ST.hasVInstructions()) in runOnMachineFunction()
H A DRISCVInsertWriteVXRM.cpp443 if (!ST.hasVInstructions()) in runOnMachineFunction()
H A DRISCVRegisterInfo.cpp75 if (Subtarget.hasVInstructions()) { in getCalleeSavedRegs()
97 Subtarget.hasVInstructions(); in getCalleeSavedRegs()
H A DRISCVTargetMachine.cpp311 if (!DisableVectorMaskMutation && ST.hasVInstructions()) in createMachineScheduler()
H A DRISCVGatherScatterLowering.cpp600 if (!ST->hasVInstructions() || !ST->useRVVForFixedLengthVectors()) in runOnFunction()
H A DRISCVFrameLowering.cpp1571 if (!ST.hasVInstructions()) { in assignRVVStackObjectOffsets()
1634 if (!MF.getSubtarget<RISCVSubtarget>().hasVInstructions()) in getScavSlotsNumForRVV()
1676 return MF.getSubtarget<RISCVSubtarget>().hasVInstructions(); in hasRVVFrameObject()
H A DRISCVVectorPeephole.cpp832 if (!ST->hasVInstructions()) in runOnMachineFunction()
H A DRISCVCallingConv.cpp606 (TLI.getSubtarget().hasVInstructions() && in CC_RISCV()
H A DRISCVVLOptimizer.cpp1473 if (!ST.hasVInstructions()) in runOnMachineFunction()
H A DRISCVInsertVSETVLI.cpp1790 if (!ST->hasVInstructions()) in runOnMachineFunction()
H A DRISCVISelLowering.cpp180 if (Subtarget.hasVInstructions()) { in RISCVTargetLowering()
712 if (Subtarget.hasVInstructions()) { in RISCVTargetLowering()
1638 Subtarget.hasVInstructions()) in RISCVTargetLowering()
1647 if (Subtarget.hasVInstructions()) in RISCVTargetLowering()
1693 if (Subtarget.hasVInstructions() && in getSetCCResultType()
1707 if (!Subtarget.hasVInstructions()) in shouldExpandGetVectorLength()
1731 return !Subtarget.hasVInstructions() || in shouldExpandCttzElements()
2030 if (Subtarget.hasVInstructions() && isa<VectorType>(Ty)) in isLegalAddressingMode()
2086 if (Subtarget.hasVInstructions() && in isTruncateFree()
2185 if (!VT.isVector() || !Subtarget.hasVInstructions()) in shouldFoldSelectWithIdentityConstant()
[all …]
H A DRISCVISelDAGToDAG.cpp461 if (!Subtarget->hasVInstructions()) in selectVSETVLI()
893 if (!Subtarget->hasVInstructions()) in selectSF_VC_X_SE()
H A DRISCVFeatures.td854 def HasVInstructions : Predicate<"Subtarget->hasVInstructions()">,
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/
H A DRISCVCallLowering.cpp361 if (IsLowerArgs && T->isVectorTy() && Subtarget.hasVInstructions() && in isSupportedArgumentType()
387 if (IsLowerRetVal && T->isVectorTy() && Subtarget.hasVInstructions() && in isSupportedReturnType()
446 if (Subtarget.hasVInstructions()) { in canLowerReturn()
H A DRISCVLegalizerInfo.cpp40 return ST.hasVInstructions() && in typeIsLegalIntOrFPVec()
54 return ST.hasVInstructions() && in typeIsLegalBoolVec()
65 return ST.hasVInstructions() && in typeIsLegalPtrVec()
331 if (ST.hasVInstructions()) { in RISCVLegalizerInfo()