LLVM API Documentation
#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"
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) |
| static raw_ostream& operator<< | ( | raw_ostream & | OS, | |
| const MCOperand & | Op | |||
| ) | [static] |
Definition at line 279 of file MCAsmStreamer.cpp.
References llvm::MCOperand::getImm(), llvm::MCOperand::getMBBLabelBlock(), llvm::MCOperand::getMBBLabelFunction(), llvm::MCOperand::getMCValue(), llvm::MCOperand::getReg(), llvm::MCOperand::isImm(), llvm::MCOperand::isMBBLabel(), llvm::MCOperand::isMCValue(), and llvm::MCOperand::isReg().
| 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().
Definition at line 96 of file MCAsmStreamer.cpp.
References llvm::MCValue::getConstant(), llvm::MCValue::getSymA(), llvm::MCValue::getSymB(), and truncateToSize().
| static int64_t truncateToSize | ( | int64_t | Value, | |
| unsigned | Bytes | |||
| ) | [inline, static] |
Definition at line 26 of file MCAsmStreamer.cpp.
Definition at line 28 of file MCAsmStreamer.cpp.
Referenced by llvm::LLVMTargetMachine::addAssemblyEmitter(), llvm::createGCInfoPrinter(), llvm::createMachineFunctionPrinterPass(), and llvm::WriteTypeSymbolic().
| const TargetAsmInfo& TAI |
Definition at line 27 of file MCAsmStreamer.cpp.
Referenced by llvm::ARMBaseInstrInfo::GetInstSizeInBytes(), and llvm::Dwarf::getTargetAsmInfo().