LLVM  13.0.0git
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, unsigned Idx, Value *&AAPtr, const SCEV *&AlignSCEV, const SCEV *&OffSCEV)
 
bool processAssumption (CallInst *I, unsigned Idx)
 

Public Attributes

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 29 of file AlignmentFromAssumptions.h.

Member Function Documentation

◆ extractAlignmentInfo()

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

◆ processAssumption()

bool AlignmentFromAssumptionsPass::processAssumption ( CallInst I,
unsigned  Idx 
)

◆ run()

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

◆ runImpl()

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

Definition at line 327 of file AlignmentFromAssumptions.cpp.

References llvm::AssumptionCache::assumptions(), DT, processAssumption(), and SE.

Referenced by run().

Member Data Documentation

◆ DT

DominatorTree* llvm::AlignmentFromAssumptionsPass::DT = nullptr

Definition at line 38 of file AlignmentFromAssumptions.h.

Referenced by processAssumption(), run(), and runImpl().

◆ SE

ScalarEvolution* llvm::AlignmentFromAssumptionsPass::SE = nullptr

Definition at line 37 of file AlignmentFromAssumptions.h.

Referenced by extractAlignmentInfo(), processAssumption(), run(), and runImpl().


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