Implement support for ISRs.
authorSanjiv Gupta <sanjiv.gupta@microchip.com>
Thu, 20 Aug 2009 19:28:24 +0000 (19:28 +0000)
committerSanjiv Gupta <sanjiv.gupta@microchip.com>
Thu, 20 Aug 2009 19:28:24 +0000 (19:28 +0000)
commiteb01abaad1b0c0987ffcd679824cbeeb2a083199
tree00045cdb77c9fb8a7fe4ff5000d2d4eed2df0a38
parent72689b4094570666f3aa8e003186998805a06b45
Implement support for ISRs.
Clone functions that are shared between the Main thread and Interrupt thread.
CallSites are changed in AsmPrinter currently. A better solution would have been to modify the legalizer (SoftenFloat) to allow targets to change the name of libcalls for float operations. But that currently breaks other targets.
Also, cloing of automatic variables is done AsmPrinter, a better approach would
be to use the ValueMap in CloneFunction itself.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79562 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp
lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.h
lib/Target/PIC16/Makefile
lib/Target/PIC16/PIC16.h
lib/Target/PIC16/PIC16ISelLowering.cpp
lib/Target/PIC16/PIC16ISelLowering.h
lib/Target/PIC16/PIC16InstrInfo.td
lib/Target/PIC16/PIC16PAN.h [new file with mode: 0644]
lib/Target/PIC16/PIC16TargetObjectFile.cpp
lib/Target/PIC16/PIC16TargetObjectFile.h