Lines Matching full:bitcode
1 //===-- llvm-bcanalyzer.cpp - Bitcode Analyzer --------------------------===//
11 // llvm-bcanalyzer [options] - Read LLVM bitcode from stdin
12 // llvm-bcanalyzer [options] x.bc - Read LLVM bitcode from the x.bc file
16 // --dump - Dump low-level bitcode structure in readable format
18 // This tool provides analytical information about a bitcode file. It is
19 // intended as an aid to developers of bitcode reading and writing software. It
20 // produces on std::out a summary of the bitcode file that shows various
22 // detailed and contains information about individual bitcode blocks and the
24 // The tool is also able to print a bitcode file in a straight forward text
26 // the bitcode file (-dump option).
32 #include "llvm/Bitcode/BitstreamReader.h"
33 #include "llvm/Bitcode/LLVMBitCodes.h"
34 #include "llvm/Bitcode/ReaderWriter.h"
49 InputFilename(cl::Positional, cl::desc("<input bitcode>"), cl::init("-"));
51 static cl::opt<bool> Dump("dump", cl::desc("Dump low level bitcode trace"));
54 // Bitcode specific analysis.
84 // Standard blocks for all bitcode files.
120 // Standard blocks for all bitcode files.
316 /// Error - All bitcode analysis errors go through this function, making this a
476 /// AnalyzeBitcode - Analyze the bitcode file specified by InputFilename.
486 return Error("Bitcode stream should be a multiple of 4 bytes in length");
495 return Error("Invalid bitcode wrapper header");