Home | History | Annotate | Download | only in Support

Lines Matching refs:StringRef

141 Triple::ArchType Triple::getArchTypeForLLVMName(StringRef Name) {
170 Triple::ArchType Triple::getArchTypeForDarwinArchName(StringRef Str) {
225 static Triple::ArchType parseArch(StringRef ArchName) {
259 static Triple::VendorType parseVendor(StringRef VendorName) {
269 static Triple::OSType parseOS(StringRef OSName) {
294 static Triple::EnvironmentType parseEnvironment(StringRef EnvironmentName) {
346 std::string Triple::normalize(StringRef Str) {
348 SmallVector<StringRef, 4> Components;
391 StringRef Comp = Components[Idx];
421 StringRef CurrentComponent(""); // The empty component.
440 StringRef CurrentComponent(""); // The empty component.
480 StringRef Triple::getArchName() const {
481 return StringRef(Data).split('-').first; // Isolate first component
484 StringRef Triple::getVendorName() const {
485 StringRef Tmp = StringRef(Data).split('-').second; // Strip first component
489 StringRef Triple::getOSName() const {
490 StringRef Tmp = StringRef(Data).split('-').second; // Strip first component
495 StringRef Triple::getEnvironmentName() const {
496 StringRef Tmp = StringRef(Data).split('-').second; // Strip first component
501 StringRef Triple::getOSAndEnvironmentName() const {
502 StringRef Tmp = StringRef(Data).split('-').second; // Strip first component
506 static unsigned EatNumber(StringRef &Str) {
523 StringRef OSName = getOSName();
526 StringRef OSTypeName = getOSTypeName(getOS());
607 void Triple::setArchName(StringRef Str) {
618 void Triple::setVendorName(StringRef Str) {
622 void Triple::setOSName(StringRef Str) {
630 void Triple::setEnvironmentName(StringRef Str) {
635 void Triple::setOSAndEnvironmentName(StringRef Str) {