LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

AsmPrinter.cpp File Reference

#include "llvm/CodeGen/AsmPrinter.h"
#include "llvm/Constants.h"
#include "llvm/Instruction.h"
#include "llvm/Support/Mangler.h"
#include "llvm/Target/TargetMachine.h"

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)


Function Documentation

static void printAsCString std::ostream &  O,
const ConstantArray CVA
[static]
 

getAsCString - Return the specified array as a C compatible string, only if the predicate isString is true.

Definition at line 137 of file AsmPrinter.cpp.

References C, llvm::User::getNumOperands(), 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 130 of file AsmPrinter.cpp.