<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[192625] trunk/Source/JavaScriptCore</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/192625">192625</a></dd>
<dt>Author</dt> <dd>ossy@webkit.org</dd>
<dt>Date</dt> <dd>2015-11-19 04:01:44 -0800 (Thu, 19 Nov 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>Remove unused LLVM API functions
https://bugs.webkit.org/show_bug.cgi?id=151184

Reviewed by Filip Pizlo.

* ftl/FTLAbbreviations.h:
(JSC::FTL::typeOf): Deleted.
(JSC::FTL::getElementType): Deleted.
(JSC::FTL::getNamedFunction): Deleted.
(JSC::FTL::removeFunctionAttr): Deleted.
(JSC::FTL::getLinkage): Deleted.
(JSC::FTL::setVisibility): Deleted.
(JSC::FTL::isDeclaration): Deleted.
(JSC::FTL::linkModules): Deleted.
(JSC::FTL::getValueName): Deleted.
(JSC::FTL::getNamedGlobal): Deleted.
(JSC::FTL::getFirstGlobal): Deleted.
(JSC::FTL::getNextGlobal): Deleted.
(JSC::FTL::createMemoryBufferWithContentsOfFile): Deleted.
(JSC::FTL::parseBitcodeInContext): Deleted.
(JSC::FTL::disposeMemoryBuffer): Deleted.
(JSC::FTL::getParamTypes): Deleted.
(JSC::FTL::constIntToPtr): Deleted.
(JSC::FTL::constBitCast): Deleted.
* llvm/LLVMAPIFunctions.h:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceJavaScriptCoreChangeLog">trunk/Source/JavaScriptCore/ChangeLog</a></li>
<li><a href="#trunkSourceJavaScriptCoreftlFTLAbbreviationsh">trunk/Source/JavaScriptCore/ftl/FTLAbbreviations.h</a></li>
<li><a href="#trunkSourceJavaScriptCorellvmLLVMAPIFunctionsh">trunk/Source/JavaScriptCore/llvm/LLVMAPIFunctions.h</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceJavaScriptCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/ChangeLog (192624 => 192625)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/ChangeLog        2015-11-19 11:58:38 UTC (rev 192624)
+++ trunk/Source/JavaScriptCore/ChangeLog        2015-11-19 12:01:44 UTC (rev 192625)
</span><span class="lines">@@ -1,3 +1,31 @@
</span><ins>+2015-11-19  Csaba Osztrogonác  &lt;ossy@webkit.org&gt;
+
+        Remove unused LLVM API functions
+        https://bugs.webkit.org/show_bug.cgi?id=151184
+
+        Reviewed by Filip Pizlo.
+
+        * ftl/FTLAbbreviations.h:
+        (JSC::FTL::typeOf): Deleted.
+        (JSC::FTL::getElementType): Deleted.
+        (JSC::FTL::getNamedFunction): Deleted.
+        (JSC::FTL::removeFunctionAttr): Deleted.
+        (JSC::FTL::getLinkage): Deleted.
+        (JSC::FTL::setVisibility): Deleted.
+        (JSC::FTL::isDeclaration): Deleted.
+        (JSC::FTL::linkModules): Deleted.
+        (JSC::FTL::getValueName): Deleted.
+        (JSC::FTL::getNamedGlobal): Deleted.
+        (JSC::FTL::getFirstGlobal): Deleted.
+        (JSC::FTL::getNextGlobal): Deleted.
+        (JSC::FTL::createMemoryBufferWithContentsOfFile): Deleted.
+        (JSC::FTL::parseBitcodeInContext): Deleted.
+        (JSC::FTL::disposeMemoryBuffer): Deleted.
+        (JSC::FTL::getParamTypes): Deleted.
+        (JSC::FTL::constIntToPtr): Deleted.
+        (JSC::FTL::constBitCast): Deleted.
+        * llvm/LLVMAPIFunctions.h:
+
</ins><span class="cx"> 2015-11-19  Gyuyoung Kim  &lt;gyuyoung.kim@webkit.org&gt;
</span><span class="cx"> 
</span><span class="cx">         Remove unnecessary PLATFORM(EFL) macro in globalMemoryStatistics()
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreftlFTLAbbreviationsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/ftl/FTLAbbreviations.h (192624 => 192625)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/ftl/FTLAbbreviations.h        2015-11-19 11:58:38 UTC (rev 192624)
+++ trunk/Source/JavaScriptCore/ftl/FTLAbbreviations.h        2015-11-19 12:01:44 UTC (rev 192625)
</span><span class="lines">@@ -126,10 +126,6 @@
</span><span class="cx">     return functionType(returnType, paramTypes, 6, variadicity);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-static inline LType typeOf(LValue value) { return llvm-&gt;TypeOf(value); }
-
-static inline LType getElementType(LType value) { return llvm-&gt;GetElementType(value); }
-
</del><span class="cx"> static inline unsigned mdKindID(LContext context, const char* string) { return llvm-&gt;GetMDKindIDInContext(context, string, std::strlen(string)); }
</span><span class="cx"> static inline LValue mdString(LContext context, const char* string, unsigned length) { return llvm-&gt;MDStringInContext(context, string, length); }
</span><span class="cx"> static inline LValue mdString(LContext context, const char* string) { return mdString(context, string, std::strlen(string)); }
</span><span class="lines">@@ -152,27 +148,14 @@
</span><span class="cx"> static inline void setMetadata(LValue instruction, unsigned kind, LValue metadata) { llvm-&gt;SetMetadata(instruction, kind, metadata); }
</span><span class="cx"> 
</span><span class="cx"> static inline LValue addFunction(LModule module, const char* name, LType type) { return llvm-&gt;AddFunction(module, name, type); }
</span><del>-static inline LValue getNamedFunction(LModule module, const char* name) { return llvm-&gt;GetNamedFunction(module, name); }
</del><span class="cx"> static inline LValue getFirstFunction(LModule module) { return llvm-&gt;GetFirstFunction(module); }
</span><span class="cx"> static inline LValue getNextFunction(LValue function) { return llvm-&gt;GetNextFunction(function); }
</span><span class="cx"> 
</span><span class="cx"> static inline void setFunctionCallingConv(LValue function, LCallConv convention) { llvm-&gt;SetFunctionCallConv(function, convention); }
</span><span class="cx"> static inline void addTargetDependentFunctionAttr(LValue function, const char* key, const char* value) { llvm-&gt;AddTargetDependentFunctionAttr(function, key, value); }
</span><del>-static inline void removeFunctionAttr(LValue function, LLVMAttribute pa) { llvm-&gt;RemoveFunctionAttr(function, pa); }
</del><span class="cx"> 
</span><del>-static inline LLVMLinkage getLinkage(LValue global) { return llvm-&gt;GetLinkage(global); }
</del><span class="cx"> static inline void setLinkage(LValue global, LLVMLinkage linkage) { llvm-&gt;SetLinkage(global, linkage); }
</span><del>-static inline void setVisibility(LValue global, LLVMVisibility viz) { llvm-&gt;SetVisibility(global, viz); }
-static inline LLVMBool isDeclaration(LValue global) { return llvm-&gt;IsDeclaration(global); }
</del><span class="cx"> 
</span><del>-static inline LLVMBool linkModules(LModule dest, LModule str, LLVMLinkerMode mode, char** outMessage) { return llvm-&gt;LinkModules(dest, str, mode, outMessage); }
-
-static inline const char * getValueName(LValue global) { return llvm-&gt;GetValueName(global); }
-
-static inline LValue getNamedGlobal(LModule module, const char* name) { return llvm-&gt;GetNamedGlobal(module, name); }
-static inline LValue getFirstGlobal(LModule module) { return llvm-&gt;GetFirstGlobal(module); }
-static inline LValue getNextGlobal(LValue global) { return llvm-&gt;GetNextGlobal(global); }
-
</del><span class="cx"> static inline LValue addExternFunction(LModule module, const char* name, LType type)
</span><span class="cx"> {
</span><span class="cx">     LValue result = addFunction(module, name, type);
</span><span class="lines">@@ -180,21 +163,6 @@
</span><span class="cx">     return result;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-static inline LLVMBool createMemoryBufferWithContentsOfFile(const char* path, LLVMMemoryBufferRef* outMemBuf, char** outMessage) 
-{ 
-    return llvm-&gt;CreateMemoryBufferWithContentsOfFile(path, outMemBuf, outMessage); 
-}
-
-
-static inline LLVMBool parseBitcodeInContext(LLVMContextRef contextRef, LLVMMemoryBufferRef memBuf, LModule *outModule, char **outMessage)
-{ 
-    return llvm-&gt;ParseBitcodeInContext(contextRef, memBuf, outModule, outMessage); 
-}
-
-
-static inline void disposeMemoryBuffer(LLVMMemoryBufferRef memBuf){ llvm-&gt;DisposeMemoryBuffer(memBuf); }
-
-
</del><span class="cx"> static inline LModule moduleCreateWithNameInContext(const char* moduleID, LContext context){ return llvm-&gt;ModuleCreateWithNameInContext(moduleID, context); }
</span><span class="cx"> static inline void disposeModule(LModule m){ llvm-&gt;DisposeModule(m); }
</span><span class="cx"> 
</span><span class="lines">@@ -202,15 +170,12 @@
</span><span class="cx"> 
</span><span class="cx"> static inline LValue getParam(LValue function, unsigned index) { return llvm-&gt;GetParam(function, index); }
</span><span class="cx"> 
</span><del>-static inline void getParamTypes(LType function, LType* dest) { return llvm-&gt;GetParamTypes(function, dest); }
</del><span class="cx"> static inline LValue getUndef(LType type) { return llvm-&gt;GetUndef(type); }
</span><span class="cx"> 
</span><span class="cx"> enum BitExtension { ZeroExtend, SignExtend };
</span><span class="cx"> static inline LValue constInt(LType type, unsigned long long value, BitExtension extension = ZeroExtend) { return llvm-&gt;ConstInt(type, value, extension == SignExtend); }
</span><span class="cx"> static inline LValue constReal(LType type, double value) { return llvm-&gt;ConstReal(type, value); }
</span><del>-static inline LValue constIntToPtr(LValue value, LType type) { return llvm-&gt;ConstIntToPtr(value, type); }
</del><span class="cx"> static inline LValue constNull(LType type) { return llvm-&gt;ConstNull(type); }
</span><del>-static inline LValue constBitCast(LValue value, LType type) { return llvm-&gt;ConstBitCast(value, type); }
</del><span class="cx"> 
</span><span class="cx"> static inline LBasicBlock appendBasicBlock(LContext context, LValue function, const char* name = &quot;&quot;) { return llvm-&gt;AppendBasicBlockInContext(context, function, name); }
</span><span class="cx"> static inline LBasicBlock insertBasicBlock(LContext context, LBasicBlock beforeBasicBlock, const char* name = &quot;&quot;) { return llvm-&gt;InsertBasicBlockInContext(context, beforeBasicBlock, name); }
</span></span></pre></div>
<a id="trunkSourceJavaScriptCorellvmLLVMAPIFunctionsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/llvm/LLVMAPIFunctions.h (192624 => 192625)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/llvm/LLVMAPIFunctions.h        2015-11-19 11:58:38 UTC (rev 192624)
+++ trunk/Source/JavaScriptCore/llvm/LLVMAPIFunctions.h        2015-11-19 12:01:44 UTC (rev 192625)
</span><span class="lines">@@ -29,412 +29,70 @@
</span><span class="cx"> #include &quot;LLVMHeaders.h&quot;
</span><span class="cx"> 
</span><span class="cx"> #define FOR_EACH_LLVM_API_FUNCTION(macro) \
</span><del>-    macro(LLVMBool, ParseBitcode, (LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutModule, char **OutMessage)) \
-    macro(LLVMBool, ParseBitcodeInContext, (LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutModule, char **OutMessage)) \
-    macro(LLVMBool, GetBitcodeModuleInContext, (LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutM, char **OutMessage)) \
-    macro(LLVMBool, GetBitcodeModule, (LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutM, char **OutMessage)) \
-    macro(LLVMBool, GetBitcodeModuleProviderInContext, (LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, LLVMModuleProviderRef *OutMP, char **OutMessage)) \
-    macro(LLVMBool, GetBitcodeModuleProvider, (LLVMMemoryBufferRef MemBuf, LLVMModuleProviderRef *OutMP, char **OutMessage)) \
-    macro(LLVMBool, LinkModules, (LLVMModuleRef Dest, LLVMModuleRef Str, LLVMLinkerMode Mode, char **OutMessage)) \
-    macro(void, InitializeCore, (LLVMPassRegistryRef R)) \
-    macro(void, Shutdown, ()) \
-    macro(char *, CreateMessage, (const char *Message)) \
</del><span class="cx">     macro(void, DisposeMessage, (char *Message)) \
</span><span class="cx">     macro(void, InstallFatalErrorHandler, (LLVMFatalErrorHandler Handler)) \
</span><span class="cx">     macro(LLVMContextRef, ContextCreate, (void)) \
</span><del>-    macro(LLVMContextRef, GetGlobalContext, (void)) \
</del><span class="cx">     macro(void, ContextDispose, (LLVMContextRef C)) \
</span><span class="cx">     macro(unsigned, GetMDKindIDInContext, (LLVMContextRef C, const char* Name, unsigned SLen)) \
</span><del>-    macro(unsigned, GetMDKindID, (const char* Name, unsigned SLen)) \
-    macro(LLVMModuleRef, ModuleCreateWithName, (const char *ModuleID)) \
</del><span class="cx">     macro(LLVMModuleRef, ModuleCreateWithNameInContext, (const char *ModuleID, LLVMContextRef C)) \
</span><span class="cx">     macro(void, DisposeModule, (LLVMModuleRef M)) \
</span><del>-    macro(const char *, GetDataLayout, (LLVMModuleRef M)) \
</del><span class="cx">     macro(void, SetDataLayout, (LLVMModuleRef M, const char *Triple)) \
</span><del>-    macro(const char *, GetTarget, (LLVMModuleRef M)) \
</del><span class="cx">     macro(void, SetTarget, (LLVMModuleRef M, const char *Triple)) \
</span><span class="cx">     macro(void, DumpModule, (LLVMModuleRef M)) \
</span><del>-    macro(LLVMBool, PrintModuleToFile, (LLVMModuleRef M, const char *Filename, char **ErrorMessage)) \
-    macro(void, SetModuleInlineAsm, (LLVMModuleRef M, const char *Asm)) \
</del><span class="cx">     macro(LLVMContextRef, GetModuleContext, (LLVMModuleRef M)) \
</span><span class="cx">     macro(LLVMTypeRef, GetTypeByName, (LLVMModuleRef M, const char *Name)) \
</span><span class="cx">     macro(void, DumpType, (LLVMTypeRef Val)) \
</span><del>-    macro(unsigned, GetNamedMetadataNumOperands, (LLVMModuleRef M, const char* name)) \
-    macro(void, GetNamedMetadataOperands, (LLVMModuleRef M, const char* name, LLVMValueRef *Dest)) \
-    macro(void, AddNamedMetadataOperand, (LLVMModuleRef M, const char* name, LLVMValueRef Val)) \
</del><span class="cx">     macro(LLVMValueRef, AddFunction, (LLVMModuleRef M, const char *Name, LLVMTypeRef FunctionTy)) \
</span><del>-    macro(LLVMValueRef, GetNamedFunction, (LLVMModuleRef M, const char *Name)) \
</del><span class="cx">     macro(LLVMValueRef, GetFirstFunction, (LLVMModuleRef M)) \
</span><del>-    macro(LLVMValueRef, GetLastFunction, (LLVMModuleRef M)) \
</del><span class="cx">     macro(LLVMValueRef, GetNextFunction, (LLVMValueRef Fn)) \
</span><del>-    macro(LLVMValueRef, GetPreviousFunction, (LLVMValueRef Fn)) \
-    macro(LLVMTypeKind, GetTypeKind, (LLVMTypeRef Ty)) \
-    macro(LLVMBool, TypeIsSized, (LLVMTypeRef Ty)) \
-    macro(LLVMContextRef, GetTypeContext, (LLVMTypeRef Ty)) \
</del><span class="cx">     macro(LLVMTypeRef, Int1TypeInContext, (LLVMContextRef C)) \
</span><span class="cx">     macro(LLVMTypeRef, Int8TypeInContext, (LLVMContextRef C)) \
</span><span class="cx">     macro(LLVMTypeRef, Int16TypeInContext, (LLVMContextRef C)) \
</span><span class="cx">     macro(LLVMTypeRef, Int32TypeInContext, (LLVMContextRef C)) \
</span><span class="cx">     macro(LLVMTypeRef, Int64TypeInContext, (LLVMContextRef C)) \
</span><span class="cx">     macro(LLVMTypeRef, IntTypeInContext, (LLVMContextRef C, unsigned NumBits)) \
</span><del>-    macro(LLVMTypeRef, Int1Type, (void)) \
-    macro(LLVMTypeRef, Int8Type, (void)) \
-    macro(LLVMTypeRef, Int16Type, (void)) \
-    macro(LLVMTypeRef, Int32Type, (void)) \
-    macro(LLVMTypeRef, Int64Type, (void)) \
-    macro(LLVMTypeRef, IntType, (unsigned NumBits)) \
-    macro(unsigned, GetIntTypeWidth, (LLVMTypeRef IntegerTy)) \
-    macro(LLVMTypeRef, HalfTypeInContext, (LLVMContextRef C)) \
</del><span class="cx">     macro(LLVMTypeRef, FloatTypeInContext, (LLVMContextRef C)) \
</span><span class="cx">     macro(LLVMTypeRef, DoubleTypeInContext, (LLVMContextRef C)) \
</span><del>-    macro(LLVMTypeRef, X86FP80TypeInContext, (LLVMContextRef C)) \
-    macro(LLVMTypeRef, FP128TypeInContext, (LLVMContextRef C)) \
-    macro(LLVMTypeRef, PPCFP128TypeInContext, (LLVMContextRef C)) \
-    macro(LLVMTypeRef, HalfType, (void)) \
-    macro(LLVMTypeRef, FloatType, (void)) \
-    macro(LLVMTypeRef, DoubleType, (void)) \
-    macro(LLVMTypeRef, X86FP80Type, (void)) \
-    macro(LLVMTypeRef, FP128Type, (void)) \
-    macro(LLVMTypeRef, PPCFP128Type, (void)) \
</del><span class="cx">     macro(LLVMTypeRef, FunctionType, (LLVMTypeRef ReturnType, LLVMTypeRef *ParamTypes, unsigned ParamCount, LLVMBool IsVarArg)) \
</span><del>-    macro(LLVMBool, IsFunctionVarArg, (LLVMTypeRef FunctionTy)) \
-    macro(LLVMTypeRef, GetReturnType, (LLVMTypeRef FunctionTy)) \
-    macro(unsigned, CountParamTypes, (LLVMTypeRef FunctionTy)) \
-    macro(void, GetParamTypes, (LLVMTypeRef FunctionTy, LLVMTypeRef *Dest)) \
</del><span class="cx">     macro(LLVMTypeRef, StructTypeInContext, (LLVMContextRef C, LLVMTypeRef *ElementTypes, unsigned ElementCount, LLVMBool Packed)) \
</span><del>-    macro(LLVMTypeRef, StructType, (LLVMTypeRef *ElementTypes, unsigned ElementCount, LLVMBool Packed)) \
-    macro(LLVMTypeRef, StructCreateNamed, (LLVMContextRef C, const char *Name)) \
-    macro(const char *, GetStructName, (LLVMTypeRef Ty)) \
-    macro(void, StructSetBody, (LLVMTypeRef StructTy, LLVMTypeRef *ElementTypes, unsigned ElementCount, LLVMBool Packed)) \
-    macro(unsigned, CountStructElementTypes, (LLVMTypeRef StructTy)) \
-    macro(void, GetStructElementTypes, (LLVMTypeRef StructTy, LLVMTypeRef *Dest)) \
-    macro(LLVMBool, IsPackedStruct, (LLVMTypeRef StructTy)) \
-    macro(LLVMBool, IsOpaqueStruct, (LLVMTypeRef StructTy)) \
-    macro(LLVMTypeRef, GetElementType, (LLVMTypeRef Ty)) \
</del><span class="cx">     macro(LLVMTypeRef, ArrayType, (LLVMTypeRef ElementType, unsigned ElementCount)) \
</span><del>-    macro(unsigned, GetArrayLength, (LLVMTypeRef ArrayTy)) \
</del><span class="cx">     macro(LLVMTypeRef, PointerType, (LLVMTypeRef ElementType, unsigned AddressSpace)) \
</span><del>-    macro(unsigned, GetPointerAddressSpace, (LLVMTypeRef PointerTy)) \
</del><span class="cx">     macro(LLVMTypeRef, VectorType, (LLVMTypeRef ElementType, unsigned ElementCount)) \
</span><del>-    macro(unsigned, GetVectorSize, (LLVMTypeRef VectorTy)) \
</del><span class="cx">     macro(LLVMTypeRef, VoidTypeInContext, (LLVMContextRef C)) \
</span><del>-    macro(LLVMTypeRef, LabelTypeInContext, (LLVMContextRef C)) \
-    macro(LLVMTypeRef, X86MMXTypeInContext, (LLVMContextRef C)) \
-    macro(LLVMTypeRef, VoidType, (void)) \
-    macro(LLVMTypeRef, LabelType, (void)) \
-    macro(LLVMTypeRef, X86MMXType, (void)) \
-    macro(LLVMTypeRef, TypeOf, (LLVMValueRef Val)) \
-    macro(const char *, GetValueName, (LLVMValueRef Val)) \
-    macro(void, SetValueName, (LLVMValueRef Val, const char *Name)) \
-    macro(void, DumpValue, (LLVMValueRef Val)) \
-    macro(void, ReplaceAllUsesWith, (LLVMValueRef OldVal, LLVMValueRef NewVal)) \
-    macro(LLVMBool, IsConstant, (LLVMValueRef Val)) \
-    macro(LLVMBool, IsUndef, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAArgument, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsABasicBlock, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAInlineAsm, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAMDNode, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAMDString, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAUser, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAConstant, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsABlockAddress, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAConstantAggregateZero, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAConstantArray, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAConstantExpr, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAConstantFP, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAConstantInt, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAConstantPointerNull, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAConstantStruct, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAConstantVector, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAGlobalValue, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAFunction, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAGlobalAlias, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAGlobalVariable, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAUndefValue, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAInstruction, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsABinaryOperator, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsACallInst, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAIntrinsicInst, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsADbgInfoIntrinsic, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsADbgDeclareInst, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAMemIntrinsic, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAMemCpyInst, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAMemMoveInst, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAMemSetInst, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsACmpInst, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAFCmpInst, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAICmpInst, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAExtractElementInst, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAGetElementPtrInst, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAInsertElementInst, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAInsertValueInst, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsALandingPadInst, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAPHINode, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsASelectInst, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAShuffleVectorInst, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAStoreInst, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsATerminatorInst, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsABranchInst, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAIndirectBrInst, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAInvokeInst, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAReturnInst, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsASwitchInst, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAUnreachableInst, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAResumeInst, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAUnaryInstruction, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAAllocaInst, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsACastInst, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsABitCastInst, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAFPExtInst, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAFPToSIInst, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAFPToUIInst, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAFPTruncInst, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAIntToPtrInst, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAPtrToIntInst, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsASExtInst, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsASIToFPInst, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsATruncInst, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAUIToFPInst, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAZExtInst, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAExtractValueInst, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsALoadInst, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, IsAVAArgInst, (LLVMValueRef Val)) \
-    macro(LLVMUseRef, GetFirstUse, (LLVMValueRef Val)) \
-    macro(LLVMUseRef, GetNextUse, (LLVMUseRef U)) \
-    macro(LLVMValueRef, GetUser, (LLVMUseRef U)) \
-    macro(LLVMValueRef, GetUsedValue, (LLVMUseRef U)) \
-    macro(LLVMValueRef, GetOperand, (LLVMValueRef Val, unsigned Index)) \
-    macro(void, SetOperand, (LLVMValueRef User, unsigned Index, LLVMValueRef Val)) \
-    macro(int, GetNumOperands, (LLVMValueRef Val)) \
</del><span class="cx">     macro(LLVMValueRef, ConstNull, (LLVMTypeRef Ty)) \
</span><del>-    macro(LLVMValueRef, ConstAllOnes, (LLVMTypeRef Ty)) \
</del><span class="cx">     macro(LLVMValueRef, GetUndef, (LLVMTypeRef Ty)) \
</span><del>-    macro(LLVMBool, IsNull, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, ConstPointerNull, (LLVMTypeRef Ty)) \
</del><span class="cx">     macro(LLVMValueRef, ConstInt, (LLVMTypeRef IntTy, unsigned long long N, LLVMBool SignExtend)) \
</span><del>-    macro(LLVMValueRef, ConstIntOfArbitraryPrecision, (LLVMTypeRef IntTy, unsigned NumWords, const uint64_t Words[])) \
-    macro(LLVMValueRef, ConstIntOfString, (LLVMTypeRef IntTy, const char *Text, uint8_t Radix)) \
-    macro(LLVMValueRef, ConstIntOfStringAndSize, (LLVMTypeRef IntTy, const char *Text, unsigned SLen, uint8_t Radix)) \
</del><span class="cx">     macro(LLVMValueRef, ConstReal, (LLVMTypeRef RealTy, double N)) \
</span><del>-    macro(LLVMValueRef, ConstRealOfString, (LLVMTypeRef RealTy, const char *Text)) \
-    macro(LLVMValueRef, ConstRealOfStringAndSize, (LLVMTypeRef RealTy, const char *Text, unsigned SLen)) \
-    macro(unsigned long long, ConstIntGetZExtValue, (LLVMValueRef ConstantVal)) \
-    macro(long long, ConstIntGetSExtValue, (LLVMValueRef ConstantVal)) \
-    macro(LLVMValueRef, ConstStringInContext, (LLVMContextRef C, const char *Str, unsigned Length, LLVMBool DontNullTerminate)) \
-    macro(LLVMValueRef, ConstString, (const char *Str, unsigned Length, LLVMBool DontNullTerminate)) \
-    macro(LLVMValueRef, ConstStructInContext, (LLVMContextRef C, LLVMValueRef *ConstantVals, unsigned Count, LLVMBool Packed)) \
-    macro(LLVMValueRef, ConstStruct, (LLVMValueRef *ConstantVals, unsigned Count, LLVMBool Packed)) \
-    macro(LLVMValueRef, ConstArray, (LLVMTypeRef ElementTy, LLVMValueRef *ConstantVals, unsigned Length)) \
-    macro(LLVMValueRef, ConstNamedStruct, (LLVMTypeRef StructTy, LLVMValueRef *ConstantVals, unsigned Count)) \
-    macro(LLVMValueRef, ConstVector, (LLVMValueRef *ScalarConstantVals, unsigned Size)) \
-    macro(LLVMOpcode, GetConstOpcode, (LLVMValueRef ConstantVal)) \
-    macro(LLVMValueRef, AlignOf, (LLVMTypeRef Ty)) \
-    macro(LLVMValueRef, SizeOf, (LLVMTypeRef Ty)) \
-    macro(LLVMValueRef, ConstNeg, (LLVMValueRef ConstantVal)) \
-    macro(LLVMValueRef, ConstNSWNeg, (LLVMValueRef ConstantVal)) \
-    macro(LLVMValueRef, ConstNUWNeg, (LLVMValueRef ConstantVal)) \
-    macro(LLVMValueRef, ConstFNeg, (LLVMValueRef ConstantVal)) \
-    macro(LLVMValueRef, ConstNot, (LLVMValueRef ConstantVal)) \
-    macro(LLVMValueRef, ConstAdd, (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)) \
-    macro(LLVMValueRef, ConstNSWAdd, (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)) \
-    macro(LLVMValueRef, ConstNUWAdd, (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)) \
-    macro(LLVMValueRef, ConstFAdd, (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)) \
-    macro(LLVMValueRef, ConstSub, (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)) \
-    macro(LLVMValueRef, ConstNSWSub, (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)) \
-    macro(LLVMValueRef, ConstNUWSub, (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)) \
-    macro(LLVMValueRef, ConstFSub, (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)) \
-    macro(LLVMValueRef, ConstMul, (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)) \
-    macro(LLVMValueRef, ConstNSWMul, (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)) \
-    macro(LLVMValueRef, ConstNUWMul, (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)) \
-    macro(LLVMValueRef, ConstFMul, (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)) \
-    macro(LLVMValueRef, ConstUDiv, (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)) \
-    macro(LLVMValueRef, ConstSDiv, (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)) \
-    macro(LLVMValueRef, ConstExactSDiv, (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)) \
-    macro(LLVMValueRef, ConstFDiv, (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)) \
-    macro(LLVMValueRef, ConstURem, (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)) \
-    macro(LLVMValueRef, ConstSRem, (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)) \
-    macro(LLVMValueRef, ConstFRem, (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)) \
-    macro(LLVMValueRef, ConstAnd, (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)) \
-    macro(LLVMValueRef, ConstOr, (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)) \
-    macro(LLVMValueRef, ConstXor, (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)) \
-    macro(LLVMValueRef, ConstICmp, (LLVMIntPredicate Predicate, LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)) \
-    macro(LLVMValueRef, ConstFCmp, (LLVMRealPredicate Predicate, LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)) \
-    macro(LLVMValueRef, ConstShl, (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)) \
-    macro(LLVMValueRef, ConstLShr, (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)) \
-    macro(LLVMValueRef, ConstAShr, (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)) \
-    macro(LLVMValueRef, ConstGEP, (LLVMValueRef ConstantVal, LLVMValueRef *ConstantIndices, unsigned NumIndices)) \
-    macro(LLVMValueRef, ConstInBoundsGEP, (LLVMValueRef ConstantVal, LLVMValueRef *ConstantIndices, unsigned NumIndices)) \
-    macro(LLVMValueRef, ConstTrunc, (LLVMValueRef ConstantVal, LLVMTypeRef ToType)) \
-    macro(LLVMValueRef, ConstSExt, (LLVMValueRef ConstantVal, LLVMTypeRef ToType)) \
-    macro(LLVMValueRef, ConstZExt, (LLVMValueRef ConstantVal, LLVMTypeRef ToType)) \
-    macro(LLVMValueRef, ConstFPTrunc, (LLVMValueRef ConstantVal, LLVMTypeRef ToType)) \
-    macro(LLVMValueRef, ConstFPExt, (LLVMValueRef ConstantVal, LLVMTypeRef ToType)) \
-    macro(LLVMValueRef, ConstUIToFP, (LLVMValueRef ConstantVal, LLVMTypeRef ToType)) \
-    macro(LLVMValueRef, ConstSIToFP, (LLVMValueRef ConstantVal, LLVMTypeRef ToType)) \
-    macro(LLVMValueRef, ConstFPToUI, (LLVMValueRef ConstantVal, LLVMTypeRef ToType)) \
-    macro(LLVMValueRef, ConstFPToSI, (LLVMValueRef ConstantVal, LLVMTypeRef ToType)) \
-    macro(LLVMValueRef, ConstPtrToInt, (LLVMValueRef ConstantVal, LLVMTypeRef ToType)) \
-    macro(LLVMValueRef, ConstIntToPtr, (LLVMValueRef ConstantVal, LLVMTypeRef ToType)) \
-    macro(LLVMValueRef, ConstBitCast, (LLVMValueRef ConstantVal, LLVMTypeRef ToType)) \
-    macro(LLVMValueRef, ConstZExtOrBitCast, (LLVMValueRef ConstantVal, LLVMTypeRef ToType)) \
-    macro(LLVMValueRef, ConstSExtOrBitCast, (LLVMValueRef ConstantVal, LLVMTypeRef ToType)) \
-    macro(LLVMValueRef, ConstTruncOrBitCast, (LLVMValueRef ConstantVal, LLVMTypeRef ToType)) \
-    macro(LLVMValueRef, ConstPointerCast, (LLVMValueRef ConstantVal, LLVMTypeRef ToType)) \
-    macro(LLVMValueRef, ConstIntCast, (LLVMValueRef ConstantVal, LLVMTypeRef ToType, LLVMBool isSigned)) \
-    macro(LLVMValueRef, ConstFPCast, (LLVMValueRef ConstantVal, LLVMTypeRef ToType)) \
-    macro(LLVMValueRef, ConstSelect, (LLVMValueRef ConstantCondition, LLVMValueRef ConstantIfTrue, LLVMValueRef ConstantIfFalse)) \
-    macro(LLVMValueRef, ConstExtractElement, (LLVMValueRef VectorConstant, LLVMValueRef IndexConstant)) \
-    macro(LLVMValueRef, ConstInsertElement, (LLVMValueRef VectorConstant, LLVMValueRef ElementValueConstant, LLVMValueRef IndexConstant)) \
-    macro(LLVMValueRef, ConstShuffleVector, (LLVMValueRef VectorAConstant, LLVMValueRef VectorBConstant, LLVMValueRef MaskConstant)) \
-    macro(LLVMValueRef, ConstExtractValue, (LLVMValueRef AggConstant, unsigned *IdxList, unsigned NumIdx)) \
-    macro(LLVMValueRef, ConstInsertValue, (LLVMValueRef AggConstant, LLVMValueRef ElementValueConstant, unsigned *IdxList, unsigned NumIdx)) \
-    macro(LLVMValueRef, ConstInlineAsm, (LLVMTypeRef Ty, const char *AsmString, const char *Constraints, LLVMBool HasSideEffects, LLVMBool IsAlignStack)) \
-    macro(LLVMValueRef, BlockAddress, (LLVMValueRef F, LLVMBasicBlockRef BB)) \
-    macro(LLVMModuleRef, GetGlobalParent, (LLVMValueRef Global)) \
-    macro(LLVMBool, IsDeclaration, (LLVMValueRef Global)) \
-    macro(LLVMLinkage, GetLinkage, (LLVMValueRef Global)) \
</del><span class="cx">     macro(void, SetLinkage, (LLVMValueRef Global, LLVMLinkage Linkage)) \
</span><del>-    macro(const char *, GetSection, (LLVMValueRef Global)) \
-    macro(void, SetSection, (LLVMValueRef Global, const char *Section)) \
-    macro(LLVMVisibility, GetVisibility, (LLVMValueRef Global)) \
-    macro(void, SetVisibility, (LLVMValueRef Global, LLVMVisibility Viz)) \
-    macro(unsigned, GetAlignment, (LLVMValueRef Global)) \
-    macro(void, SetAlignment, (LLVMValueRef Global, unsigned Bytes)) \
-    macro(LLVMValueRef, AddGlobal, (LLVMModuleRef M, LLVMTypeRef Ty, const char *Name)) \
-    macro(LLVMValueRef, AddGlobalInAddressSpace, (LLVMModuleRef M, LLVMTypeRef Ty, const char *Name, unsigned AddressSpace)) \
-    macro(LLVMValueRef, GetNamedGlobal, (LLVMModuleRef M, const char *Name)) \
-    macro(LLVMValueRef, GetFirstGlobal, (LLVMModuleRef M)) \
-    macro(LLVMValueRef, GetLastGlobal, (LLVMModuleRef M)) \
-    macro(LLVMValueRef, GetNextGlobal, (LLVMValueRef GlobalVar)) \
-    macro(LLVMValueRef, GetPreviousGlobal, (LLVMValueRef GlobalVar)) \
-    macro(void, DeleteGlobal, (LLVMValueRef GlobalVar)) \
-    macro(LLVMValueRef, GetInitializer, (LLVMValueRef GlobalVar)) \
-    macro(void, SetInitializer, (LLVMValueRef GlobalVar, LLVMValueRef ConstantVal)) \
-    macro(LLVMBool, IsThreadLocal, (LLVMValueRef GlobalVar)) \
-    macro(void, SetThreadLocal, (LLVMValueRef GlobalVar, LLVMBool IsThreadLocal)) \
-    macro(LLVMBool, IsGlobalConstant, (LLVMValueRef GlobalVar)) \
-    macro(void, SetGlobalConstant, (LLVMValueRef GlobalVar, LLVMBool IsConstant)) \
-    macro(LLVMThreadLocalMode, GetThreadLocalMode, (LLVMValueRef GlobalVar)) \
-    macro(void, SetThreadLocalMode, (LLVMValueRef GlobalVar, LLVMThreadLocalMode Mode)) \
-    macro(LLVMBool, IsExternallyInitialized, (LLVMValueRef GlobalVar)) \
-    macro(void, SetExternallyInitialized, (LLVMValueRef GlobalVar, LLVMBool IsExtInit)) \
-    macro(LLVMValueRef, AddAlias, (LLVMModuleRef M, LLVMTypeRef Ty, LLVMValueRef Aliasee, const char *Name)) \
-    macro(void, DeleteFunction, (LLVMValueRef Fn)) \
-    macro(unsigned, GetIntrinsicID, (LLVMValueRef Fn)) \
-    macro(unsigned, GetFunctionCallConv, (LLVMValueRef Fn)) \
</del><span class="cx">     macro(void, SetFunctionCallConv, (LLVMValueRef Fn, unsigned CC)) \
</span><del>-    macro(const char *, GetGC, (LLVMValueRef Fn)) \
-    macro(void, SetGC, (LLVMValueRef Fn, const char *Name)) \
-    macro(void, AddFunctionAttr, (LLVMValueRef Fn, LLVMAttribute PA)) \
</del><span class="cx">     macro(void, AddTargetDependentFunctionAttr, (LLVMValueRef Fn, const char *A, const char *V)) \
</span><del>-    macro(LLVMAttribute, GetFunctionAttr, (LLVMValueRef Fn)) \
-    macro(void, RemoveFunctionAttr, (LLVMValueRef Fn, LLVMAttribute PA)) \
-    macro(unsigned, CountParams, (LLVMValueRef Fn)) \
-    macro(void, GetParams, (LLVMValueRef Fn, LLVMValueRef *Params)) \
</del><span class="cx">     macro(LLVMValueRef, GetParam, (LLVMValueRef Fn, unsigned Index)) \
</span><del>-    macro(LLVMValueRef, GetParamParent, (LLVMValueRef Inst)) \
-    macro(LLVMValueRef, GetFirstParam, (LLVMValueRef Fn)) \
-    macro(LLVMValueRef, GetLastParam, (LLVMValueRef Fn)) \
-    macro(LLVMValueRef, GetNextParam, (LLVMValueRef Arg)) \
-    macro(LLVMValueRef, GetPreviousParam, (LLVMValueRef Arg)) \
-    macro(void, AddAttribute, (LLVMValueRef Arg, LLVMAttribute PA)) \
-    macro(void, RemoveAttribute, (LLVMValueRef Arg, LLVMAttribute PA)) \
-    macro(LLVMAttribute, GetAttribute, (LLVMValueRef Arg)) \
-    macro(void, SetParamAlignment, (LLVMValueRef Arg, unsigned align)) \
</del><span class="cx">     macro(LLVMValueRef, MDStringInContext, (LLVMContextRef C, const char *Str, unsigned SLen)) \
</span><span class="cx">     macro(LLVMValueRef, MDString, (const char *Str, unsigned SLen)) \
</span><span class="cx">     macro(LLVMValueRef, MDNodeInContext, (LLVMContextRef C, LLVMValueRef *Vals, unsigned Count)) \
</span><span class="cx">     macro(LLVMValueRef, MDNode, (LLVMValueRef *Vals, unsigned Count)) \
</span><del>-    macro(const char *, GetMDString, (LLVMValueRef V, unsigned* Len)) \
-    macro(unsigned, GetMDNodeNumOperands, (LLVMValueRef V)) \
-    macro(void, GetMDNodeOperands, (LLVMValueRef V, LLVMValueRef *Dest)) \
-    macro(LLVMValueRef, BasicBlockAsValue, (LLVMBasicBlockRef BB)) \
-    macro(LLVMBool, ValueIsBasicBlock, (LLVMValueRef Val)) \
-    macro(LLVMBasicBlockRef, ValueAsBasicBlock, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, GetBasicBlockParent, (LLVMBasicBlockRef BB)) \
-    macro(LLVMValueRef, GetBasicBlockTerminator, (LLVMBasicBlockRef BB)) \
-    macro(unsigned, CountBasicBlocks, (LLVMValueRef Fn)) \
-    macro(void, GetBasicBlocks, (LLVMValueRef Fn, LLVMBasicBlockRef *BasicBlocks)) \
-    macro(LLVMBasicBlockRef, GetFirstBasicBlock, (LLVMValueRef Fn)) \
-    macro(LLVMBasicBlockRef, GetLastBasicBlock, (LLVMValueRef Fn)) \
-    macro(LLVMBasicBlockRef, GetNextBasicBlock, (LLVMBasicBlockRef BB)) \
-    macro(LLVMBasicBlockRef, GetPreviousBasicBlock, (LLVMBasicBlockRef BB)) \
-    macro(LLVMBasicBlockRef, GetEntryBasicBlock, (LLVMValueRef Fn)) \
</del><span class="cx">     macro(LLVMBasicBlockRef, AppendBasicBlockInContext, (LLVMContextRef C, LLVMValueRef Fn, const char *Name)) \
</span><del>-    macro(LLVMBasicBlockRef, AppendBasicBlock, (LLVMValueRef Fn, const char *Name)) \
</del><span class="cx">     macro(LLVMBasicBlockRef, InsertBasicBlockInContext, (LLVMContextRef C, LLVMBasicBlockRef BB, const char *Name)) \
</span><del>-    macro(LLVMBasicBlockRef, InsertBasicBlock, (LLVMBasicBlockRef InsertBeforeBB, const char *Name)) \
-    macro(void, DeleteBasicBlock, (LLVMBasicBlockRef BB)) \
-    macro(void, RemoveBasicBlockFromParent, (LLVMBasicBlockRef BB)) \
-    macro(void, MoveBasicBlockBefore, (LLVMBasicBlockRef BB, LLVMBasicBlockRef MovePos)) \
-    macro(void, MoveBasicBlockAfter, (LLVMBasicBlockRef BB, LLVMBasicBlockRef MovePos)) \
-    macro(LLVMValueRef, GetFirstInstruction, (LLVMBasicBlockRef BB)) \
-    macro(LLVMValueRef, GetLastInstruction, (LLVMBasicBlockRef BB)) \
-    macro(int, HasMetadata, (LLVMValueRef Val)) \
-    macro(LLVMValueRef, GetMetadata, (LLVMValueRef Val, unsigned KindID)) \
</del><span class="cx">     macro(void, SetMetadata, (LLVMValueRef Val, unsigned KindID, LLVMValueRef Node)) \
</span><del>-    macro(LLVMBasicBlockRef, GetInstructionParent, (LLVMValueRef Inst)) \
-    macro(LLVMValueRef, GetNextInstruction, (LLVMValueRef Inst)) \
-    macro(LLVMValueRef, GetPreviousInstruction, (LLVMValueRef Inst)) \
-    macro(void, InstructionEraseFromParent, (LLVMValueRef Inst)) \
-    macro(LLVMOpcode, GetInstructionOpcode, (LLVMValueRef Inst)) \
-    macro(LLVMIntPredicate, GetICmpPredicate, (LLVMValueRef Inst)) \
</del><span class="cx">     macro(void, SetInstructionCallConv, (LLVMValueRef Instr, unsigned CC)) \
</span><del>-    macro(unsigned, GetInstructionCallConv, (LLVMValueRef Instr)) \
-    macro(void, AddInstrAttribute, (LLVMValueRef Instr, unsigned index, LLVMAttribute)) \
-    macro(void, RemoveInstrAttribute, (LLVMValueRef Instr, unsigned index, LLVMAttribute)) \
-    macro(void, SetInstrParamAlignment, (LLVMValueRef Instr, unsigned index, unsigned align)) \
-    macro(LLVMBool, IsTailCall, (LLVMValueRef CallInst)) \
-    macro(void, SetTailCall, (LLVMValueRef CallInst, LLVMBool IsTailCall)) \
-    macro(LLVMBasicBlockRef, GetSwitchDefaultDest, (LLVMValueRef SwitchInstr)) \
</del><span class="cx">     macro(void, AddIncoming, (LLVMValueRef PhiNode, LLVMValueRef *IncomingValues, LLVMBasicBlockRef *IncomingBlocks, unsigned Count)) \
</span><del>-    macro(unsigned, CountIncoming, (LLVMValueRef PhiNode)) \
-    macro(LLVMValueRef, GetIncomingValue, (LLVMValueRef PhiNode, unsigned Index)) \
-    macro(LLVMBasicBlockRef, GetIncomingBlock, (LLVMValueRef PhiNode, unsigned Index)) \
</del><span class="cx">     macro(LLVMBuilderRef, CreateBuilderInContext, (LLVMContextRef C)) \
</span><del>-    macro(LLVMBuilderRef, CreateBuilder, (void)) \
-    macro(void, PositionBuilder, (LLVMBuilderRef Builder, LLVMBasicBlockRef Block, LLVMValueRef Instr)) \
-    macro(void, PositionBuilderBefore, (LLVMBuilderRef Builder, LLVMValueRef Instr)) \
</del><span class="cx">     macro(void, PositionBuilderAtEnd, (LLVMBuilderRef Builder, LLVMBasicBlockRef Block)) \
</span><del>-    macro(LLVMBasicBlockRef, GetInsertBlock, (LLVMBuilderRef Builder)) \
-    macro(void, ClearInsertionPosition, (LLVMBuilderRef Builder)) \
-    macro(void, InsertIntoBuilder, (LLVMBuilderRef Builder, LLVMValueRef Instr)) \
-    macro(void, InsertIntoBuilderWithName, (LLVMBuilderRef Builder, LLVMValueRef Instr, const char *Name)) \
</del><span class="cx">     macro(void, DisposeBuilder, (LLVMBuilderRef Builder)) \
</span><del>-    macro(void, SetCurrentDebugLocation, (LLVMBuilderRef Builder, LLVMValueRef L)) \
-    macro(LLVMValueRef, GetCurrentDebugLocation, (LLVMBuilderRef Builder)) \
-    macro(void, SetInstDebugLocation, (LLVMBuilderRef Builder, LLVMValueRef Inst)) \
-    macro(LLVMValueRef, BuildRetVoid, (LLVMBuilderRef)) \
</del><span class="cx">     macro(LLVMValueRef, BuildRet, (LLVMBuilderRef, LLVMValueRef V)) \
</span><del>-    macro(LLVMValueRef, BuildAggregateRet, (LLVMBuilderRef, LLVMValueRef *RetVals, unsigned N)) \
</del><span class="cx">     macro(LLVMValueRef, BuildBr, (LLVMBuilderRef, LLVMBasicBlockRef Dest)) \
</span><span class="cx">     macro(LLVMValueRef, BuildCondBr, (LLVMBuilderRef, LLVMValueRef If, LLVMBasicBlockRef Then, LLVMBasicBlockRef Else)) \
</span><span class="cx">     macro(LLVMValueRef, BuildSwitch, (LLVMBuilderRef, LLVMValueRef V, LLVMBasicBlockRef Else, unsigned NumCases)) \
</span><del>-    macro(LLVMValueRef, BuildIndirectBr, (LLVMBuilderRef B, LLVMValueRef Addr, unsigned NumDests)) \
-    macro(LLVMValueRef, BuildInvoke, (LLVMBuilderRef, LLVMValueRef Fn, LLVMValueRef *Args, unsigned NumArgs, LLVMBasicBlockRef Then, LLVMBasicBlockRef Catch, const char *Name)) \
-    macro(LLVMValueRef, BuildResume, (LLVMBuilderRef B, LLVMValueRef Exn)) \
</del><span class="cx">     macro(LLVMValueRef, BuildUnreachable, (LLVMBuilderRef)) \
</span><span class="cx">     macro(void, AddCase, (LLVMValueRef Switch, LLVMValueRef OnVal, LLVMBasicBlockRef Dest)) \
</span><del>-    macro(void, AddDestination, (LLVMValueRef IndirectBr, LLVMBasicBlockRef Dest)) \
-    macro(void, AddClause, (LLVMValueRef LandingPad, LLVMValueRef ClauseVal)) \
-    macro(void, SetCleanup, (LLVMValueRef LandingPad, LLVMBool Val)) \
</del><span class="cx">     macro(LLVMValueRef, BuildAdd, (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)) \
</span><del>-    macro(LLVMValueRef, BuildNSWAdd, (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)) \
-    macro(LLVMValueRef, BuildNUWAdd, (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)) \
</del><span class="cx">     macro(LLVMValueRef, BuildFAdd, (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)) \
</span><span class="cx">     macro(LLVMValueRef, BuildSub, (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)) \
</span><del>-    macro(LLVMValueRef, BuildNSWSub, (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)) \
-    macro(LLVMValueRef, BuildNUWSub, (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)) \
</del><span class="cx">     macro(LLVMValueRef, BuildFSub, (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)) \
</span><span class="cx">     macro(LLVMValueRef, BuildMul, (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)) \
</span><del>-    macro(LLVMValueRef, BuildNSWMul, (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)) \
-    macro(LLVMValueRef, BuildNUWMul, (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)) \
</del><span class="cx">     macro(LLVMValueRef, BuildFMul, (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)) \
</span><del>-    macro(LLVMValueRef, BuildUDiv, (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)) \
</del><span class="cx">     macro(LLVMValueRef, BuildSDiv, (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)) \
</span><del>-    macro(LLVMValueRef, BuildExactSDiv, (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)) \
</del><span class="cx">     macro(LLVMValueRef, BuildFDiv, (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)) \
</span><del>-    macro(LLVMValueRef, BuildURem, (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)) \
</del><span class="cx">     macro(LLVMValueRef, BuildSRem, (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)) \
</span><span class="cx">     macro(LLVMValueRef, BuildFRem, (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)) \
</span><span class="cx">     macro(LLVMValueRef, BuildShl, (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)) \
</span><span class="lines">@@ -443,43 +101,21 @@
</span><span class="cx">     macro(LLVMValueRef, BuildAnd, (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)) \
</span><span class="cx">     macro(LLVMValueRef, BuildOr, (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)) \
</span><span class="cx">     macro(LLVMValueRef, BuildXor, (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)) \
</span><del>-    macro(LLVMValueRef, BuildBinOp, (LLVMBuilderRef B, LLVMOpcode Op, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)) \
</del><span class="cx">     macro(LLVMValueRef, BuildNeg, (LLVMBuilderRef, LLVMValueRef V, const char *Name)) \
</span><del>-    macro(LLVMValueRef, BuildNSWNeg, (LLVMBuilderRef B, LLVMValueRef V, const char *Name)) \
-    macro(LLVMValueRef, BuildNUWNeg, (LLVMBuilderRef B, LLVMValueRef V, const char *Name)) \
</del><span class="cx">     macro(LLVMValueRef, BuildFNeg, (LLVMBuilderRef, LLVMValueRef V, const char *Name)) \
</span><span class="cx">     macro(LLVMValueRef, BuildNot, (LLVMBuilderRef, LLVMValueRef V, const char *Name)) \
</span><del>-    macro(LLVMValueRef, BuildMalloc, (LLVMBuilderRef, LLVMTypeRef Ty, const char *Name)) \
-    macro(LLVMValueRef, BuildArrayMalloc, (LLVMBuilderRef, LLVMTypeRef Ty, LLVMValueRef Val, const char *Name)) \
</del><span class="cx">     macro(LLVMValueRef, BuildAlloca, (LLVMBuilderRef, LLVMTypeRef Ty, const char *Name)) \
</span><del>-    macro(LLVMValueRef, BuildArrayAlloca, (LLVMBuilderRef, LLVMTypeRef Ty, LLVMValueRef Val, const char *Name)) \
-    macro(LLVMValueRef, BuildFree, (LLVMBuilderRef, LLVMValueRef PointerVal)) \
</del><span class="cx">     macro(LLVMValueRef, BuildLoad, (LLVMBuilderRef, LLVMValueRef PointerVal, const char *Name)) \
</span><span class="cx">     macro(LLVMValueRef, BuildStore, (LLVMBuilderRef, LLVMValueRef Val, LLVMValueRef Ptr)) \
</span><del>-    macro(LLVMValueRef, BuildGEP, (LLVMBuilderRef B, LLVMValueRef Pointer, LLVMValueRef *Indices, unsigned NumIndices, const char *Name)) \
-    macro(LLVMValueRef, BuildInBoundsGEP, (LLVMBuilderRef B, LLVMValueRef Pointer, LLVMValueRef *Indices, unsigned NumIndices, const char *Name)) \
-    macro(LLVMValueRef, BuildStructGEP, (LLVMBuilderRef B, LLVMValueRef Pointer, unsigned Idx, const char *Name)) \
-    macro(LLVMValueRef, BuildGlobalString, (LLVMBuilderRef B, const char *Str, const char *Name)) \
-    macro(LLVMValueRef, BuildGlobalStringPtr, (LLVMBuilderRef B, const char *Str, const char *Name)) \
-    macro(LLVMBool, GetVolatile, (LLVMValueRef MemoryAccessInst)) \
-    macro(void, SetVolatile, (LLVMValueRef MemoryAccessInst, LLVMBool IsVolatile)) \
-    macro(LLVMValueRef, BuildTrunc, (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)) \
</del><span class="cx">     macro(LLVMValueRef, BuildZExt, (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)) \
</span><span class="cx">     macro(LLVMValueRef, BuildSExt, (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)) \
</span><span class="cx">     macro(LLVMValueRef, BuildFPToUI, (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)) \
</span><span class="cx">     macro(LLVMValueRef, BuildFPToSI, (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)) \
</span><span class="cx">     macro(LLVMValueRef, BuildUIToFP, (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)) \
</span><span class="cx">     macro(LLVMValueRef, BuildSIToFP, (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)) \
</span><del>-    macro(LLVMValueRef, BuildFPTrunc, (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)) \
-    macro(LLVMValueRef, BuildFPExt, (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)) \
</del><span class="cx">     macro(LLVMValueRef, BuildPtrToInt, (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)) \
</span><span class="cx">     macro(LLVMValueRef, BuildIntToPtr, (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)) \
</span><span class="cx">     macro(LLVMValueRef, BuildBitCast, (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)) \
</span><del>-    macro(LLVMValueRef, BuildZExtOrBitCast, (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)) \
-    macro(LLVMValueRef, BuildSExtOrBitCast, (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)) \
-    macro(LLVMValueRef, BuildTruncOrBitCast, (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)) \
-    macro(LLVMValueRef, BuildCast, (LLVMBuilderRef B, LLVMOpcode Op, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)) \
-    macro(LLVMValueRef, BuildPointerCast, (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)) \
</del><span class="cx">     macro(LLVMValueRef, BuildIntCast, (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)) \
</span><span class="cx">     macro(LLVMValueRef, BuildFPCast, (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)) \
</span><span class="cx">     macro(LLVMValueRef, BuildICmp, (LLVMBuilderRef, LLVMIntPredicate Op, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)) \
</span><span class="lines">@@ -487,27 +123,9 @@
</span><span class="cx">     macro(LLVMValueRef, BuildPhi, (LLVMBuilderRef, LLVMTypeRef Ty, const char *Name)) \
</span><span class="cx">     macro(LLVMValueRef, BuildCall, (LLVMBuilderRef, LLVMValueRef Fn, LLVMValueRef *Args, unsigned NumArgs, const char *Name)) \
</span><span class="cx">     macro(LLVMValueRef, BuildSelect, (LLVMBuilderRef, LLVMValueRef If, LLVMValueRef Then, LLVMValueRef Else, const char *Name)) \
</span><del>-    macro(LLVMValueRef, BuildVAArg, (LLVMBuilderRef, LLVMValueRef List, LLVMTypeRef Ty, const char *Name)) \
-    macro(LLVMValueRef, BuildExtractElement, (LLVMBuilderRef, LLVMValueRef VecVal, LLVMValueRef Index, const char *Name)) \
</del><span class="cx">     macro(LLVMValueRef, BuildInsertElement, (LLVMBuilderRef, LLVMValueRef VecVal, LLVMValueRef EltVal, LLVMValueRef Index, const char *Name)) \
</span><del>-    macro(LLVMValueRef, BuildShuffleVector, (LLVMBuilderRef, LLVMValueRef V1, LLVMValueRef V2, LLVMValueRef Mask, const char *Name)) \
</del><span class="cx">     macro(LLVMValueRef, BuildExtractValue, (LLVMBuilderRef, LLVMValueRef AggVal, unsigned Index, const char *Name)) \
</span><del>-    macro(LLVMValueRef, BuildInsertValue, (LLVMBuilderRef, LLVMValueRef AggVal, LLVMValueRef EltVal, unsigned Index, const char *Name)) \
-    macro(LLVMValueRef, BuildIsNull, (LLVMBuilderRef, LLVMValueRef Val, const char *Name)) \
-    macro(LLVMValueRef, BuildIsNotNull, (LLVMBuilderRef, LLVMValueRef Val, const char *Name)) \
-    macro(LLVMValueRef, BuildPtrDiff, (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)) \
</del><span class="cx">     macro(LLVMValueRef, BuildFence, (LLVMBuilderRef B, LLVMAtomicOrdering Ordering, LLVMBool isSingleThread, const char *Name)) \
</span><del>-    macro(LLVMValueRef, BuildAtomicRMW, (LLVMBuilderRef B, LLVMAtomicRMWBinOp op, LLVMValueRef PTR, LLVMValueRef Val, LLVMAtomicOrdering ordering, LLVMBool singleThread)) \
-    macro(LLVMModuleProviderRef, CreateModuleProviderForExistingModule, (LLVMModuleRef M)) \
-    macro(void, DisposeModuleProvider, (LLVMModuleProviderRef M)) \
-    macro(LLVMBool, CreateMemoryBufferWithContentsOfFile, (const char *Path, LLVMMemoryBufferRef *OutMemBuf, char **OutMessage)) \
-    macro(LLVMBool, CreateMemoryBufferWithSTDIN, (LLVMMemoryBufferRef *OutMemBuf, char **OutMessage)) \
-    macro(LLVMMemoryBufferRef, CreateMemoryBufferWithMemoryRange, (const char *InputData, size_t InputDataLength, const char *BufferName, LLVMBool RequiresNullTerminator)) \
-    macro(LLVMMemoryBufferRef, CreateMemoryBufferWithMemoryRangeCopy, (const char *InputData, size_t InputDataLength, const char *BufferName)) \
-    macro(const char *, GetBufferStart, (LLVMMemoryBufferRef MemBuf)) \
-    macro(size_t, GetBufferSize, (LLVMMemoryBufferRef MemBuf)) \
-    macro(void, DisposeMemoryBuffer, (LLVMMemoryBufferRef MemBuf)) \
-    macro(LLVMPassRegistryRef, GetGlobalPassRegistry, (void)) \
</del><span class="cx">     macro(LLVMPassManagerRef, CreatePassManager, (void)) \
</span><span class="cx">     macro(LLVMPassManagerRef, CreateFunctionPassManagerForModule, (LLVMModuleRef M)) \
</span><span class="cx">     macro(LLVMPassManagerRef, CreateFunctionPassManager, (LLVMModuleProviderRef MP)) \
</span><span class="lines">@@ -517,130 +135,40 @@
</span><span class="cx">     macro(LLVMBool, FinalizeFunctionPassManager, (LLVMPassManagerRef FPM)) \
</span><span class="cx">     macro(void, DisposePassManager, (LLVMPassManagerRef PM)) \
</span><span class="cx">     macro(LLVMBool, StartMultithreaded, ()) \
</span><del>-    macro(void, StopMultithreaded, ()) \
-    macro(LLVMBool, IsMultithreaded, ()) \
-    macro(LLVMTargetDataRef, CreateTargetData, (const char *StringRep)) \
</del><span class="cx">     macro(void, AddTargetData, (LLVMTargetDataRef, LLVMPassManagerRef)) \
</span><del>-    macro(void, AddTargetLibraryInfo, (LLVMTargetLibraryInfoRef, LLVMPassManagerRef)) \
</del><span class="cx">     macro(char *, CopyStringRepOfTargetData, (LLVMTargetDataRef)) \
</span><del>-    macro(enum LLVMByteOrdering, ByteOrder, (LLVMTargetDataRef)) \
-    macro(unsigned, PointerSize, (LLVMTargetDataRef)) \
</del><span class="cx">     macro(LLVMTypeRef, IntPtrType, (LLVMTargetDataRef)) \
</span><del>-    macro(unsigned long long, SizeOfTypeInBits, (LLVMTargetDataRef, LLVMTypeRef)) \
-    macro(unsigned long long, StoreSizeOfType, (LLVMTargetDataRef, LLVMTypeRef)) \
-    macro(unsigned long long, ABISizeOfType, (LLVMTargetDataRef, LLVMTypeRef)) \
-    macro(unsigned, ABIAlignmentOfType, (LLVMTargetDataRef, LLVMTypeRef)) \
-    macro(unsigned, CallFrameAlignmentOfType, (LLVMTargetDataRef, LLVMTypeRef)) \
-    macro(unsigned, PreferredAlignmentOfType, (LLVMTargetDataRef, LLVMTypeRef)) \
-    macro(unsigned, PreferredAlignmentOfGlobal, (LLVMTargetDataRef, LLVMValueRef GlobalVar)) \
-    macro(unsigned, ElementAtOffset, (LLVMTargetDataRef, LLVMTypeRef StructTy, unsigned long long Offset)) \
-    macro(unsigned long long, OffsetOfElement, (LLVMTargetDataRef, LLVMTypeRef StructTy, unsigned Element)) \
-    macro(void, DisposeTargetData, (LLVMTargetDataRef)) \
-    macro(LLVMTargetRef, GetFirstTarget, ()) \
-    macro(LLVMTargetRef, GetNextTarget, (LLVMTargetRef T)) \
-    macro(const char *, GetTargetName, (LLVMTargetRef T)) \
-    macro(const char *, GetTargetDescription, (LLVMTargetRef T)) \
-    macro(LLVMBool, TargetHasJIT, (LLVMTargetRef T)) \
-    macro(LLVMBool, TargetHasTargetMachine, (LLVMTargetRef T)) \
-    macro(LLVMBool, TargetHasAsmBackend, (LLVMTargetRef T)) \
-    macro(void, DisposeTargetMachine, (LLVMTargetMachineRef T)) \
-    macro(LLVMTargetRef, GetTargetMachineTarget, (LLVMTargetMachineRef T)) \
-    macro(char *, GetTargetMachineTriple, (LLVMTargetMachineRef T)) \
-    macro(char *, GetTargetMachineCPU, (LLVMTargetMachineRef T)) \
-    macro(char *, GetTargetMachineFeatureString, (LLVMTargetMachineRef T)) \
-    macro(LLVMTargetDataRef, GetTargetMachineData, (LLVMTargetMachineRef T)) \
-    macro(LLVMBool, TargetMachineEmitToFile, (LLVMTargetMachineRef T, LLVMModuleRef M, char *Filename, LLVMCodeGenFileType codegen, char **ErrorMessage)) \
</del><span class="cx">     macro(void, LinkInMCJIT, (void)) \
</span><del>-    macro(LLVMGenericValueRef, CreateGenericValueOfInt, (LLVMTypeRef Ty, unsigned long long N, LLVMBool IsSigned)) \
-    macro(LLVMGenericValueRef, CreateGenericValueOfPointer, (void *P)) \
-    macro(LLVMGenericValueRef, CreateGenericValueOfFloat, (LLVMTypeRef Ty, double N)) \
-    macro(unsigned, GenericValueIntWidth, (LLVMGenericValueRef GenValRef)) \
-    macro(unsigned long long, GenericValueToInt, (LLVMGenericValueRef GenVal, LLVMBool IsSigned)) \
-    macro(void *, GenericValueToPointer, (LLVMGenericValueRef GenVal)) \
-    macro(double, GenericValueToFloat, (LLVMTypeRef TyRef, LLVMGenericValueRef GenVal)) \
-    macro(void, DisposeGenericValue, (LLVMGenericValueRef GenVal)) \
-    macro(LLVMBool, CreateExecutionEngineForModule, (LLVMExecutionEngineRef *OutEE, LLVMModuleRef M, char **OutError)) \
</del><span class="cx">     macro(void, InitializeMCJITCompilerOptions, (struct LLVMMCJITCompilerOptions *Options, size_t SizeOfOptions)) \
</span><span class="cx">     macro(LLVMBool, CreateMCJITCompilerForModule, (LLVMExecutionEngineRef *OutJIT, LLVMModuleRef M, struct LLVMMCJITCompilerOptions *Options, size_t SizeOfOptions, char **OutError)) \
</span><del>-    macro(LLVMBool, CreateExecutionEngine, (LLVMExecutionEngineRef *OutEE, LLVMModuleProviderRef MP, char **OutError)) \
</del><span class="cx">     macro(void, DisposeExecutionEngine, (LLVMExecutionEngineRef EE)) \
</span><del>-    macro(void, RunStaticConstructors, (LLVMExecutionEngineRef EE)) \
-    macro(void, RunStaticDestructors, (LLVMExecutionEngineRef EE)) \
-    macro(int, RunFunctionAsMain, (LLVMExecutionEngineRef EE, LLVMValueRef F, unsigned ArgC, const char * const *ArgV, const char * const *EnvP)) \
-    macro(LLVMGenericValueRef, RunFunction, (LLVMExecutionEngineRef EE, LLVMValueRef F, unsigned NumArgs, LLVMGenericValueRef *Args)) \
-    macro(void, FreeMachineCodeForFunction, (LLVMExecutionEngineRef EE, LLVMValueRef F)) \
-    macro(void, AddModule, (LLVMExecutionEngineRef EE, LLVMModuleRef M)) \
-    macro(void, AddModuleProvider, (LLVMExecutionEngineRef EE, LLVMModuleProviderRef MP)) \
-    macro(LLVMBool, RemoveModule, (LLVMExecutionEngineRef EE, LLVMModuleRef M, LLVMModuleRef *OutMod, char **OutError)) \
-    macro(LLVMBool, RemoveModuleProvider, (LLVMExecutionEngineRef EE, LLVMModuleProviderRef MP, LLVMModuleRef *OutMod, char **OutError)) \
-    macro(LLVMBool, FindFunction, (LLVMExecutionEngineRef EE, const char *Name, LLVMValueRef *OutFn)) \
-    macro(void *, RecompileAndRelinkFunction, (LLVMExecutionEngineRef EE, LLVMValueRef Fn)) \
</del><span class="cx">     macro(LLVMTargetDataRef, GetExecutionEngineTargetData, (LLVMExecutionEngineRef EE)) \
</span><span class="cx">     macro(LLVMTargetMachineRef, GetExecutionEngineTargetMachine, (LLVMExecutionEngineRef EE)) \
</span><del>-    macro(void, AddGlobalMapping, (LLVMExecutionEngineRef EE, LLVMValueRef Global, void* Addr)) \
</del><span class="cx">     macro(void *, GetPointerToGlobal, (LLVMExecutionEngineRef EE, LLVMValueRef Global)) \
</span><span class="cx">     macro(LLVMMCJITMemoryManagerRef, CreateSimpleMCJITMemoryManager, (void *Opaque, LLVMMemoryManagerAllocateCodeSectionCallback AllocateCodeSection, LLVMMemoryManagerAllocateDataSectionCallback AllocateDataSection, LLVMMemoryManagerFinalizeMemoryCallback FinalizeMemory, LLVMMemoryManagerDestroyCallback Destory)) \
</span><del>-    macro(void, DisposeMCJITMemoryManager, (LLVMMCJITMemoryManagerRef MM)) \
</del><span class="cx">     macro(LLVMBool, VerifyModule, (LLVMModuleRef M, LLVMVerifierFailureAction Action, char **OutMessage)) \
</span><del>-    macro(LLVMBool, VerifyFunction, (LLVMValueRef Fn, LLVMVerifierFailureAction Action)) \
-    macro(void, ViewFunctionCFG, (LLVMValueRef Fn)) \
-    macro(void, ViewFunctionCFGOnly, (LLVMValueRef Fn)) \
</del><span class="cx">     macro(LLVMDisasmContextRef, CreateDisasm, (const char *TripleName, void *DisInfo, int TagType, LLVMOpInfoCallback GetOpInfo, LLVMSymbolLookupCallback SymbolLookUp)) \
</span><del>-    macro(LLVMDisasmContextRef, CreateDisasmCPU, (const char *Triple, const char *CPU, void *DisInfo, int TagType, LLVMOpInfoCallback GetOpInfo, LLVMSymbolLookupCallback SymbolLookUp)) \
-    macro(int, SetDisasmOptions, (LLVMDisasmContextRef DC, uint64_t Options)) \
</del><span class="cx">     macro(void, DisasmDispose, (LLVMDisasmContextRef DC)) \
</span><span class="cx">     macro(size_t, DisasmInstruction, (LLVMDisasmContextRef DC, uint8_t *Bytes, uint64_t BytesSize, uint64_t PC, char *OutString, size_t OutStringSize)) \
</span><del>-    macro(unsigned, PointerSizeForAS, (LLVMTargetDataRef, unsigned AS)) \
-    macro(LLVMTypeRef, IntPtrTypeForAS, (LLVMTargetDataRef, unsigned AS)) \
</del><span class="cx">     macro(LLVMPassManagerBuilderRef, PassManagerBuilderCreate, (void)) \
</span><span class="cx">     macro(void, PassManagerBuilderDispose, (LLVMPassManagerBuilderRef PMB)) \
</span><span class="cx">     macro(void, PassManagerBuilderSetOptLevel, (LLVMPassManagerBuilderRef PMB, unsigned OptLevel)) \
</span><span class="cx">     macro(void, PassManagerBuilderSetSizeLevel, (LLVMPassManagerBuilderRef PMB, unsigned SizeLevel)) \
</span><del>-    macro(void, PassManagerBuilderSetDisableUnitAtATime, (LLVMPassManagerBuilderRef PMB, LLVMBool Value)) \
-    macro(void, PassManagerBuilderSetDisableUnrollLoops, (LLVMPassManagerBuilderRef PMB, LLVMBool Value)) \
-    macro(void, PassManagerBuilderSetDisableSimplifyLibCalls, (LLVMPassManagerBuilderRef PMB, LLVMBool Value)) \
</del><span class="cx">     macro(void, PassManagerBuilderUseInlinerWithThreshold, (LLVMPassManagerBuilderRef PMB, unsigned Threshold)) \
</span><span class="cx">     macro(void, PassManagerBuilderPopulateFunctionPassManager, (LLVMPassManagerBuilderRef PMB, LLVMPassManagerRef PM)) \
</span><span class="cx">     macro(void, PassManagerBuilderPopulateModulePassManager, (LLVMPassManagerBuilderRef PMB, LLVMPassManagerRef PM)) \
</span><del>-    macro(void, PassManagerBuilderPopulateLTOPassManager, (LLVMPassManagerBuilderRef PMB, LLVMPassManagerRef PM, LLVMBool Internalize, LLVMBool RunInliner)) \
</del><span class="cx">     macro(void, AddAnalysisPasses, (LLVMTargetMachineRef T, LLVMPassManagerRef PM)) \
</span><del>-    macro(void, AddInternalizePass, (LLVMPassManagerRef PM, unsigned AllButMain)) \
</del><span class="cx">     macro(void, AddAggressiveDCEPass, (LLVMPassManagerRef PM)) \
</span><span class="cx">     macro(void, AddCFGSimplificationPass, (LLVMPassManagerRef PM)) \
</span><span class="cx">     macro(void, AddDeadStoreEliminationPass, (LLVMPassManagerRef PM)) \
</span><span class="cx">     macro(void, AddFunctionInliningPass, (LLVMPassManagerRef PM)) \
</span><span class="cx">     macro(void, AddGlobalDCEPass, (LLVMPassManagerRef PM)) \
</span><span class="cx">     macro(void, AddPruneEHPass, (LLVMPassManagerRef PM)) \
</span><del>-    macro(void, AddIPSCCPPass, (LLVMPassManagerRef PM)) \
-    macro(void, AddDeadArgEliminationPass, (LLVMPassManagerRef PM)) \
-    macro(void, AddConstantMergePass, (LLVMPassManagerRef PM)) \
</del><span class="cx">     macro(void, AddGlobalOptimizerPass, (LLVMPassManagerRef PM)) \
</span><span class="cx">     macro(void, AddGVNPass, (LLVMPassManagerRef PM)) \
</span><del>-    macro(void, AddIndVarSimplifyPass, (LLVMPassManagerRef PM)) \
</del><span class="cx">     macro(void, AddInstructionCombiningPass, (LLVMPassManagerRef PM)) \
</span><del>-    macro(void, AddJumpThreadingPass, (LLVMPassManagerRef PM)) \
-    macro(void, AddLICMPass, (LLVMPassManagerRef PM)) \
-    macro(void, AddLoopDeletionPass, (LLVMPassManagerRef PM)) \
-    macro(void, AddLoopIdiomPass, (LLVMPassManagerRef PM)) \
-    macro(void, AddLoopRotatePass, (LLVMPassManagerRef PM)) \
-    macro(void, AddLoopUnrollPass, (LLVMPassManagerRef PM)) \
-    macro(void, AddLoopUnswitchPass, (LLVMPassManagerRef PM)) \
-    macro(void, AddMemCpyOptPass, (LLVMPassManagerRef PM)) \
-    macro(void, AddPartiallyInlineLibCallsPass, (LLVMPassManagerRef PM)) \
</del><span class="cx">     macro(void, AddPromoteMemoryToRegisterPass, (LLVMPassManagerRef PM)) \
</span><del>-    macro(void, AddReassociatePass, (LLVMPassManagerRef PM)) \
-    macro(void, AddSCCPPass, (LLVMPassManagerRef PM)) \
-    macro(void, AddScalarReplAggregatesPass, (LLVMPassManagerRef PM)) \
-    macro(void, AddScalarReplAggregatesPassSSA, (LLVMPassManagerRef PM)) \
-    macro(void, AddScalarReplAggregatesPassWithThreshold, (LLVMPassManagerRef PM, int Threshold)) \
-    macro(void, AddSimplifyLibCallsPass, (LLVMPassManagerRef PM)) \
-    macro(void, AddTailCallEliminationPass, (LLVMPassManagerRef PM)) \
</del><span class="cx">     macro(void, AddConstantPropagationPass, (LLVMPassManagerRef PM)) \
</span><del>-    macro(void, AddDemoteMemoryToRegisterPass, (LLVMPassManagerRef PM)) \
-    macro(void, AddVerifierPass, (LLVMPassManagerRef PM)) \
-    macro(void, AddCorrelatedValuePropagationPass, (LLVMPassManagerRef PM)) \
-    macro(void, AddEarlyCSEPass, (LLVMPassManagerRef PM)) \
-    macro(void, AddLowerExpectIntrinsicPass, (LLVMPassManagerRef PM)) \
</del><span class="cx">     macro(void, AddTypeBasedAliasAnalysisPass, (LLVMPassManagerRef PM)) \
</span><span class="cx">     macro(void, AddBasicAliasAnalysisPass, (LLVMPassManagerRef PM))
</span><span class="cx"> 
</span></span></pre>
</div>
</div>

</body>
</html>