Clean up dwarf writer, part 1. This eliminated the horrible recursive getGlobalVariab...
authorEvan Cheng <evan.cheng@apple.com>
Wed, 25 Feb 2009 07:04:34 +0000 (07:04 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 25 Feb 2009 07:04:34 +0000 (07:04 +0000)
commite3d423244ae288b2c9021dbb3cd7fb973d1cfc31
treecf717e0368c572a77ad775c521cef9be83a8a7b4
parent20babb112c8d8aab89a5e86347e2bfdb90603ce8
Clean up dwarf writer, part 1. This eliminated the horrible recursive getGlobalVariablesUsing and replaced it something readable. It eliminated use of slow UniqueVector and replaced it with StringMap, SmallVector, and DenseMap, etc. It also fixed some non-deterministic behavior.

This is a very minor compile time win.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65438 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/DwarfWriter.h
lib/CodeGen/AsmPrinter/DwarfWriter.cpp
lib/CodeGen/SelectionDAG/FastISel.cpp
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp