llvm-project/lldb/source/Expression
Vedant Kumar f71dd3445b [IRMemoryMap] Shrink Allocation and make it move-only (NFC)
Profiling data show that Allocation::operator= is hot (see the data
attached to the Phab review).

Reorder a few fields within Allocation to avoid implicit structure
padding and shrink the structure. This should make copies a bit cheaper.

Also, given that an Allocation contains a std::vector (by way of
DataBufferHeap), it's preferable to make it move-only instead of
permitting expensive copies. As an added benefit this allows us to have
a single Allocation constructor instead of two.

Differential Revision: https://reviews.llvm.org/D50271

llvm-svn: 339290
2018-08-08 21:26:49 +00:00
..
CMakeLists.txt Break dependency from Core to ObjectFileJIT. 2018-05-23 23:56:09 +00:00
DWARFExpression.cpp Move RegisterValue,Scalar,State from Core to Utility 2018-08-07 11:07:21 +00:00
DiagnosticManager.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
Expression.cpp [lldb] Fix typos in file headers 2016-11-26 05:23:44 +00:00
ExpressionSourceCode.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
ExpressionVariable.cpp Refactor GetNextPersistentVariableName into a non-virtual method 2018-04-30 23:59:17 +00:00
FunctionCaller.cpp Move RegisterValue,Scalar,State from Core to Utility 2018-08-07 11:07:21 +00:00
IRDynamicChecks.cpp Enable AUTOBRIEF in doxygen configuration. 2018-05-02 16:55:16 +00:00
IRExecutionUnit.cpp Break dependency from Core to ObjectFileJIT. 2018-05-23 23:56:09 +00:00
IRInterpreter.cpp Move RegisterValue,Scalar,State from Core to Utility 2018-08-07 11:07:21 +00:00
IRMemoryMap.cpp [IRMemoryMap] Shrink Allocation and make it move-only (NFC) 2018-08-08 21:26:49 +00:00
LLVMUserExpression.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
Materializer.cpp Move RegisterValue,Scalar,State from Core to Utility 2018-08-07 11:07:21 +00:00
REPL.cpp Replace HostInfo::GetLLDBPath with specific functions 2018-06-19 15:09:07 +00:00
UserExpression.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
UtilityFunction.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00