Lines Matching defs:StringConcat
40 class StringConcat : public ResourceObj {
66 StringConcat(PhaseStringOpts* stringopts, CallStaticJavaNode* end):
101 StringConcat* merge(StringConcat* other, Node* arg);
173 if (amode == StringConcat::StringMode ||
174 amode == StringConcat::StringNullCheckMode) {
255 void StringConcat::eliminate_unneeded_control() {
275 StringConcat* StringConcat::merge(StringConcat* other, Node* arg) {
276 StringConcat* result = new StringConcat(_stringopts, _end);
295 // made up the other StringConcat
309 void StringConcat::eliminate_call(CallNode* call) {
346 void StringConcat::eliminate_initialize(InitializeNode* init) {
381 if (StringConcat::is_SB_toString(ctrl)) {
400 StringConcat* PhaseStringOpts::build_candidate(CallStaticJavaNode* call) {
423 StringConcat* sc = new StringConcat(this, call);
595 GrowableArray<StringConcat*> concats;
598 StringConcat* sc = build_candidate(toStrings.pop()->as_CallStaticJava());
607 StringConcat* sc = concats.at(c);
610 if (arg->is_Proj() && StringConcat::is_SB_toString(arg->in(0))) {
614 StringConcat* other = concats.at(o);
622 StringConcat* merged = sc->merge(other, arg);
652 StringConcat* sc = concats.at(c);
711 bool StringConcat::validate_control_flow() {
1267 void PhaseStringOpts::replace_string_concat(StringConcat* sc) {
1331 case StringConcat::IntMode: {
1341 case StringConcat::StringNullCheckMode: {
1360 case StringConcat::StringMode: {
1396 case StringConcat::CharMode: {
1450 case StringConcat::IntMode: {
1457 case StringConcat::StringNullCheckMode:
1458 case StringConcat::StringMode: {
1462 case StringConcat::CharMode: {