summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/ADT/ValueMapTest.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Only run this mutex test if threading is enabled. ThisDuncan Sands2009-11-191-0/+3
| | | | | | fixes PR5395. llvm-svn: 89385
* Type.h doesn't need to #include LLVMContext.hChris Lattner2009-10-271-1/+1
| | | | llvm-svn: 85254
* Fix stylistic and documentation problems in ValueMap found by Nick Lewycky andJeffrey Yasskin2009-10-231-3/+3
| | | | | | Evan Cheng. llvm-svn: 84967
* Try r84890 again (adding ValueMap<>), now that I've tested the compile onJeffrey Yasskin2009-10-221-0/+291
| | | | | | gcc-4.4. llvm-svn: 84902
* Revert r84890, which broke the linux build.Jeffrey Yasskin2009-10-221-291/+0
| | | | llvm-svn: 84892
* Add a ValueMap<ValueOrSubclass*, T> type. ValueMap<Value*, T> is safe to useJeffrey Yasskin2009-10-221-0/+291
even when keys get RAUWed and deleted during its lifetime. By default the keys act like WeakVHs, but users can pass a third template parameter to configure how updates work and whether to do anything beyond updating the map on each action. It's also possible to automatically acquire a lock around ValueMap updates triggered by RAUWs and deletes, to support the ExecutionEngine. llvm-svn: 84890
OpenPOWER on IntegriCloud