Home | History | Annotate | Download | only in ExecutionEngine

Lines Matching refs:EE

110   if (ExecutionEngine *EE = builder.create()){
111 *OutEE = wrap(EE);
214 void LLVMDisposeExecutionEngine(LLVMExecutionEngineRef EE) {
215 delete unwrap(EE);
218 void LLVMRunStaticConstructors(LLVMExecutionEngineRef EE) {
219 unwrap(EE)->finalizeObject();
220 unwrap(EE)->runStaticConstructorsDestructors(false);
223 void LLVMRunStaticDestructors(LLVMExecutionEngineRef EE) {
224 unwrap(EE)->finalizeObject();
225 unwrap(EE)->runStaticConstructorsDestructors(true);
228 int LLVMRunFunctionAsMain(LLVMExecutionEngineRef EE, LLVMValueRef F,
231 unwrap(EE)->finalizeObject();
234 return unwrap(EE)->runFunctionAsMain(unwrap<Function>(F), ArgVec, EnvP);
237 LLVMGenericValueRef LLVMRunFunction(LLVMExecutionEngineRef EE, LLVMValueRef F,
240 unwrap(EE)->finalizeObject();
248 *Result = unwrap(EE)->runFunction(unwrap<Function>(F), ArgVec);
252 void LLVMFreeMachineCodeForFunction(LLVMExecutionEngineRef EE, LLVMValueRef F) {
255 void LLVMAddModule(LLVMExecutionEngineRef EE, LLVMModuleRef M){
256 unwrap(EE)->addModule(std::unique_ptr<Module>(unwrap(M)));
259 LLVMBool LLVMRemoveModule(LLVMExecutionEngineRef EE, LLVMModuleRef M,
262 unwrap(EE)->removeModule(Mod);
267 LLVMBool LLVMFindFunction(LLVMExecutionEngineRef EE, const char *Name,
269 if (Function *F = unwrap(EE)->FindFunctionNamed(Name)) {
276 void *LLVMRecompileAndRelinkFunction(LLVMExecutionEngineRef EE,
281 LLVMTargetDataRef LLVMGetExecutionEngineTargetData(LLVMExecutionEngineRef EE) {
282 return wrap(&unwrap(EE)->getDataLayout());
286 LLVMGetExecutionEngineTargetMachine(LLVMExecutionEngineRef EE) {
287 return wrap(unwrap(EE)->getTargetMachine());
290 void LLVMAddGlobalMapping(LLVMExecutionEngineRef EE, LLVMValueRef Global,
292 unwrap(EE)->addGlobalMapping(unwrap<GlobalValue>(Global), Addr);
295 void *LLVMGetPointerToGlobal(LLVMExecutionEngineRef EE, LLVMValueRef Global) {
296 unwrap(EE)->finalizeObject();
298 return unwrap(EE)->getPointerToGlobal(unwrap<GlobalValue>(Global));
301 uint64_t LLVMGetGlobalValueAddress(LLVMExecutionEngineRef EE, const char *Name) {
302 return unwrap(EE)->getGlobalValueAddress(Name);
305 uint64_t LLVMGetFunctionAddress(LLVMExecutionEngineRef EE, const char *Name) {
306 return unwrap(EE)->getFunctionAddress(Name);