diff options
Diffstat (limited to 'llvm/tools/llvm-mca/InstrBuilder.h')
| -rw-r--r-- | llvm/tools/llvm-mca/InstrBuilder.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/tools/llvm-mca/InstrBuilder.h b/llvm/tools/llvm-mca/InstrBuilder.h index 1c325d911e3..e5e80d7cf79 100644 --- a/llvm/tools/llvm-mca/InstrBuilder.h +++ b/llvm/tools/llvm-mca/InstrBuilder.h @@ -69,6 +69,8 @@ public: return ProcResourceMasks; } + void clear() { VariantDescriptors.shrink_and_clear(); } + std::unique_ptr<Instruction> createInstruction(const llvm::MCInst &MCI); }; } // namespace mca |

