Lines Matching full:basename
90 StringRef BaseName; in scanLibDevicePath() local
92 BaseName = FileName.drop_back(Suffix2.size()); in scanLibDevicePath()
94 BaseName = FileName.drop_back(Suffix.size()); in scanLibDevicePath()
97 if (BaseName == "ocml") { in scanLibDevicePath()
99 } else if (BaseName == "ockl") { in scanLibDevicePath()
101 } else if (BaseName == "opencl") { in scanLibDevicePath()
103 } else if (BaseName == "hip") { in scanLibDevicePath()
105 } else if (BaseName == "asanrtl") { in scanLibDevicePath()
107 } else if (BaseName == "oclc_finite_only_off") { in scanLibDevicePath()
109 } else if (BaseName == "oclc_finite_only_on") { in scanLibDevicePath()
111 } else if (BaseName == "oclc_daz_opt_on") { in scanLibDevicePath()
113 } else if (BaseName == "oclc_daz_opt_off") { in scanLibDevicePath()
115 } else if (BaseName == "oclc_correctly_rounded_sqrt_on") { in scanLibDevicePath()
117 } else if (BaseName == "oclc_correctly_rounded_sqrt_off") { in scanLibDevicePath()
119 } else if (BaseName == "oclc_unsafe_math_on") { in scanLibDevicePath()
121 } else if (BaseName == "oclc_unsafe_math_off") { in scanLibDevicePath()
123 } else if (BaseName == "oclc_wavefrontsize64_on") { in scanLibDevicePath()
125 } else if (BaseName == "oclc_wavefrontsize64_off") { in scanLibDevicePath()
127 } else if (BaseName.startswith(ABIVersionPrefix)) { in scanLibDevicePath()
129 if (BaseName.drop_front(ABIVersionPrefix.size()) in scanLibDevicePath()
137 if (!BaseName.startswith(DeviceLibPrefix)) in scanLibDevicePath()
141 BaseName.drop_front(DeviceLibPrefix.size()); in scanLibDevicePath()