LLVM API Documentation
#include "PowerPC.h"
#include "PowerPCTargetMachine.h"
#include "llvm/Constants.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Module.h"
#include "llvm/Assembly/Writer.h"
#include "llvm/CodeGen/AsmPrinter.h"
#include "llvm/CodeGen/MachineConstantPool.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/ValueTypes.h"
#include "llvm/Support/Mangler.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Target/MRegisterInfo.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/StringExtras.h"
#include <set>
#include "PowerPCGenAsmWriter.inc"
Include dependency graph for PowerPCAsmPrinter.cpp:
Go to the source code of this file.
Defines | |
#define | DEBUG_TYPE "asmprinter" |
Functions | |
static void | SwitchSection (std::ostream &OS, std::string &CurSection, const char *NewSection) |
static bool | isStringCompatible (const ConstantArray *CVA) |
static char | toOctal (int X) |
static void | SwitchStringSection (std::ostream &O, StringSection NewSect, StringSection &Current) |
static void | printAsCString (std::ostream &O, const ConstantArray *CVA) |
FunctionPass * | llvm::createDarwinAsmPrinter (std::ostream &o, TargetMachine &tm) |
FunctionPass * | llvm::createAIXAsmPrinter (std::ostream &o, TargetMachine &tm) |
|
Definition at line 19 of file PowerPCAsmPrinter.cpp. |
|
isStringCompatible - Can we treat the specified array as a string? Only if it is an array of ubytes or non-negative sbytes. Definition at line 212 of file PowerPCAsmPrinter.cpp. References llvm::Constant::getOperand(), and llvm::ConstantArray::getType(). Referenced by printAsCString(). |
|
getAsCString - Return the specified array as a C compatible string, only if the predicate isStringCompatible is true. Definition at line 269 of file PowerPCAsmPrinter.cpp. References C, llvm::User::getNumOperands(), llvm::Constant::getOperand(), isStringCompatible(), llvm::PPCII::None, SwitchStringSection(), and llvm::utostr(). |
|
Definition at line 200 of file PowerPCAsmPrinter.cpp. |
|
SwitchStringSection - manage the changes required to output bytes as characters in a string vs. numeric decimal values Definition at line 242 of file PowerPCAsmPrinter.cpp. References llvm::PPCII::None. Referenced by printAsCString(). |
|
toOctal - Convert the low order bits of X into an octal digit. Definition at line 226 of file PowerPCAsmPrinter.cpp. |
|
|