diff options
author | Pete Cooper <peter_cooper@apple.com> | 2012-06-07 04:43:52 +0000 |
---|---|---|
committer | Pete Cooper <peter_cooper@apple.com> | 2012-06-07 04:43:52 +0000 |
commit | 4efea94fa54d0e8687b965fdf3ba46022c8e15c4 (patch) | |
tree | f728c9508ba6fcf2870cafd2e237cc6d953480c3 /include/llvm/CodeGen/MachineOperand.h | |
parent | 13a53e64957d7f6531f29e156f769b2403f1896e (diff) |
Add internal read flags to MachineInstrBuilder and hook them into the MachineOperand flag of the same name
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158137 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineOperand.h')
-rw-r--r-- | include/llvm/CodeGen/MachineOperand.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/MachineOperand.h b/include/llvm/CodeGen/MachineOperand.h index d244dd9210..9ccbfe9234 100644 --- a/include/llvm/CodeGen/MachineOperand.h +++ b/include/llvm/CodeGen/MachineOperand.h @@ -542,14 +542,15 @@ public: bool isUndef = false, bool isEarlyClobber = false, unsigned SubReg = 0, - bool isDebug = false) { + bool isDebug = false, + bool isInternalRead = false) { MachineOperand Op(MachineOperand::MO_Register); Op.IsDef = isDef; Op.IsImp = isImp; Op.IsKill = isKill; Op.IsDead = isDead; Op.IsUndef = isUndef; - Op.IsInternalRead = false; + Op.IsInternalRead = isInternalRead; Op.IsEarlyClobber = isEarlyClobber; Op.IsDebug = isDebug; Op.SmallContents.RegNo = Reg; |