Lines Matching refs:UnOpInit
630 UnOpInit *UnOpInit::get(UnaryOp Opc, Init *LHS, RecTy *Type) { in get()
631 static FoldingSet<UnOpInit> ThePool; in get()
632 static std::vector<std::unique_ptr<UnOpInit>> TheActualPool; in get()
638 if (UnOpInit *I = ThePool.FindNodeOrInsertPos(ID, IP)) in get()
641 UnOpInit *I = new UnOpInit(Opc, LHS, Type); in get()
643 TheActualPool.push_back(std::unique_ptr<UnOpInit>(I)); in get()
647 void UnOpInit::Profile(FoldingSetNodeID &ID) const { in Profile()
651 Init *UnOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) const { in Fold()
746 return const_cast<UnOpInit *>(this); in Fold()
749 Init *UnOpInit::resolveReferences(Record &R, const RecordVal *RV) const { in resolveReferences()
753 return (UnOpInit::get(getOpcode(), lhs, getType()))->Fold(&R, nullptr); in resolveReferences()
757 std::string UnOpInit::getAsString() const { in getAsString()