[llvm] r375076 - Clang-formatting of some files in LiveRangeCalc header (LiveRangeCalc.h)
Marcello Maggioni via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 16 20:12:59 PDT 2019
Author: mggm
Date: Wed Oct 16 20:12:58 2019
New Revision: 375076
URL: http://llvm.org/viewvc/llvm-project?rev=375076&view=rev
Log:
Clang-formatting of some files in LiveRangeCalc header (LiveRangeCalc.h)
NFC
Modified:
llvm/trunk/include/llvm/CodeGen/LiveRangeCalc.h
Modified: llvm/trunk/include/llvm/CodeGen/LiveRangeCalc.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/LiveRangeCalc.h?rev=375076&r1=375075&r2=375076&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/LiveRangeCalc.h (original)
+++ llvm/trunk/include/llvm/CodeGen/LiveRangeCalc.h Wed Oct 16 20:12:58 2019
@@ -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<SlotIndex> Undefs);
+ bool findReachingDefs(LiveRange &LR, MachineBasicBlock &UseMBB, SlotIndex Use,
+ unsigned PhysReg, ArrayRef<SlotIndex> 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));
}
More information about the llvm-commits
mailing list