LLVM: llvm::ReassociatePass Class Reference (original) (raw)
Reassociate commutative expressions. More...
#include "[llvm/Transforms/Scalar/Reassociate.h](Reassociate%5F8h%5Fsource.html)"
| Public Types | |
|---|---|
| using | OrderedSet |
| Protected Attributes | |
|---|---|
| DenseMap< BasicBlock *, unsigned > | RankMap |
| DenseMap< AssertingVH< Value >, unsigned > | ValueRankMap |
| OrderedSet | RedoInsts |
| DenseMap< std::pair< Value *, Value * >, PairMapValue > | PairMap [NumBinaryOps] |
| bool | MadeChange |
Reassociate commutative expressions.
Definition at line 74 of file Reassociate.h.
◆ OrderedSet
Initial value:
A vector that has set insertion semantics.
Definition at line 76 of file Reassociate.h.
◆ run()
Definition at line 2546 of file Reassociate.cpp.
References llvm::PreservedAnalyses::all(), assert(), llvm::SetVector< T, Vector, Set, N >::empty(), F, I, II, llvm::isInstructionTriviallyDead(), MadeChange, PairMap, llvm::SetVector< T, Vector, Set, N >::pop_back_val(), llvm::PreservedAnalyses::preserveSet(), RankMap, RedoInsts, and ValueRankMap.
◆ GlobalReassociateLimit
| const unsigned llvm::ReassociatePass::GlobalReassociateLimit = 10 | staticprotected |
|---|
◆ MadeChange
| bool llvm::ReassociatePass::MadeChange | protected |
|---|
◆ NumBinaryOps
Initial value:
=
Instruction::BinaryOpsEnd - Instruction::BinaryOpsBegin
Definition at line 86 of file Reassociate.h.
◆ PairMap
◆ RankMap
◆ RedoInsts
| OrderedSet llvm::ReassociatePass::RedoInsts | protected |
|---|
◆ ValueRankMap
The documentation for this class was generated from the following files:
- include/llvm/Transforms/Scalar/Reassociate.h
- lib/Transforms/Scalar/Reassociate.cpp