LLVM API Documentation

TwoAddressInstructionPass.cpp File Reference

#include "llvm/CodeGen/Passes.h"
#include "llvm/Function.h"
#include "llvm/CodeGen/LiveVariables.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/SSARegMap.h"
#include "llvm/Target/MRegisterInfo.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/Visibility.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/STLExtras.h"
#include <iostream>

Include dependency graph for TwoAddressInstructionPass.cpp:

Go to the source code of this file.

Defines

#define DEBUG_TYPE   "twoaddrinstr"

Variables

static Statistic NumTwoAddressInstrs ("twoaddressinstruction","Number of two-address instructions")
static Statistic NumCommuted ("twoaddressinstruction","Number of instructions commuted to coalesce")
static Statistic NumConvertedTo3Addr ("twoaddressinstruction","Number of instructions promoted to 3-address")
RegisterPass< TwoAddressInstructionPass > X ("twoaddressinstruction","Two-Address instruction pass")


Define Documentation

#define DEBUG_TYPE   "twoaddrinstr"

Definition at line 30 of file TwoAddressInstructionPass.cpp.


Variable Documentation

Statistic NumCommuted("twoaddressinstruction","Number of instructions commuted to coalesce") [static]

Statistic NumConvertedTo3Addr("twoaddressinstruction","Number of instructions promoted to 3-address") [static]

Statistic NumTwoAddressInstrs("twoaddressinstruction","Number of two-address instructions") [static]

RegisterPass<TwoAddressInstructionPass> X("twoaddressinstruction","Two-Address instruction pass") [static]