[PATCH] [RFC v2] BPF backend

Alexei Starovoitov alexei.starovoitov at gmail.com
Mon Dec 8 20:57:43 PST 2014


V1->V2:
- addressed feedback from Tom and Matt
- removed top level change to configure (now everything via 'experimental-backend')
- reworked error reporting via DiagnosticInfo (similar to R600)
- added few more tests
- added cmake build
- added Triple::bpf
- tested on linux and darwin

cc-ing everyone from previous thread.
Thanks!

http://reviews.llvm.org/D6494

Files:
  include/llvm/ADT/Triple.h
  include/llvm/IR/Intrinsics.td
  include/llvm/IR/IntrinsicsBPF.td
  lib/Support/Triple.cpp
  lib/Target/BPF/BPF.h
  lib/Target/BPF/BPF.td
  lib/Target/BPF/BPFAsmPrinter.cpp
  lib/Target/BPF/BPFCallingConv.td
  lib/Target/BPF/BPFFrameLowering.cpp
  lib/Target/BPF/BPFFrameLowering.h
  lib/Target/BPF/BPFISelDAGToDAG.cpp
  lib/Target/BPF/BPFISelLowering.cpp
  lib/Target/BPF/BPFISelLowering.h
  lib/Target/BPF/BPFInstrFormats.td
  lib/Target/BPF/BPFInstrInfo.cpp
  lib/Target/BPF/BPFInstrInfo.h
  lib/Target/BPF/BPFInstrInfo.td
  lib/Target/BPF/BPFMCInstLower.cpp
  lib/Target/BPF/BPFMCInstLower.h
  lib/Target/BPF/BPFRegisterInfo.cpp
  lib/Target/BPF/BPFRegisterInfo.h
  lib/Target/BPF/BPFRegisterInfo.td
  lib/Target/BPF/BPFSubtarget.cpp
  lib/Target/BPF/BPFSubtarget.h
  lib/Target/BPF/BPFTargetMachine.cpp
  lib/Target/BPF/BPFTargetMachine.h
  lib/Target/BPF/CMakeLists.txt
  lib/Target/BPF/InstPrinter/BPFInstPrinter.cpp
  lib/Target/BPF/InstPrinter/BPFInstPrinter.h
  lib/Target/BPF/InstPrinter/CMakeLists.txt
  lib/Target/BPF/InstPrinter/LLVMBuild.txt
  lib/Target/BPF/InstPrinter/Makefile
  lib/Target/BPF/LLVMBuild.txt
  lib/Target/BPF/MCTargetDesc/BPFAsmBackend.cpp
  lib/Target/BPF/MCTargetDesc/BPFELFObjectWriter.cpp
  lib/Target/BPF/MCTargetDesc/BPFMCAsmInfo.h
  lib/Target/BPF/MCTargetDesc/BPFMCCodeEmitter.cpp
  lib/Target/BPF/MCTargetDesc/BPFMCTargetDesc.cpp
  lib/Target/BPF/MCTargetDesc/BPFMCTargetDesc.h
  lib/Target/BPF/MCTargetDesc/CMakeLists.txt
  lib/Target/BPF/MCTargetDesc/LLVMBuild.txt
  lib/Target/BPF/MCTargetDesc/Makefile
  lib/Target/BPF/Makefile
  lib/Target/BPF/TargetInfo/BPFTargetInfo.cpp
  lib/Target/BPF/TargetInfo/CMakeLists.txt
  lib/Target/BPF/TargetInfo/LLVMBuild.txt
  lib/Target/BPF/TargetInfo/Makefile
  lib/Target/LLVMBuild.txt
  test/CodeGen/BPF/alu8.ll
  test/CodeGen/BPF/atomics.ll
  test/CodeGen/BPF/basictest.ll
  test/CodeGen/BPF/byval.ll
  test/CodeGen/BPF/cc_args.ll
  test/CodeGen/BPF/cc_ret.ll
  test/CodeGen/BPF/cmp.ll
  test/CodeGen/BPF/ex1.ll
  test/CodeGen/BPF/intrinsics.ll
  test/CodeGen/BPF/load.ll
  test/CodeGen/BPF/loops.ll
  test/CodeGen/BPF/many_args1.ll
  test/CodeGen/BPF/many_args2.ll
  test/CodeGen/BPF/sanity.ll
  test/CodeGen/BPF/setcc.ll
  test/CodeGen/BPF/shifts.ll
  test/CodeGen/BPF/sockex2.ll
  test/CodeGen/BPF/struct_ret1.ll
  test/CodeGen/BPF/struct_ret2.ll
  test/CodeGen/BPF/vararg1.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6494.17069.patch
Type: text/x-patch
Size: 182063 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141209/85e2806f/attachment.bin>


More information about the llvm-commits mailing list