Home | History | Annotate | Download | only in IR

Lines Matching refs:MDString

125 // Test that construction of MDString with different value produces different
126 // MDString objects, even with the same string pointer and nulls in the string.
129 MDString *s1 = MDString::get(Context, StringRef(&x[0], 3));
131 MDString *s2 = MDString::get(Context, StringRef(&x[0], 3));
136 // same MDString object, even with different pointers.
141 MDString *s1 = MDString::get(Context, StringRef(&x[0], 3));
142 MDString *s2 = MDString::get(Context, StringRef(&y[0], 3));
146 // Test that MDString prints out the string we fed it.
150 MDString *s = MDString::get(Context, StringRef(str, 13));
160 // Test printing of MDString with non-printable characters.
163 MDString *s = MDString::get(Context, StringRef(str+0, 5));
177 MDString *s1 = MDString::get(Context, StringRef(&x[0], 3));
178 MDString *s2 = MDString::get(Context, StringRef(&y[0], 3));
263 MDString *S = MDString::get(Context, "foo");
322 MDString *S = MDString::get(Context, "foo");
836 EXPECT_EQ(MDString::get(Context, Header), N->getOperand(0));