Lines Matching refs:TernOpInit
925 TernOpInit *TernOpInit::get(TernaryOp Opc, Init *LHS, Init *MHS, Init *RHS, in get()
927 static FoldingSet<TernOpInit> ThePool; in get()
928 static std::vector<std::unique_ptr<TernOpInit>> TheActualPool; in get()
934 if (TernOpInit *I = ThePool.FindNodeOrInsertPos(ID, IP)) in get()
937 TernOpInit *I = new TernOpInit(Opc, LHS, MHS, RHS, Type); in get()
939 TheActualPool.push_back(std::unique_ptr<TernOpInit>(I)); in get()
943 void TernOpInit::Profile(FoldingSetNodeID &ID) const { in Profile()
1042 Init *TernOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) const { in Fold()
1107 return const_cast<TernOpInit *>(this); in Fold()
1110 Init *TernOpInit::resolveReferences(Record &R, in resolveReferences()
1122 return (TernOpInit::get(getOpcode(), lhs, mhs, in resolveReferences()
1126 return (TernOpInit::get(getOpcode(), lhs, MHS, in resolveReferences()
1135 return (TernOpInit::get(getOpcode(), lhs, mhs, rhs, in resolveReferences()
1140 std::string TernOpInit::getAsString() const { in getAsString()
1190 if (const auto *TOI = dyn_cast<TernOpInit>(this)) { in convertInitializerTo()
1191 if (TOI->getOpcode() == TernOpInit::TernaryOp::IF && in convertInitializerTo()