Lines Matching defs:MachineFunction

1 //===-- llvm/CodeGen/MachineFunction.h --------------------------*- C++ -*-===//
68 /// hold private target-specific information for each MachineFunction. Objects
70 /// MachineFunction is destroyed.
75 class MachineFunction {
99 // MachineBasicBlock is inserted into a MachineFunction is it automatically
103 // Pool-allocate MachineFunction-lifetime and IR objects.
137 MachineFunction(const MachineFunction &) LLVM_DELETED_FUNCTION;
138 void operator=(const MachineFunction&) LLVM_DELETED_FUNCTION;
140 MachineFunction(const Function *Fn, const TargetMachine &TM,
143 ~MachineFunction();
248 return const_cast<MachineFunction*>(this)->getInfo<Ty>();
276 /// print - Print out the MachineFunction in a format suitable for debugging
296 /// dump - Print the current MachineFunction to cerr, useful for debugger use.
300 /// verify - Run the current MachineFunction through the machine code
402 /// MachineMemOperands are owned by the MachineFunction and need not be
412 /// MachineMemOperands are owned by the MachineFunction and need not be
442 /// pointers. This array is owned by the MachineFunction.
483 template <> struct GraphTraits<MachineFunction*> :
485 static NodeType *getEntryNode(MachineFunction *F) {
490 typedef MachineFunction::iterator nodes_iterator;
491 static nodes_iterator nodes_begin(MachineFunction *F) { return F->begin(); }
492 static nodes_iterator nodes_end (MachineFunction *F) { return F->end(); }
493 static unsigned size (MachineFunction *F) { return F->size(); }
495 template <> struct GraphTraits<const MachineFunction*> :
497 static NodeType *getEntryNode(const MachineFunction *F) {
502 typedef MachineFunction::const_iterator nodes_iterator;
503 static nodes_iterator nodes_begin(const MachineFunction *F) {
506 static nodes_iterator nodes_end (const MachineFunction *F) {
509 static unsigned size (const MachineFunction *F) {
520 template <> struct GraphTraits<Inverse<MachineFunction*> > :
522 static NodeType *getEntryNode(Inverse<MachineFunction*> G) {
526 template <> struct GraphTraits<Inverse<const MachineFunction*> > :
528 static NodeType *getEntryNode(Inverse<const MachineFunction *> G) {