LLVM 19.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]

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 Member Functions inherited from llvm::PassInfoMixin< AlignmentFromAssumptionsPass >
void printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName)
 

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.
 

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 282 of file AlignmentFromAssumptions.cpp.

References llvm::AssumptionCache::assumptions(), DT, Idx, 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: