|
LLVM
4.0.0
|
#include "llvm/CodeGen/AsmPrinter.h"#include "llvm/ADT/SmallString.h"#include "llvm/ADT/Twine.h"#include "llvm/CodeGen/MachineBasicBlock.h"#include "llvm/CodeGen/MachineFunction.h"#include "llvm/CodeGen/MachineModuleInfo.h"#include "llvm/IR/Constants.h"#include "llvm/IR/DataLayout.h"#include "llvm/IR/InlineAsm.h"#include "llvm/IR/LLVMContext.h"#include "llvm/IR/Module.h"#include "llvm/MC/MCAsmInfo.h"#include "llvm/MC/MCParser/MCTargetAsmParser.h"#include "llvm/MC/MCStreamer.h"#include "llvm/MC/MCSubtargetInfo.h"#include "llvm/MC/MCSymbol.h"#include "llvm/Support/ErrorHandling.h"#include "llvm/Support/MemoryBuffer.h"#include "llvm/Support/SourceMgr.h"#include "llvm/Support/TargetRegistry.h"#include "llvm/Support/raw_ostream.h"#include "llvm/Target/TargetInstrInfo.h"#include "llvm/Target/TargetMachine.h"#include "llvm/Target/TargetRegisterInfo.h"#include "llvm/Target/TargetSubtargetInfo.h"Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "asm-printer" |
Functions | |
| static void | srcMgrDiagHandler (const SMDiagnostic &Diag, void *diagInfo) |
| srcMgrDiagHandler - This callback is invoked when the SourceMgr for an inline asm has an error in it. More... | |
| static void | EmitMSInlineAsmStr (const char *AsmStr, const MachineInstr *MI, MachineModuleInfo *MMI, int InlineAsmVariant, AsmPrinter *AP, unsigned LocCookie, raw_ostream &OS) |
| static void | EmitGCCInlineAsmStr (const char *AsmStr, const MachineInstr *MI, MachineModuleInfo *MMI, int InlineAsmVariant, int AsmPrinterVariant, AsmPrinter *AP, unsigned LocCookie, raw_ostream &OS) |
| #define DEBUG_TYPE "asm-printer" |
Definition at line 41 of file AsmPrinterInlineAsm.cpp.
|
static |
Definition at line 273 of file AsmPrinterInlineAsm.cpp.
References llvm::LLVMContext::emitError(), llvm::StringRef::getAsInteger(), llvm::Module::getContext(), llvm::MachineOperand::getImm(), llvm::MachineOperand::getMBB(), llvm::MachineModuleInfo::getModule(), llvm::InlineAsm::getNumOperandRegisters(), llvm::MachineInstr::getNumOperands(), llvm::MachineInstr::getOperand(), llvm::MachineBasicBlock::getSymbol(), llvm::InlineAsm::isMemKind(), llvm::MachineOperand::isMetadata(), llvm::AsmPrinter::MAI, llvm::InlineAsm::MIOp_FirstOperand, llvm::MCSymbol::print(), llvm::AsmPrinter::PrintAsmMemoryOperand(), llvm::AsmPrinter::PrintAsmOperand(), llvm::AsmPrinter::PrintSpecial(), llvm::report_fatal_error(), llvm::raw_string_ostream::str(), and llvm::raw_ostream::write().
|
static |
Definition at line 158 of file AsmPrinterInlineAsm.cpp.
References llvm::LLVMContext::emitError(), llvm::StringRef::getAsInteger(), llvm::Module::getContext(), llvm::MachineOperand::getImm(), llvm::MachineModuleInfo::getModule(), llvm::InlineAsm::getNumOperandRegisters(), llvm::MachineInstr::getNumOperands(), llvm::MachineInstr::getOperand(), llvm::InlineAsm::isMemKind(), llvm::MachineOperand::isMetadata(), llvm::InlineAsm::MIOp_FirstOperand, llvm::AsmPrinter::PrintAsmMemoryOperand(), llvm::AsmPrinter::PrintAsmOperand(), llvm::AsmPrinter::PrintSpecial(), llvm::report_fatal_error(), llvm::raw_string_ostream::str(), and llvm::raw_ostream::write().
|
static |
srcMgrDiagHandler - This callback is invoked when the SourceMgr for an inline asm has an error in it.
diagInfo is a pointer to the SrcMgrDiagInfo struct above.
Definition at line 54 of file AsmPrinterInlineAsm.cpp.
References assert(), and llvm::SMDiagnostic::getLineNo().
1.8.6