[SCEV] Return ArrayRef for SCEV operands() (NFC)
authorNikita Popov <npopov@redhat.com>
Fri, 16 Dec 2022 14:29:47 +0000 (15:29 +0100)
committerNikita Popov <npopov@redhat.com>
Fri, 16 Dec 2022 14:36:19 +0000 (15:36 +0100)
commit04d652994d479c98980e85d5742fc283a12ca3d4
tree8d7071195475aed6f2c90b81a6da05d6845a7ab5
parent7aa9b335d63caf61bc0f2de5ace5b48008f5f509
[SCEV] Return ArrayRef for SCEV operands() (NFC)

Use a consistent type for the operands() methods of different SCEV
types. Also make the API consistent by only providing operands(),
rather than also providin op_begin() and op_end() for some of them.
llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h
llvm/lib/Analysis/ScalarEvolution.cpp
llvm/lib/Transforms/Scalar/LoopFuse.cpp
llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp