|
LLVM 23.0.0git
|
Vectorization Score (cost) tracking class. More...
#include "llvm/Transforms/Vectorize/SandboxVectorizer/RegionWithScore.h"
Public Member Functions | |
| ScoreBoard (Region &Rgn, const TargetTransformInfo &TTI) | |
| void | add (Instruction *I) |
Mark I as a newly added instruction to the region. | |
| LLVM_ABI void | remove (Instruction *I) |
Mark I as a deleted instruction from the region. | |
| InstructionCost | getAfterCost () const |
| \Returns the cost of the newly added instructions. | |
| InstructionCost | getBeforeCost () const |
| \Returns the cost of the Removed instructions. | |
| void | dump (raw_ostream &OS) const |
| LLVM_DUMP_METHOD void | dump () const |
Vectorization Score (cost) tracking class.
Definition at line 21 of file RegionWithScore.h.
|
inline |
Definition at line 36 of file RegionWithScore.h.
|
inline |
Mark I as a newly added instruction to the region.
Definition at line 39 of file RegionWithScore.h.
References I.
| void llvm::sandboxir::ScoreBoard::dump | ( | ) | const |
Definition at line 32 of file RegionWithScore.cpp.
References llvm::dbgs(), and dump().
Referenced by dump().
|
inline |
Definition at line 48 of file RegionWithScore.h.
|
inline |
\Returns the cost of the newly added instructions.
Definition at line 43 of file RegionWithScore.h.
|
inline |
\Returns the cost of the Removed instructions.
Definition at line 45 of file RegionWithScore.h.
| void llvm::sandboxir::ScoreBoard::remove | ( | Instruction * | I | ) |
Mark I as a deleted instruction from the region.
Definition at line 20 of file RegionWithScore.cpp.
References I.