LLVM API Documentation
#include "XCore.h"#include "XCoreInstrInfo.h"#include "XCoreSubtarget.h"#include "XCoreTargetMachine.h"#include "llvm/Constants.h"#include "llvm/DerivedTypes.h"#include "llvm/Module.h"#include "llvm/CodeGen/AsmPrinter.h"#include "llvm/CodeGen/DwarfWriter.h"#include "llvm/CodeGen/MachineModuleInfo.h"#include "llvm/CodeGen/MachineFunctionPass.h"#include "llvm/CodeGen/MachineConstantPool.h"#include "llvm/CodeGen/MachineInstr.h"#include "llvm/Target/TargetAsmInfo.h"#include "llvm/Target/TargetData.h"#include "llvm/Support/Mangler.h"#include "llvm/ADT/Statistic.h"#include "llvm/ADT/StringExtras.h"#include "llvm/Support/CommandLine.h"#include "llvm/Support/MathExtras.h"#include "llvm/Support/raw_ostream.h"#include <algorithm>#include <cctype>#include "XCoreGenAsmWriter.inc"
Go to the source code of this file.
Defines | |
| #define | DEBUG_TYPE "asm-printer" |
Functions | |
| STATISTIC (EmittedInsts,"Number of machine instrs printed") | |
| FunctionPass * | llvm::createXCoreCodePrinterPass (raw_ostream &OS, XCoreTargetMachine &TM) |
| static void | PrintEscapedString (const std::string &Str, raw_ostream &Out) |
Variables | |
| static cl::opt< std::string > | FileDirective ("xcore-file-directive", cl::Optional, cl::desc("Output a file directive into the assembly file"), cl::Hidden, cl::value_desc("filename"), cl::init("")) |
| static cl::opt< unsigned > | MaxThreads ("xcore-max-threads", cl::Optional, cl::desc("Maximum number of threads (for emulation thread-local storage)"), cl::Hidden, cl::value_desc("number"), cl::init(8)) |
| #define DEBUG_TYPE "asm-printer" |
Definition at line 15 of file XCoreAsmPrinter.cpp.
| static void PrintEscapedString | ( | const std::string & | Str, | |
| raw_ostream & | Out | |||
| ) | [static] |
Definition at line 113 of file XCoreAsmPrinter.cpp.
References llvm::CallingConv::C.
Referenced by PrintEscapedString(), PrintLLVMName(), WriteAsOperandInternal(), and WriteConstantInt().
| STATISTIC | ( | EmittedInsts | , | |
| "Number of machine instrs printed" | ||||
| ) |
Definition at line 62 of file XCoreAsmPrinter.cpp.
cl::opt<std::string> FileDirective("xcore-file-directive", cl::Optional, cl::desc("Output a file directive into the assembly file"), cl::Hidden, cl::value_desc("filename"), cl::init("")) [static] |
cl::opt<unsigned> MaxThreads("xcore-max-threads", cl::Optional, cl::desc("Maximum number of threads (for emulation thread-local storage)"), cl::Hidden, cl::value_desc("number"), cl::init(8)) [static] |
| const XCoreSubtarget& Subtarget |
Definition at line 63 of file XCoreAsmPrinter.cpp.