LLVM API Documentation
#include "llvm/CodeGen/GCs.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/CodeGen/AsmPrinter.h"
#include "llvm/CodeGen/GCMetadataPrinter.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/Mangler.h"
#include "llvm/IR/Module.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/FormattedStream.h"
#include "llvm/Target/TargetLoweringObjectFile.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetSubtargetInfo.h"
#include <cctype>
Go to the source code of this file.
Functions | |
static void | EmitCamlGlobal (const Module &M, AsmPrinter &AP, const char *Id) |
Variables | |
static GCMetadataPrinterRegistry::Add < OcamlGCMetadataPrinter > | Y ("ocaml","ocaml 3.10-compatible collector") |
static void EmitCamlGlobal | ( | const Module & | M, |
AsmPrinter & | AP, | ||
const char * | Id | ||
) | [static] |
Definition at line 48 of file OcamlGCPrinter.cpp.
References llvm::MCStreamer::EmitLabel(), llvm::MCStreamer::EmitSymbolAttribute(), llvm::Module::getModuleIdentifier(), llvm::Mangler::getNameWithPrefix(), llvm::MCContext::GetOrCreateSymbol(), llvm::tgtok::Id, llvm::AsmPrinter::Mang, llvm::MCSA_Global, llvm::AsmPrinter::OutContext, and llvm::AsmPrinter::OutStreamer.
GCMetadataPrinterRegistry::Add<OcamlGCMetadataPrinter> Y("ocaml","ocaml 3.10-compatible collector") [static] |
Referenced by llvm::cast(), checkForNegativeOperand(), foldSelectICmpAndOr(), llvm::ScalarEvolution::getSignedRange(), llvm::ScalarEvolution::getUnsignedRange(), llvm::isa(), isKnownNonZero(), isKnownToBeAPowerOfTwo(), LLVMInitializeAArch64AsmParser(), LLVMInitializeAArch64AsmPrinter(), LLVMInitializeAArch64Target(), LLVMInitializeAArch64TargetMC(), LLVMInitializeARMAsmParser(), LLVMInitializeARMAsmPrinter(), LLVMInitializeARMTarget(), LLVMInitializeARMTargetInfo(), LLVMInitializeARMTargetMC(), LLVMInitializeMipsAsmParser(), LLVMInitializeMipsAsmPrinter(), LLVMInitializeMipsTarget(), LLVMInitializeMipsTargetInfo(), LLVMInitializeMipsTargetMC(), LLVMInitializeNVPTXAsmPrinter(), LLVMInitializeNVPTXBackendAsmPrinter(), LLVMInitializeNVPTXTarget(), LLVMInitializeNVPTXTargetInfo(), LLVMInitializeNVPTXTargetMC(), LLVMInitializePowerPCTargetInfo(), LLVMInitializeR600TargetMC(), LLVMInitializeSparcAsmPrinter(), LLVMInitializeSparcTarget(), LLVMInitializeSparcTargetInfo(), LLVMInitializeSparcTargetMC(), LLVMInitializeX86AsmParser(), LLVMInitializeX86AsmPrinter(), LLVMInitializeX86Target(), LLVMInitializeX86TargetInfo(), lowerFCOPYSIGN32(), lowerFCOPYSIGN64(), LowerSDIV_v4i8(), PerformOrCombine(), llvm::HexagonMCInst::setPacketEnd(), llvm::HexagonMCInst::setPacketStart(), SimplifyAddInst(), SimplifyDiv(), SimplifyICmpInst(), SimplifySubInst(), llvm::opt::StrCmpOptionNameIgnoreCase(), tryLowerToSLI(), llvm::InstCombiner::visitAnd(), llvm::InstCombiner::visitBranchInst(), llvm::InstCombiner::visitFCmpInst(), llvm::InstCombiner::visitFDiv(), llvm::InstCombiner::visitFMul(), llvm::InstCombiner::visitGetElementPtrInst(), llvm::InstCombiner::visitICmpInst(), llvm::InstCombiner::visitICmpInstWithInstAndIntCst(), llvm::InstCombiner::visitMul(), llvm::InstCombiner::visitOr(), and llvm::InstCombiner::visitSub().