summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMJITInfo.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update comment to match my recent change.Bob Wilson2011-02-021-2/+2
| | | | llvm-svn: 124725
* PR9081: Split up LDM instruction with deprecated use of both LR and PC.Bob Wilson2011-02-011-2/+3
| | | | | | | This is completely untested but pretty straightforward, so hopefully I got it right. llvm-svn: 124694
* I swear I did a make clean and make before committing all this...Michael J. Spencer2010-11-291-1/+1
| | | | llvm-svn: 120304
* move getRegisterNumbering() to out of ARMBaseRegisterInfo into the helperJim Grosbach2010-09-151-1/+1
| | | | | | | | | functions in ARMBaseInfo.h so it can be used in the MC library as well. For anything bigger than this, we may want a means to have a small support library for shared helper functions like this. Cross that bridge when we come to it. llvm-svn: 114016
* Add support to MOVimm32 using movt/movw for ARM JITZonr Chang2010-05-251-0/+12
| | | | llvm-svn: 104587
* rename llvm::llvm_report_error -> llvm::report_fatal_errorChris Lattner2010-04-071-1/+1
| | | | llvm-svn: 100709
* fix typo add missing (Xerxes Ranby2010-03-021-2/+2
| | | | llvm-svn: 97565
* Unbreak llvm-arm-linux buildbot and fix PR5309.Xerxes Ranby2010-03-021-2/+2
| | | | llvm-svn: 97564
* Only save vector registers if we've defined for the vector registers.Eric Christopher2010-03-021-2/+2
| | | | | | Fixes PR5309. llvm-svn: 97554
* Change indirect-globals to use a dedicated allocIndirectGV. This lets usJeffrey Yasskin2009-12-151-11/+5
| | | | | | | | | remove start/finishGVStub and the BufferState helper class from the MachineCodeEmitter interface. It has the side-effect of not setting the indirect global writable and then executable on ARM, but that shouldn't be necessary. llvm-svn: 91464
* * Move stub allocation inside the JITEmitter, instead of exposing aJeffrey Yasskin2009-11-231-19/+26
| | | | | | | | | | | | | | way for each TargetJITInfo subclass to allocate its own stubs. This means stubs aren't as exactly-sized anymore, but it lets us get rid of TargetJITInfo::emitFunctionStubAtAddr(), which lets ARM and PPC support the eager JIT, fixing http://llvm.org/PR4816. * Rename the JITEmitter's stub creation functions to describe the kind of stub they create. So far, all of them create lazy-compilation stubs, but they sometimes get used when far-call stubs are needed. Fixing http://llvm.org/PR5201 will involve fixing this. llvm-svn: 89715
* Allow more than one stub to be being generated at the same time.Jeffrey Yasskin2009-11-231-6/+8
| | | | | | | | It's probably better in the long run to replace the indirect-GlobalVariable system. That'll be done after a subsequent patch. llvm-svn: 89708
* Update comment to reflect instruction.Eric Christopher2009-11-201-1/+1
| | | | llvm-svn: 89414
* Proper support of non-lazy indirect symbols.Evan Cheng2009-09-101-0/+3
| | | | llvm-svn: 81422
* Make sure to make stub region writable before emission, executable after ↵Evan Cheng2009-09-091-0/+22
| | | | | | emission. llvm-svn: 81311
* remove the last uses of Config/alloca.hChris Lattner2009-08-231-1/+0
| | | | llvm-svn: 79873
* Remove Streams.h from the targets.Benjamin Kramer2009-08-231-1/+0
| | | | llvm-svn: 79853
* This void is implicit in C++.Dan Gohman2009-08-121-1/+1
| | | | llvm-svn: 78848
* Whitespace cleanup. Remove trailing whitespace.Jim Grosbach2009-08-111-8/+8
| | | | llvm-svn: 78666
* More migration to raw_ostream, the water has dried up around the iostream hole.Daniel Dunbar2009-07-251-6/+7
| | | | | | | | | | - Some clients which used DOUT have moved to DEBUG. We are deprecating the "magic" DOUT behavior which avoided calling printing functions when the statement was disabled. In addition to being unnecessary magic, it had the downside of leaving code in -Asserts builds, and of hiding potentially unnecessary computations. llvm-svn: 77019
* llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable.Torok Edwin2009-07-141-3/+3
| | | | | | | | | This adds location info for all llvm_unreachable calls (which is a macro now) in !NDEBUG builds. In NDEBUG builds location info and the message is off (it only prints "UREACHABLE executed"). llvm-svn: 75640
* Remove extra \n from LLVM_UNREACHABLE calls.Torok Edwin2009-07-121-1/+1
| | | | llvm-svn: 75416
* Implement changes from Chris's feedback.Torok Edwin2009-07-081-2/+2
| | | | | | Finish converting lib/Target. llvm-svn: 75043
* Start converting to new error handling API.Torok Edwin2009-07-081-7/+5
| | | | | | | cerr+abort -> llvm_report_error assert(0)+abort -> LLVM_UNREACHABLE (assert(0)+llvm_unreachable-> abort() included) llvm-svn: 75018
* First patch in the direction of splitting MachineCodeEmitter in two subclasses:Bruno Cardoso Lopes2009-05-301-24/+24
| | | | | | JITCodeEmitter and ObjectCodeEmitter. No functional changes yet. Patch by Aaron Gray llvm-svn: 72631
* ARMCompilationCallback should not save / restore vfp registers if vfp is not ↵Evan Cheng2009-01-161-2/+2
| | | | | | available. llvm-svn: 62299
* Lazy compilation callback save / restore VFP registers.Evan Cheng2008-11-131-0/+9
| | | | llvm-svn: 59274
* Remove the incorrect assertion. We don't have enough information before ↵Evan Cheng2008-11-121-2/+1
| | | | | | relocation to set U bit. llvm-svn: 59170
* VFP fld / fst immediate field is multiplied by 4.Evan Cheng2008-11-121-16/+26
| | | | llvm-svn: 59100
* Correct PIC function stub codegen.Evan Cheng2008-11-101-7/+32
| | | | llvm-svn: 59006
* Rename isGVNonLazyPtr to isIndirectSym to reflect how it will be used.Evan Cheng2008-11-101-2/+2
| | | | llvm-svn: 58949
* Moved InvalidateInstructionCache to ARMJITInfo::emitFunctionStub which knows ↵Evan Cheng2008-11-081-22/+21
| | | | | | size of stub. llvm-svn: 58899
* Rename startFunctionStub to startGVStub since it's also used for GV non-lazy ↵Evan Cheng2008-11-081-5/+5
| | | | | | ptr. llvm-svn: 58897
* Handle ARM machine constantpool entry with non-lazy ptr.Evan Cheng2008-11-081-4/+11
| | | | llvm-svn: 58882
* More code clean up.Evan Cheng2008-11-071-5/+1
| | | | llvm-svn: 58872
* Get PIC jump table working.Evan Cheng2008-11-071-9/+7
| | | | llvm-svn: 58869
* Jump table JIT support. Work in progress.Evan Cheng2008-11-071-5/+19
| | | | llvm-svn: 58836
* Stylistic change.Evan Cheng2008-11-041-2/+2
| | | | llvm-svn: 58683
* Handle ARM machine constantpool entries.Evan Cheng2008-11-041-7/+26
| | | | llvm-svn: 58671
* Correct way to handle CONSTPOOL_ENTRY instructions.Evan Cheng2008-10-291-1/+11
| | | | llvm-svn: 58409
* remove extraneous #ifdef'sJim Grosbach2008-10-221-4/+0
| | | | llvm-svn: 58006
* use pre-UAL mnemonics for push/pop for compilaton callback functionJim Grosbach2008-10-211-2/+2
| | | | llvm-svn: 57911
* Update the stub and callback code to handle lazy compilation. The stubJim Grosbach2008-10-201-62/+90
| | | | | | | | | | is re-written by the callback to branch directly to the compiled code in future invocations. Added back in range-based memory permission functions for the updating of the stub on Darwin. llvm-svn: 57846
* Add Mac OS X compatible JIT callback routine.Evan Cheng2008-09-021-5/+29
| | | | llvm-svn: 55625
* Correlate stubs with functions in JIT: when emitting a stub, the JIT tells ↵Nicolas Geoffray2008-04-161-4/+6
| | | | | | | | the memory manager which function the stub will resolve. llvm-svn: 49814
* Remove attribution from file headers, per discussion on llvmdev.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45418
* JITInfo now resolves function addrs and also relocations. It always emits a ↵Raul Herbster2007-08-301-30/+43
| | | | | | stub. llvm-svn: 41625
* Initial JIT support for ARM by Raul Fernandes Herbster.Evan Cheng2007-08-071-1/+19
| | | | llvm-svn: 40887
* no email addrs in file headersChris Lattner2007-07-171-3/+2
| | | | llvm-svn: 39962
* Initial ARM JIT support by Raul Fernandes Herbster.Evan Cheng2007-07-051-0/+132
llvm-svn: 37926
OpenPOWER on IntegriCloud