summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcello Maggioni <hayarms@gmail.com>2019-10-17 03:12:58 +0000
committerMarcello Maggioni <hayarms@gmail.com>2019-10-17 03:12:58 +0000
commit5926eb5fe64ac9e2c1324811a0cc0d7bd5fb2da7 (patch)
treea3e18ab7a1b7afc9f461f818af0bf313f372811d
parent6fc9563dba6319ab0715c6fd4cb072dc6edc4c72 (diff)
downloadbcm5719-llvm-5926eb5fe64ac9e2c1324811a0cc0d7bd5fb2da7.tar.gz
bcm5719-llvm-5926eb5fe64ac9e2c1324811a0cc0d7bd5fb2da7.zip
Clang-formatting of some files in LiveRangeCalc header (LiveRangeCalc.h)
NFC llvm-svn: 375076
-rw-r--r--llvm/include/llvm/CodeGen/LiveRangeCalc.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/llvm/include/llvm/CodeGen/LiveRangeCalc.h b/llvm/include/llvm/CodeGen/LiveRangeCalc.h
index 11aea5a3b01..08026c05733 100644
--- a/llvm/include/llvm/CodeGen/LiveRangeCalc.h
+++ b/llvm/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<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));
}
OpenPOWER on IntegriCloud