class AllocaSlices::SliceBuilder

Declaration

class AllocaSlices::SliceBuilder : public PtrUseVisitor { /* full declaration omitted */ };

Description

Builder for the alloca slices. This class builds a set of alloca slices by recursively visiting the uses of an alloca and making a slice for each load and store at each offset.

Declared at: llvm/lib/Transforms/Scalar/SROA.cpp:648

Inherits from: PtrUseVisitor

Method Overview

  • public SliceBuilder(const llvm::DataLayout & DL, llvm::AllocaInst & AI, llvm::sroa::AllocaSlices & AS)

Methods

ΒΆSliceBuilder(const llvm::DataLayout& DL,
             llvm::AllocaInst& AI,
             llvm::sroa::AllocaSlices& AS)

Declared at: llvm/lib/Transforms/Scalar/SROA.cpp:664

Parameters

const llvm::DataLayout& DL
llvm::AllocaInst& AI
llvm::sroa::AllocaSlices& AS