Lines Matching refs:mhs
867 TernOpInit *TernOpInit::get(TernaryOp opc, Init *lhs, Init *mhs, Init *rhs,
882 mhs),
886 if (!I) I.reset(new TernOpInit(opc, lhs, mhs, rhs, Type));
890 static Init *ForeachHelper(Init *LHS, Init *MHS, Init *RHS, RecTy *Type,
922 static Init *ForeachHelper(Init *LHS, Init *MHS, Init *RHS, RecTy *Type,
935 DagInit *MHSd = dyn_cast<DagInit>(MHS);
959 ListInit *MHSl = dyn_cast<ListInit>(MHS);
992 DefInit *MHSd = dyn_cast<DefInit>(MHS);
993 VarInit *MHSv = dyn_cast<VarInit>(MHS);
994 StringInit *MHSs = dyn_cast<StringInit>(MHS);
1031 if (Init *Result = ForeachHelper(LHS, MHS, RHS, getType(),
1043 return MHS;
1064 Init *mhs = MHS->resolveReferences(R, RV);
1065 return (TernOpInit::get(getOpcode(), lhs, mhs,
1069 return (TernOpInit::get(getOpcode(), lhs, MHS,
1074 Init *mhs = MHS->resolveReferences(R, RV);
1077 if (LHS != lhs || MHS != mhs || RHS != rhs)
1078 return (TernOpInit::get(getOpcode(), lhs, mhs, rhs,
1090 return Result + "(" + LHS->getAsString() + ", " + MHS->getAsString() + ", " +