LLVM: llvm::sandboxir::ScoreBoard Class Reference (original) (raw)
#include "[llvm/SandboxIR/Region.h](Region%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| ScoreBoard (Region &Rgn, 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 |
Definition at line 25 of file Region.h.
◆ add()
| void llvm::sandboxir::ScoreBoard::add ( Instruction * I) | inline |
|---|
Mark I as a newly added instruction to the region.
Definition at line 42 of file Region.h.
References I.
◆ dump() [1/2]
| void llvm::sandboxir::ScoreBoard::dump | ( | ) | const |
|---|
◆ dump() [2/2]
| void llvm::sandboxir::ScoreBoard::dump ( raw_ostream & OS) const | inline |
|---|
◆ getAfterCost()
\Returns the cost of the newly added instructions.
Definition at line 46 of file Region.h.
◆ getBeforeCost()
| InstructionCost llvm::sandboxir::ScoreBoard::getBeforeCost ( ) const | inline |
|---|
◆ remove()
| void llvm::sandboxir::ScoreBoard::remove | ( | Instruction * | I | ) |
|---|
Mark I as a deleted instruction from the region.
Definition at line 20 of file Region.cpp.
References I.
The documentation for this class was generated from the following files:
- include/llvm/SandboxIR/Region.h
- lib/SandboxIR/Region.cpp