Name Date Size #Lines LOC

..--

AsmParser/H25-Apr-2025-608492

Disassembler/H25-Apr-2025-407347

MCTargetDesc/H25-Apr-2025-1,000669

TargetInfo/H25-Apr-2025-7042

CMakeLists.txtH A D25-Apr-20251 KiB3328

LLVMBuild.txtH A D25-Apr-20251 KiB3430

MSP430.hH A D25-Apr-20251.3 KiB4926

MSP430.tdH A D25-Apr-20253.4 KiB9269

MSP430AsmPrinter.cppH A D25-Apr-20256.7 KiB191140

MSP430BranchSelector.cppH A D25-Apr-20258.6 KiB258147

MSP430CallingConv.tdH A D25-Apr-20251.5 KiB3730

MSP430FrameLowering.cppH A D25-Apr-202510.5 KiB300200

MSP430FrameLowering.hH A D25-Apr-20252.1 KiB5531

MSP430ISelDAGToDAG.cppH A D25-Apr-202514.4 KiB461344

MSP430ISelLowering.cppH A D25-Apr-202561.4 KiB1,6251,198

MSP430ISelLowering.hH A D25-Apr-20257.8 KiB187107

MSP430InstrFormats.tdH A D25-Apr-202512.3 KiB441369

MSP430InstrInfo.cppH A D25-Apr-202510.4 KiB321236

MSP430InstrInfo.hH A D25-Apr-20253.2 KiB8250

MSP430InstrInfo.tdH A D25-Apr-202543.9 KiB1,042923

MSP430MCInstLower.cppH A D25-Apr-20255 KiB160121

MSP430MCInstLower.hH A D25-Apr-20251.4 KiB4728

MSP430MachineFunctionInfo.cppH A D25-Apr-2025478 143

MSP430MachineFunctionInfo.hH A D25-Apr-20252.2 KiB6225

MSP430RegisterInfo.cppH A D25-Apr-20255.2 KiB161114

MSP430RegisterInfo.hH A D25-Apr-20251.5 KiB4621

MSP430RegisterInfo.tdH A D25-Apr-20253.1 KiB8676

MSP430Subtarget.cppH A D25-Apr-20252.1 KiB6238

MSP430Subtarget.hH A D25-Apr-20252.6 KiB8051

MSP430TargetMachine.cppH A D25-Apr-20253 KiB8658

MSP430TargetMachine.hH A D25-Apr-20251.5 KiB4925

README.txtH A D25-Apr-20251.6 KiB4227

README.txt

1//===---------------------------------------------------------------------===//
2// MSP430 backend.
3//===---------------------------------------------------------------------===//
4
5DISCLAIMER: This backend should be considered as highly experimental. I never
6seen nor worked with this MCU, all information was gathered from datasheet
7only. The original intention of making this backend was to write documentation
8of form "How to write backend for dummies" :) Thes notes hopefully will be
9available pretty soon.
10
11Some things are incomplete / not implemented yet (this list surely is not
12complete as well):
13
141. Verify, how stuff is handling implicit zext with 8 bit operands (this might
15be modelled currently in improper way - should we need to mark the superreg as
16def for every 8 bit instruction?).
17
182. Libcalls: multiplication, division, remainder. Note, that calling convention
19for libcalls is incomptible with calling convention of libcalls of msp430-gcc
20(these cannot be used though due to license restriction).
21
223. Implement multiplication / division by constant (dag combiner hook?).
23
244. Implement non-constant shifts.
25
265. Implement varargs stuff.
27
286. Verify and fix (if needed) how's stuff playing with i32 / i64.
29
307. Implement floating point stuff (softfp?)
31
328. Implement instruction encoding for (possible) direct code emission in the
33future.
34
359. Since almost all instructions set flags - implement brcond / select in better
36way (currently they emit explicit comparison).
37
3810. Handle imm in comparisons in better way (see comment in MSP430InstrInfo.td)
39
4011. Implement hooks for better memory op folding, etc.
41
42