libInit.cc
author Jan Vrany <jan.vrany@fit.cvut.cz>
Wed, 27 Jan 2016 14:20:58 +0000
changeset 54 a288aced3dd1
parent 53 bbf3a88e2358
child 55 41b3437f1fc7
permissions -rw-r--r--
LLVM C API Extensions: Fixed DIBuilerCreateFunction() and DIBuilderCreateSubroutineType() for LLVM 3.9 In LLVM 3.9 some parameters to these functions were dropped. The DIBuilder interface has been changed to reflect these changes (i.e., C functions no longer require dropped argument). The LLVM C Extensions library can still be compiled against LLVM 3.8 (via #ifdef), but the API will be different. Also, the Smalltallks bindings will make use of LLVM 3.9 interface. That said, LLVM C API Extensions library may still be used by *other* projects on top of LLVM 3.8, though Smalltalk bindings require LLVM 3.9 from now on.

/*
 * $Header$
 *
 * DO NOT EDIT
 * automagically generated from the projectDefinition: jv_llvm_s.
 */
#define __INDIRECTVMINITCALLS__
#include <stc.h>

#ifdef WIN32
# pragma codeseg INITCODE "INITCODE"
#endif

#if defined(INIT_TEXT_SECTION) || defined(DLL_EXPORT)
DLL_EXPORT void _libjv_llvm_s_Init() INIT_TEXT_SECTION;
DLL_EXPORT void _libjv_llvm_s_InitDefinition() INIT_TEXT_SECTION;
#endif

void _libjv_llvm_s_InitDefinition(pass, __pRT__, snd)
OBJ snd; struct __vmData__ *__pRT__; {
__BEGIN_PACKAGE2__("libjv_llvm_s__DFN", _libjv_llvm_s_InitDefinition, "jv:llvm_s");
_jv_137llvm_137s_Init(pass,__pRT__,snd);

__END_PACKAGE__();
}

void _libjv_llvm_s_Init(pass, __pRT__, snd)
OBJ snd; struct __vmData__ *__pRT__; {
__BEGIN_PACKAGE2__("libjv_llvm_s", _libjv_llvm_s_Init, "jv:llvm_s");
_LLVM_Init(pass,__pRT__,snd);
_LLVMAtomicOrdering_Init(pass,__pRT__,snd);
_LLVMAtomicRMWBinOp_Init(pass,__pRT__,snd);
_LLVMAttribute_Init(pass,__pRT__,snd);
_LLVMByteOrdering_Init(pass,__pRT__,snd);
_LLVMCEXT_Init(pass,__pRT__,snd);
_LLVMCallConv_Init(pass,__pRT__,snd);
_LLVMConfig_Init(pass,__pRT__,snd);
_LLVMConstant_Init(pass,__pRT__,snd);
_LLVMDLLStorageClass_Init(pass,__pRT__,snd);
_LLVMDWARFEncoding_Init(pass,__pRT__,snd);
_LLVMDWARFLamguage_Init(pass,__pRT__,snd);
_LLVMDiagnosticSeverity_Init(pass,__pRT__,snd);
_LLVMError_Init(pass,__pRT__,snd);
_LLVMIntPredicate_Init(pass,__pRT__,snd);
_LLVMLandingPadClauseTy_Init(pass,__pRT__,snd);
_LLVMLinkage_Init(pass,__pRT__,snd);
_LLVMMetadataKind_Init(pass,__pRT__,snd);
_LLVMModuleFlagBehavior_Init(pass,__pRT__,snd);
_LLVMObjectArray_Init(pass,__pRT__,snd);
_LLVMOpcode_Init(pass,__pRT__,snd);
_LLVMRealPredicate_Init(pass,__pRT__,snd);
_LLVMThreadLocalMode_Init(pass,__pRT__,snd);
_LLVMTypeKind_Init(pass,__pRT__,snd);
_LLVMVerifierFailureAction_Init(pass,__pRT__,snd);
_LLVMVisibility_Init(pass,__pRT__,snd);
_jv_137llvm_137s_Init(pass,__pRT__,snd);
_LLVMObject_Init(pass,__pRT__,snd);
_LLVMTypeError_Init(pass,__pRT__,snd);
_LLVMBasicBlock_Init(pass,__pRT__,snd);
_LLVMContext_Init(pass,__pRT__,snd);
_LLVMDiagnosticInfo_Init(pass,__pRT__,snd);
_LLVMDisposableObject_Init(pass,__pRT__,snd);
_LLVMMCJITCompilerOptions_Init(pass,__pRT__,snd);
_LLVMMetadata_Init(pass,__pRT__,snd);
_LLVMPassRegistry_Init(pass,__pRT__,snd);
_LLVMTargetLibraryInfo_Init(pass,__pRT__,snd);
_LLVMType_Init(pass,__pRT__,snd);
_LLVMTypeMismatchError_Init(pass,__pRT__,snd);
_LLVMUse_Init(pass,__pRT__,snd);
_LLVMValue_Init(pass,__pRT__,snd);
_LLVMDIBuilder_Init(pass,__pRT__,snd);
_LLVMExecutionEngine_Init(pass,__pRT__,snd);
_LLVMFunction_Init(pass,__pRT__,snd);
_LLVMGenericValue_Init(pass,__pRT__,snd);
_LLVMIRBuilder_Init(pass,__pRT__,snd);
_LLVMMCJITMemoryManager_Init(pass,__pRT__,snd);
_LLVMModule_Init(pass,__pRT__,snd);
_LLVMModuleProvider_Init(pass,__pRT__,snd);
_LLVMPassManager_Init(pass,__pRT__,snd);
_LLVMTargetData_Init(pass,__pRT__,snd);
_LLVMTypeFunction_Init(pass,__pRT__,snd);
_LLVMTypeLabel_Init(pass,__pRT__,snd);
_LLVMTypeMetadata_Init(pass,__pRT__,snd);
_LLVMTypeScalar_Init(pass,__pRT__,snd);
_LLVMTypeFloatingPoint_Init(pass,__pRT__,snd);
_LLVMTypeSequential_Init(pass,__pRT__,snd);
_LLVMTypeStruct_Init(pass,__pRT__,snd);
_LLVMTypeVoid_Init(pass,__pRT__,snd);
_LLVMStXMethod_Init(pass,__pRT__,snd);
_LLVMTypeArray_Init(pass,__pRT__,snd);
_LLVMTypeDouble_Init(pass,__pRT__,snd);
_LLVMTypeFP128_Init(pass,__pRT__,snd);
_LLVMTypeFloat_Init(pass,__pRT__,snd);
_LLVMTypeHalt_Init(pass,__pRT__,snd);
_LLVMTypeInteger_Init(pass,__pRT__,snd);
_LLVMTypePPC_137FP128_Init(pass,__pRT__,snd);
_LLVMTypePointer_Init(pass,__pRT__,snd);
_LLVMTypeVector_Init(pass,__pRT__,snd);
_LLVMTypeX86_137FP80_Init(pass,__pRT__,snd);
_LLVMTypeX86_137MMX_Init(pass,__pRT__,snd);

_jv_137llvm_137s_extensions_Init(pass,__pRT__,snd);
__END_PACKAGE__();
}