llvm-project/llvm/lib/Target/RISCV
Matthias Braun 5e394c3d6f TargetPassConfig: Keep a reference to an LLVMTargetMachine; NFC
TargetPassConfig is not useful for targets that do not use the CodeGen
library, so we may just as well store a pointer to an
LLVMTargetMachine instead of just to a TargetMachine.

While at it, also change the constructor to take a reference instead of a
pointer as the TM must not be nullptr.

llvm-svn: 304247
2017-05-30 21:36:41 +00:00
..
MCTargetDesc Distinguish between code pointer size and DataLayout::getPointerSize() in DWARF info generation 2017-04-17 17:41:25 +00:00
TargetInfo [RISCV] Add bare-bones RISC-V MCTargetDesc 2016-11-01 23:47:30 +00:00
CMakeLists.txt [RISCV] Add bare-bones RISC-V MCTargetDesc 2016-11-01 23:47:30 +00:00
LLVMBuild.txt [RISCV] Add bare-bones RISC-V MCTargetDesc 2016-11-01 23:47:30 +00:00
RISCV.td
RISCVInstrFormats.td [RISCV] Pseudo instructions are isCodeGenOnly, have blank asmstr 2017-02-14 05:17:23 +00:00
RISCVInstrInfo.td
RISCVRegisterInfo.td
RISCVTargetMachine.cpp TargetPassConfig: Keep a reference to an LLVMTargetMachine; NFC 2017-05-30 21:36:41 +00:00
RISCVTargetMachine.h [RISCV] Add bare-bones RISC-V MCTargetDesc 2016-11-01 23:47:30 +00:00