Replace all accesses to User::OperandList with getter and setter methods. NFC.
authorPete Cooper <peter_cooper@apple.com>
Fri, 12 Jun 2015 17:48:05 +0000 (17:48 +0000)
committerPete Cooper <peter_cooper@apple.com>
Fri, 12 Jun 2015 17:48:05 +0000 (17:48 +0000)
commitcff40fc84aed326d99e682a8835be60345ca7b49
treea7c270ac83ebe2048c50428e0c5fee57a6db7ed2
parent18dd79c3966e20a551adeb589252f46fa6aa8225
Replace all accesses to User::OperandList with getter and setter methods. NFC.

We don't want anyone to access OperandList directly as its going to be removed
and computed instead.  This uses getter's and setter's instead in which we
can later change the underlying implementation of OperandList.

Reviewed by Duncan Exon Smith.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239620 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Instructions.h
include/llvm/IR/OperandTraits.h
include/llvm/IR/User.h
lib/IR/Constants.cpp
lib/IR/Instructions.cpp
lib/IR/User.cpp