@@ -658,9 +658,9 @@ class IRBuilderResult : public Result {
658
658
std::vector<Ptr> Args;
659
659
std::set<unsigned > AddressArgs;
660
660
std::map<unsigned , std::string> IntegerArgs;
661
- IRBuilderResult (StringRef CallPrefix, std::vector<Ptr> Args,
662
- std::set<unsigned > AddressArgs,
663
- std::map<unsigned , std::string> IntegerArgs)
661
+ IRBuilderResult (StringRef CallPrefix, const std::vector<Ptr> & Args,
662
+ const std::set<unsigned > & AddressArgs,
663
+ const std::map<unsigned , std::string> & IntegerArgs)
664
664
: CallPrefix(CallPrefix), Args(Args), AddressArgs(AddressArgs),
665
665
IntegerArgs (IntegerArgs) {}
666
666
void genCode (raw_ostream &OS,
@@ -727,8 +727,9 @@ class IRIntrinsicResult : public Result {
727
727
std::string IntrinsicID;
728
728
std::vector<const Type *> ParamTypes;
729
729
std::vector<Ptr> Args;
730
- IRIntrinsicResult (StringRef IntrinsicID, std::vector<const Type *> ParamTypes,
731
- std::vector<Ptr> Args)
730
+ IRIntrinsicResult (StringRef IntrinsicID,
731
+ const std::vector<const Type *> &ParamTypes,
732
+ const std::vector<Ptr> &Args)
732
733
: IntrinsicID(std::string(IntrinsicID)), ParamTypes(ParamTypes),
733
734
Args (Args) {}
734
735
void genCode (raw_ostream &OS,
0 commit comments