[silgen] Now that we have destructure, use it in RValue to reduce copies emitted by SILGen.

rdar://43493020
This commit is contained in:
Michael Gottesman
2018-08-19 19:02:02 -07:00
parent bd310140f3
commit a57ad403ec
14 changed files with 99 additions and 134 deletions

View File

@@ -48,6 +48,7 @@ namespace llvm {
class raw_ostream;
class APInt;
class APFloat;
template <typename Fn> class function_ref;
} // end namespace llvm
@@ -77,10 +78,11 @@ namespace swift {
using llvm::SmallSetVector;
// Other common classes.
using llvm::raw_ostream;
using llvm::APInt;
using llvm::APFloat;
using llvm::APInt;
using llvm::function_ref;
using llvm::NoneType;
using llvm::raw_ostream;
} // end namespace swift
#endif // SWIFT_BASIC_LLVM_H