|
LLVM
8.0.1
|
Reassociate commutative expressions. More...
#include "llvm/Transforms/Scalar/Reassociate.h"


Public Types | |
| using | OrderedSet = SetVector< AssertingVH< Instruction >, std::deque< AssertingVH< Instruction > >> |
Public Member Functions | |
| PreservedAnalyses | run (Function &F, FunctionAnalysisManager &) |
Protected Attributes | |
| DenseMap< BasicBlock *, unsigned > | RankMap |
| DenseMap< AssertingVH< Value >, unsigned > | ValueRankMap |
| OrderedSet | RedoInsts |
| DenseMap< std::pair< Value *, Value * >, unsigned > | PairMap [NumBinaryOps] |
| bool | MadeChange |
Static Protected Attributes | |
| static const unsigned | GlobalReassociateLimit = 10 |
| static const unsigned | NumBinaryOps |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::PassInfoMixin< ReassociatePass > | |
| static StringRef | name () |
| Gets the name of the pass we are mixed into. More... | |
Reassociate commutative expressions.
Definition at line 72 of file Reassociate.h.
| using llvm::ReassociatePass::OrderedSet = SetVector<AssertingVH<Instruction>, std::deque<AssertingVH<Instruction> >> |
Definition at line 75 of file Reassociate.h.
| PreservedAnalyses ReassociatePass::run | ( | Function & | F, |
| FunctionAnalysisManager & | |||
| ) |
Definition at line 2300 of file Reassociate.cpp.
References llvm::AnalysisUsage::addPreserved(), llvm::PreservedAnalyses::all(), llvm::PreservedAnalyses::areAllPreserved(), assert(), llvm::PassRegistry::getPassRegistry(), llvm::ARM_PROC::IE, llvm::initializeReassociateLegacyPassPass(), llvm::isInstructionTriviallyDead(), llvm::PreservedAnalyses::preserve(), llvm::PreservedAnalyses::preserveSet(), run(), runOnFunction(), and llvm::AnalysisUsage::setPreservesCFG().
Referenced by run().
Definition at line 83 of file Reassociate.h.
|
protected |
Definition at line 88 of file Reassociate.h.
Definition at line 84 of file Reassociate.h.
|
protected |
Definition at line 86 of file Reassociate.h.
|
protected |
Definition at line 78 of file Reassociate.h.
|
protected |
Definition at line 80 of file Reassociate.h.
|
protected |
Definition at line 79 of file Reassociate.h.
1.8.13