33 #define DEBUG_TYPE "asm-printer"
38 explicit BPFAsmPrinter(
TargetMachine &
TM, std::unique_ptr<MCStreamer> Streamer)
41 StringRef getPassName()
const override {
return "BPF Assembly Printer"; }
52 MCInstLowering.Lower(MI, TmpInst);
53 EmitToStreamer(*OutStreamer, TmpInst);
This file declares the MachineConstantPool class which is an abstract constant pool to keep track of ...
Instances of this class represent a single low-level machine instruction.
This class is intended to be used as a driving class for all asm writers.
static GCMetadataPrinterRegistry::Add< ErlangGCPrinter > X("erlang","erlang-compatible garbage collector")
Representation of each machine instruction.
Target & getTheBPFleTarget()
RegisterAsmPrinter - Helper template for registering a target specific assembly printer, for use in the target machine initialization function.
void LLVMInitializeBPFAsmPrinter()
Primary interface to the complete machine description for the target machine.
StringRef - Represent a constant reference to a string, i.e.
static GCMetadataPrinterRegistry::Add< OcamlGCMetadataPrinter > Y("ocaml","ocaml 3.10-compatible collector")
Target & getTheBPFbeTarget()
Target & getTheBPFTarget()