LLVM 20.0.0git
Namespaces | Macros | Functions | Variables
SeedCollector.cpp File Reference
#include "llvm/Transforms/Vectorize/SandboxVectorizer/SeedCollector.h"
#include "llvm/Analysis/LoopAccessAnalysis.h"
#include "llvm/Analysis/ValueTracking.h"
#include "llvm/IR/Type.h"
#include "llvm/SandboxIR/Instruction.h"
#include "llvm/SandboxIR/Utils.h"
#include "llvm/Support/Debug.h"

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::sandboxir
 

Macros

#define LoadSeedsDef   "loads"
 
#define StoreSeedsDef   "stores"
 

Functions

template<typename LoadOrStoreT >
static bool llvm::sandboxir::isValidMemSeed (LoadOrStoreT *LSI)
 
template bool llvm::sandboxir::isValidMemSeed< LoadInst > (LoadInst *LSI)
 
template bool llvm::sandboxir::isValidMemSeed< StoreInst > (StoreInst *LSI)
 

Variables

cl::opt< unsignedllvm::sandboxir::SeedBundleSizeLimit ("sbvec-seed-bundle-size-limit", cl::init(32), cl::Hidden, cl::desc("Limit the size of the seed bundle to cap compilation time."))
 
cl::opt< std::string > llvm::sandboxir::CollectSeeds ("sbvec-collect-seeds", cl::init(LoadSeedsDef "," StoreSeedsDef), cl::Hidden, cl::desc("Collect these seeds. Use empty for none or a comma-separated " "list of '" LoadSeedsDef "' and '" StoreSeedsDef "'."))
 
cl::opt< unsignedllvm::sandboxir::SeedGroupsLimit ("sbvec-seed-groups-limit", cl::init(256), cl::Hidden, cl::desc("Limit the number of collected seeds groups in a BB to " "cap compilation time."))
 

Macro Definition Documentation

◆ LoadSeedsDef

#define LoadSeedsDef   "loads"

Definition at line 23 of file SeedCollector.cpp.

◆ StoreSeedsDef

#define StoreSeedsDef   "stores"

Definition at line 24 of file SeedCollector.cpp.