Changeset View
Changeset View
Standalone View
Standalone View
llvm/lib/Target/Hexagon/RDFDeadCode.h
Show All 17 Lines | |||||
// or not, and if it is, convert the instruction to a non-updating form. | // or not, and if it is, convert the instruction to a non-updating form. | ||||
// After that "erase" can be called with the set of nodes including both, | // After that "erase" can be called with the set of nodes including both, | ||||
// dead defs from the updating instructions and the nodes corresponding | // dead defs from the updating instructions and the nodes corresponding | ||||
// to the dead instructions. | // to the dead instructions. | ||||
#ifndef RDF_DEADCODE_H | #ifndef RDF_DEADCODE_H | ||||
#define RDF_DEADCODE_H | #define RDF_DEADCODE_H | ||||
#include "RDFGraph.h" | #include "llvm/CodeGen/RDFGraph.h" | ||||
#include "RDFLiveness.h" | #include "llvm/CodeGen/RDFLiveness.h" | ||||
#include "llvm/ADT/SetVector.h" | #include "llvm/ADT/SetVector.h" | ||||
namespace llvm { | namespace llvm { | ||||
class MachineRegisterInfo; | class MachineRegisterInfo; | ||||
namespace rdf { | namespace rdf { | ||||
struct DeadCodeElimination { | struct DeadCodeElimination { | ||||
DeadCodeElimination(DataFlowGraph &dfg, MachineRegisterInfo &mri) | DeadCodeElimination(DataFlowGraph &dfg, MachineRegisterInfo &mri) | ||||
Show All 31 Lines |