Lines Matching refs:UnOpInit
606 UnOpInit *UnOpInit::get(UnaryOp opc, Init *lhs, RecTy *Type) {
608 static DenseMap<Key, std::unique_ptr<UnOpInit>> ThePool;
612 std::unique_ptr<UnOpInit> &I = ThePool[TheKey];
613 if (!I) I.reset(new UnOpInit(opc, lhs, Type));
617 Init *UnOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) const {
712 return const_cast<UnOpInit *>(this);
715 Init *UnOpInit::resolveReferences(Record &R, const RecordVal *RV) const {
719 return (UnOpInit::get(getOpcode(), lhs, getType()))->Fold(&R, nullptr);
723 std::string UnOpInit::getAsString() const {