aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorMichał Górny <mgorny@moritz.systems>2021-10-05 14:16:38 +0200
committerMichał Górny <mgorny@moritz.systems>2021-10-07 16:07:04 +0200
commitecfab0b6f581c69b3e3e8b230f97a84f317bbec2 (patch)
treefffd3f6d618abc37cfffa1e14db072c9d0de2876 /llvm/lib/CodeGen/MachineFunction.cpp
parentbd8741f31dc35ac462fc17b2b489638c48075377 (diff)
downloadllvm-ecfab0b6f581c69b3e3e8b230f97a84f317bbec2.zip
llvm-ecfab0b6f581c69b3e3e8b230f97a84f317bbec2.tar.gz
llvm-ecfab0b6f581c69b3e3e8b230f97a84f317bbec2.tar.bz2
[lldb] [DynamicRegisterInfo] Support iterating over registers()
Add DynamicRegisterInfo::registers() method that returns llvm::iterator_range<> over RegisterInfos. This is a convenient replacement for GetNumRegisters() + GetRegisterInfoAtIndex(). Differential Revision: https://reviews.llvm.org/D111136
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions