Lines Matching refs:EE
97 if (ExecutionEngine *EE = builder.create()){
98 *OutEE = wrap(EE);
166 void LLVMDisposeExecutionEngine(LLVMExecutionEngineRef EE) {
167 delete unwrap(EE);
170 void LLVMRunStaticConstructors(LLVMExecutionEngineRef EE) {
171 unwrap(EE)->runStaticConstructorsDestructors(false);
174 void LLVMRunStaticDestructors(LLVMExecutionEngineRef EE) {
175 unwrap(EE)->runStaticConstructorsDestructors(true);
178 int LLVMRunFunctionAsMain(LLVMExecutionEngineRef EE, LLVMValueRef F,
185 return unwrap(EE)->runFunctionAsMain(unwrap<Function>(F), ArgVec, EnvP);
188 LLVMGenericValueRef LLVMRunFunction(LLVMExecutionEngineRef EE, LLVMValueRef F,
197 *Result = unwrap(EE)->runFunction(unwrap<Function>(F), ArgVec);
201 void LLVMFreeMachineCodeForFunction(LLVMExecutionEngineRef EE, LLVMValueRef F) {
202 unwrap(EE)->freeMachineCodeForFunction(unwrap<Function>(F));
205 void LLVMAddModule(LLVMExecutionEngineRef EE, LLVMModuleRef M){
206 unwrap(EE)->addModule(unwrap(M));
209 void LLVMAddModuleProvider(LLVMExecutionEngineRef EE, LLVMModuleProviderRef MP){
211 LLVMAddModule(EE, reinterpret_cast<LLVMModuleRef>(MP));
214 LLVMBool LLVMRemoveModule(LLVMExecutionEngineRef EE, LLVMModuleRef M,
217 unwrap(EE)->removeModule(Mod);
222 LLVMBool LLVMRemoveModuleProvider(LLVMExecutionEngineRef EE,
226 return LLVMRemoveModule(EE, reinterpret_cast<LLVMModuleRef>(MP), OutMod,
230 LLVMBool LLVMFindFunction(LLVMExecutionEngineRef EE, const char *Name,
232 if (Function *F = unwrap(EE)->FindFunctionNamed(Name)) {
239 void *LLVMRecompileAndRelinkFunction(LLVMExecutionEngineRef EE, LLVMValueRef Fn) {
240 return unwrap(EE)->recompileAndRelinkFunction(unwrap<Function>(Fn));
243 LLVMTargetDataRef LLVMGetExecutionEngineTargetData(LLVMExecutionEngineRef EE) {
244 return wrap(unwrap(EE)->getTargetData());
247 void LLVMAddGlobalMapping(LLVMExecutionEngineRef EE, LLVMValueRef Global,
249 unwrap(EE)->addGlobalMapping(unwrap<GlobalValue>(Global), Addr);
252 void *LLVMGetPointerToGlobal(LLVMExecutionEngineRef EE, LLVMValueRef Global) {
253 return unwrap(EE)->getPointerToGlobal(unwrap<GlobalValue>(Global));