Lines Matching refs:LoadStoreOpt

52 char LoadStoreOpt::ID = 0;
53 INITIALIZE_PASS_BEGIN(LoadStoreOpt, DEBUG_TYPE, "Generic memory optimizations",
55 INITIALIZE_PASS_END(LoadStoreOpt, DEBUG_TYPE, "Generic memory optimizations",
58 LoadStoreOpt::LoadStoreOpt(std::function<bool(const MachineFunction &)> F) in LoadStoreOpt() function in LoadStoreOpt
61 LoadStoreOpt::LoadStoreOpt() in LoadStoreOpt() function in LoadStoreOpt
62 : LoadStoreOpt([](const MachineFunction &) { return false; }) {} in LoadStoreOpt()
64 void LoadStoreOpt::init(MachineFunction &MF) { in init()
76 void LoadStoreOpt::getAnalysisUsage(AnalysisUsage &AU) const { in getAnalysisUsage()
305 bool LoadStoreOpt::mergeStores(SmallVectorImpl<GStore *> &StoresToMerge) { in mergeStores()
351 bool LoadStoreOpt::isLegalOrBeforeLegalizer(const LegalityQuery &Query, in isLegalOrBeforeLegalizer()
360 bool LoadStoreOpt::doSingleStoreMerge(SmallVectorImpl<GStore *> &Stores) { in doSingleStoreMerge()
441 bool LoadStoreOpt::processMergeCandidate(StoreMergeCandidate &C) { in processMergeCandidate()
501 bool LoadStoreOpt::operationAliasesWithCandidate(MachineInstr &MI, in operationAliasesWithCandidate()
510 void LoadStoreOpt::StoreMergeCandidate::addPotentialAlias(MachineInstr &MI) { in addPotentialAlias()
514 bool LoadStoreOpt::addStoreToCandidate(GStore &StoreMI, in addStoreToCandidate()
585 bool LoadStoreOpt::mergeBlockStores(MachineBasicBlock &MBB) { in mergeBlockStores()
713 bool LoadStoreOpt::mergeTruncStore(GStore &StoreMI, in mergeTruncStore()
907 bool LoadStoreOpt::mergeTruncStoresBlock(MachineBasicBlock &BB) { in mergeTruncStoresBlock()
925 bool LoadStoreOpt::mergeFunctionStores(MachineFunction &MF) { in mergeFunctionStores()
945 void LoadStoreOpt::initializeStoreMergeTargetInfo(unsigned AddrSpace) { in initializeStoreMergeTargetInfo()
977 bool LoadStoreOpt::runOnMachineFunction(MachineFunction &MF) { in runOnMachineFunction()