Avoid overly large SmallPtrSet/SmallSet
authorMatthias Braun <matze@braunis.de>
Sat, 30 Jan 2016 01:24:31 +0000 (01:24 +0000)
committerMatthias Braun <matze@braunis.de>
Sat, 30 Jan 2016 01:24:31 +0000 (01:24 +0000)
commitb30f2f51410449a6d476fed5c486a4ef8fd5f912
treeaf58fd7a768c6b601eaf890020aa3e2b4a3130b6
parentdaa812d518b1f49feddeb08fcc9c5e563b0bf11e
Avoid overly large SmallPtrSet/SmallSet

These sets perform linear searching in small mode so it is never a good
idea to use SmallSize/N bigger than 32.

llvm-svn: 259283
22 files changed:
llvm/include/llvm/Analysis/DemandedBits.h
llvm/include/llvm/IR/DebugInfo.h
llvm/include/llvm/MC/MCAssembler.h
llvm/lib/Analysis/CFG.cpp
llvm/lib/Analysis/GlobalsModRef.cpp
llvm/lib/Analysis/MemoryDependenceAnalysis.cpp
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
llvm/lib/CodeGen/SjLjEHPrepare.cpp
llvm/lib/Support/CommandLine.cpp
llvm/lib/Target/ARM/ARMISelLowering.cpp
llvm/lib/Transforms/IPO/MergeFunctions.cpp
llvm/lib/Transforms/IPO/SampleProfile.cpp
llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
llvm/lib/Transforms/Scalar/ADCE.cpp
llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
llvm/lib/Transforms/Utils/Local.cpp
llvm/lib/Transforms/Utils/SplitModule.cpp
llvm/tools/bugpoint/CrashDebugger.cpp