Lines Matching +full:straight +full:- +full:forward

1 //===-- llvm-bcanalyzer.cpp - Bitcode Analyzer --------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 // llvm-bcanalyzer [options] - Read LLVM bitcode from stdin
11 // llvm-bcanalyzer [options] x.bc - Read LLVM bitcode from the x.bc file
14 // --help - Output information about command line switches
15 // --dump - Dump low-level bitcode structure in readable format
16 // --dump-blockinfo - Dump the BLOCKINFO_BLOCK, when used with --dump
24 // The tool is also able to print a bitcode file in a straight forward text
26 // the bitcode file (-dump option).
28 //===----------------------------------------------------------------------===//
45 cl::init("-"),
51 static cl::opt<bool> DumpBlockinfo("dump-blockinfo",
56 //===----------------------------------------------------------------------===//
58 //===----------------------------------------------------------------------===//
60 static cl::opt<bool> NoHistogram("disable-histogram",
61 cl::desc("Do not print per-code histogram"),
64 static cl::opt<bool> NonSymbolic("non-symbolic",
70 BlockInfoFilename("block-info",
75 ShowBinaryBlobs("show-binary-blobs",
80 "check-hash",
97 if (MemBuf->getBufferSize() & 3) in openBitcodeFile()
107 cl::ParseCommandLineOptions(argc, argv, "llvm-bcanalyzer file analyzer\n"); in main()
108 ExitOnError ExitOnErr("llvm-bcanalyzer: "); in main()
115 BitcodeAnalyzer BA(MB->getBuffer(), in main()
117 ? std::optional<StringRef>(BlockInfoMB->getBuffer()) in main()