LLVM API Documentation

MCAsmStreamer.cpp File Reference

#include "llvm/MC/MCStreamer.h"
#include "llvm/CodeGen/AsmPrinter.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCSectionMachO.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/MC/MCValue.h"
#include "llvm/Target/TargetAsmInfo.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/raw_ostream.h"

Include dependency graph for MCAsmStreamer.cpp:

Go to the source code of this file.

Functions

static raw_ostream & operator<< (raw_ostream &os, const MCSymbol *S)
 Allow printing symbols directly to a raw_ostream with proper quoting.
static raw_ostream & operator<< (raw_ostream &os, const MCValue &Value)
 Allow printing values directly to a raw_ostream.
static int64_t truncateToSize (int64_t Value, unsigned Bytes)
static MCValue truncateToSize (const MCValue &Value, unsigned Bytes)
static raw_ostream & operator<< (raw_ostream &OS, const MCOperand &Op)
MCStreamer * llvm::createAsmStreamer (MCContext &Ctx, raw_ostream &OS, const TargetAsmInfo &TAI, AsmPrinter *AP=0)


Function Documentation

static raw_ostream& operator<< ( raw_ostream &  OS,
const MCOperand &  Op 
) [static]

static raw_ostream& operator<< ( raw_ostream &  os,
const MCValue &  Value 
) [inline, static]

Allow printing values directly to a raw_ostream.

Definition at line 86 of file MCAsmStreamer.cpp.

References llvm::MCValue::print().

static raw_ostream& operator<< ( raw_ostream &  os,
const MCSymbol *  S 
) [inline, static]

Allow printing symbols directly to a raw_ostream with proper quoting.

Definition at line 80 of file MCAsmStreamer.cpp.

References llvm::MCSymbol::print().

static MCValue truncateToSize ( const MCValue &  Value,
unsigned  Bytes 
) [inline, static]

static int64_t truncateToSize ( int64_t  Value,
unsigned  Bytes 
) [inline, static]

Definition at line 91 of file MCAsmStreamer.cpp.

Referenced by truncateToSize().


Variable Documentation

Definition at line 26 of file MCAsmStreamer.cpp.