Home | History | Annotate | Download | only in ExecutionEngine

Lines Matching refs:EE

116   if (ExecutionEngine *EE = builder.create()){
117 *OutEE = wrap(EE);
238 void LLVMDisposeExecutionEngine(LLVMExecutionEngineRef EE) {
239 delete unwrap(EE);
242 void LLVMRunStaticConstructors(LLVMExecutionEngineRef EE) {
243 unwrap(EE)->runStaticConstructorsDestructors(false);
246 void LLVMRunStaticDestructors(LLVMExecutionEngineRef EE) {
247 unwrap(EE)->runStaticConstructorsDestructors(true);
250 int LLVMRunFunctionAsMain(LLVMExecutionEngineRef EE, LLVMValueRef F,
253 unwrap(EE)->finalizeObject();
259 return unwrap(EE)->runFunctionAsMain(unwrap<Function>(F), ArgVec, EnvP);
262 LLVMGenericValueRef LLVMRunFunction(LLVMExecutionEngineRef EE, LLVMValueRef F,
265 unwrap(EE)->finalizeObject();
273 *Result = unwrap(EE)->runFunction(unwrap<Function>(F), ArgVec);
277 void LLVMFreeMachineCodeForFunction(LLVMExecutionEngineRef EE, LLVMValueRef F) {
278 unwrap(EE)->freeMachineCodeForFunction(unwrap<Function>(F));
281 void LLVMAddModule(LLVMExecutionEngineRef EE, LLVMModuleRef M){
282 unwrap(EE)->addModule(unwrap(M));
285 void LLVMAddModuleProvider(LLVMExecutionEngineRef EE, LLVMModuleProviderRef MP){
287 LLVMAddModule(EE, reinterpret_cast<LLVMModuleRef>(MP));
290 LLVMBool LLVMRemoveModule(LLVMExecutionEngineRef EE, LLVMModuleRef M,
293 unwrap(EE)->removeModule(Mod);
298 LLVMBool LLVMRemoveModuleProvider(LLVMExecutionEngineRef EE,
302 return LLVMRemoveModule(EE, reinterpret_cast<LLVMModuleRef>(MP), OutMod,
306 LLVMBool LLVMFindFunction(LLVMExecutionEngineRef EE, const char *Name,
308 if (Function *F = unwrap(EE)->FindFunctionNamed(Name)) {
315 void *LLVMRecompileAndRelinkFunction(LLVMExecutionEngineRef EE,
317 return unwrap(EE)->recompileAndRelinkFunction(unwrap<Function>(Fn));
320 LLVMTargetDataRef LLVMGetExecutionEngineTargetData(LLVMExecutionEngineRef EE) {
321 return wrap(unwrap(EE)->getDataLayout());
325 LLVMGetExecutionEngineTargetMachine(LLVMExecutionEngineRef EE) {
326 return wrap(unwrap(EE)->getTargetMachine());
329 void LLVMAddGlobalMapping(LLVMExecutionEngineRef EE, LLVMValueRef Global,
331 unwrap(EE)->addGlobalMapping(unwrap<GlobalValue>(Global), Addr);
334 void *LLVMGetPointerToGlobal(LLVMExecutionEngineRef EE, LLVMValueRef Global) {
335 unwrap(EE)->finalizeObject();
337 return unwrap(EE)->getPointerToGlobal(unwrap<GlobalValue>(Global));