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/GCMetadataPrinter.h"#include "llvm/CodeGen/MachineConstantPool.h"#include "llvm/CodeGen/MachineJumpTableInfo.h"#include "llvm/CodeGen/MachineModuleInfo.h"#include "llvm/CodeGen/DwarfWriter.h"#include "llvm/Support/Mangler.h"#include "llvm/Support/raw_ostream.h"#include "llvm/Target/TargetAsmInfo.h"#include "llvm/Target/TargetData.h"#include "llvm/Target/TargetLowering.h"#include "llvm/Target/TargetMachine.h"#include "llvm/Target/TargetOptions.h"#include "llvm/Target/TargetRegisterInfo.h"#include "llvm/ADT/SmallPtrSet.h"#include "llvm/ADT/SmallString.h"#include "llvm/ADT/StringExtras.h"#include <cerrno>
Go to the source code of this file.
Functions | |
| static char | toOctal (int X) |
| static void | printStringChar (raw_ostream &O, char C) |
| static void | printAsCString (raw_ostream &O, const ConstantArray *CVA, unsigned LastElt) |
| static void printAsCString | ( | raw_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 915 of file AsmPrinter.cpp.
References llvm::CallingConv::C, llvm::Constant::getOperand(), llvm::ConstantArray::isString(), and printStringChar().
Referenced by llvm::AsmPrinter::EmitString().
| static void printStringChar | ( | raw_ostream & | O, | |
| char | C | |||
| ) | [static] |
printStringChar - Print a char, escaped if necessary.
Definition at line 679 of file AsmPrinter.cpp.
Referenced by llvm::AsmPrinter::EmitFile(), llvm::AsmPrinter::EmitString(), and printAsCString().
| static char toOctal | ( | int | X | ) | [inline, static] |
toOctal - Convert the low order bits of X into an octal digit.
Definition at line 673 of file AsmPrinter.cpp.