Lines Matching refs:MHS
1181 ProfileTernOpInit(FoldingSetNodeID &ID, unsigned Opcode, Init *LHS, Init *MHS, in ProfileTernOpInit() argument
1185 ID.AddPointer(MHS); in ProfileTernOpInit()
1190 TernOpInit *TernOpInit::get(TernaryOp Opc, Init *LHS, Init *MHS, Init *RHS, in get() argument
1195 ProfileTernOpInit(ID, Opc, LHS, MHS, RHS, Type); in get()
1201 TernOpInit *I = new(Allocator) TernOpInit(Opc, LHS, MHS, RHS, Type); in get()
1245 static Init *ForeachHelper(Init *LHS, Init *MHS, Init *RHS, RecTy *Type, in ForeachHelper() argument
1247 if (DagInit *MHSd = dyn_cast<DagInit>(MHS)) in ForeachHelper()
1250 if (ListInit *MHSl = dyn_cast<ListInit>(MHS)) { in ForeachHelper()
1266 static Init *FilterHelper(Init *LHS, Init *MHS, Init *RHS, RecTy *Type, in FilterHelper() argument
1268 if (ListInit *MHSl = dyn_cast<ListInit>(MHS)) { in FilterHelper()
1296 DefInit *MHSd = dyn_cast<DefInit>(MHS); in Fold()
1297 VarInit *MHSv = dyn_cast<VarInit>(MHS); in Fold()
1298 StringInit *MHSs = dyn_cast<StringInit>(MHS); in Fold()
1336 if (Init *Result = ForeachHelper(LHS, MHS, RHS, getType(), CurRec)) in Fold()
1342 if (Init *Result = FilterHelper(LHS, MHS, RHS, getType(), CurRec)) in Fold()
1351 return MHS; in Fold()
1358 ListInit *MHSl = dyn_cast<ListInit>(MHS); in Fold()
1360 bool MHSok = MHSl || isa<UnsetInit>(MHS); in Fold()
1363 if (isa<UnsetInit>(MHS) && isa<UnsetInit>(RHS)) in Fold()
1383 IntInit *MHSi = dyn_cast<IntInit>(MHS); in Fold()
1404 StringInit *MHSs = dyn_cast<StringInit>(MHS); in Fold()
1434 return MHS->resolveReferences(R); in resolveReferences()
1439 Init *mhs = MHS->resolveReferences(R); in resolveReferences()
1450 if (LHS != lhs || MHS != mhs || RHS != rhs) in resolveReferences()
1470 ", " + MHS->getAsString() + ", " + RHS->getAsString() + ")"); in getAsString()