Home | History | Annotate | Download | only in llvm-bcanalyzer

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"
48 InputFilename(cl::Positional, cl::desc("<input bitcode>"), cl::init("-"));
50 static cl::opt<bool> Dump("dump", cl::desc("Dump low level bitcode trace"));
53 // Bitcode specific analysis.
83 // Standard blocks for all bitcode files.
119 // Standard blocks for all bitcode files.
316 /// Error - All bitcode analysis errors go through this function, making this a
377 return Error("malformed bitcode file");
478 /// AnalyzeBitcode - Analyze the bitcode file specified by InputFilename.
488 return Error("Bitcode stream should be a multiple of 4 bytes in length");
497 return Error("Invalid bitcode wrapper header");