std::vector<std::string> PhysRegs;
std::string PredicateCheck;
- InstructionMemo(std::string Name, const CodeGenRegisterClass *RC,
- std::string SubRegNo, std::vector<std::string> PhysRegs,
- std::string PredicateCheck)
- : Name(Name), RC(RC), SubRegNo(SubRegNo), PhysRegs(PhysRegs),
- PredicateCheck(PredicateCheck) {}
+ InstructionMemo(const std::string &Name, const CodeGenRegisterClass *RC,
+ const std::string &SubRegNo,
+ const std::vector<std::string> &PhysRegs,
+ const std::string &PredicateCheck)
+ : Name(Name), RC(RC), SubRegNo(SubRegNo), PhysRegs(PhysRegs),
+ PredicateCheck(PredicateCheck) {}
// Make sure we do not copy InstructionMemo.
InstructionMemo(const InstructionMemo &Other) = delete;