LLVM API Documentation

AsmPrinter.cpp File Reference

#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/CodeGen/MachineJumpTableInfo.h"
#include "llvm/Support/Mangler.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Target/TargetData.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)


Function Documentation

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 428 of file AsmPrinter.cpp.

References C, llvm::Constant::getOperand(), and llvm::ConstantArray::isString().

Referenced by llvm::AsmPrinter::EmitString().

static char toOctal ( int  X  )  [inline, static]

toOctal - Convert the low order bits of X into an octal digit.

Definition at line 421 of file AsmPrinter.cpp.