Introduce some typedefs for DenseMaps containing SmallVectors so the vector size doesn't have to repeated when creating iterators for the DenseMap.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185508 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 52f889f..ed2cb8e 100644
--- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -547,8 +547,7 @@
   // corresponding the .debug_inlined section entry for this pair.
   if (Asm->MAI->doesDwarfUseInlineInfoSection()) {
     MCSymbol *StartLabel = getLabelBeforeInsn(Ranges.begin()->first);
-    DenseMap<const MDNode *, SmallVector<InlineInfoLabels, 4> >::iterator I =
-        InlineInfo.find(InlinedSP);
+    InlineInfoMap::iterator I = InlineInfo.find(InlinedSP);
 
     if (I == InlineInfo.end()) {
       InlineInfo[InlinedSP].push_back(std::make_pair(StartLabel, ScopeDIE));
@@ -1727,7 +1726,7 @@
     TheCU->addFlag(CurFnDIE, dwarf::DW_AT_APPLE_omit_frame_ptr);
 
   // Clear debug info
-  for (DenseMap<LexicalScope *, SmallVector<DbgVariable *, 8> >::iterator
+  for (ScopeVariablesMap::iterator
          I = ScopeVariables.begin(), E = ScopeVariables.end(); I != E; ++I)
     DeleteContainerPointers(I->second);
   ScopeVariables.clear();
@@ -2586,8 +2585,7 @@
          E = InlinedSPNodes.end(); I != E; ++I) {
 
     const MDNode *Node = *I;
-    DenseMap<const MDNode *, SmallVector<InlineInfoLabels, 4> >::iterator II
-      = InlineInfo.find(Node);
+    InlineInfoMap::iterator II = InlineInfo.find(Node);
     SmallVectorImpl<InlineInfoLabels> &Labels = II->second;
     DISubprogram SP(Node);
     StringRef LName = SP.getLinkageName();