mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-16 14:31:59 +00:00
Use LLVMs ADTs that improve the compile time of this pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186732 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dc4ddd3201
commit
4e92ea655c
@ -115,7 +115,7 @@ private:
|
||||
/// Maps instructions to numbers and back.
|
||||
SmallDenseMap<Instruction *, int> InstrIdx;
|
||||
/// Maps integers to Instructions.
|
||||
std::vector<Instruction *> InstrVec;
|
||||
SmallVector<Instruction *, 32> InstrVec;
|
||||
};
|
||||
|
||||
/// \returns the parent basic block if all of the instructions in \p VL
|
||||
@ -391,7 +391,7 @@ private:
|
||||
SetVector<Instruction *> GatherSeq;
|
||||
|
||||
/// Numbers instructions in different blocks.
|
||||
std::map<BasicBlock *, BlockNumbering> BlocksNumbers;
|
||||
DenseMap<BasicBlock *, BlockNumbering> BlocksNumbers;
|
||||
|
||||
// Analysis and block reference.
|
||||
Function *F;
|
||||
|
Loading…
x
Reference in New Issue
Block a user