LLVM API Documentation

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/MachineJumpTableInfo.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/Target/TargetData.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 "llvm/Support/Visibility.h"
#include "llvm/Config/config.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

const std::string Banner

Definition at line 47 of file MachineFunction.cpp.

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 184 of file MachineFunction.cpp.

std::ostream* OS

Definition at line 46 of file MachineFunction.cpp.

Referenced by llvm::DOTGraphTraits< const DSGraph * >::addCustomGraphFeatures(), getCaption(), llvm::SlowOperationInformer::progress(), and ToStr().