This is an archive of the discontinued LLVM Phabricator instance.

[llvm-exegesis][NFC] Use accessors for Operand.
ClosedPublic

Authored by gchatelet on Oct 8 2018, 6:18 AM.

Details

Summary

This moves checking logic into the accessors and makes the structure smaller.
It will also help when/if Operand are generated from the TD files.

Diff Detail

Repository
rL LLVM

Event Timeline

gchatelet created this revision.Oct 8 2018, 6:18 AM
gchatelet updated this revision to Diff 168661.Oct 8 2018, 7:33 AM
  • Also introducing accessors for Variable and Instruction.
gchatelet updated this revision to Diff 168665.Oct 8 2018, 7:50 AM
  • As discussed, removing underscores.
courbet accepted this revision.Oct 9 2018, 1:56 AM
This revision is now accepted and ready to land.Oct 9 2018, 1:56 AM
This revision was automatically updated to reflect the committed changes.