| /llvm-project-15.0.7/mlir/lib/Transforms/ |
| H A D | LocationSnapshot.cpp | 24 static void generateLocationsFromIR(raw_ostream &os, StringRef fileName, in generateLocationsFromIR() argument 38 StringAttr file = builder.getStringAttr(fileName); in generateLocationsFromIR() 68 SmallString<32> filepath(fileName); in generateLocationsFromIR() 94 void mlir::generateLocationsFromIR(raw_ostream &os, StringRef fileName, in generateLocationsFromIR() argument 96 ::generateLocationsFromIR(os, fileName, op, flags, /*tag=*/StringRef()); in generateLocationsFromIR() 110 void mlir::generateLocationsFromIR(raw_ostream &os, StringRef fileName, in generateLocationsFromIR() argument 113 ::generateLocationsFromIR(os, fileName, op, flags, tag); in generateLocationsFromIR() 121 return ::generateLocationsFromIR(fileName, op, flags, tag); in generateLocationsFromIR() 130 this->fileName = fileName.str(); in LocationSnapshotPass() 146 StringRef fileName, in createLocationSnapshotPass() argument [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/ |
| H A D | rename_check.py | 19 def replaceInFileRegex(fileName, sFrom, sTo): argument 28 with io.open(fileName, 'r', encoding='utf8') as f: 33 with io.open(fileName, 'w', encoding='utf8') as f: 37 def replaceInFile(fileName, sFrom, sTo): argument 41 with io.open(fileName, 'r', encoding='utf8') as f: 69 def fileRename(fileName, sFrom, sTo): argument 70 if sFrom not in fileName or sFrom == sTo: 71 return fileName 72 newFileName = fileName.replace(sFrom, sTo) 74 os.rename(fileName, newFileName) [all …]
|
| /llvm-project-15.0.7/mlir/include/mlir/Transforms/ |
| H A D | LocationSnapshot.h | 32 void generateLocationsFromIR(raw_ostream &os, StringRef fileName, Operation *op, 37 LogicalResult generateLocationsFromIR(StringRef fileName, Operation *op, 44 void generateLocationsFromIR(raw_ostream &os, StringRef fileName, StringRef tag, 49 LogicalResult generateLocationsFromIR(StringRef fileName, StringRef tag, 59 StringRef fileName = "",
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Frontend/ |
| H A D | ModelInjector.cpp | 54 llvm::SmallString<128> fileName; in onBodySynthesis() local 57 fileName = in onBodySynthesis() 60 fileName = llvm::StringRef(D->getName().str() + ".model"); in onBodySynthesis() 62 if (!llvm::sys::fs::exists(fileName.str())) { in onBodySynthesis() 72 FrontendOpts.Inputs.emplace_back(fileName, IK); in onBodySynthesis()
|
| /llvm-project-15.0.7/mlir/lib/Target/LLVMIR/ |
| H A D | DebugTranslation.cpp | 181 llvm::DIFile *DebugTranslation::translateFile(StringRef fileName) { in translateFile() argument 182 auto *&file = fileMap[fileName]; in translateFile() 193 if (llvm::sys::path::is_absolute(fileName)) { in translateFile() 196 auto fileIt = llvm::sys::path::begin(fileName); in translateFile() 197 auto fileE = llvm::sys::path::end(fileName); in translateFile() 210 fileName = fileBuf; in translateFile() 213 return (file = builder.createFile(fileName, directory)); in translateFile()
|
| H A D | DebugTranslation.h | 49 llvm::DIFile *translateFile(StringRef fileName);
|
| /llvm-project-15.0.7/openmp/runtime/src/ |
| H A D | extractExternal.cpp | 69 static pair<const char *, streamsize> getBuf(const char *fileName) { in getBuf() argument 70 ifstream raw(fileName, ios::binary | ios::in); in getBuf() 89 rstream(const char *fileName) : _rstream(getBuf(fileName)) {} in rstream() argument 237 void computeExternalSymbols(const char *fileName, set<string> *defined, in computeExternalSymbols() argument 242 rstream f(fileName); in computeExternalSymbols() 254 fileName, (unsigned long)fileSize, symTabStart, symNEntries); in computeExternalSymbols() 291 void hideSymbols(char *fileName, const set<string> &hide) { in hideSymbols() argument 298 rstream in(fileName); in hideSymbols() 332 ofstream out(fileName, ios::trunc | ios::out | ios::binary); in hideSymbols()
|
| /llvm-project-15.0.7/llvm/utils/lit/tests/Inputs/fake-externals/ |
| H A D | fake_external.py | 4 def execute(fileName): argument 6 .format(os.path.basename(fileName)));
|
| /llvm-project-15.0.7/lld/Common/ |
| H A D | DWARF.cpp | 80 std::string fileName; in getVariableLoc() local 83 DILineInfoSpecifier::FileLineInfoKind::AbsoluteFilePath, fileName)) in getVariableLoc() 86 return std::make_pair(fileName, it->second.line); in getVariableLoc()
|
| /llvm-project-15.0.7/flang/unittests/Runtime/ |
| H A D | Stop.cpp | 89 static const std::string fileName{"file name"}; in TEST() local 93 headMessage + fileName + tailMessage + crashMessage}; in TEST() 95 RTNAME(ReportFatalUserError)(crashMessage.c_str(), fileName.c_str(), 343), in TEST()
|
| /llvm-project-15.0.7/mlir/lib/Bindings/Python/ |
| H A D | ExecutionEngineModule.cpp | 125 [](PyExecutionEngine &executionEngine, const std::string &fileName) { in PYBIND11_MODULE() argument 128 mlirStringRefCreate(fileName.c_str(), fileName.size())); in PYBIND11_MODULE()
|
| /llvm-project-15.0.7/mlir/test/Integration/Dialect/SparseTensor/CPU/ |
| H A D | sparse_sum.mlir | 67 %fileName = call @getTensorFilename(%c0) : (index) -> (!Filename) 68 %a = sparse_tensor.new %fileName : !Filename to tensor<?x?xf64, #SparseMatrix>
|
| H A D | sparse_sum_c32.mlir | 61 %fileName = call @getTensorFilename(%c0) : (index) -> (!Filename) 62 %a = sparse_tensor.new %fileName : !Filename to tensor<?x?xcomplex<f64>, #SparseMatrix>
|
| H A D | sparse_out_simple.mlir | 65 %fileName = call @getTensorFilename(%c0) : (index) -> (!Filename) 66 %x = sparse_tensor.new %fileName : !Filename to tensor<?x?xf64, #DCSR>
|
| H A D | dense_output.mlir | 72 %fileName = call @getTensorFilename(%c0) : (index) -> (!Filename) 73 %a = sparse_tensor.new %fileName
|
| H A D | sparse_matvec.mlir | 74 %fileName = call @getTensorFilename(%c0) : (index) -> (!Filename) 75 %a = sparse_tensor.new %fileName : !Filename to tensor<?x?xi32, #SparseMatrix>
|
| H A D | sparse_flatten.mlir | 76 %fileName = call @getTensorFilename(%c0) : (index) -> (!Filename) 77 %a = sparse_tensor.new %fileName : !Filename to tensor<7x3x3x3x3x3x5x3xf64, #SparseTensor>
|
| H A D | sparse_spmm.mlir | 70 %fileName = call @getTensorFilename(%c0) : (index) -> (!Filename) 71 %a = sparse_tensor.new %fileName : !Filename to tensor<?x?xf64, #SparseMatrix>
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | CFRetainRelease_NSAssertionHandler.m | 22 - (void)handleFailureInMethod:(SEL)selector object:(id)object file:(NSString *)fileName lineNumber:… 23 - (void)handleFailureInFunction:(NSString *)functionName file:(NSString *)fileName lineNumber:(NSIn…
|
| /llvm-project-15.0.7/lld/COFF/ |
| H A D | MinGW.cpp | 166 StringRef fileName = sys::path::filename(sym->getFile()->getName()); in shouldExport() local 167 return !excludeObjects.count(fileName); in shouldExport()
|
| /llvm-project-15.0.7/mlir/include/mlir-c/ |
| H A D | ExecutionEngine.h | 84 MlirStringRef fileName);
|
| /llvm-project-15.0.7/clang/test/CodeGenObjC/ |
| H A D | arc-cond-stmt.m | 11 - (void)handleFailureInMethod:(SEL)selector object:(id)object file:(NSString *)fileName lineNumber:…
|
| /llvm-project-15.0.7/lld/ELF/ |
| H A D | Writer.h | 55 llvm::StringRef fileName);
|
| /llvm-project-15.0.7/clang/test/Index/ |
| H A D | fix-its.m | 5 …volatile const void * selector, const char * functionName, const char * fileName, unsigned int lin…
|
| /llvm-project-15.0.7/lld/MachO/ |
| H A D | SyntheticSections.cpp | 1285 fileName = config->outputFile; in CodeSignatureSection() 1286 size_t slashIndex = fileName.rfind("/"); in CodeSignatureSection() 1288 fileName = fileName.drop_front(slashIndex + 1); in CodeSignatureSection() 1292 allHeadersSize = alignTo<16>(fixedHeadersSize + fileName.size() + 1); in CodeSignatureSection() 1293 fileNamePad = allHeadersSize - fixedHeadersSize - fileName.size(); in CodeSignatureSection() 1347 sizeof(CS_CodeDirectory) + fileName.size() + fileNamePad); in writeTo() 1367 memcpy(id, fileName.begin(), fileName.size()); in writeTo() 1368 memset(id + fileName.size(), 0, fileNamePad); in writeTo()
|