Enable emitting of constant values in non-default address space as well. The APIs...
authorSanjiv Gupta <sanjiv.gupta@microchip.com>
Fri, 30 Jan 2009 04:25:10 +0000 (04:25 +0000)
committerSanjiv Gupta <sanjiv.gupta@microchip.com>
Fri, 30 Jan 2009 04:25:10 +0000 (04:25 +0000)
commitc8d7bc850ddf5a5df503a173b0bc0f8c03ffec96
tree63c0d229e09fd5c3a9e90677ac7cd1b4a091eefc
parent826d11463b3fb0ecadae532821e6d11170276dc1
Enable emitting of constant values in non-default address space as well. The APIs emitting constants now take an additional parameter signifying the address space in which to emit. The APIs like getData8BitsDirective() etc are made virtual enabling targets to be able to define appropirate directivers for various sizes and address spaces.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63377 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/AsmPrinter.h
include/llvm/Target/TargetAsmInfo.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/Target/PIC16/PIC16AsmPrinter.cpp
lib/Target/PIC16/PIC16AsmPrinter.h
lib/Target/PIC16/PIC16TargetAsmInfo.cpp
lib/Target/PIC16/PIC16TargetAsmInfo.h