45 X(
"erlang",
"erlang-compatible garbage collector");
49 void ErlangGCPrinter::beginAssembly(
AsmPrinter &AP) { }
51 void ErlangGCPrinter::finishAssembly(
AsmPrinter &AP) {
61 for (iterator FI =
begin(), FE =
end(); FI != FE; ++FI) {
101 unsigned RegisteredArgs = IntPtrSize == 4 ? 5 : 6;
116 OS.
AddComment(
"stack index (offset / wordsize)");
const_iterator end(StringRef path)
Get end iterator over path.
virtual void AddComment(const Twine &T)
unsigned getPointerSize(unsigned AS=0) const
void EmitLabelPlusOffset(const MCSymbol *Label, uint64_t Offset, unsigned Size, bool IsSectionRelative=false) const
const MCSectionELF * getELFSection(StringRef Section, unsigned Type, unsigned Flags, SectionKind Kind)
static SectionKind getDataRel()
const_iterator begin(StringRef path)
Get begin iterator over path.
LoopInfoBase< BlockT, LoopT > * LI
void linkErlangGCPrinter()
Creates an erlang-compatible metadata printer.
std::vector< GCPoint >::iterator iterator
void SwitchSection(const MCSection *Section, const MCExpr *Subsection=0)
void EmitInt16(int Value) const
MCContext & getContext() const
uint64_t getFrameSize() const
size_t live_size(const iterator &p) const
live_iterator live_begin(const iterator &p)
virtual const DataLayout * getDataLayout() const
void EmitAlignment(unsigned NumBits, const GlobalValue *GV=0) const
const TargetLoweringObjectFile & getObjFileLowering() const
getObjFileLowering - Return information about object file lowering.
const Function & getFunction() const
live_iterator live_end(const iterator &p)
std::vector< GCRoot >::const_iterator live_iterator
static RegisterPass< NVPTXAllocaHoisting > X("alloca-hoisting","Hoisting alloca instructions in non-entry ""blocks to the entry block")