Lines Matching refs:LHSs

655       if (StringInit *LHSs = dyn_cast<StringInit>(LHS))  in Fold()  local
656 return LHSs; in Fold()
664 if (StringInit *LHSs = dyn_cast<StringInit>(LHS)) { in Fold() local
665 const std::string &Name = LHSs->getValue(); in Fold()
740 if (StringInit *LHSs = dyn_cast<StringInit>(LHS)) in Fold() local
741 return IntInit::get(LHSs->getValue().empty()); in Fold()
802 DagInit *LHSs = dyn_cast<DagInit>(LHS); in Fold() local
804 if (LHSs && RHSs) { in Fold()
805 DefInit *LOp = dyn_cast<DefInit>(LHSs->getOperator()); in Fold()
811 for (unsigned i = 0, e = LHSs->getNumArgs(); i != e; ++i) { in Fold()
812 Args.push_back(LHSs->getArg(i)); in Fold()
813 ArgNames.push_back(LHSs->getArgName(i)); in Fold()
819 return DagInit::get(LHSs->getOperator(), "", Args, ArgNames); in Fold()
824 ListInit *LHSs = dyn_cast<ListInit>(LHS); in Fold() local
826 if (LHSs && RHSs) { in Fold()
828 Args.insert(Args.end(), LHSs->begin(), LHSs->end()); in Fold()
831 Args, cast<ListRecTy>(LHSs->getType())->getElementType()); in Fold()
836 StringInit *LHSs = dyn_cast<StringInit>(LHS); in Fold() local
838 if (LHSs && RHSs) in Fold()
839 return StringInit::get(LHSs->getValue() + RHSs->getValue()); in Fold()
853 StringInit *LHSs = dyn_cast<StringInit>(LHS); in Fold() local
857 if (LHSs && RHSs) in Fold()
858 return IntInit::get(LHSs->getValue() == RHSs->getValue()); in Fold()
1047 StringInit *LHSs = dyn_cast<StringInit>(LHS); in Fold() local
1069 if (LHSs && MHSs && RHSs) { in Fold()
1075 found = Val.find(LHSs->getValue(), idx); in Fold()
1078 Val.replace(found, LHSs->getValue().size(), MHSs->getValue()); in Fold()