[PATCH] D87725: [NFC][Regalloc] accessors for 'reg' and 'weight'
Mircea Trofin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 15 14:56:21 PDT 2020
mtrofin created this revision.
mtrofin added a reviewer: wmi.
Herald added subscribers: llvm-commits, kerbowa, tpr, hiraditya, jgravelle-google, sbc100, nhaehnle, jvesely, dschuff, arsenm, qcolombet, MatzeB.
Herald added a project: LLVM.
mtrofin requested review of this revision.
Herald added a subscriber: aheejin.
Also renamed the fields to follow style guidelines.
Accessors help with readability - weight mutation, in particular,
is easier to follow this way.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D87725
Files:
llvm/include/llvm/CodeGen/LiveInterval.h
llvm/include/llvm/CodeGen/LiveRangeEdit.h
llvm/lib/CodeGen/CalcSpillWeights.cpp
llvm/lib/CodeGen/InlineSpiller.cpp
llvm/lib/CodeGen/LiveDebugVariables.cpp
llvm/lib/CodeGen/LiveInterval.cpp
llvm/lib/CodeGen/LiveIntervalCalc.cpp
llvm/lib/CodeGen/LiveIntervalUnion.cpp
llvm/lib/CodeGen/LiveIntervals.cpp
llvm/lib/CodeGen/LiveRangeEdit.cpp
llvm/lib/CodeGen/LiveRegMatrix.cpp
llvm/lib/CodeGen/MachineVerifier.cpp
llvm/lib/CodeGen/RegAllocBase.cpp
llvm/lib/CodeGen/RegAllocBasic.cpp
llvm/lib/CodeGen/RegAllocGreedy.cpp
llvm/lib/CodeGen/RegAllocPBQP.cpp
llvm/lib/CodeGen/RegisterCoalescer.cpp
llvm/lib/CodeGen/RenameIndependentSubregs.cpp
llvm/lib/CodeGen/SplitKit.cpp
llvm/lib/CodeGen/StackSlotColoring.cpp
llvm/lib/CodeGen/TargetRegisterInfo.cpp
llvm/lib/Target/AMDGPU/GCNNSAReassign.cpp
llvm/lib/Target/AMDGPU/GCNRegBankReassign.cpp
llvm/lib/Target/WebAssembly/WebAssemblyOptimizeLiveIntervals.cpp
llvm/lib/Target/WebAssembly/WebAssemblyRegColoring.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87725.292031.patch
Type: text/x-patch
Size: 72998 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200915/fe7a4470/attachment.bin>
More information about the llvm-commits
mailing list