llvm-6502/include/llvm
Jeffrey Yasskin 1e86132122 Move the Function*->allocated blocks map from the JITMemoryManager to the
JITEmitter.

I'm gradually making Functions auto-remove themselves from the JIT when they're
destroyed. In this case, the Function needs to be removed from the JITEmitter,
but the map recording which Functions need to be removed lived behind the
JITMemoryManager interface, which made things difficult.

This patch replaces the deallocateMemForFunction(Function*) method with a pair
of methods deallocateFunctionBody(void *) and deallocateExceptionTable(void *)
corresponding to the two startFoo/endFoo pairs.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84651 91177308-0d34-0410-b5e6-96231b3b80d8
2009-10-20 18:13:21 +00:00
..
ADT More warnings patrol: Another unused argument and more implicit 2009-10-17 23:56:18 +00:00
Analysis add function passes for printing various dominator datastructures 2009-10-18 04:10:40 +00:00
Assembly Use MemoryBuffer::getBufferIdentifier() in the AsmPrinter instead 2009-09-08 22:20:35 +00:00
Bitcode Write and read metadata attachments. 2009-09-18 19:26:43 +00:00
CodeGen Add getTopBlock and getBottomBlock member functions to MachineLoopInfo. 2009-10-20 04:16:37 +00:00
CompilerDriver First draft of the OptionPreprocessor. 2009-10-17 20:09:29 +00:00
Config Undo pthread patch from rev. 83930 & 83823. Credit to Paul Davey. 2009-10-14 11:12:33 +00:00
ExecutionEngine Move the Function*->allocated blocks map from the JITMemoryManager to the 2009-10-20 18:13:21 +00:00
MC add a twine version of MCContext::GetOrCreateSymbol. 2009-10-19 22:49:00 +00:00
Support Clean up the JITResolver stub/callsite<->function maps. 2009-10-19 18:49:59 +00:00
System Fix typo. 2009-10-11 18:53:09 +00:00
Target Wire up the ARM MCInst printer, for llvm-mc. 2009-10-20 05:15:36 +00:00
Transforms remove the IndMemRemPass, which only made sense for when malloc/free were intrinsic 2009-10-18 05:02:09 +00:00
AbstractTypeUser.h When a constant's type is refined, update the constant in place 2009-09-15 15:58:07 +00:00
Argument.h Initial update to VMCore to use Twines for string arguments. 2009-07-25 04:41:11 +00:00
Attributes.h Add an 'inline hint' attribute to represent source 2009-08-26 01:08:21 +00:00
AutoUpgrade.h Reapply 79977. 2009-08-28 23:24:31 +00:00
BasicBlock.h Add a comment. 2009-09-02 01:14:16 +00:00
CallGraphSCCPass.h Fix some nasty callgraph dangling pointer problems in 2009-08-31 00:19:58 +00:00
CallingConv.h Address review comments: add 3 ARM calling conventions. 2009-06-16 18:50:49 +00:00
CMakeLists.txt CMake: Have generated Xcode projects also contain the LLVM header files. 2009-04-01 15:40:21 +00:00
Constant.h Make LLVMContext and LLVMContextImpl classes instead of structs. 2009-08-11 17:45:13 +00:00
Constants.h Random #include pruning. 2009-10-20 11:44:38 +00:00
DerivedTypes.h Actually privatize a IntegerTypes, and fix a few bugs exposed by this. 2009-08-13 23:27:32 +00:00
Function.h Retype from unsigned to CallingConv::ID accordingly. Approved by Bob Wilson. 2009-09-02 08:44:58 +00:00
GlobalAlias.h Public and private corrections, warned about by icc (#304). 2009-09-06 08:55:57 +00:00
GlobalValue.h Finish migrating VMCore to StringRef/Twine based APIs. 2009-07-25 06:02:13 +00:00
GlobalVariable.h Public and private corrections, warned about by icc (#304). 2009-09-06 08:55:57 +00:00
InlineAsm.h Add an "msasm" flag to inline asm as suggested in PR 5125. 2009-10-13 20:46:56 +00:00
InstrTypes.h Remove MallocInst from LLVM Instructions. 2009-10-17 01:18:07 +00:00
Instruction.def Remove MallocInst from LLVM Instructions. 2009-10-17 01:18:07 +00:00
Instruction.h Instruction::clone does not need to take an LLVMContext&. Remove that and 2009-09-27 07:38:41 +00:00
Instructions.h punctuate properly 2009-10-18 05:08:07 +00:00
IntrinsicInst.h I don't see any point in having both eh.selector.i32 and eh.selector.i64, 2009-10-14 16:11:37 +00:00
Intrinsics.h Make LLVMContext and LLVMContextImpl classes instead of structs. 2009-08-11 17:45:13 +00:00
Intrinsics.td Move Blackfin intrinsics into the Target/Blackfin directory. 2009-10-15 18:50:52 +00:00
IntrinsicsAlpha.td Modify the intrinsics pattern to separate out the "return" types from the 2008-11-13 09:08:33 +00:00
IntrinsicsARM.td Add new intrinsics for Neon vldN_lane and vstN_lane operations. 2009-08-22 02:28:46 +00:00
IntrinsicsCellSPU.td Modify the intrinsics pattern to separate out the "return" types from the 2008-11-13 09:08:33 +00:00
IntrinsicsPowerPC.td Modify the intrinsics pattern to separate out the "return" types from the 2008-11-13 09:08:33 +00:00
IntrinsicsX86.td Add sse4.2 string/text processing intrinsics. We'll select these later. 2009-08-14 20:27:57 +00:00
IntrinsicsXCore.td Add XCore intrinsics for getid (returns thread id) and bitrev (reverses 2008-11-14 10:12:16 +00:00
LinkAllPasses.h remove the IndMemRemPass, which only made sense for when malloc/free were intrinsic 2009-10-18 05:02:09 +00:00
LinkAllVMCore.h Push LLVMContexts through the IntegerType APIs. 2009-08-13 21:58:54 +00:00
Linker.h Prune #includes from llvm/Linker.h and llvm/System/Path.h, 2009-08-23 22:45:37 +00:00
LLVMContext.h Make LLVMContext's pImpl member const. 2009-10-06 17:43:57 +00:00
Metadata.h Random #include pruning. 2009-10-20 11:44:38 +00:00
Module.h remove the std::ostream version of module and type printing. 2009-08-23 04:52:46 +00:00
ModuleProvider.h
OperandTraits.h Public and private corrections, warned about by icc (#304). 2009-09-06 08:55:57 +00:00
Operator.h Remove a bunch of unused arguments from functions, silencing a 2009-10-14 20:28:33 +00:00
Pass.h Remove a bunch of unused arguments from functions, silencing a 2009-10-14 20:28:33 +00:00
PassAnalysisSupport.h Add another required #include for freestanding .h files. 2009-10-17 08:12:36 +00:00
PassManager.h
PassManagers.h Move the dominator verification code out of special code embedded within 2009-09-28 00:27:48 +00:00
PassSupport.h Add required #includes for freestanding .h files. 2009-10-17 03:28:07 +00:00
SymbolTableListTraits.h Forward-declare ValueSymbolTable so that SymbolTableListTraits.h can be parsed by itself 2009-09-30 00:08:25 +00:00
Type.h Make getPointerTo return a const PointerType* rather than 2009-10-07 07:35:19 +00:00
TypeSymbolTable.h Don't search the entire type table just to delete a type by name. 2009-08-06 06:04:35 +00:00
Use.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
User.h Remove some dead functions, patch by Ryan Flynn! 2009-07-14 18:58:35 +00:00
Value.h s/class Metadata/class MetadataContext/g 2009-09-28 21:41:20 +00:00
ValueSymbolTable.h revert r78048, it isn't worth using assertingvh here. 2009-08-04 23:07:12 +00:00