#include "llvm-c-test.h"
#include "llvm-c/DebugInfo.h"
#include "llvm-c/ErrorHandling.h"
#include "llvm-c/Target.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/Hashing.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/Support/ErrorHandling.h"
#include <stdio.h>
#include <stdlib.h>
usingnamespacellvm;
template<typename T>
struct CAPIDenseMap { … };
CAPIDenseMap<T *>;
ValueMap;
BasicBlockMap;
struct TypeCloner { … };
static ValueMap clone_params(LLVMValueRef Src, LLVMValueRef Dst) { … }
static void check_value_kind(LLVMValueRef V, LLVMValueKind K) { … }
static LLVMValueRef clone_constant_impl(LLVMValueRef Cst, LLVMModuleRef M);
static LLVMValueRef clone_constant(LLVMValueRef Cst, LLVMModuleRef M) { … }
static LLVMValueRef clone_constant_impl(LLVMValueRef Cst, LLVMModuleRef M) { … }
static LLVMValueRef clone_inline_asm(LLVMValueRef Asm, LLVMModuleRef M) { … }
struct FunCloner { … };
static void declare_symbols(LLVMModuleRef Src, LLVMModuleRef M) { … }
static void clone_symbols(LLVMModuleRef Src, LLVMModuleRef M) { … }
int llvm_echo(void) { … }