|
LLVM 24.0.0git
|
Class to conveniently track Seeds within SeedBundles. More...
#include "llvm/Transforms/Vectorize/SandboxVectorizer/SeedCollector.h"
Classes | |
| class | iterator |
Public Types | |
| using | const_iterator = BundleMapT::const_iterator |
Public Member Functions | |
| LLVM_ABI | SeedContainer (ScalarEvolution &SE) |
| template<typename LoadOrStoreT> | |
| void | insert (LoadOrStoreT *LSI, bool AllowDiffTypes) |
| LLVM_ABI bool | erase (Instruction *I) |
| bool | erase (const KeyT &Key) |
| iterator | begin () |
| iterator | end () |
| unsigned | size () const |
| void | print (raw_ostream &OS) const |
| LLVM_DUMP_METHOD void | dump () const |
Class to conveniently track Seeds within SeedBundles.
Saves newly collected seeds in the proper bundle. Supports constant-time removal, as seeds and entire bundles are vectorized and marked used to signify removal. Iterators skip bundles that are completely used.
Definition at line 182 of file SeedCollector.h.
Definition at line 278 of file SeedCollector.h.
| llvm::sandboxir::SeedContainer::SeedContainer | ( | ScalarEvolution & | SE | ) |
Definition at line 101 of file SeedCollector.cpp.
References llvm::get().
|
inline |
Definition at line 285 of file SeedCollector.h.
References end().
| LLVM_DUMP_METHOD void llvm::sandboxir::SeedContainer::dump | ( | ) | const |
Definition at line 145 of file SeedCollector.cpp.
References llvm::dbgs(), LLVM_DUMP_METHOD, and print().
|
inline |
Definition at line 293 of file SeedCollector.h.
Referenced by begin().
Definition at line 284 of file SeedCollector.h.
References llvm::InnerAnalysisManagerProxy< AnalysisManagerT, IRUnitT, ExtraArgTs... >::Key.
| bool llvm::sandboxir::SeedContainer::erase | ( | Instruction * | I | ) |
Definition at line 91 of file SeedCollector.cpp.
References assert(), I, llvm::isa(), and llvm::sandboxir::SeedBundle::setUsed().
| template LLVM_EXPORT_TEMPLATE void llvm::sandboxir::SeedContainer::insert< StoreInst > | ( | LoadOrStoreT * | LSI, |
| bool | AllowDiffTypes ) |
Definition at line 108 of file SeedCollector.cpp.
| void llvm::sandboxir::SeedContainer::print | ( | raw_ostream & | OS | ) | const |
Definition at line 129 of file SeedCollector.cpp.
References llvm::dyn_cast(), I, and Opc.
Referenced by dump().
|
inline |
Definition at line 294 of file SeedCollector.h.
Referenced by llvm::sandboxir::SeedContainer::iterator::skipUsed().