summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PIC16/PIC16Passes
Commit message (Collapse)AuthorAgeFilesLines
* Per discussion with Sanjiv, remove the PIC16 target from mainline. When/ifChris Lattner2010-10-116-643/+0
| | | | | | | it comes back, it will be largely a rewrite, so keeping the old codebase in tree isn't helping anyone. llvm-svn: 116190
* Use the canonical library name for library PIC16Passes.Oscar Fuentes2010-09-282-2/+2
| | | | llvm-svn: 114953
* Added library LLVMPIC16passes to CMake build.Oscar Fuentes2010-09-281-0/+4
| | | | llvm-svn: 114952
* Reapply r112091 and r111922, support for metadata linking, with aDan Gohman2010-08-261-1/+1
| | | | | | | | | | | | | | fix: add a flag to MapValue and friends which indicates whether any module-level mappings are being made. In the common case of inlining, no module-level mappings are needed, so MapValue doesn't need to examine non-function-local metadata, which can be very expensive in the case of a large module with really deep metadata (e.g. a large C++ program compiled with -g). This flag is a little awkward; perhaps eventually it can be moved into the ClonedCodeInfo class. llvm-svn: 112190
* Reapply r110396, with fixes to appease the Linux buildbot gods.Owen Anderson2010-08-062-2/+2
| | | | llvm-svn: 110460
* Revert r110396 to fix buildbots.Owen Anderson2010-08-062-2/+2
| | | | llvm-svn: 110410
* Don't use PassInfo* as a type identifier for passes. Instead, use the ↵Owen Anderson2010-08-052-2/+2
| | | | | | | | address of the static ID member as the sole unique type identifier. Clean up APIs related to this change. llvm-svn: 110396
* do not (implicitly) dereference iterator many times, cache it insteadGabor Greif2010-07-231-2/+3
| | | | llvm-svn: 109222
* Use ValueMap instead of DenseMap.Devang Patel2010-06-242-14/+14
| | | | | | The ValueMapper used by various cloning utility maps MDNodes also. llvm-svn: 106706
* Add const qualifiers to CodeGen's use of LLVM IR constructs.Dan Gohman2010-04-151-1/+1
| | | | llvm-svn: 101334
* The cloner has nothing to do if any of the main or ISR entrypoints are not Sanjiv Gupta2010-02-261-0/+3
| | | | | | present in the module. llvm-svn: 97232
* Reapply things reverted back in 97220, with the fixed test case.Sanjiv Gupta2010-02-261-2/+2
| | | | llvm-svn: 97228
* Revert r97211 and r97213 to get the build green again.Chandler Carruth2010-02-261-2/+2
| | | | llvm-svn: 97220
* Currently in LLVM, names of libcalls are assigned during TargetLoweringSanjiv Gupta2010-02-261-2/+2
| | | | | | | | object construction. There is no provision to change them when the code for a function generated. So we have to change these names while printing assembly. llvm-svn: 97213
* Remap the call sites of a shared function in interrupt line functions.Sanjiv Gupta2010-02-182-0/+27
| | | | llvm-svn: 96591
* Re-factoring.Sanjiv Gupta2010-02-182-67/+90
| | | | llvm-svn: 96589
* Added routine to clone the body of a function and maintain a map of alreadySanjiv Gupta2010-02-172-0/+45
| | | | | | cloned functions. llvm-svn: 96485
* Added a function to clone locals of a function.( which for pic16 are globalsSanjiv Gupta2010-02-171-1/+31
| | | | | | with mangled names). llvm-svn: 96465
* Removed header files from .h by adding forward decls.Sanjiv Gupta2010-02-172-22/+27
| | | | | | | Renamed PIC16FrameOverlay namespace to PIC16OVERLAY. Renamed PIC16FrameOverlay class to PIC16Overlay. llvm-svn: 96463
* Initial implementation of PIC16 Cloner pass.Sanjiv Gupta2010-02-172-0/+254
| | | | | | | | | | | | | This pass is supposed to be run on the linked .bc module. It traveses the module call graph twice. Once starting from the main function and marking each reached function as "ML". Again, starting from the ISR and cloning any reachable function that was marked as "ML". After cloning the function, it remaps all the call sites in IL functions to call the cloned functions. Currently only marking is being done. llvm-svn: 96435
* make -fno-rtti the default unless a directory builds with REQUIRES_RTTI.Chris Lattner2010-01-241-1/+0
| | | | llvm-svn: 94378
* Stop building RTTI information for *most* llvm libraries. NotableChris Lattner2010-01-221-0/+1
| | | | | | | | | | | missing ones are libsupport, libsystem and libvmcore. libvmcore is currently blocked on bugpoint, which uses EH. Once it stops using EH, we can switch it off. This #if 0's out 3 unit tests, because gtest requires RTTI information. Suggestions welcome on how to fix this. llvm-svn: 94164
* Revert r85134, it breaks mingw buildAnton Korobeynikov2009-10-262-5/+3
| | | | llvm-svn: 85138
* Make PIC16 overlay a loadable pass.Sanjiv Gupta2009-10-262-4/+4
| | | | llvm-svn: 85134
* Revert r84764, it breaks mingw buildAnton Korobeynikov2009-10-211-1/+1
| | | | llvm-svn: 84783
* Build shared lib instead of an archive.Sanjiv Gupta2009-10-211-1/+1
| | | | llvm-svn: 84764
* Add a pass to overlay pic16 data sections for function frame and automaticSanjiv Gupta2009-10-213-0/+253
| | | | | | | | variables. This pass can be invoked by llvm-ld or opt to traverse over the call graph to detect what function frames and their automatic variables can be overlaid. Currently this builds an archive , but needs to be changed to a loadable module. llvm-svn: 84753
* Revert r79563Chris Lattner2009-08-212-177/+0
| | | | llvm-svn: 79691
* revert r79631Chris Lattner2009-08-212-0/+0
| | | | llvm-svn: 79686
* revert 79631Chris Lattner2009-08-213-117/+0
| | | | llvm-svn: 79685
* Add a pass to do call graph analyis to overlay the autos and frame sections of Sanjiv Gupta2009-08-213-0/+117
| | | | | | | leaf functions. This pass will be extended to color other nodes of the call tree as well in future. llvm-svn: 79631
* Remove #include <iostream>.Bill Wendling2009-08-211-1/+0
| | | | llvm-svn: 79603
* part of the previous commit for PIC16 ISR implementation.Sanjiv Gupta2009-08-202-0/+178
llvm-svn: 79563
OpenPOWER on IntegriCloud