15 #include "llvm/Support/Path.h"
17 using namespace circt;
24 const llvm::Twine &suffix) {
25 if (llvm::sys::path::is_absolute(suffix)) {
27 suffix.toVector(base);
static StringAttr append(StringAttr base, const Twine &suffix)
Return a attribute with the specified suffix appended.
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
void appendPossiblyAbsolutePath(llvm::SmallVectorImpl< char > &base, const llvm::Twine &suffix)
Append a path to an existing path, replacing it if the other path is absolute.