Lines Matching refs:MHS

1240 ProfileTernOpInit(FoldingSetNodeID &ID, unsigned Opcode, Init *LHS, Init *MHS,  in ProfileTernOpInit()  argument
1244 ID.AddPointer(MHS); in ProfileTernOpInit()
1249 TernOpInit *TernOpInit::get(TernaryOp Opc, Init *LHS, Init *MHS, Init *RHS, in get() argument
1252 ProfileTernOpInit(ID, Opc, LHS, MHS, RHS, Type); in get()
1259 TernOpInit *I = new (RK.Allocator) TernOpInit(Opc, LHS, MHS, RHS, Type); in get()
1303 static Init *ForeachHelper(Init *LHS, Init *MHS, Init *RHS, RecTy *Type, in ForeachHelper() argument
1305 if (DagInit *MHSd = dyn_cast<DagInit>(MHS)) in ForeachHelper()
1308 if (ListInit *MHSl = dyn_cast<ListInit>(MHS)) { in ForeachHelper()
1324 static Init *FilterHelper(Init *LHS, Init *MHS, Init *RHS, RecTy *Type, in FilterHelper() argument
1326 if (ListInit *MHSl = dyn_cast<ListInit>(MHS)) { in FilterHelper()
1356 DefInit *MHSd = dyn_cast<DefInit>(MHS); in Fold()
1357 VarInit *MHSv = dyn_cast<VarInit>(MHS); in Fold()
1358 StringInit *MHSs = dyn_cast<StringInit>(MHS); in Fold()
1396 if (Init *Result = ForeachHelper(LHS, MHS, RHS, getType(), CurRec)) in Fold()
1402 if (Init *Result = FilterHelper(LHS, MHS, RHS, getType(), CurRec)) in Fold()
1411 return MHS; in Fold()
1418 ListInit *MHSl = dyn_cast<ListInit>(MHS); in Fold()
1420 bool MHSok = MHSl || isa<UnsetInit>(MHS); in Fold()
1423 if (isa<UnsetInit>(MHS) && isa<UnsetInit>(RHS)) in Fold()
1443 IntInit *MHSi = dyn_cast<IntInit>(MHS); in Fold()
1464 StringInit *MHSs = dyn_cast<StringInit>(MHS); in Fold()
1494 return MHS->resolveReferences(R); in resolveReferences()
1499 Init *mhs = MHS->resolveReferences(R); in resolveReferences()
1510 if (LHS != lhs || MHS != mhs || RHS != rhs) in resolveReferences()
1530 ", " + MHS->getAsString() + ", " + RHS->getAsString() + ")"); in getAsString()