Lines Matching refs:EE
111 if (ExecutionEngine *EE = builder.create()){
112 *OutEE = wrap(EE);
216 void LLVMDisposeExecutionEngine(LLVMExecutionEngineRef EE) {
217 delete unwrap(EE);
220 void LLVMRunStaticConstructors(LLVMExecutionEngineRef EE) {
221 unwrap(EE)->finalizeObject();
222 unwrap(EE)->runStaticConstructorsDestructors(false);
225 void LLVMRunStaticDestructors(LLVMExecutionEngineRef EE) {
226 unwrap(EE)->finalizeObject();
227 unwrap(EE)->runStaticConstructorsDestructors(true);
230 int LLVMRunFunctionAsMain(LLVMExecutionEngineRef EE, LLVMValueRef F,
233 unwrap(EE)->finalizeObject();
236 return unwrap(EE)->runFunctionAsMain(unwrap<Function>(F), ArgVec, EnvP);
239 LLVMGenericValueRef LLVMRunFunction(LLVMExecutionEngineRef EE, LLVMValueRef F,
242 unwrap(EE)->finalizeObject();
250 *Result = unwrap(EE)->runFunction(unwrap<Function>(F), ArgVec);
254 void LLVMFreeMachineCodeForFunction(LLVMExecutionEngineRef EE, LLVMValueRef F) {
257 void LLVMAddModule(LLVMExecutionEngineRef EE, LLVMModuleRef M){
258 unwrap(EE)->addModule(std::unique_ptr<Module>(unwrap(M)));
261 LLVMBool LLVMRemoveModule(LLVMExecutionEngineRef EE, LLVMModuleRef M,
264 unwrap(EE)->removeModule(Mod);
269 LLVMBool LLVMFindFunction(LLVMExecutionEngineRef EE, const char *Name,
271 if (Function *F = unwrap(EE)->FindFunctionNamed(Name)) {
278 void *LLVMRecompileAndRelinkFunction(LLVMExecutionEngineRef EE,
283 LLVMTargetDataRef LLVMGetExecutionEngineTargetData(LLVMExecutionEngineRef EE) {
284 return wrap(&unwrap(EE)->getDataLayout());
288 LLVMGetExecutionEngineTargetMachine(LLVMExecutionEngineRef EE) {
289 return wrap(unwrap(EE)->getTargetMachine());
292 void LLVMAddGlobalMapping(LLVMExecutionEngineRef EE, LLVMValueRef Global,
294 unwrap(EE)->addGlobalMapping(unwrap<GlobalValue>(Global), Addr);
297 void *LLVMGetPointerToGlobal(LLVMExecutionEngineRef EE, LLVMValueRef Global) {
298 unwrap(EE)->finalizeObject();
300 return unwrap(EE)->getPointerToGlobal(unwrap<GlobalValue>(Global));
303 uint64_t LLVMGetGlobalValueAddress(LLVMExecutionEngineRef EE, const char *Name) {
304 return unwrap(EE)->getGlobalValueAddress(Name);
307 uint64_t LLVMGetFunctionAddress(LLVMExecutionEngineRef EE, const char *Name) {
308 return unwrap(EE)->getFunctionAddress(Name);
311 LLVMBool LLVMExecutionEngineGetErrMsg(LLVMExecutionEngineRef EE,
314 auto *ExecEngine = unwrap(EE);