llvm-project/llvm/include
Chandler Carruth 6b78bac9fb [ADT] Add a much simpler loop to DenseMap::clear when the types are
POD-like and we can just splat the empty key across memory.

Sadly we can't optimize the normal loop well enough because we can't
turn the conditional store into an unconditional store according to the
memory model.

This loop actually showed up in a profile of code that was calling clear
as a serious source of time. =[

llvm-svn: 310189
2017-08-05 22:48:37 +00:00
..
llvm [ADT] Add a much simpler loop to DenseMap::clear when the types are 2017-08-05 22:48:37 +00:00
llvm-c [ORC] Errorize the ORC APIs. 2017-07-07 02:59:13 +00:00