llvm-project/llvm/lib/Target/CSKY
Zi Xuan Wu 3297758901 [CSKY] Enable TargetAsmStreamer/ELFStreamer and support asm directive of csky_attribute
Add support of parsing .csky_attribute directive and emit related target attributes in .csky.attribute section.
It does not emit attribute directive in assembly code, so only emit target attributes in ELF streamer.
In ELF streamer, it handles the header EFlag and the csky_attribute section which contains some attribute items.
The EFlag and attribute items are calculated from feature bits based on Subtarget.
2022-03-08 14:00:38 +08:00
..
AsmParser [CSKY] Enable TargetAsmStreamer/ELFStreamer and support asm directive of csky_attribute 2022-03-08 14:00:38 +08:00
Disassembler [CSKY] Add CSKYDisassembler.cpp to construct objdump 2022-02-08 16:02:59 +08:00
MCTargetDesc [CSKY] Enable TargetAsmStreamer/ELFStreamer and support asm directive of csky_attribute 2022-03-08 14:00:38 +08:00
TargetInfo Fix shlib builds for all lib/Target/*/TargetInfo libs 2021-10-08 15:21:13 -07:00
CMakeLists.txt [CSKY] Add CSKYDisassembler.cpp to construct objdump 2022-02-08 16:02:59 +08:00
CSKY.h [CSKY] Add CSKYConstantIslands Pass to lift or duplicate constant pool entry 2022-01-11 16:17:11 +08:00
CSKY.td [CSKY] Add CK800 series ProcessorModel and complete related SubtargetFeatures 2022-02-08 16:02:59 +08:00
CSKYAsmPrinter.cpp [CSKY] Enable TargetAsmStreamer/ELFStreamer and support asm directive of csky_attribute 2022-03-08 14:00:38 +08:00
CSKYAsmPrinter.h [CSKY] Enable TargetAsmStreamer/ELFStreamer and support asm directive of csky_attribute 2022-03-08 14:00:38 +08:00
CSKYCallingConv.h [CSKY] First patch to construct codegen infra and generate first add instruction 2021-11-01 10:06:56 +08:00
CSKYCallingConv.td Ensure newlines at the end of files (NFC) 2021-12-12 11:04:44 -08:00
CSKYConstantIslandPass.cpp [CSKY] Add floating operation support including float and double 2022-01-27 15:54:04 +08:00
CSKYConstantPoolValue.cpp [CSKY] Ensure a newline at the end of a file (NFC) 2022-01-12 22:11:57 -08:00
CSKYConstantPoolValue.h [CSKY] Lower leaf DAG node such as global symbol, frame address and jumptable, etc. 2022-01-10 14:35:07 +08:00
CSKYFrameLowering.cpp [CSKY] Add codegen of select/br/cmp instruction and some frame lowering infra 2022-01-05 15:59:03 +08:00
CSKYFrameLowering.h [CSKY] Add codegen of select/br/cmp instruction and some frame lowering infra 2022-01-05 15:59:03 +08:00
CSKYISelDAGToDAG.cpp [CSKY] Add inline asm constraints and related codegen support 2022-02-07 17:45:37 +08:00
CSKYISelLowering.cpp [CSKY] Add inline asm constraints and related codegen support 2022-02-07 17:45:37 +08:00
CSKYISelLowering.h [CSKY] Add inline asm constraints and related codegen support 2022-02-07 17:45:37 +08:00
CSKYInstrFormats.td Ensure newlines at the end of files (NFC) 2021-10-23 08:45:29 -07:00
CSKYInstrFormats16Instr.td [CSKY] Add compressed instruction mapping between 32-bit and 16-bit instruction 2021-12-06 14:04:54 +08:00
CSKYInstrFormatsF1.td [CSKY] Add floating operation support including float and double 2022-01-27 15:54:04 +08:00
CSKYInstrFormatsF2.td [CSKY] Add floating operation support including float and double 2022-01-27 15:54:04 +08:00
CSKYInstrInfo.cpp [CSKY] Add floating operation support including float and double 2022-01-27 15:54:04 +08:00
CSKYInstrInfo.h [CSKY] Add floating operation support including float and double 2022-01-27 15:54:04 +08:00
CSKYInstrInfo.td [CSKY] Add floating operation support including float and double 2022-01-27 15:54:04 +08:00
CSKYInstrInfo16Instr.td [CSKY] Add compressed instruction mapping between 32-bit and 16-bit instruction 2021-12-06 14:04:54 +08:00
CSKYInstrInfoF1.td [CSKY] Add floating operation support including float and double 2022-01-27 15:54:04 +08:00
CSKYInstrInfoF2.td [CSKY] Add floating operation support including float and double 2022-01-27 15:54:04 +08:00
CSKYMCInstLower.cpp Ensure newlines at the end of files (NFC) 2021-12-12 11:04:44 -08:00
CSKYMCInstLower.h [CSKY] First patch to construct codegen infra and generate first add instruction 2021-11-01 10:06:56 +08:00
CSKYMachineFunctionInfo.h [CSKY] First patch to construct codegen infra and generate first add instruction 2021-11-01 10:06:56 +08:00
CSKYRegisterInfo.cpp [CSKY] Add inline asm constraints and related codegen support 2022-02-07 17:45:37 +08:00
CSKYRegisterInfo.h [CSKY] Complete codegen of basic arithmetic and load/store operations 2021-12-09 11:40:20 +08:00
CSKYRegisterInfo.td [CSKY] Add CSKYDisassembler.cpp to construct objdump 2022-02-08 16:02:59 +08:00
CSKYSubtarget.cpp [CSKY] Add CK800 series ProcessorModel and complete related SubtargetFeatures 2022-02-08 16:02:59 +08:00
CSKYSubtarget.h [CSKY] Add CK800 series ProcessorModel and complete related SubtargetFeatures 2022-02-08 16:02:59 +08:00
CSKYTargetMachine.cpp [CSKY] Add CSKYConstantIslands Pass to lift or duplicate constant pool entry 2022-01-11 16:17:11 +08:00
CSKYTargetMachine.h [CSKY] Add CSKY 16-bit instruction format and encoding 2021-11-08 10:02:15 +08:00