From 079c03448920bc815590a991460fe75facafe7f5 Mon Sep 17 00:00:00 2001 From: Nick Lewycky Date: Mon, 1 Jun 2009 04:41:03 +0000 Subject: [PATCH] Add missing codenames to the .bc analyzer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72684 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp b/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp index 1c8e12deb46..b401a21ece9 100644 --- a/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp +++ b/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp @@ -171,6 +171,7 @@ static const char *GetCodeName(unsigned CodeID, unsigned BlockID, case bitc::TYPE_CODE_X86_FP80: return "X86_FP80"; case bitc::TYPE_CODE_FP128: return "FP128"; case bitc::TYPE_CODE_PPC_FP128: return "PPC_FP128"; + case bitc::TYPE_CODE_METADATA: return "METADATA"; } case bitc::CONSTANTS_BLOCK_ID: @@ -194,6 +195,9 @@ static const char *GetCodeName(unsigned CodeID, unsigned BlockID, case bitc::CST_CODE_CE_SHUFFLEVEC: return "CE_SHUFFLEVEC"; case bitc::CST_CODE_CE_CMP: return "CE_CMP"; case bitc::CST_CODE_INLINEASM: return "INLINEASM"; + case bitc::CST_CODE_CE_SHUFVEC_EX: return "CE_SHUFVEC_EX"; + case bitc::CST_CODE_MDSTRING: return "MDSTRING"; + case bitc::CST_CODE_MDNODE: return "MDNODE"; } case bitc::FUNCTION_BLOCK_ID: switch (CodeID) { -- 2.34.1