llvm-project/llvm/include
Diego Novillo 10cf124bb9 SamplePGO - Reduce memory utilization by 10x.
DenseMap is the wrong data structure to use for sample records and call
sites.  The keys are too large, causing massive core memory growth when
reading profiles.

Before this patch, a 21Mb input profile was causing the compiler to grow
to 3Gb in memory.  By switching to std::map, the compiler now grows to
300Mb in memory.

There still are some opportunities for memory footprint reduction. I'll
be looking at those next.

llvm-svn: 255389
2015-12-11 23:21:38 +00:00
..
llvm SamplePGO - Reduce memory utilization by 10x. 2015-12-11 23:21:38 +00:00
llvm-c [IR] Add support for empty tokens 2015-11-11 21:57:16 +00:00