LLVM  6.0.0svn
Public Member Functions | Public Attributes | List of all members
llvm::AlignmentFromAssumptionsPass Struct Reference

#include "llvm/Transforms/Scalar/AlignmentFromAssumptions.h"

Inheritance diagram for llvm::AlignmentFromAssumptionsPass:
Inheritance graph
[legend]
Collaboration diagram for llvm::AlignmentFromAssumptionsPass:
Collaboration graph
[legend]

Public Member Functions

PreservedAnalyses run (Function &F, FunctionAnalysisManager &AM)
 
bool runImpl (Function &F, AssumptionCache &AC, ScalarEvolution *SE_, DominatorTree *DT_)
 
bool extractAlignmentInfo (CallInst *I, Value *&AAPtr, const SCEV *&AlignSCEV, const SCEV *&OffSCEV)
 
bool processAssumption (CallInst *I)
 

Public Attributes

DenseMap< MemTransferInst *, unsignedNewDestAlignments
 
DenseMap< MemTransferInst *, unsignedNewSrcAlignments
 
ScalarEvolutionSE = nullptr
 
DominatorTreeDT = nullptr
 

Additional Inherited Members

- Static Public Member Functions inherited from llvm::PassInfoMixin< AlignmentFromAssumptionsPass >
static StringRef name ()
 Gets the name of the pass we are mixed into. More...
 

Detailed Description

Definition at line 28 of file AlignmentFromAssumptions.h.

Member Function Documentation

◆ extractAlignmentInfo()

bool AlignmentFromAssumptionsPass::extractAlignmentInfo ( CallInst I,
Value *&  AAPtr,
const SCEV *&  AlignSCEV,
const SCEV *&  OffSCEV 
)

◆ processAssumption()

bool AlignmentFromAssumptionsPass::processAssumption ( CallInst I)

◆ run()

PreservedAnalyses AlignmentFromAssumptionsPass::run ( Function F,
FunctionAnalysisManager AM 
)

◆ runImpl()

bool AlignmentFromAssumptionsPass::runImpl ( Function F,
AssumptionCache AC,
ScalarEvolution SE_,
DominatorTree DT_ 
)

Member Data Documentation

◆ DT

DominatorTree* llvm::AlignmentFromAssumptionsPass::DT = nullptr

Definition at line 43 of file AlignmentFromAssumptions.h.

◆ NewDestAlignments

DenseMap<MemTransferInst *, unsigned> llvm::AlignmentFromAssumptionsPass::NewDestAlignments

Definition at line 40 of file AlignmentFromAssumptions.h.

◆ NewSrcAlignments

DenseMap<MemTransferInst *, unsigned> llvm::AlignmentFromAssumptionsPass::NewSrcAlignments

Definition at line 40 of file AlignmentFromAssumptions.h.

◆ SE

ScalarEvolution* llvm::AlignmentFromAssumptionsPass::SE = nullptr

Definition at line 42 of file AlignmentFromAssumptions.h.


The documentation for this struct was generated from the following files: