reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/CodeGen/CommandFlags.inc
  344     Features.AddFeature(MAttrs[i]);
  364     Features.AddFeature(MAttrs[i]);
tools/bugpoint/Miscompilation.cpp
 1083     outs() << " " << InputArgv[i];
tools/bugpoint/OptimizerDriver.cpp
  207     Args.push_back(OptArgs[i]);
tools/clang/lib/Tooling/CommonOptionsParser.cpp
  134       Compilations = CompilationDatabase::autoDetectFromSource(SourcePaths[0],
tools/clang/tools/clang-format/ClangFormat.cpp
  202       if (parseLineRange(LineRanges[i], FromLine, ToLine)) {
  229     if (Offsets[i] >= Code->getBufferSize()) {
  230       errs() << "error: offset " << Offsets[i] << " is outside the file\n";
  234         Sources.getLocForStartOfFile(ID).getLocWithOffset(Offsets[i]);
  237       if (Offsets[i] + Lengths[i] > Code->getBufferSize()) {
  237       if (Offsets[i] + Lengths[i] > Code->getBufferSize()) {
  238         errs() << "error: invalid length " << Lengths[i]
  239                << ", offset + length (" << Offsets[i] + Lengths[i]
  239                << ", offset + length (" << Offsets[i] + Lengths[i]
  243       End = Start.getLocWithOffset(Lengths[i]);
  485         MemoryBuffer::getFileOrSTDIN(FileNames[0]);
  490     FileName = (FileNames[0] == "-") ? AssumeFileName : FileNames[0];
  490     FileName = (FileNames[0] == "-") ? AssumeFileName : FileNames[0];
tools/clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp
  485                                     OFFLOAD_BUNDLER_MAGIC_STR + TargetNames[I] +
  486                                     "=" + InputFileNames[I]));
  487     ObjcopyArgs.push_back(InputFileNames[HostInputIndex]);
tools/lli/lli.cpp
  470     std::unique_ptr<Module> XMod = parseIRFile(ExtraModules[i], Err, Context);
  475       CacheName.append(ExtraModules[i]);
  483         object::ObjectFile::createObjectFile(ExtraObjects[i]);
  495         MemoryBuffer::getFileOrSTDIN(ExtraArchives[i]);
tools/llvm-cov/CodeCoverage.cpp
  694       auto DemanglerPathOrErr = sys::findProgramByName(DemanglerOpts[0]);
  700       DemanglerOpts[0] = *DemanglerPathOrErr;
tools/llvm-diff/llvm-diff.cpp
   83       diffGlobal(Engine, *LModule, *RModule, GlobalsToCompare[I]);
tools/llvm-extract/llvm-extract.cpp
  155     GlobalAlias *GA = M->getNamedAlias(ExtractAliases[i]);
  158              << ExtractAliases[i] << "'!\n";
  167     Regex RegEx(ExtractRegExpAliases[i]);
  169       errs() << argv[0] << ": '" << ExtractRegExpAliases[i] << "' "
  182              << ExtractRegExpAliases[i] << "'!\n";
  189     GlobalValue *GV = M->getNamedGlobal(ExtractGlobals[i]);
  192              << ExtractGlobals[i] << "'!\n";
  201     Regex RegEx(ExtractRegExpGlobals[i]);
  203       errs() << argv[0] << ": '" << ExtractRegExpGlobals[i] << "' "
  215              << ExtractRegExpGlobals[i] << "'!\n";
  222     GlobalValue *GV = M->getFunction(ExtractFuncs[i]);
  225              << ExtractFuncs[i] << "'!\n";
  233     StringRef RegExStr = ExtractRegExpFuncs[i];
  236       errs() << argv[0] << ": '" << ExtractRegExpFuncs[i] << "' "
  249              << ExtractRegExpFuncs[i] << "'!\n";
tools/llvm-lto/llvm-lto.cpp
  535       ThinGenerator.preserveSymbol(ExportedSymbols[i]);
  572       auto &Filename = InputFilenames[i];
  824       auto &Filename = InputFilenames[i];
  849       auto OutputName = InputFilenames[BufID] + ".thinlto.o";
  941     DSOSymbolsSet.insert(DSOSymbols[i]);
  946     CurrentActivity = "loading file '" + InputFilenames[i] + "'";
  948         LTOModule::createFromFile(Context, InputFilenames[i], Options);
  970       error("error adding file '" + InputFilenames[i] + "'");
  976     CodeGen.addMustPreserveSymbol(ExportedSymbols[i]);
  991     attrs.append(MAttrs[i]);
tools/llvm-mc/llvm-mc.cpp
  414       Features.AddFeature(MAttrs[i]);
tools/llvm-nm/llvm-nm.cpp
 1162     if (SegmentName == SegSect[0] && SectionName == SegSect[1])
 1162     if (SegmentName == SegSect[0] && SectionName == SegSect[1])
 1860           if (ArchFlags[i] == I->getArchFlagName()) {
 1931           error(ArchFlags[i],
 2117     if (ArchFlags[i] == "all") {
 2120       if (!MachOObjectFile::isValidArch(ArchFlags[i]))
 2121         error("Unknown architecture named '" + ArchFlags[i] + "'",
tools/llvm-objdump/MachODump.cpp
 1738     StringRef DumpSection = FilterSections[i];
 2303     if (ArchFlags[i] == "all") {
 2306       if (!MachOObjectFile::isValidArch(ArchFlags[i])) {
 2308             << "unknown architecture named '" + ArchFlags[i] +
 2397         if (ArchFlags[i] == I->getArchFlagName()) {
 2452             << "architecture: " + ArchFlags[i] + "\n";
 7208       Features.AddFeature(MAttrs[i]);
tools/llvm-objdump/llvm-objdump.cpp
 1534       Features.AddFeature(MAttrs[I]);
tools/llvm-pdbutil/llvm-pdbutil.cpp
 1336     OutFile = opts::merge::InputFilenames[0];
tools/llvm-rtdyld/llvm-rtdyld.cpp
  569   Argv.push_back(InputFileList[0].data());
tools/llvm-size/llvm-size.cpp
  589           if (ArchFlags[i] == I->getArchFlagName()) {
  668           error("file does not contain architecture " + ArchFlags[i], file);
tools/lto/lto.cpp
  161       attrs.append(MAttrs[i]);
tools/opt/opt.cpp
  780     const PassInfo *PassInf = PassList[i];
unittests/Support/CommandLineTest.cpp
  774   EXPECT_TRUE(InputFilenames[0] == "path\\dir\\file1");
  775   EXPECT_TRUE(InputFilenames[1] == "path/dir/file2");