From 1beabccff87a446232d7d04fb1e38a2394cd7d8f Mon Sep 17 00:00:00 2001 From: Marcello Maggioni Date: Thu, 17 Oct 2019 03:12:58 +0000 Subject: [PATCH] Clang-formatting of some files in LiveRangeCalc header (LiveRangeCalc.h) NFC llvm-svn: 375076 --- include/llvm/CodeGen/LiveRangeCalc.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/include/llvm/CodeGen/LiveRangeCalc.h b/include/llvm/CodeGen/LiveRangeCalc.h index 11aea5a3b01..08026c05733 100644 --- a/include/llvm/CodeGen/LiveRangeCalc.h +++ b/include/llvm/CodeGen/LiveRangeCalc.h @@ -114,7 +114,7 @@ class LiveRangeCalc { VNInfo *Value = nullptr; LiveInBlock(LiveRange &LR, MachineDomTreeNode *node, SlotIndex kill) - : LR(LR), DomNode(node), Kill(kill) {} + : LR(LR), DomNode(node), Kill(kill) {} }; /// LiveIn - Work list of blocks where the live-in value has yet to be @@ -145,9 +145,8 @@ class LiveRangeCalc { /// @p Undef, the function returns false. /// /// PhysReg, when set, is used to verify live-in lists on basic blocks. - bool findReachingDefs(LiveRange &LR, MachineBasicBlock &UseMBB, - SlotIndex Use, unsigned PhysReg, - ArrayRef Undefs); + bool findReachingDefs(LiveRange &LR, MachineBasicBlock &UseMBB, SlotIndex Use, + unsigned PhysReg, ArrayRef Undefs); /// updateSSA - Compute the values that will be live in to all requested /// blocks in LiveIn. Create PHI-def values as required to preserve SSA form. @@ -267,8 +266,7 @@ public: /// @param Kill Index in block where LI is killed. If the value is /// live-through, set Kill = SLotIndex() and also call /// setLiveOutValue(MBB, 0). - void addLiveInBlock(LiveRange &LR, - MachineDomTreeNode *DomNode, + void addLiveInBlock(LiveRange &LR, MachineDomTreeNode *DomNode, SlotIndex Kill = SlotIndex()) { LiveIn.push_back(LiveInBlock(LR, DomNode, Kill)); }