Lines Matching defs:EE

110   if (ExecutionEngine *EE = builder.create()){
111 *OutEE = wrap(EE);
215 void LLVMDisposeExecutionEngine(LLVMExecutionEngineRef EE) {
216 delete unwrap(EE);
219 void LLVMRunStaticConstructors(LLVMExecutionEngineRef EE) {
220 unwrap(EE)->finalizeObject();
221 unwrap(EE)->runStaticConstructorsDestructors(false);
224 void LLVMRunStaticDestructors(LLVMExecutionEngineRef EE) {
225 unwrap(EE)->finalizeObject();
226 unwrap(EE)->runStaticConstructorsDestructors(true);
229 int LLVMRunFunctionAsMain(LLVMExecutionEngineRef EE, LLVMValueRef F,
232 unwrap(EE)->finalizeObject();
235 return unwrap(EE)->runFunctionAsMain(unwrap<Function>(F), ArgVec, EnvP);
238 LLVMGenericValueRef LLVMRunFunction(LLVMExecutionEngineRef EE, LLVMValueRef F,
241 unwrap(EE)->finalizeObject();
249 *Result = unwrap(EE)->runFunction(unwrap<Function>(F), ArgVec);
253 void LLVMFreeMachineCodeForFunction(LLVMExecutionEngineRef EE, LLVMValueRef F) {
256 void LLVMAddModule(LLVMExecutionEngineRef EE, LLVMModuleRef M){
257 unwrap(EE)->addModule(std::unique_ptr<Module>(unwrap(M)));
260 LLVMBool LLVMRemoveModule(LLVMExecutionEngineRef EE, LLVMModuleRef M,
263 unwrap(EE)->removeModule(Mod);
268 LLVMBool LLVMFindFunction(LLVMExecutionEngineRef EE, const char *Name,
270 if (Function *F = unwrap(EE)->FindFunctionNamed(Name)) {
277 void *LLVMRecompileAndRelinkFunction(LLVMExecutionEngineRef EE,
282 LLVMTargetDataRef LLVMGetExecutionEngineTargetData(LLVMExecutionEngineRef EE) {
283 return wrap(&unwrap(EE)->getDataLayout());
287 LLVMGetExecutionEngineTargetMachine(LLVMExecutionEngineRef EE) {
288 return wrap(unwrap(EE)->getTargetMachine());
291 void LLVMAddGlobalMapping(LLVMExecutionEngineRef EE, LLVMValueRef Global,
293 unwrap(EE)->addGlobalMapping(unwrap<GlobalValue>(Global), Addr);
296 void *LLVMGetPointerToGlobal(LLVMExecutionEngineRef EE, LLVMValueRef Global) {
297 unwrap(EE)->finalizeObject();
299 return unwrap(EE)->getPointerToGlobal(unwrap<GlobalValue>(Global));
302 uint64_t LLVMGetGlobalValueAddress(LLVMExecutionEngineRef EE, const char *Name) {
303 return unwrap(EE)->getGlobalValueAddress(Name);
306 uint64_t LLVMGetFunctionAddress(LLVMExecutionEngineRef EE, const char *Name) {
307 return unwrap(EE)->getFunctionAddress(Name);
310 LLVMBool LLVMExecutionEngineGetErrMsg(LLVMExecutionEngineRef EE,
313 auto *ExecEngine = unwrap(EE);