LLVM  9.0.0svn
Functions | Variables
OcamlGCPrinter.cpp File Reference
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/Twine.h"
#include "llvm/CodeGen/AsmPrinter.h"
#include "llvm/CodeGen/BuiltinGCs.h"
#include "llvm/CodeGen/GCMetadata.h"
#include "llvm/CodeGen/GCMetadataPrinter.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/Mangler.h"
#include "llvm/IR/Module.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCDirectives.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Target/TargetLoweringObjectFile.h"
#include <cctype>
#include <cstddef>
#include <cstdint>
#include <string>
Include dependency graph for OcamlGCPrinter.cpp:

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")
 

Function Documentation

◆ EmitCamlGlobal()

static void EmitCamlGlobal ( const Module M,
AsmPrinter AP,
const char Id 
)
static

Variable Documentation

◆ Y

GCMetadataPrinterRegistry::Add<OcamlGCMetadataPrinter> Y("ocaml", "ocaml 3.10-compatible collector")
static

Referenced by llvm::TargetLowering::BuildUDIV(), canonicalizeBitSelect(), canonicalizeSaturatedAdd(), llvm::cast(), checkForNegativeOperand(), combineADDCARRYDiamond(), combineAddOrSubToADCOrSBB(), combineANDXORWithAllOnesIntoANDNP(), combineLogicBlendIntoConditionalNegate(), combineLogicBlendIntoPBLENDV(), combineVectorSizedSetCCEquality(), llvm::InstCombiner::commonIDivTransforms(), computeKnownBitsFromOperator(), llvm::codeview::consume(), llvm::MCDwarfFrameEmitter::Emit(), llvm::InnerLoopVectorizer::emitTransformedIndex(), extractBooleanFlip(), factorizeFAddFSub(), FixedPointIntrinsicToOpcode(), foldCttzCtlz(), foldGuardedRotateToFunnelShift(), foldICmpShlOne(), foldICmpWithHighBitMask(), foldICmpWithLowBitMaskedVal(), foldICmpWithMinMax(), foldIdentityExtractShuffle(), foldIdentityPaddedShuffles(), foldNoWrapAdd(), foldSelectBinOpIdentity(), foldSelectICmpAndAnd(), foldSelectICmpAndOr(), foldSelectICmpLshrAshr(), foldSelectShuffle(), foldShiftIntoShiftInAnotherHandOfAndInICmp(), foldShuffleOfConcatUndefs(), foldToUnsignedSaturatedAdd(), getFPTernOp(), llvm::DependenceInfo::getFunction(), llvm::BasicTTIImplBase< AMDGPUTTIImpl >::getIntrinsicInstrCost(), getPermuteMask(), GetRangeFromMetadata(), llvm::SelectionDAG::getSelectCC(), getVectorCompareInfo(), llvm::X86TargetLowering::hasAndNotCompare(), hasZeroSignBit(), hoistInsEltConst(), INITIALIZE_PASS(), llvm::isa(), isContractable(), isEqualImpl(), isKnownNonZero(), isKnownToBeAPowerOfTwo(), isMemOPCandidate(), llvm::X86TargetLowering::isMultiStoresCheaperThanBitsMerge(), isRemainderZero(), llvm::isSplatValue(), llvm::FullDependence::isSplitable(), LLVMInitializeAArch64AsmParser(), LLVMInitializeAArch64AsmPrinter(), LLVMInitializeAArch64Target(), LLVMInitializeAMDGPUTarget(), LLVMInitializeARMAsmParser(), LLVMInitializeARMAsmPrinter(), LLVMInitializeARMTarget(), LLVMInitializeARMTargetInfo(), LLVMInitializeBPFAsmParser(), LLVMInitializeBPFAsmPrinter(), LLVMInitializeBPFTarget(), LLVMInitializeBPFTargetInfo(), LLVMInitializeMipsAsmParser(), LLVMInitializeMipsAsmPrinter(), LLVMInitializeMipsTarget(), LLVMInitializeMipsTargetInfo(), LLVMInitializeNVPTXAsmPrinter(), LLVMInitializeNVPTXTarget(), LLVMInitializeNVPTXTargetInfo(), LLVMInitializePowerPCTargetInfo(), LLVMInitializeRISCVAsmParser(), LLVMInitializeRISCVAsmPrinter(), LLVMInitializeRISCVTarget(), LLVMInitializeRISCVTargetInfo(), LLVMInitializeSparcAsmPrinter(), LLVMInitializeSparcTarget(), LLVMInitializeSparcTargetInfo(), LLVMInitializeSparcTargetMC(), LLVMInitializeWebAssemblyAsmParser(), LLVMInitializeWebAssemblyAsmPrinter(), LLVMInitializeWebAssemblyTarget(), LLVMInitializeWebAssemblyTargetInfo(), LLVMInitializeX86AsmParser(), LLVMInitializeX86AsmPrinter(), LLVMInitializeX86Target(), LLVMInitializeX86TargetInfo(), loadYAML(), LowerADDSAT_SUBSAT(), llvm::HexagonTargetLowering::LowerAddSubCarry(), lowerFCOPYSIGN32(), lowerFCOPYSIGN64(), llvm::AMDGPUTargetLowering::LowerFREM(), LowerSDIV_v4i8(), llvm::HexagonTargetLowering::LowerUAddSubO(), matchSwap(), minAPInt(), MinOptional(), narrowExtractedVectorBinOp(), narrowUDivURem(), llvm::operator!=(), llvm::operator<(), llvm::operator<=(), llvm::operator==(), llvm::operator>=(), optimizeDivRem(), llvm::SITargetLowering::passSpecialInputs(), llvm::ARMTargetLowering::PerformCMOVToBFICombine(), processUGT_ADDCST_ADD(), reassociateFCmps(), replaceAllUsesOfWithIn(), llvm::SaturatingAdd(), llvm::SaturatingMultiply(), scalarizeBinOpOfSplats(), shouldMergeGEPs(), SimplifyAddInst(), SimplifyAndInst(), simplifyAndOrOfICmpsWithZero(), simplifyDivRem(), simplifyICmpWithBinOp(), SimplifyLShrInst(), simplifySelectWithICmpCond(), SimplifySubInst(), simplifyUnsignedRangeCheck(), sinkNotIntoXor(), llvm::opt::StrCmpOptionNameIgnoreCase(), stripTruncAndExt(), tryFoldToZero(), tryLowerToSLI(), llvm::unique_dyn_cast(), llvm::unique_dyn_cast_or_null(), llvm::InstCombiner::visitAnd(), llvm::InstCombiner::visitCallInst(), llvm::InstCombiner::visitExtractElementInst(), llvm::InstCombiner::visitFCmpInst(), llvm::InstCombiner::visitFDiv(), llvm::InstCombiner::visitFMul(), llvm::InstCombiner::visitFNeg(), llvm::InstCombiner::visitFSub(), llvm::InstCombiner::visitGetElementPtrInst(), llvm::InstCombiner::visitMul(), llvm::InstCombiner::visitOr(), llvm::InstCombiner::visitSDiv(), llvm::InstCombiner::visitSRem(), llvm::InstCombiner::visitSub(), and llvm::InstCombiner::visitXor().