Lines Matching refs:RHSo
893 static Init *EvaluateOperation(OpInit *RHSo, Init *LHS, Init *Arg,
899 return ForeachHelper(LHS, Arg, RHSo, Type, CurRec, CurMultiClass);
902 for (unsigned i = 0; i < RHSo->getNumOperands(); ++i) {
903 if (auto *RHSoo = dyn_cast<OpInit>(RHSo->getOperand(i))) {
909 } else if (LHS->getAsString() == RHSo->getOperand(i)->getAsString()) {
912 NewOperands.push_back(RHSo->getOperand(i));
917 const OpInit *NewOp = RHSo->clone(NewOperands);
925 OpInit *RHSo = dyn_cast<OpInit>(RHS);
927 if (!RHSo)
938 if (Init *Result = EvaluateOperation(RHSo, LHS, Val,
948 if (Init *Result = EvaluateOperation(RHSo, LHS, Arg, Type,
966 for(unsigned i = 0; i < RHSo->getNumOperands(); ++i) {
968 if (LHS->getAsString() == RHSo->getOperand(i)->getAsString())
971 NewOperands.push_back(RHSo->getOperand(i));
975 const OpInit *NewOp = RHSo->clone(NewOperands);