LLVM API Documentation
#include "AsmWriter.h"
#include "llvm/Assembly/Writer.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Assembly/AssemblyAnnotationWriter.h"
#include "llvm/Assembly/PrintModulePass.h"
#include "llvm/DebugInfo.h"
#include "llvm/IR/CallingConv.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/InlineAsm.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/Operator.h"
#include "llvm/IR/TypeFinder.h"
#include "llvm/IR/ValueSymbolTable.h"
#include "llvm/Support/CFG.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/Dwarf.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/FormattedStream.h"
#include "llvm/Support/MathExtras.h"
#include <algorithm>
#include <cctype>
Go to the source code of this file.
Classes | |
class | llvm::SlotTracker |
Namespaces | |
llvm | |
List of target independent CodeGen pass IDs. | |
Macros | |
#define | ST_DEBUG(X) |
Enumerations | |
enum | PrefixType { GlobalPrefix, LabelPrefix, LocalPrefix, NoPrefix } |
#define ST_DEBUG | ( | X | ) |
Definition at line 433 of file AsmWriter.cpp.
Referenced by llvm::SlotTracker::purgeFunction().
enum PrefixType |
Enumerator | |
---|---|
GlobalPrefix | |
LabelPrefix | |
LocalPrefix | |
NoPrefix |
Definition at line 106 of file AsmWriter.cpp.
Definition at line 55 of file AsmWriter.cpp.
References llvm::GlobalValue::getParent(), and I.
Referenced by llvm::Value::print(), and llvm::WriteAsOperand().
|
static |
Definition at line 72 of file AsmWriter.cpp.
References llvm::CallingConv::AnyReg, llvm::CallingConv::ARM_AAPCS, llvm::CallingConv::ARM_AAPCS_VFP, llvm::CallingConv::ARM_APCS, llvm::CallingConv::Cold, llvm::CallingConv::Fast, llvm::CallingConv::Intel_OCL_BI, llvm::CallingConv::MSP430_INTR, llvm::CallingConv::PTX_Device, llvm::CallingConv::PTX_Kernel, llvm::CallingConv::WebKit_JS, llvm::CallingConv::X86_64_SysV, llvm::CallingConv::X86_64_Win64, llvm::CallingConv::X86_FastCall, llvm::CallingConv::X86_StdCall, and llvm::CallingConv::X86_ThisCall.
Referenced by llvm::AssemblyWriter::printFunction(), and llvm::AssemblyWriter::printInstruction().
|
static |
Definition at line 96 of file AsmWriter.cpp.
References llvm::CallingConv::C, llvm::hexdigit(), and llvm::StringRef::size().
Referenced by llvm::AssemblyWriter::printFunction(), llvm::AssemblyWriter::printGlobal(), PrintLLVMName(), llvm::AssemblyWriter::printModule(), and llvm::WriteConstantInternal().
|
static |
PrintLLVMName - Turn the specified name into an 'LLVM name', which is either prefixed with % (if the string only contains simple characters) or is surrounded with ""'s (if it has special chars in it). Print it out.
Definition at line 116 of file AsmWriter.cpp.
References llvm::CallingConv::C, llvm::StringRef::empty(), GlobalPrefix, llvm::LibFunc::isdigit, LabelPrefix, LocalPrefix, NoPrefix, PrintEscapedString(), and llvm::StringRef::size().
Referenced by llvm::TypePrinting::print(), llvm::AssemblyWriter::printAlias(), llvm::AssemblyWriter::printArgument(), llvm::AssemblyWriter::printBasicBlock(), llvm::AssemblyWriter::printInstruction(), PrintLLVMName(), and llvm::AssemblyWriter::printTypeIdentities().
|
static |
PrintLLVMName - Turn the specified name into an 'LLVM name', which is either prefixed with % (if the string only contains simple characters) or is surrounded with ""'s (if it has special chars in it). Print it out.
Definition at line 158 of file AsmWriter.cpp.
References llvm::Value::getName(), GlobalPrefix, LocalPrefix, and PrintLLVMName().