summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PIC16/PIC16Passes/PIC16Cloner.h
Commit message (Collapse)AuthorAgeFilesLines
* Per discussion with Sanjiv, remove the PIC16 target from mainline. When/ifChris Lattner2010-10-111-83/+0
| | | | | | | it comes back, it will be largely a rewrite, so keeping the old codebase in tree isn't helping anyone. llvm-svn: 116190
* Reapply r110396, with fixes to appease the Linux buildbot gods.Owen Anderson2010-08-061-1/+1
| | | | llvm-svn: 110460
* Revert r110396 to fix buildbots.Owen Anderson2010-08-061-1/+1
| | | | llvm-svn: 110410
* Don't use PassInfo* as a type identifier for passes. Instead, use the ↵Owen Anderson2010-08-051-1/+1
| | | | | | | | address of the static ID member as the sole unique type identifier. Clean up APIs related to this change. llvm-svn: 110396
* Use ValueMap instead of DenseMap.Devang Patel2010-06-241-2/+2
| | | | | | The ValueMapper used by various cloning utility maps MDNodes also. llvm-svn: 106706
* Remap the call sites of a shared function in interrupt line functions.Sanjiv Gupta2010-02-181-0/+3
| | | | llvm-svn: 96591
* Re-factoring.Sanjiv Gupta2010-02-181-0/+3
| | | | llvm-svn: 96589
* Added routine to clone the body of a function and maintain a map of alreadySanjiv Gupta2010-02-171-0/+7
| | | | | | cloned functions. llvm-svn: 96485
* Initial implementation of PIC16 Cloner pass.Sanjiv Gupta2010-02-171-0/+70
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
OpenPOWER on IntegriCloud