Home
last modified time | relevance | path

Searched refs:MachineDomTreeNode (Results 1 – 25 of 64) sorted by relevance

123

/external/llvm/include/llvm/CodeGen/
DMachineDominators.h35 typedef DomTreeNodeBase<MachineBasicBlock> MachineDomTreeNode; typedef
98 inline MachineDomTreeNode *getRootNode() const { in getRootNode()
105 inline bool dominates(const MachineDomTreeNode* A, in dominates()
106 const MachineDomTreeNode* B) const { in dominates()
138 inline bool properlyDominates(const MachineDomTreeNode* A, in properlyDominates()
139 const MachineDomTreeNode* B) const { in properlyDominates()
158 inline MachineDomTreeNode *operator[](MachineBasicBlock *BB) const {
166 inline MachineDomTreeNode *getNode(MachineBasicBlock *BB) const { in getNode()
174 inline MachineDomTreeNode *addNewBlock(MachineBasicBlock *BB, in addNewBlock()
189 inline void changeImmediateDominator(MachineDomTreeNode *N, in changeImmediateDominator()
[all …]
DMachinePostDominators.h44 MachineDomTreeNode *getRootNode() const { in getRootNode()
48 MachineDomTreeNode *operator[](MachineBasicBlock *BB) const {
52 MachineDomTreeNode *getNode(MachineBasicBlock *BB) const { in getNode()
56 bool dominates(const MachineDomTreeNode *A, in dominates()
57 const MachineDomTreeNode *B) const { in dominates()
65 bool properlyDominates(const MachineDomTreeNode *A, in properlyDominates()
66 const MachineDomTreeNode *B) const { in properlyDominates()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DMachineDominators.h41 using MachineDomTreeNode = DomTreeNodeBase<MachineBasicBlock>; variable
106 inline MachineDomTreeNode *getRootNode() const { in getRootNode()
113 inline bool dominates(const MachineDomTreeNode* A, in dominates()
114 const MachineDomTreeNode* B) const { in dominates()
146 inline bool properlyDominates(const MachineDomTreeNode* A, in properlyDominates()
147 const MachineDomTreeNode* B) const { in properlyDominates()
166 inline MachineDomTreeNode *operator[](MachineBasicBlock *BB) const {
174 inline MachineDomTreeNode *getNode(MachineBasicBlock *BB) const { in getNode()
182 inline MachineDomTreeNode *addNewBlock(MachineBasicBlock *BB, in addNewBlock()
197 inline void changeImmediateDominator(MachineDomTreeNode *N, in changeImmediateDominator()
[all …]
DMachinePostDominators.h44 MachineDomTreeNode *getRootNode() const { in getRootNode()
48 MachineDomTreeNode *operator[](MachineBasicBlock *BB) const {
52 MachineDomTreeNode *getNode(MachineBasicBlock *BB) const { in getNode()
56 bool dominates(const MachineDomTreeNode *A, in dominates()
57 const MachineDomTreeNode *B) const { in dominates()
65 bool properlyDominates(const MachineDomTreeNode *A, in properlyDominates()
66 const MachineDomTreeNode *B) const { in properlyDominates()
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DMachineDominators.h34 typedef DomTreeNodeBase<MachineBasicBlock> MachineDomTreeNode; typedef
65 inline MachineDomTreeNode *getRootNode() const { in getRootNode()
71 inline bool dominates(MachineDomTreeNode* A, MachineDomTreeNode* B) const { in dominates()
99 inline bool properlyDominates(const MachineDomTreeNode* A, in properlyDominates()
100 MachineDomTreeNode* B) const { in properlyDominates()
116 inline MachineDomTreeNode *operator[](MachineBasicBlock *BB) const {
123 inline MachineDomTreeNode *getNode(MachineBasicBlock *BB) const { in getNode()
130 inline MachineDomTreeNode *addNewBlock(MachineBasicBlock *BB, in addNewBlock()
143 inline void changeImmediateDominator(MachineDomTreeNode *N, in changeImmediateDominator()
144 MachineDomTreeNode* NewIDom) { in changeImmediateDominator()
[all …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DMachineCSE.cpp94 void ExitScopeIfDone(MachineDomTreeNode *Node,
95 DenseMap<MachineDomTreeNode*, unsigned> &OpenChildren,
96 DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> &ParentMap);
97 bool PerformCSE(MachineDomTreeNode *Node);
483 MachineCSE::ExitScopeIfDone(MachineDomTreeNode *Node, in ExitScopeIfDone()
484 DenseMap<MachineDomTreeNode*, unsigned> &OpenChildren, in ExitScopeIfDone() argument
485 DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> &ParentMap) { in ExitScopeIfDone()
493 while (MachineDomTreeNode *Parent = ParentMap[Node]) { in ExitScopeIfDone()
502 bool MachineCSE::PerformCSE(MachineDomTreeNode *Node) { in PerformCSE()
503 SmallVector<MachineDomTreeNode*, 32> Scopes; in PerformCSE()
[all …]
DLiveRangeCalc.h34 typedef DomTreeNodeBase<MachineBasicBlock> MachineDomTreeNode; typedef
45 typedef std::pair<VNInfo*, MachineDomTreeNode*> LiveOutPair;
78 MachineDomTreeNode *DomNode;
88 LiveInBlock(LiveInterval *li, MachineDomTreeNode *node, SlotIndex kill) in LiveInBlock()
194 LiveOut[MBB] = LiveOutPair(VNI, (MachineDomTreeNode *)0); in setLiveOutValue()
207 MachineDomTreeNode *DomNode,
DScheduleDAGInstrs.h59 const MachineDomTreeNode *Node = MDT.getNode(Header); in VisitLoop()
67 void VisitRegion(const MachineDomTreeNode *Node, in VisitRegion()
88 const std::vector<MachineDomTreeNode*> &Children = Node->getChildren(); in VisitRegion()
89 for (std::vector<MachineDomTreeNode*>::const_iterator I = in VisitRegion()
91 const MachineDomTreeNode *ChildNode = *I; in VisitRegion()
DLiveRangeCalc.cpp50 LiveOut[MBB] = LiveOutPair(VNI, (MachineDomTreeNode *)0); in updateLiveIns()
185 MachineDomTreeNode *Node = I->DomNode; in updateSSA()
190 MachineDomTreeNode *IDom = Node->getIDom(); in updateSSA()
/external/llvm/lib/CodeGen/
DLiveRangeCalc.h34 typedef DomTreeNodeBase<MachineBasicBlock> MachineDomTreeNode; typedef
45 typedef std::pair<VNInfo*, MachineDomTreeNode*> LiveOutPair;
84 MachineDomTreeNode *DomNode;
94 LiveInBlock(LiveRange &LR, MachineDomTreeNode *node, SlotIndex kill) in LiveInBlock()
231 MachineDomTreeNode *DomNode,
DMachineLICM.cpp200 MachineDomTreeNode *Node,
201 DenseMap<MachineDomTreeNode *, unsigned> &OpenChildren,
202 DenseMap<MachineDomTreeNode *, MachineDomTreeNode *> &ParentMap);
204 void HoistOutOfLoop(MachineDomTreeNode *LoopHeaderNode);
206 void HoistRegion(MachineDomTreeNode *N, bool IsHeader);
318 MachineDomTreeNode *N = DT->getNode(CurLoop->getHeader()); in runOnMachineFunction()
598 void MachineLICM::ExitScopeIfDone(MachineDomTreeNode *Node, in ExitScopeIfDone()
599 DenseMap<MachineDomTreeNode*, unsigned> &OpenChildren, in ExitScopeIfDone() argument
600 DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> &ParentMap) { in ExitScopeIfDone()
608 while (MachineDomTreeNode *Parent = ParentMap[Node]) { in ExitScopeIfDone()
[all …]
DMachineCSE.cpp103 void ExitScopeIfDone(MachineDomTreeNode *Node,
104 DenseMap<MachineDomTreeNode*, unsigned> &OpenChildren);
105 bool PerformCSE(MachineDomTreeNode *Node);
656 MachineCSE::ExitScopeIfDone(MachineDomTreeNode *Node, in ExitScopeIfDone()
657 DenseMap<MachineDomTreeNode*, unsigned> &OpenChildren) { in ExitScopeIfDone() argument
665 while (MachineDomTreeNode *Parent = Node->getIDom()) { in ExitScopeIfDone()
674 bool MachineCSE::PerformCSE(MachineDomTreeNode *Node) { in PerformCSE()
675 SmallVector<MachineDomTreeNode*, 32> Scopes; in PerformCSE()
676 SmallVector<MachineDomTreeNode*, 8> WorkList; in PerformCSE()
677 DenseMap<MachineDomTreeNode*, unsigned> OpenChildren; in PerformCSE()
[all …]
DInlineSpiller.cpp95 DenseMap<MachineDomTreeNode *, MachineInstr *> &SpillBBToSpill);
99 SmallVectorImpl<MachineDomTreeNode *> &Orders,
101 DenseMap<MachineDomTreeNode *, unsigned> &SpillsToKeep,
102 DenseMap<MachineDomTreeNode *, MachineInstr *> &SpillBBToSpill);
1110 DenseMap<MachineDomTreeNode *, MachineInstr *> &SpillBBToSpill) { in rmRedundantSpills() argument
1116 MachineDomTreeNode *Node = MDT.DT->getNode(Block); in rmRedundantSpills()
1142 SmallVectorImpl<MachineDomTreeNode *> &Orders, in getVisitOrders()
1144 DenseMap<MachineDomTreeNode *, unsigned> &SpillsToKeep, in getVisitOrders() argument
1145 DenseMap<MachineDomTreeNode *, MachineInstr *> &SpillBBToSpill) { in getVisitOrders()
1148 SmallPtrSet<MachineDomTreeNode *, 8> WorkSet; in getVisitOrders()
[all …]
DMachineDominators.cpp97 MachineDomTreeNode *SuccDTNode = DT->getNode(Succ); in applySplitCriticalEdges()
132 MachineDomTreeNode *NewDTNode = DT->addNewBlock(Edge.NewBB, Edge.FromBB); in applySplitCriticalEdges()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DLiveRangeCalc.h43 using MachineDomTreeNode = DomTreeNodeBase<MachineBasicBlock>; variable
54 using LiveOutPair = std::pair<VNInfo *, MachineDomTreeNode *>;
107 MachineDomTreeNode *DomNode;
117 LiveInBlock(LiveRange &LR, MachineDomTreeNode *node, SlotIndex kill) in LiveInBlock()
272 MachineDomTreeNode *DomNode,
DMachineCSE.cpp125 void ExitScopeIfDone(MachineDomTreeNode *Node,
126 DenseMap<MachineDomTreeNode*, unsigned> &OpenChildren);
127 bool PerformCSE(MachineDomTreeNode *Node);
677 MachineCSE::ExitScopeIfDone(MachineDomTreeNode *Node, in ExitScopeIfDone()
678 DenseMap<MachineDomTreeNode*, unsigned> &OpenChildren) { in ExitScopeIfDone() argument
686 while (MachineDomTreeNode *Parent = Node->getIDom()) { in ExitScopeIfDone()
695 bool MachineCSE::PerformCSE(MachineDomTreeNode *Node) { in PerformCSE()
696 SmallVector<MachineDomTreeNode*, 32> Scopes; in PerformCSE()
697 SmallVector<MachineDomTreeNode*, 8> WorkList; in PerformCSE()
698 DenseMap<MachineDomTreeNode*, unsigned> OpenChildren; in PerformCSE()
[all …]
DInlineSpiller.cpp121 DenseMap<MachineDomTreeNode *, MachineInstr *> &SpillBBToSpill);
125 SmallVectorImpl<MachineDomTreeNode *> &Orders,
127 DenseMap<MachineDomTreeNode *, unsigned> &SpillsToKeep,
128 DenseMap<MachineDomTreeNode *, MachineInstr *> &SpillBBToSpill);
1167 DenseMap<MachineDomTreeNode *, MachineInstr *> &SpillBBToSpill) { in rmRedundantSpills() argument
1173 MachineDomTreeNode *Node = MDT.getBase().getNode(Block); in rmRedundantSpills()
1198 SmallVectorImpl<MachineDomTreeNode *> &Orders, in getVisitOrders()
1200 DenseMap<MachineDomTreeNode *, unsigned> &SpillsToKeep, in getVisitOrders() argument
1201 DenseMap<MachineDomTreeNode *, MachineInstr *> &SpillBBToSpill) { in getVisitOrders()
1204 SmallPtrSet<MachineDomTreeNode *, 8> WorkSet; in getVisitOrders()
[all …]
DMachineLICM.cpp215 MachineDomTreeNode *Node,
216 DenseMap<MachineDomTreeNode *, unsigned> &OpenChildren,
217 DenseMap<MachineDomTreeNode *, MachineDomTreeNode *> &ParentMap);
219 void HoistOutOfLoop(MachineDomTreeNode *HeaderN);
221 void HoistRegion(MachineDomTreeNode *N, bool IsHeader);
362 MachineDomTreeNode *N = DT->getNode(CurLoop->getHeader()); in runOnMachineFunction()
647 void MachineLICMBase::ExitScopeIfDone(MachineDomTreeNode *Node, in ExitScopeIfDone()
648 DenseMap<MachineDomTreeNode*, unsigned> &OpenChildren, in ExitScopeIfDone() argument
649 DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> &ParentMap) { in ExitScopeIfDone()
657 while (MachineDomTreeNode *Parent = ParentMap[Node]) { in ExitScopeIfDone()
[all …]
DMachineDominators.cpp107 MachineDomTreeNode *SuccDTNode = DT->getNode(Succ); in applySplitCriticalEdges()
142 MachineDomTreeNode *NewDTNode = DT->addNewBlock(Edge.NewBB, Edge.FromBB); in applySplitCriticalEdges()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsOptimizePICCall.cpp67 MBBInfo(MachineDomTreeNode *N);
69 const MachineDomTreeNode *getNode() const;
75 MachineDomTreeNode *Node;
183 MBBInfo::MBBInfo(MachineDomTreeNode *N) : Node(N), HTScope(nullptr) {} in MBBInfo()
185 const MachineDomTreeNode *MBBInfo::getNode() const { return Node; } in getNode()
222 const MachineDomTreeNode *Node = MBBI.getNode(); in runOnMachineFunction()
223 const std::vector<MachineDomTreeNode *> &Children = Node->getChildren(); in runOnMachineFunction()
/external/llvm/lib/Target/Mips/
DMipsOptimizePICCall.cpp49 MBBInfo(MachineDomTreeNode *N);
50 const MachineDomTreeNode *getNode() const;
56 MachineDomTreeNode *Node;
161 MBBInfo::MBBInfo(MachineDomTreeNode *N) : Node(N), HTScope(nullptr) {} in MBBInfo()
163 const MachineDomTreeNode *MBBInfo::getNode() const { return Node; } in getNode()
200 const MachineDomTreeNode *Node = MBBI.getNode(); in runOnMachineFunction()
201 const std::vector<MachineDomTreeNode *> &Children = Node->getChildren(); in runOnMachineFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64CleanupLocalDynamicTLSPass.cpp63 bool VisitNode(MachineDomTreeNode *Node, unsigned TLSBaseAddrReg) { in VisitNode()
89 for (MachineDomTreeNode *N : *Node) { in VisitNode()
/external/llvm/lib/Target/AArch64/
DAArch64CleanupLocalDynamicTLSPass.cpp60 bool VisitNode(MachineDomTreeNode *Node, unsigned TLSBaseAddrReg) { in VisitNode()
86 for (MachineDomTreeNode *N : *Node) { in VisitNode()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZLDCleanup.cpp44 bool VisitNode(MachineDomTreeNode *Node, unsigned TLSBaseAddrReg);
88 bool SystemZLDCleanup::VisitNode(MachineDomTreeNode *Node, in VisitNode()
/external/llvm/lib/Target/SystemZ/
DSystemZLDCleanup.cpp44 bool VisitNode(MachineDomTreeNode *Node, unsigned TLSBaseAddrReg);
88 bool SystemZLDCleanup::VisitNode(MachineDomTreeNode *Node, in VisitNode()

123