Home
last modified time | relevance | path

Searched refs:TmpFile (Results 1 – 7 of 7) sorted by relevance

/llvm-project/mlir/lib/Target/LLVM/NVVM/
H A DTarget.cpp223 using TmpFile = std::pair<llvm::SmallString<128>, llvm::FileRemover>; in findTool()
226 std::optional<TmpFile> createTemp(StringRef name, StringRef suffix); in findTool()
245 std::optional<NVPTXSerializer::TmpFile> in findTool()
255 return TmpFile(filename, llvm::FileRemover(filename.c_str()));
323 std::optional<TmpFile> ptxFile = createTemp(basename, "ptx"); in compileToBinary()
326 std::optional<TmpFile> logFile = createTemp(basename, "log"); in compileToBinary()
329 std::optional<TmpFile> binaryFile = createTemp(basename, "bin"); in compileToBinary()
332 TmpFile cubinFile; in compileToBinary()
335 cubinFile = TmpFile(cubinFilename.str(), llvm::FileRemover(cubinFilename)); in compileToBinary()
183 using TmpFile = std::pair<llvm::SmallString<128>, llvm::FileRemover>; global() typedef in __anon1c89f8590411::NVPTXSerializer
/llvm-project/offload/plugins-nextgen/host/src/
H A Drtl.cpp182 FILE *TmpFile = fdopen(TmpFileFd, "wb"); in loadBinaryImpl() local
183 if (!TmpFile) in loadBinaryImpl()
188 size_t Written = fwrite(Image->getStart(), Image->getSize(), 1, TmpFile); in loadBinaryImpl()
194 int Ret = fclose(TmpFile); in loadBinaryImpl()
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/
H A Downing-memory-legacy-functions.cpp189 FILE *TmpFile = tmpfile(); in test_legacy_consumers() local
191 FILE *File6 = freopen("testfile.txt", "w", TmpFile); // Bad, both return and argument in test_legacy_consumers()
/llvm-project/clang/lib/Driver/ToolChains/
H A DHIPSPV.cpp33 auto TmpFile = C.getDriver().GetTemporaryPath(Prefix, Extension); in getTempFile() local
34 return C.addTempFile(C.getArgs().MakeArgString(TmpFile)); in getTempFile()
/llvm-project/clang/tools/scan-build/libexec/
H A Dccc-analyzer34 my ($TmpFH, $TmpFile) = tempfile("temp_buf_XXXXXX",
37 open(STDOUT, ">$TmpFile");
/llvm-project/llvm/tools/obj2yaml/
H A Ddwarf2yaml.cpp406 DWARFYAML::File TmpFile; in dumpDebugLines() local
407 if (dumpFileEntry(LineData, Offset, TmpFile)) in dumpDebugLines()
408 DebugLines.Files.push_back(TmpFile); in dumpDebugLines()
/llvm-project/clang/lib/Frontend/
H A DPrecompiledPreamble.cpp206 if (const char *TmpFile = ::getenv("CINDEXTEST_PREAMBLE_FILE")) in create() local
207 return std::unique_ptr<TempPCHFile>(new TempPCHFile(TmpFile)); in create()