llvm-project/llvm/lib/Target/LoongArch
wanglei a1c6743922 [LoongArch] Construct codegen infra and generate first add instruction.
This patch constructs codegen infra and successfully generate the first
'add' instruction. Add integer calling convention for fixed arguments which
are passed with general-purpose registers.

New test added here:

  CodeGen/LoongArch/ir-instruction/add.ll

The test file is placed in a subdirectory because we will use
subdirctories to distinguish different categories of tests (e.g.
 intrinsic, inline-asm ...)

Reviewed By: MaskRay, SixWeining

Differential Revision: https://reviews.llvm.org/D122366
2022-03-31 11:57:07 +08:00
..
AsmParser [LoongArch] Fix several Clang warnings. NFC 2022-03-25 22:15:35 -07:00
Disassembler [Disassember][NFCI] Use strong type for instruction decoder 2022-03-25 18:53:59 -07:00
MCTargetDesc [LoongArch] Fix several Clang warnings. NFC 2022-03-25 22:15:35 -07:00
TargetInfo
CMakeLists.txt [LoongArch] Add basic support to Disassembler 2022-03-10 17:08:31 +08:00
LoongArch.h [LoongArch] Construct codegen infra and generate first add instruction. 2022-03-31 11:57:07 +08:00
LoongArch.td
LoongArchAsmPrinter.cpp
LoongArchAsmPrinter.h
LoongArchCallingConv.td
LoongArchFrameLowering.cpp
LoongArchFrameLowering.h
LoongArchISelDAGToDAG.cpp
LoongArchISelDAGToDAG.h
LoongArchISelLowering.cpp [LoongArch] Construct codegen infra and generate first add instruction. 2022-03-31 11:57:07 +08:00
LoongArchISelLowering.h [LoongArch] Construct codegen infra and generate first add instruction. 2022-03-31 11:57:07 +08:00
LoongArchInstrFormats.td [LoongArch] Construct codegen infra and generate first add instruction. 2022-03-31 11:57:07 +08:00
LoongArchInstrInfo.cpp [LoongArch] Construct codegen infra and generate first add instruction. 2022-03-31 11:57:07 +08:00
LoongArchInstrInfo.h [LoongArch] Construct codegen infra and generate first add instruction. 2022-03-31 11:57:07 +08:00
LoongArchInstrInfo.td [LoongArch] Construct codegen infra and generate first add instruction. 2022-03-31 11:57:07 +08:00
LoongArchMCInstLower.cpp
LoongArchMachineFunctionInfo.h
LoongArchRegisterInfo.cpp
LoongArchRegisterInfo.h
LoongArchRegisterInfo.td
LoongArchSubtarget.cpp
LoongArchSubtarget.h
LoongArchTargetMachine.cpp [LoongArch] Construct codegen infra and generate first add instruction. 2022-03-31 11:57:07 +08:00
LoongArchTargetMachine.h