LLVM API Documentation

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

MachineFunction.cpp File Reference

#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/SSARegMap.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineConstantPool.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetFrameInfo.h"
#include "llvm/Function.h"
#include "llvm/Instructions.h"
#include "llvm/Support/LeakDetector.h"
#include "llvm/Support/GraphWriter.h"
#include <fstream>
#include <iostream>
#include <sstream>

Include dependency graph for MachineFunction.cpp:

Go to the source code of this file.

Namespaces

namespace  llvm

Classes

struct  llvm::DOTGraphTraits< const MachineFunction * >

Functions

static AnnotationID MF_AID (AnnotationManager::getID("CodeGen::MachineCodeForFunction"))
FunctionPassllvm::createMachineFunctionPrinterPass (std::ostream *OS, const std::string &Banner)
FunctionPassllvm::createMachineCodeDeleter ()

Variables

static bool CFGOnly = false


Function Documentation

static AnnotationID MF_AID AnnotationManager::  getID("CodeGen::MachineCodeForFunction")  )  [static]
 

Referenced by llvm::MachineFunction::construct(), llvm::MachineFunction::destruct(), and llvm::MachineFunction::get().


Variable Documentation

bool CFGOnly = false [static]
 

CFGOnly flag - This is used to control whether or not the CFG graph printer prints out the contents of basic blocks or not. This is acceptable because this code is only really used for debugging purposes.

Definition at line 148 of file MachineFunction.cpp.