LLVM API Documentation
#include "llvm/CodeGen/GCs.h"#include "llvm/CodeGen/AsmPrinter.h"#include "llvm/CodeGen/GCMetadataPrinter.h"#include "llvm/Module.h"#include "llvm/Support/Compiler.h"#include "llvm/Support/raw_ostream.h"#include "llvm/Target/TargetAsmInfo.h"#include "llvm/Target/TargetData.h"#include "llvm/Target/TargetMachine.h"
Go to the source code of this file.
Functions | |
| void | llvm::linkOcamlGCPrinter () |
| Creates an ocaml-compatible metadata printer. | |
| static void | EmitCamlGlobal (const Module &M, raw_ostream &OS, AsmPrinter &AP, const TargetAsmInfo &TAI, const char *Id) |
Variables | |
| static GCMetadataPrinterRegistry::Add < OcamlGCMetadataPrinter > | Y ("ocaml","ocaml 3.10-compatible collector") |
| static void EmitCamlGlobal | ( | const Module & | M, | |
| raw_ostream & | OS, | |||
| AsmPrinter & | AP, | |||
| const TargetAsmInfo & | TAI, | |||
| const char * | Id | |||
| ) | [static] |
Definition at line 44 of file OcamlGCPrinter.cpp.
References llvm::TargetAsmInfo::getGlobalDirective(), llvm::TargetAsmInfo::getGlobalPrefix(), and llvm::Module::getModuleIdentifier().
GCMetadataPrinterRegistry::Add<OcamlGCMetadataPrinter> Y("ocaml","ocaml 3.10-compatible collector") [static] |