LLVM 24.0.0git
SliceSplitter Class Reference

This is a helper class that's used by presplitLoadsAndStores to split a slice into smaller slices, including splitting the corresponding load/store instruction. More...

Classes

struct  Iterator
 An iterator which iterates over the sub-slices that we want to split the slice into. More...

Public Member Functions

 SliceSplitter (IRBuilderTy &IRB, const DataLayout &DL, std::vector< uint64_t > &Splits, unsigned SliceSize)
Iterator begin ()
Iterator end ()
LoadInst * createLoad (Value *BasePtr, Iterator &It, Instruction *SplitI)
StoreInst * createStore (Value *StoreVal, Value *BasePtr, Iterator &It, Instruction *SplitI)
Slice createSlice (Instruction *I, uint64_t BaseOffset, Iterator &It)

Detailed Description

This is a helper class that's used by presplitLoadsAndStores to split a slice into smaller slices, including splitting the corresponding load/store instruction.

Definition at line 4987 of file SROA.cpp.

Constructor & Destructor Documentation

◆ SliceSplitter()

SliceSplitter::SliceSplitter ( IRBuilderTy & IRB,
const DataLayout & DL,
std::vector< uint64_t > & Splits,
unsigned SliceSize )
inline

Definition at line 5001 of file SROA.cpp.

Referenced by SliceSplitter::Iterator::Iterator().

Member Function Documentation

◆ begin()

Iterator SliceSplitter::begin ( )
inline

Definition at line 5029 of file SROA.cpp.

◆ createLoad()

◆ createSlice()

◆ createStore()

◆ end()

Iterator SliceSplitter::end ( )
inline

Definition at line 5031 of file SROA.cpp.


The documentation for this class was generated from the following file: