Home
last modified time | relevance | path

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

1234

/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/llvm-project/llvm/include/llvm/CodeGen/
DMachineDominators.h39 using MachineDomTreeNode = DomTreeNodeBase<MachineBasicBlock>; variable
100 MachineDomTreeNode *getRootNode() const { in getRootNode()
109 bool dominates(const MachineDomTreeNode *A, in dominates()
110 const MachineDomTreeNode *B) const { in dominates()
135 bool properlyDominates(const MachineDomTreeNode *A, in properlyDominates()
136 const MachineDomTreeNode *B) const { in properlyDominates()
155 MachineDomTreeNode *operator[](MachineBasicBlock *BB) const {
163 MachineDomTreeNode *getNode(MachineBasicBlock *BB) const { in getNode()
171 MachineDomTreeNode *addNewBlock(MachineBasicBlock *BB, in addNewBlock()
186 void changeImmediateDominator(MachineDomTreeNode *N, in changeImmediateDominator()
[all …]
DMachinePostDominators.h44 MachineDomTreeNode *getRootNode() const { return PDT->getRootNode(); } in getRootNode()
46 MachineDomTreeNode *operator[](MachineBasicBlock *BB) const {
50 MachineDomTreeNode *getNode(MachineBasicBlock *BB) const { in getNode()
54 bool dominates(const MachineDomTreeNode *A, in dominates()
55 const MachineDomTreeNode *B) const { in dominates()
63 bool properlyDominates(const MachineDomTreeNode *A, in properlyDominates()
64 const MachineDomTreeNode *B) const { in properlyDominates()
73 bool isVirtualRoot(const MachineDomTreeNode *Node) const { in isVirtualRoot()
DLiveRangeCalc.h44 using MachineDomTreeNode = DomTreeNodeBase<MachineBasicBlock>; variable
55 using LiveOutPair = std::pair<VNInfo *, MachineDomTreeNode *>;
108 MachineDomTreeNode *DomNode;
118 LiveInBlock(LiveRange &LR, MachineDomTreeNode *node, SlotIndex kill) in LiveInBlock()
244 void addLiveInBlock(LiveRange &LR, MachineDomTreeNode *DomNode,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineDominators.h40 using MachineDomTreeNode = DomTreeNodeBase<MachineBasicBlock>; variable
110 MachineDomTreeNode *getRootNode() const { in getRootNode()
119 bool dominates(const MachineDomTreeNode *A, in dominates()
120 const MachineDomTreeNode *B) const { in dominates()
145 bool properlyDominates(const MachineDomTreeNode *A, in properlyDominates()
146 const MachineDomTreeNode *B) const { in properlyDominates()
165 MachineDomTreeNode *operator[](MachineBasicBlock *BB) const {
173 MachineDomTreeNode *getNode(MachineBasicBlock *BB) const { in getNode()
181 MachineDomTreeNode *addNewBlock(MachineBasicBlock *BB, in addNewBlock()
196 void changeImmediateDominator(MachineDomTreeNode *N, in changeImmediateDominator()
[all …]
DMachinePostDominators.h42 MachineDomTreeNode *getRootNode() const { return PDT->getRootNode(); } in getRootNode()
44 MachineDomTreeNode *operator[](MachineBasicBlock *BB) const {
48 MachineDomTreeNode *getNode(MachineBasicBlock *BB) const { in getNode()
52 bool dominates(const MachineDomTreeNode *A, in dominates()
53 const MachineDomTreeNode *B) const { in dominates()
61 bool properlyDominates(const MachineDomTreeNode *A, in properlyDominates()
62 const MachineDomTreeNode *B) const { in properlyDominates()
71 bool isVirtualRoot(const MachineDomTreeNode *Node) const { in isVirtualRoot()
DLiveRangeCalc.h42 using MachineDomTreeNode = DomTreeNodeBase<MachineBasicBlock>; variable
53 using LiveOutPair = std::pair<VNInfo *, MachineDomTreeNode *>;
106 MachineDomTreeNode *DomNode;
116 LiveInBlock(LiveRange &LR, MachineDomTreeNode *node, SlotIndex kill) in LiveInBlock()
269 void addLiveInBlock(LiveRange &LR, MachineDomTreeNode *DomNode,
/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,
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 …]
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 …]
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/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-10.0/llvm/lib/Target/Mips/
DMipsOptimizePICCall.cpp66 MBBInfo(MachineDomTreeNode *N);
68 const MachineDomTreeNode *getNode() const;
74 MachineDomTreeNode *Node;
181 MBBInfo::MBBInfo(MachineDomTreeNode *N) : Node(N), HTScope(nullptr) {} in MBBInfo()
183 const MachineDomTreeNode *MBBInfo::getNode() const { return Node; } in getNode()
220 const MachineDomTreeNode *Node = MBBI.getNode(); in runOnMachineFunction()
221 const std::vector<MachineDomTreeNode *> &Children = Node->getChildren(); in runOnMachineFunction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineCSE.cpp134 void ExitScopeIfDone(MachineDomTreeNode *Node,
135 DenseMap<MachineDomTreeNode*, unsigned> &OpenChildren);
136 bool PerformCSE(MachineDomTreeNode *Node);
720 MachineCSE::ExitScopeIfDone(MachineDomTreeNode *Node, in ExitScopeIfDone()
721 DenseMap<MachineDomTreeNode*, unsigned> &OpenChildren) { in ExitScopeIfDone() argument
729 while (MachineDomTreeNode *Parent = Node->getIDom()) { in ExitScopeIfDone()
738 bool MachineCSE::PerformCSE(MachineDomTreeNode *Node) { in PerformCSE()
739 SmallVector<MachineDomTreeNode*, 32> Scopes; in PerformCSE()
740 SmallVector<MachineDomTreeNode*, 8> WorkList; in PerformCSE()
741 DenseMap<MachineDomTreeNode*, unsigned> OpenChildren; in PerformCSE()
[all …]
DInlineSpiller.cpp124 DenseMap<MachineDomTreeNode *, MachineInstr *> &SpillBBToSpill);
128 SmallVectorImpl<MachineDomTreeNode *> &Orders,
130 DenseMap<MachineDomTreeNode *, unsigned> &SpillsToKeep,
131 DenseMap<MachineDomTreeNode *, MachineInstr *> &SpillBBToSpill);
1198 DenseMap<MachineDomTreeNode *, MachineInstr *> &SpillBBToSpill) { in rmRedundantSpills() argument
1204 MachineDomTreeNode *Node = MDT.getBase().getNode(Block); in rmRedundantSpills()
1229 SmallVectorImpl<MachineDomTreeNode *> &Orders, in getVisitOrders()
1231 DenseMap<MachineDomTreeNode *, unsigned> &SpillsToKeep, in getVisitOrders() argument
1232 DenseMap<MachineDomTreeNode *, MachineInstr *> &SpillBBToSpill) { in getVisitOrders()
1235 SmallPtrSet<MachineDomTreeNode *, 8> WorkSet; in getVisitOrders()
[all …]
DMachineLICM.cpp242 MachineDomTreeNode *Node,
243 DenseMap<MachineDomTreeNode *, unsigned> &OpenChildren,
244 DenseMap<MachineDomTreeNode *, MachineDomTreeNode *> &ParentMap);
246 void HoistOutOfLoop(MachineDomTreeNode *HeaderN);
248 void HoistRegion(MachineDomTreeNode *N, bool IsHeader);
396 MachineDomTreeNode *N = DT->getNode(CurLoop->getHeader()); in runOnMachineFunction()
683 void MachineLICMBase::ExitScopeIfDone(MachineDomTreeNode *Node, in ExitScopeIfDone()
684 DenseMap<MachineDomTreeNode*, unsigned> &OpenChildren, in ExitScopeIfDone() argument
685 DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> &ParentMap) { in ExitScopeIfDone()
693 while (MachineDomTreeNode *Parent = ParentMap[Node]) { in ExitScopeIfDone()
[all …]
DMachineDominators.cpp104 MachineDomTreeNode *SuccDTNode = DT->getNode(Succ); in applySplitCriticalEdges()
139 MachineDomTreeNode *NewDTNode = DT->addNewBlock(Edge.NewBB, Edge.FromBB); in applySplitCriticalEdges()
/external/llvm-project/llvm/lib/CodeGen/
DMachineCSE.cpp135 void ExitScopeIfDone(MachineDomTreeNode *Node,
136 DenseMap<MachineDomTreeNode*, unsigned> &OpenChildren);
137 bool PerformCSE(MachineDomTreeNode *Node);
720 MachineCSE::ExitScopeIfDone(MachineDomTreeNode *Node, in ExitScopeIfDone()
721 DenseMap<MachineDomTreeNode*, unsigned> &OpenChildren) { in ExitScopeIfDone() argument
729 while (MachineDomTreeNode *Parent = Node->getIDom()) { in ExitScopeIfDone()
738 bool MachineCSE::PerformCSE(MachineDomTreeNode *Node) { in PerformCSE()
739 SmallVector<MachineDomTreeNode*, 32> Scopes; in PerformCSE()
740 SmallVector<MachineDomTreeNode*, 8> WorkList; in PerformCSE()
741 DenseMap<MachineDomTreeNode*, unsigned> OpenChildren; in PerformCSE()
[all …]
DInlineSpiller.cpp125 DenseMap<MachineDomTreeNode *, MachineInstr *> &SpillBBToSpill);
129 SmallVectorImpl<MachineDomTreeNode *> &Orders,
131 DenseMap<MachineDomTreeNode *, unsigned> &SpillsToKeep,
132 DenseMap<MachineDomTreeNode *, MachineInstr *> &SpillBBToSpill);
1228 DenseMap<MachineDomTreeNode *, MachineInstr *> &SpillBBToSpill) { in rmRedundantSpills() argument
1234 MachineDomTreeNode *Node = MDT.getBase().getNode(Block); in rmRedundantSpills()
1259 SmallVectorImpl<MachineDomTreeNode *> &Orders, in getVisitOrders()
1261 DenseMap<MachineDomTreeNode *, unsigned> &SpillsToKeep, in getVisitOrders() argument
1262 DenseMap<MachineDomTreeNode *, MachineInstr *> &SpillBBToSpill) { in getVisitOrders()
1265 SmallPtrSet<MachineDomTreeNode *, 8> WorkSet; in getVisitOrders()
[all …]
DMachineLICM.cpp243 MachineDomTreeNode *Node,
244 DenseMap<MachineDomTreeNode *, unsigned> &OpenChildren,
245 DenseMap<MachineDomTreeNode *, MachineDomTreeNode *> &ParentMap);
247 void HoistOutOfLoop(MachineDomTreeNode *HeaderN);
395 MachineDomTreeNode *N = DT->getNode(CurLoop->getHeader()); in runOnMachineFunction()
688 void MachineLICMBase::ExitScopeIfDone(MachineDomTreeNode *Node, in ExitScopeIfDone()
689 DenseMap<MachineDomTreeNode*, unsigned> &OpenChildren, in ExitScopeIfDone() argument
690 DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> &ParentMap) { in ExitScopeIfDone()
698 while (MachineDomTreeNode *Parent = ParentMap[Node]) { in ExitScopeIfDone()
711 void MachineLICMBase::HoistOutOfLoop(MachineDomTreeNode *HeaderN) { in HoistOutOfLoop()
[all …]
DMachineDominators.cpp104 MachineDomTreeNode *SuccDTNode = DT->getNode(Succ); in applySplitCriticalEdges()
139 MachineDomTreeNode *NewDTNode = DT->addNewBlock(Edge.NewBB, Edge.FromBB); in applySplitCriticalEdges()
/external/llvm-project/llvm/lib/Target/Mips/
DMipsOptimizePICCall.cpp66 MBBInfo(MachineDomTreeNode *N);
68 const MachineDomTreeNode *getNode() const;
74 MachineDomTreeNode *Node;
181 MBBInfo::MBBInfo(MachineDomTreeNode *N) : Node(N), HTScope(nullptr) {} in MBBInfo()
183 const MachineDomTreeNode *MBBInfo::getNode() const { return Node; } in getNode()
220 const MachineDomTreeNode *Node = MBBI.getNode(); in runOnMachineFunction()
/external/llvm/lib/Target/AArch64/
DAArch64CleanupLocalDynamicTLSPass.cpp60 bool VisitNode(MachineDomTreeNode *Node, unsigned TLSBaseAddrReg) { in VisitNode()
86 for (MachineDomTreeNode *N : *Node) { in VisitNode()

1234