Lines Matching refs:MHS
916 ProfileTernOpInit(FoldingSetNodeID &ID, unsigned Opcode, Init *LHS, Init *MHS, in ProfileTernOpInit() argument
920 ID.AddPointer(MHS); in ProfileTernOpInit()
925 TernOpInit *TernOpInit::get(TernaryOp Opc, Init *LHS, Init *MHS, Init *RHS, in get() argument
931 ProfileTernOpInit(ID, Opc, LHS, MHS, RHS, Type); in get()
937 TernOpInit *I = new TernOpInit(Opc, LHS, MHS, RHS, Type); in get()
947 static Init *ForeachHelper(Init *LHS, Init *MHS, Init *RHS, RecTy *Type,
979 static Init *ForeachHelper(Init *LHS, Init *MHS, Init *RHS, RecTy *Type, in ForeachHelper() argument
992 DagInit *MHSd = dyn_cast<DagInit>(MHS); in ForeachHelper()
1016 ListInit *MHSl = dyn_cast<ListInit>(MHS); in ForeachHelper()
1049 DefInit *MHSd = dyn_cast<DefInit>(MHS); in Fold()
1050 VarInit *MHSv = dyn_cast<VarInit>(MHS); in Fold()
1051 StringInit *MHSs = dyn_cast<StringInit>(MHS); in Fold()
1088 if (Init *Result = ForeachHelper(LHS, MHS, RHS, getType(), in Fold()
1100 return MHS; in Fold()
1121 Init *mhs = MHS->resolveReferences(R, RV); in resolveReferences()
1126 return (TernOpInit::get(getOpcode(), lhs, MHS, in resolveReferences()
1131 Init *mhs = MHS->resolveReferences(R, RV); in resolveReferences()
1134 if (LHS != lhs || MHS != mhs || RHS != rhs) in resolveReferences()
1147 return Result + "(" + LHS->getAsString() + ", " + MHS->getAsString() + ", " + in getAsString()