Home | History | Annotate | Download | only in tools

Lines Matching refs:ME

113 static int dumpInfo(bcinfo::MetadataExtractor *ME) {
114 if (!ME) {
124 fprintf(info, "exportVarCount: %u\n", ME->getExportVarCount());
125 const char **varNameList = ME->getExportVarNameList();
126 for (size_t i = 0; i < ME->getExportVarCount(); i++) {
130 fprintf(info, "exportFuncCount: %u\n", ME->getExportFuncCount());
131 const char **funcNameList = ME->getExportFuncNameList();
132 for (size_t i = 0; i < ME->getExportFuncCount(); i++) {
137 ME->getExportForEachSignatureCount());
138 const char **nameList = ME->getExportForEachNameList();
139 const uint32_t *sigList = ME->getExportForEachSignatureList();
140 for (size_t i = 0; i < ME->getExportForEachSignatureCount(); i++) {
144 fprintf(info, "objectSlotCount: %u\n", ME->getObjectSlotCount());
145 const uint32_t *slotList = ME->getObjectSlotList();
146 for (size_t i = 0; i < ME->getObjectSlotCount(); i++) {
155 static void dumpMetadata(bcinfo::MetadataExtractor *ME) {
156 if (!ME) {
161 switch (ME->getRSFloatPrecision()) {
176 printf("exportVarCount: %u\n", ME->getExportVarCount());
177 const char **varNameList = ME->getExportVarNameList();
178 for (size_t i = 0; i < ME->getExportVarCount(); i++) {
183 printf("exportFuncCount: %u\n", ME->getExportFuncCount());
184 const char **funcNameList = ME->getExportFuncNameList();
185 for (size_t i = 0; i < ME->getExportFuncCount(); i++) {
191 ME->getExportForEachSignatureCount());
192 const char **nameList = ME->getExportForEachNameList();
193 const uint32_t *sigList = ME->getExportForEachSignatureList();
194 for (size_t i = 0; i < ME->getExportForEachSignatureCount(); i++) {
200 printf("pragmaCount: %u\n", ME->getPragmaCount());
201 const char **keyList = ME->getPragmaKeyList();
202 const char **valueList = ME->getPragmaValueList();
203 for (size_t i = 0; i < ME->getPragmaCount(); i++) {
208 printf("objectSlotCount: %u\n", ME->getObjectSlotCount());
209 const uint32_t *slotList = ME->getObjectSlotList();
210 for (size_t i = 0; i < ME->getObjectSlotCount(); i++) {
298 llvm::OwningPtr<bcinfo::MetadataExtractor> ME;
299 ME.reset(new bcinfo::MetadataExtractor(BT->getTranslatedBitcode(),
301 if (!ME->extract()) {
307 dumpMetadata(ME.get());
347 if (dumpInfo(ME.get()) != 0) {