llvm-6502/include/llvm/Support
Jeffrey Yasskin ebbcef945d Clean up the JITResolver stub/callsite<->function maps.
The JITResolver maps Functions to their canonical stubs and all callsites for
lazily-compiled functions to their target Functions. To make Function
destruction work, I'm going to need to remove all callsites on destruction, so
this patch also adds the reverse mapping for that.

There was an incorrect assumption in here that the only stub for a function
would be the one caused by needing to lazily compile it, while x86-64 far calls
and dlsym-stubs could also cause such stubs, but I didn't look for a test case
that the assumption broke.

This also adds DenseMapInfo<AssertingVH> so I can use DenseMaps instead of
std::maps.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84522 91177308-0d34-0410-b5e6-96231b3b80d8
2009-10-19 18:49:59 +00:00
..
AIXDataTypesFix.h
AlignOf.h
Allocator.h Re-committing changes from r76825 to BumpPtrAllocator with a fix and tests for 2009-07-23 18:34:13 +00:00
CallSite.h back out my recent commit (r80858), it seems to break self-hosting buildbot's stage 2 configure 2009-09-03 02:02:59 +00:00
Casting.h convert LoopInfo.h and GraphWriter.h to use raw_ostream 2009-08-23 07:19:13 +00:00
CFG.h eliminate all 80-col violations that I have introduced in my recent checkins (and some others more) 2009-08-27 23:44:33 +00:00
CommandLine.h Remove a bunch of unused arguments from functions, silencing a 2009-10-14 20:28:33 +00:00
Compiler.h Use __attribute__((__used__)) if GCC >= 3.1 (seems to be the oldest GCC 2009-09-17 23:27:10 +00:00
ConstantFolder.h For the NSWSub support in the builder to actually be useable, 2009-09-26 15:35:35 +00:00
ConstantRange.h Change Pass::print to take a raw ostream instead of std::ostream, 2009-08-23 06:03:38 +00:00
DataFlow.h
DataTypes.h.cmake Teach CMake to look for bidirectional_iterator, iterator, forward_iterator, uint64_t, and u_int64_t, from Yonggang Luo 2009-10-01 17:25:36 +00:00
DataTypes.h.in Convert comments to C90-style so llvm-c can import DataTypes.h. 2009-08-10 19:44:53 +00:00
Debug.h Fix some refactos for iostream changes (in -Asserts mode). 2009-08-23 08:50:52 +00:00
DebugLoc.h Delete bogus semicolons. 2009-10-14 20:39:01 +00:00
DOTGraphTraits.h
Dwarf.h Fix a bug where the DWARF emitter in the JIT was not initializing alignment 2009-08-21 21:03:57 +00:00
DynamicLinker.h
ELF.h
ErrorHandling.h Add some comments clarifying what appear to be the intent of various 2009-08-20 01:46:24 +00:00
FileUtilities.h
Format.h Fix off-by-one in llvm::Format::print. 2009-08-23 20:31:39 +00:00
FormattedStream.h Revert "Don't allow formatted_ostream to be unbuffered, even if its underlying 2009-09-22 16:33:42 +00:00
GetElementPtrTypeIterator.h eliminate all 80-col violations that I have introduced in my recent checkins (and some others more) 2009-08-27 23:44:33 +00:00
GraphWriter.h A few more tabs -> spaces. 2009-09-20 04:03:25 +00:00
InstIterator.h
InstVisitor.h Remove MallocInst from LLVM Instructions. 2009-10-17 01:18:07 +00:00
IRBuilder.h Remove MallocInst from LLVM Instructions. 2009-10-17 01:18:07 +00:00
IRReader.h Use MemoryBuffer::getBufferIdentifier() in the AsmPrinter instead 2009-09-08 22:20:35 +00:00
LeakDetector.h Reapply my less-lock-contention-in-leak-detector patch, now with new files 2009-08-19 17:07:46 +00:00
ManagedStatic.h Resolve undefined behaviour when ManagedStatic is instantiated with a fixed-length array type. 2009-07-09 17:26:16 +00:00
Mangler.h Allow symbols to start from the digit if target requests it. This allows, e.g. pinning 2009-09-18 16:57:42 +00:00
MathExtras.h Add MathExtras.h OffsetToAlignment, like RoundUpToAlignment but returns the 2009-08-28 05:48:04 +00:00
MemoryBuffer.h Add MemoryBuffer::getBuffer() -> StringRef. 2009-08-24 09:29:24 +00:00
MemoryObject.h Added an abstract superclass, MCDisassembler, for 2009-09-09 22:49:13 +00:00
MutexGuard.h
NoFolder.h For the NSWSub support in the builder to actually be useable, 2009-09-26 15:35:35 +00:00
OutputBuffer.h
PassNameParser.h Change Pass::print to take a raw ostream instead of std::ostream, 2009-08-23 06:03:38 +00:00
PatternMatch.h add a helper for matching "1". 2009-10-11 07:51:25 +00:00
PluginLoader.h
PointerLikeTypeTraits.h Make the type traits for a const pointer defer to those for a unqualified 2009-09-23 06:53:51 +00:00
PredIteratorCache.h
PrettyStackTrace.h add a knob to turn off PrettyStackTrace globally. Patch by Zoltan 2009-07-16 06:17:45 +00:00
raw_os_ostream.h split raw_os_ostream out to its own header and implementation file. This 2009-08-24 04:02:06 +00:00
raw_ostream.h Add raw_ostream::write_escaped, for writing escaped strings. 2009-10-17 20:43:08 +00:00
Recycler.h Public and private corrections, warned about by icc (#304). 2009-09-06 08:55:57 +00:00
RecyclingAllocator.h
Regex.h remove support for "NoSub" from regex. It seems like a minor optimization 2009-09-26 21:27:04 +00:00
Registry.h Remove unneeded declaration, as warned about by 2009-09-06 07:23:28 +00:00
RegistryParser.h
SlowOperationInformer.h
SourceMgr.h add a trivial line # cache to SourceMgr to make repeated queries to 2009-08-11 17:49:14 +00:00
StableBasicBlockNumbering.h
StandardPasses.h there is no need to run mem2reg after jump threading at LTO time now. 2009-10-11 04:17:33 +00:00
StringPool.h Convert StringMap to using StringRef for its APIs. 2009-07-23 18:17:34 +00:00
SystemUtils.h eliminate the ostream version of CheckBitcodeOutputToConsole, 2009-08-23 21:36:09 +00:00
TargetFolder.h For the NSWSub support in the builder to actually be useable, 2009-09-26 15:35:35 +00:00
Timer.h Fix apostrophos. 2009-09-15 15:08:33 +00:00
type_traits.h Add is_same type trait 2009-10-13 21:17:00 +00:00
TypeBuilder.h Make TypeBuilder's result depend on the LLVMContext it's passed. 2009-09-09 05:04:01 +00:00
ValueHandle.h Clean up the JITResolver stub/callsite<->function maps. 2009-10-19 18:49:59 +00:00