Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:MachineFunction

1 //===-- llvm/CodeGen/MachineFunction.h --------------------------*- C++ -*-===//
76 /// hold private target-specific information for each MachineFunction. Objects
78 /// MachineFunction is destroyed.
87 static Ty *create(BumpPtrAllocator &Allocator, MachineFunction &MF) {
92 /// Properties which a MachineFunction may have at a given point in time.
160 class MachineFunction {
188 // MachineBasicBlock is inserted into a MachineFunction is it automatically
192 // Pool-allocate MachineFunction-lifetime and IR objects.
233 MachineFunction(const MachineFunction &) = delete;
234 void operator=(const MachineFunction&) = delete;
236 MachineFunction(const Function *Fn, const TargetMachine &TM,
238 ~MachineFunction();
363 return const_cast<MachineFunction*>(this)->getInfo<Ty>();
391 /// print - Print out the MachineFunction in a format suitable for debugging
411 /// dump - Print the current MachineFunction to cerr, useful for debugger use.
415 /// Run the current MachineFunction through the machine code verifier, useful
428 static BasicBlockListType MachineFunction::*
430 return &MachineFunction::BasicBlocks;
530 /// MachineMemOperands are owned by the MachineFunction and need not be
540 /// MachineMemOperands are owned by the MachineFunction and need not be
570 /// pointers. This array is owned by the MachineFunction.
614 template <> struct GraphTraits<MachineFunction*> :
616 static NodeType *getEntryNode(MachineFunction *F) {
621 typedef MachineFunction::iterator nodes_iterator;
622 static nodes_iterator nodes_begin(MachineFunction *F) { return F->begin(); }
623 static nodes_iterator nodes_end (MachineFunction *F) { return F->end(); }
624 static unsigned size (MachineFunction *F) { return F->size(); }
626 template <> struct GraphTraits<const MachineFunction*> :
628 static NodeType *getEntryNode(const MachineFunction *F) {
633 typedef MachineFunction::const_iterator nodes_iterator;
634 static nodes_iterator nodes_begin(const MachineFunction *F) {
637 static nodes_iterator nodes_end (const MachineFunction *F) {
640 static unsigned size (const MachineFunction *F) {
651 template <> struct GraphTraits<Inverse<MachineFunction*> > :
653 static NodeType *getEntryNode(Inverse<MachineFunction*> G) {
657 template <> struct GraphTraits<Inverse<const MachineFunction*> > :
659 static NodeType *getEntryNode(Inverse<const MachineFunction *> G) {