LLVM API Documentation
#include "X86ATTAsmPrinter.h"#include "X86.h"#include "X86COFF.h"#include "X86MachineFunctionInfo.h"#include "X86TargetMachine.h"#include "X86TargetAsmInfo.h"#include "llvm/CallingConv.h"#include "llvm/DerivedTypes.h"#include "llvm/Module.h"#include "llvm/Type.h"#include "llvm/ADT/Statistic.h"#include "llvm/ADT/StringExtras.h"#include "llvm/Assembly/Writer.h"#include "llvm/MC/MCContext.h"#include "llvm/MC/MCInst.h"#include "llvm/MC/MCSectionMachO.h"#include "llvm/MC/MCStreamer.h"#include "llvm/CodeGen/DwarfWriter.h"#include "llvm/CodeGen/MachineJumpTableInfo.h"#include "llvm/Support/CommandLine.h"#include "llvm/Support/ErrorHandling.h"#include "llvm/Support/FormattedStream.h"#include "llvm/Support/Mangler.h"#include "llvm/Target/TargetAsmInfo.h"#include "llvm/Target/TargetLoweringObjectFile.h"#include "llvm/Target/TargetOptions.h"#include "X86GenAsmWriter.inc"
Go to the source code of this file.
Defines | |
| #define | DEBUG_TYPE "asm-printer" |
Functions | |
| STATISTIC (EmittedInsts,"Number of machine instrs printed") | |
| static X86MachineFunctionInfo | calculateFunctionInfo (const Function *F, const TargetData *TD) |
| static void | lower_lea64_32mem (MCInst *MI, unsigned OpNo) |
Variables | |
| static cl::opt< bool > | NewAsmPrinter ("experimental-asm-printer", cl::Hidden) |
| #define DEBUG_TYPE "asm-printer" |
Definition at line 16 of file X86ATTAsmPrinter.cpp.
| static X86MachineFunctionInfo calculateFunctionInfo | ( | const Function * | F, | |
| const TargetData * | TD | |||
| ) | [static] |
Definition at line 79 of file X86ATTAsmPrinter.cpp.
References AI, llvm::Function::arg_begin(), llvm::Function::arg_end(), llvm::Attribute::ByVal, llvm::FastCall, llvm::Function::getCallingConv(), llvm::AllocationInst::getType(), llvm::TargetData::getTypeAllocSize(), llvm::Function::paramHasAttr(), llvm::X86MachineFunctionInfo::setBytesToPopOnReturn(), llvm::X86MachineFunctionInfo::setDecorationStyle(), llvm::StdCall, Ty, llvm::CallingConv::X86_FastCall, and llvm::CallingConv::X86_StdCall.
Referenced by llvm::X86ATTAsmPrinter::DecorateCygMingName(), and llvm::X86IntelAsmPrinter::decorateName().
Definition at line 707 of file X86ATTAsmPrinter.cpp.
References llvm::MCInst::getOperand(), llvm::MCOperand::getReg(), llvm::getX86SubSuperRegister(), llvm::MVT::i64, llvm::MCOperand::isReg(), Reg, and llvm::MCOperand::setReg().
Referenced by llvm::X86ATTAsmPrinter::printMachineInstruction().
| STATISTIC | ( | EmittedInsts | , | |
| "Number of machine instrs printed" | ||||
| ) |
cl::opt<bool> NewAsmPrinter("experimental-asm-printer", cl::Hidden) [static] |
Referenced by llvm::X86ATTAsmPrinter::printMachineInstruction().