From: Marcello Maggioni Date: Thu, 17 Oct 2019 03:12:58 +0000 (+0000) Subject: Clang-formatting of some files in LiveRangeCalc header (LiveRangeCalc.h) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8326c41046684e0d417bdc8eb0dbb768c06c866d;p=llvm Clang-formatting of some files in LiveRangeCalc header (LiveRangeCalc.h) NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@375076 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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)); }