LLVM API Documentation
#include "llvm/CodeGen/AsmPrinter.h"
#include "llvm/Assembly/Writer.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Constants.h"
#include "llvm/Module.h"
#include "llvm/CodeGen/MachineConstantPool.h"
#include "llvm/Support/Mangler.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Target/TargetMachine.h"
#include <iostream>
#include <cerrno>
Include dependency graph for AsmPrinter.cpp:
Go to the source code of this file.
Functions | |
static char | toOctal (int X) |
static void | printAsCString (std::ostream &O, const ConstantArray *CVA, unsigned LastElt) |
static void printAsCString | ( | std::ostream & | O, | |
const ConstantArray * | CVA, | |||
unsigned | LastElt | |||
) | [static] |
printAsCString - Print the specified array as a C compatible string, only if the predicate isString is true.
Definition at line 312 of file AsmPrinter.cpp.
References llvm::CallingConv::C, llvm::Constant::getOperand(), and llvm::ConstantArray::isString().
Referenced by llvm::AsmPrinter::EmitGlobalConstant().
static char toOctal | ( | int | X | ) | [inline, static] |
toOctal - Convert the low order bits of X into an octal digit.
Definition at line 305 of file AsmPrinter.cpp.