We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72db3f9 commit 9402fbbCopy full SHA for 9402fbb
llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
@@ -48,6 +48,11 @@ class RISCVTTIImpl : public BasicTTIImplBase<RISCVTTIImpl> {
48
/// actual target hardware.
49
unsigned getEstimatedVLFor(VectorType *Ty);
50
51
+ /// This function calculates the costs for one or more RVV opcodes based
52
+ /// on the vtype and the cost kind.
53
+ /// \param Opcodes A list of opcodes of the RVV instruction to evaluate.
54
+ /// \param VT The MVT of vtype associated with the RVV instructions.
55
+ /// \param CostKind The type of cost to compute.
56
InstructionCost getRISCVInstructionCost(ArrayRef<unsigned> OpCodes, MVT VT,
57
TTI::TargetCostKind CostKind);
58
0 commit comments