aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
diff options
context:
space:
mode:
authorAnatoly Trosinenko <atrosinenko@accesssoftek.com>2024-01-23 17:21:40 +0300
committerGitHub <noreply@github.com>2024-01-23 17:21:40 +0300
commit10bd69a4f72a094f4e157ed3e226da426432ef74 (patch)
tree5b1b4d2983da591404aaebc2c5fb409c3e86f09f /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
parent654131fab22e71f156d8fa9d37389622f1652438 (diff)
downloadllvm-10bd69a4f72a094f4e157ed3e226da426432ef74.zip
llvm-10bd69a4f72a094f4e157ed3e226da426432ef74.tar.gz
llvm-10bd69a4f72a094f4e157ed3e226da426432ef74.tar.bz2
[MachineOutliner] Refactor iterating over Candidate's instructions (#78972)
Make Candidate's front() and back() functions return references to MachineInstr and introduce begin() and end() returning iterators, the same way it is usually done in other container-like classes. This makes possible to iterate over the instructions contained in Candidate the same way one can iterate over MachineBasicBlock (note that begin() and end() return bundled iterators, just like MachineBasicBlock does, but no instr_begin() and instr_end() are defined yet).
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions