Lines Matching +defs:buffer +defs:file +defs:name
158 << " does not exist or is not a file";
233 auto addControlVariable = [&module](StringRef name, uint32_t value,
235 if (module.getNamedGlobal(name))
242 llvm::ConstantInt::get(type, value), name, /*before=*/nullptr,
353 // Save the ISA binary to a temp file.
359 << "failed to create a temporary file for dumping the ISA binary";
369 // Create a temp file for HSA code object.
374 << "failed to create a temporary file for the HSA code object";
394 << "failed to read the HSA code object from the temp file";
398 StringRef buffer = (*hsacoFile)->getBuffer();
400 return SmallVector<char, 0>(buffer.begin(), buffer.end());