Introduce an GCRelocateInst class [NFC]
authorPhilip Reames <listmail@philipreames.com>
Tue, 12 Apr 2016 18:05:10 +0000 (18:05 +0000)
committerPhilip Reames <listmail@philipreames.com>
Tue, 12 Apr 2016 18:05:10 +0000 (18:05 +0000)
commit92d1f0cb6d4f66a285e3e85bfc2d55fb96b16ae9
treed39c5157d9a7c5adc3b1f8cb5418a59dc3ce8647
parente6a0a23e0883a2252035ad238891992ae90140c2
Introduce an GCRelocateInst class [NFC]

Previously, we were using isGCRelocate predicates.  Using a subclass of IntrinsicInst is far more idiomatic.  The refactoring also enables a couple of minor simplifications and code sharing.

llvm-svn: 266098
llvm/include/llvm/IR/Statepoint.h
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
llvm/lib/IR/Statepoint.cpp
llvm/lib/IR/Verifier.cpp