Lines Matching defs:BaseName
2138 /// does not provide a filename, then use BaseName, and use the extension
2141 StringRef BaseName,
2146 // If the argument is empty, output to BaseName in the current dir.
2147 Filename = BaseName;
2149 // If the argument is a directory, output to BaseName in that dir.
2150 llvm::sys::path::append(Filename, BaseName);
2183 StringRef BaseName = llvm::sys::path::filename(BaseInput);
2188 MakeCLOutputFilename(C.getArgs(), NameArg, BaseName, types::TY_PP_C),
2202 StringRef BaseName = llvm::sys::path::filename(BaseInput);
2205 MakeCLOutputFilename(C.getArgs(), FaValue, BaseName, JA.getType()),
2221 StringRef BaseName;
2225 BaseName = BasePath;
2227 BaseName = llvm::sys::path::filename(BasePath);
2240 MakeCLOutputFilename(C.getArgs(), Val, BaseName, types::TY_Object);
2250 MakeCLOutputFilename(C.getArgs(), Val, BaseName, types::TY_Image);
2253 // clang-cl uses BaseName for the executable name.
2255 MakeCLOutputFilename(C.getArgs(), "", BaseName, types::TY_Image);
2265 NamedOutput = C.getArgs().MakeArgString(GetClPchPath(C, BaseName).c_str());
2272 End = BaseName.rfind('.');
2273 SmallString<128> Suffixed(BaseName.substr(0, End));
2302 if (!AtTopLevel && isSaveTempsEnabled() && NamedOutput == BaseName) {
2306 llvm::sys::path::append(Result, BaseName);
2431 std::string Driver::GetClPchPath(Compilation &C, StringRef BaseName) const {
2444 Output = BaseName;