summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/JIT
Commit message (Collapse)AuthorAgeFilesLines
...
* ExecutionEngine: delete duplicated filesDylan Noblesmith2011-05-061-91/+0
| | | | | | Forgot to `svn rm` these in revisions 131025 / 131029. llvm-svn: 131030
* ExecutionEngine: move createJIT() definitionDylan Noblesmith2011-05-061-19/+0
| | | | | | | As an ExecutionEngine class function, its definition really belongs in ExecutionEngine.cpp, not JIT.cpp. llvm-svn: 131027
* ExecutionEngine: push TargetMachine creation into clientsDylan Noblesmith2011-05-062-20/+8
| | | | | | | | In particular, into EngineBuilder. This should only impact the private API between the EE and EB classes, not external clients, since JITCtor and MCJITCtor are both protected members. llvm-svn: 131026
* ExecutionEngine: fix JIT/MCJIT selectTarget() duplicationDylan Noblesmith2011-05-063-11/+9
| | | | | | | This prepares for making JITCtor/MCJITCtor take a TargetMachine* directly from clients like EngineBuilder. llvm-svn: 131025
* Fix a C++0x portability issue with std::make_pair. Explicitly providing ↵Douglas Gregor2011-04-291-1/+1
| | | | | | template arguments no longer works when the call arguments are lvalues. llvm-svn: 130513
* Remove unused STL header includes.Jay Foad2011-04-231-1/+0
| | | | llvm-svn: 130068
* Fix a ton of comment typos found by codespell. Patch byChris Lattner2011-04-151-1/+1
| | | | | | Luis Felipe Strano Moraes! llvm-svn: 129558
* Like the coding standards say, do not use "using namespace std".Jay Foad2011-04-131-2/+2
| | | | llvm-svn: 129435
* Trailing whitespace.Jim Grosbach2011-03-225-46/+46
| | | | llvm-svn: 128086
* Tidy up. Whitespace and 80 column.Jim Grosbach2011-03-162-17/+20
| | | | llvm-svn: 127721
* Trailing whitespae.Jim Grosbach2011-03-151-34/+34
| | | | llvm-svn: 127691
* Support unregistering exception frames of functions when they are removed.Eric Christopher2011-03-041-3/+4
| | | | | | | | Patch by Johannes Schaub! Fixes PR8548 llvm-svn: 127047
* Rename TargetFrameInfo into TargetFrameLowering. Also, put couple of FIXMEs ↵Anton Korobeynikov2011-01-102-7/+7
| | | | | | and fixes here and there. llvm-svn: 123170
* Merge System into Support.Michael J. Spencer2010-11-298-9/+9
| | | | llvm-svn: 120298
* Move getInitialFrameState() to TargetFrameInfoAnton Korobeynikov2010-11-182-1/+4
| | | | llvm-svn: 119754
* Fix some more 80-col violas.Daniel Dunbar2010-11-131-4/+11
| | | | llvm-svn: 118959
* Move the remaining attribute macros to systematic names based on the attributeChandler Carruth2010-10-231-1/+1
| | | | | | name and prefixed with 'LLVM_'. llvm-svn: 117203
* Fix the cleanup process of exception information in JIT. Now JITDuncan Sands2010-10-211-0/+6
| | | | | | | deregisters registered by it FDE structures allowing consecutive JIT runs to succeed. Patch by Yuri. Fixes PR8285. llvm-svn: 117004
* Revert "CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally."Michael J. Spencer2010-09-131-8/+0
| | | | | | | | | | This reverts commit r113632 Conflicts: cmake/modules/AddLLVM.cmake llvm-svn: 113819
* CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally.Michael J. Spencer2010-09-101-0/+8
| | | | llvm-svn: 113632
* Fix a comment.NAKAMURA Takumi2010-08-301-1/+1
| | | | llvm-svn: 112535
* EE/JIT: Do not invoke parent's ctors/dtors from main()! (PR3897)NAKAMURA Takumi2010-08-301-0/+12
| | | | | | | | | | On Mingw and Cygwin, the symbol __main is resolved to callee's(eg. tools/lli) one, to invoke wrong duplicated ctors (and register wrong callee's dtors with atexit(3)). We expect, by callee, ExecutionEngine::runStaticConstructorsDestructors() is called before ExecutionEngine::runFunctionAsMain() is called. llvm-svn: 112474
* remove some dead code.Chris Lattner2010-08-231-246/+0
| | | | llvm-svn: 111791
* When creating a JIT, try to load the program so that we can resolve symbolsNick Lewycky2010-08-171-0/+3
| | | | | | against it. This affects Windows. llvm-svn: 111240
* Stop the JIT from refusing to work just because the program it was compiled intoNick Lewycky2010-08-091-5/+0
| | | | | | was built with -static. llvm-svn: 110564
* Don't call __register_frame from the JIT on systems that use setjmp/longjmpBob Wilson2010-07-261-2/+2
| | | | | | | exception handling. Also fix an extra underscore typo in one instance of "__ARM_EABI__". Radar 8236264. llvm-svn: 109451
* remove the dwarf sizing stuff which is now dead, it wasChris Lattner2010-07-222-456/+0
| | | | | | | "yet another" copy of the dwarf EH emission code that was copied, pasted and slightly hacked up. llvm-svn: 109169
* remove the JIT "NeedsExactSize" feature and supporting logic.Chris Lattner2010-07-221-58/+3
| | | | llvm-svn: 109167
* Get rid of a bunch of duplicated ELF enum values.Eli Friedman2010-07-161-5/+5
| | | | llvm-svn: 108520
* Convert some tab stops into spaces.Duncan Sands2010-07-121-2/+2
| | | | llvm-svn: 108130
* first part of JIT support for address of labels, part of PR7264,Chris Lattner2010-07-113-13/+81
| | | | | | patch by Yuri! llvm-svn: 108107
* Remove the -enable-sjlj-eh option, which doesn't do anything.Duncan Sands2010-05-021-3/+3
| | | | | | | Remove the -enable-eh option which is only used by the JIT, and replace it with -jit-enable-eh. llvm-svn: 102865
* Fix the OProfileJITEventListener build after r101844 removedJeffrey Yasskin2010-04-301-19/+36
| | | | | | | | MachineFunction::DefaultDebugLoc. We now use the same technique as DwarfDebug::beginFunction to find the starting line number for a function. llvm-svn: 102679
* Don't rely upon the MCSymbol "isDefined" method to indicate if a label has beenBill Wendling2010-04-181-2/+2
| | | | | | | emitted or not. The JIT doesn't set that. Look it up in the label location table instead. llvm-svn: 101686
* Formatting changes. No functionality change.Bill Wendling2010-04-181-29/+28
| | | | llvm-svn: 101685
* Fix -Wcast-qual warnings.Dan Gohman2010-04-171-1/+1
| | | | llvm-svn: 101655
* The JIT calls TidyLandingPads to tidy up the landing pads. However, because theBill Wendling2010-04-162-4/+8
| | | | | | | | | | | | | | | | JIT doesn't use the MC back-end asm printer to emit labels that it uses, the section for the MCSymbol is never set. And thus the MCSymbol for the EH label isn't marked as "defined". Because of that, TidyLandingPads removes the needed landing pads from the JIT output. This breaks EH for every JIT program. This is a work-around for this limitation. We pass in the label locations map. If the label has a non-zero value, then it was "emitted" by the JIT and TidyLandingPads shouldn't remove that label. A nicer solution would be to mark the MCSymbol as "used" by the JIT and not rely upon the section being set to determine if it's defined or not. llvm-svn: 101453
* Add const qualifiers to CodeGen's use of LLVM IR constructs.Dan Gohman2010-04-152-7/+8
| | | | llvm-svn: 101334
* Don't use DILocation when processing a DebugLoc.Nicolas Geoffray2010-04-141-8/+9
| | | | llvm-svn: 101294
* Use twines to simplify calls to report_fatal_error. For code size and ↵Benjamin Kramer2010-04-081-4/+2
| | | | | | readability. llvm-svn: 100756
* rename llvm::llvm_report_error -> llvm::report_fatal_errorChris Lattner2010-04-074-11/+11
| | | | llvm-svn: 100709
* Fix OProfileJITEventListener build for new DebugLoc.Jeffrey Yasskin2010-04-051-6/+7
| | | | llvm-svn: 100461
* CurFn is only used for relocations. Use EmissionDetails.MF->getFunction() ↵Nicolas Geoffray2010-04-041-1/+2
| | | | | | instead. llvm-svn: 100328
* Switch the code generator (except the JIT) onto the new DebugLocChris Lattner2010-04-021-13/+12
| | | | | | | | | | | | | | | representation. This eliminates the 'DILocation' MDNodes for file/line/col tuples from -O0 -g codegen. This remove the old DebugLoc class, making it a typedef for DebugLoc, I'll rename NewDebugLoc next. I didn't update the JIT to use the new apis, so it will continue to work, but be as slow as before. Someone should eventually do this or, better yet, rip out the JIT debug info stuff and build the JIT on top of MC. llvm-svn: 100209
* Avoid a memory leak in JITDebugRegisterer.Jeffrey Yasskin2010-03-161-1/+4
| | | | llvm-svn: 98612
* fix these two get the mcsymbol operand instead of imm operand.Chris Lattner2010-03-141-5/+2
| | | | llvm-svn: 98487
* Now that DBG_LABEL is updated, we can finally make MachineMove Chris Lattner2010-03-141-12/+8
| | | | | | contain an MCSymbol instead of a label index. llvm-svn: 98482
* change EH related stuff (other than EH_LABEL) to use MCSymbolChris Lattner2010-03-142-40/+31
| | | | | | | | | | | | | | | | instead of label ID's. This cleans up and regularizes a bunch of code and makes way for future progress. Unfortunately, this pointed out to me that JITDwarfEmitter.cpp is largely copy and paste from DwarfException/MachineModuleInfo and other places. This is very sad and disturbing. :( One major change here is that TidyLandingPads moved from being called in DwarfException::BeginFunction to being called in DwarfException::EndFunction. There should not be any functionality change from doing this, but I'm not an EH expert. llvm-svn: 98459
* Add a new jump table encoding to indicate jump tables entriesRichard Osborne2010-03-111-0/+4
| | | | | | are inside the function by the target at the point of use. llvm-svn: 98255
* strength reduce MMI::MappedLabel to MMI::isLabelDeleted,Chris Lattner2010-03-091-6/+4
| | | | | | | and add a FIXME about how we are eventually going to zap this lookup table once mc world domination is complete. llvm-svn: 98031
OpenPOWER on IntegriCloud