Home | History | Annotate | Download | only in tools

Lines Matching refs:bcinfo

17 #include <bcinfo/BitcodeTranslator.h>
18 #include <bcinfo/BitcodeWrapper.h>
19 #include <bcinfo/MetadataExtractor.h>
49 // This file corresponds to the standalone bcinfo tool. It prints a variety of
104 infoFile = std::string(inFile.begin(), inFile.end() - 3) + ".bcinfo";
107 infoFile = inFile + ".bcinfo";
118 static int dumpInfo(bcinfo::MetadataExtractor *ME) {
152 const bcinfo::MetadataExtractor::Reduce *reduceList =
155 const bcinfo::MetadataExtractor::Reduce &reduce = reduceList[i];
176 static void dumpMetadata(bcinfo::MetadataExtractor *ME) {
183 case bcinfo::RS_FP_Full:
186 case bcinfo::RS_FP_Relaxed:
220 const bcinfo::MetadataExtractor::Reduce *reduceList = ME->getExportReduceList();
222 const bcinfo::MetadataExtractor::Reduce &reduce = reduceList[i];
308 bcinfo::BitcodeWrapper bcWrapper((const char *)bitcode, bitcodeSize);
309 if (bcWrapper.getBCFileType() == bcinfo::BC_WRAPPER) {
324 std::unique_ptr<bcinfo::BitcodeTranslator> BT;
325 BT.reset(new bcinfo::BitcodeTranslator(bitcode, bitcodeSize, version));
331 std::unique_ptr<bcinfo::MetadataExtractor> ME;
332 ME.reset(new bcinfo::MetadataExtractor(BT->getTranslatedBitcode(),