Lines Matching refs:MachineFunction
83 static Ty *create(BumpPtrAllocator &Allocator, MachineFunction &MF) {
88 class MachineFunction {
157 MachineFunction(const MachineFunction &) = delete;
158 void operator=(const MachineFunction&) = delete;
160 MachineFunction(const Function *Fn, const TargetMachine &TM,
162 ~MachineFunction();
283 return const_cast<MachineFunction*>(this)->getInfo<Ty>();
346 static BasicBlockListType MachineFunction::*
348 return &MachineFunction::BasicBlocks;
533 template <> struct GraphTraits<MachineFunction*> :
535 static NodeType *getEntryNode(MachineFunction *F) {
540 typedef MachineFunction::iterator nodes_iterator;
541 static nodes_iterator nodes_begin(MachineFunction *F) { return F->begin(); }
542 static nodes_iterator nodes_end (MachineFunction *F) { return F->end(); }
543 static unsigned size (MachineFunction *F) { return F->size(); }
545 template <> struct GraphTraits<const MachineFunction*> :
547 static NodeType *getEntryNode(const MachineFunction *F) {
552 typedef MachineFunction::const_iterator nodes_iterator;
553 static nodes_iterator nodes_begin(const MachineFunction *F) {
556 static nodes_iterator nodes_end (const MachineFunction *F) {
559 static unsigned size (const MachineFunction *F) {
570 template <> struct GraphTraits<Inverse<MachineFunction*> > :
572 static NodeType *getEntryNode(Inverse<MachineFunction*> G) {
576 template <> struct GraphTraits<Inverse<const MachineFunction*> > :
578 static NodeType *getEntryNode(Inverse<const MachineFunction *> G) {