• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/

Lines Matching refs:unwrap

44   GenVal->IntVal = APInt(unwrap<IntegerType>(Ty)->getBitWidth(), N, IsSigned);
56 switch (unwrap(TyRef)->getTypeID()) {
70 return unwrap(GenValRef)->IntVal.getBitWidth();
75 GenericValue *GenVal = unwrap(GenValRef);
83 return unwrap(GenVal)->PointerVal;
87 switch (unwrap(TyRef)->getTypeID()) {
89 return unwrap(GenVal)->FloatVal;
91 return unwrap(GenVal)->DoubleVal;
98 delete unwrap(GenVal);
107 EngineBuilder builder(std::unique_ptr<Module>(unwrap(M)));
122 EngineBuilder builder(std::unique_ptr<Module>(unwrap(M)));
138 EngineBuilder builder(std::unique_ptr<Module>(unwrap(M)));
183 std::unique_ptr<Module> Mod(unwrap(M));
203 if (Optional<CodeModel::Model> CM = unwrap(options.CodeModel, JIT))
207 std::unique_ptr<RTDyldMemoryManager>(unwrap(options.MCJMM)));
217 delete unwrap(EE);
221 unwrap(EE)->finalizeObject();
222 unwrap(EE)->runStaticConstructorsDestructors(false);
226 unwrap(EE)->finalizeObject();
227 unwrap(EE)->runStaticConstructorsDestructors(true);
233 unwrap(EE)->finalizeObject();
236 return unwrap(EE)->runFunctionAsMain(unwrap<Function>(F), ArgVec, EnvP);
242 unwrap(EE)->finalizeObject();
247 ArgVec.push_back(*unwrap(Args[I]));
250 *Result = unwrap(EE)->runFunction(unwrap<Function>(F), ArgVec);
258 unwrap(EE)->addModule(std::unique_ptr<Module>(unwrap(M)));
263 Module *Mod = unwrap(M);
264 unwrap(EE)->removeModule(Mod);
271 if (Function *F = unwrap(EE)->FindFunctionNamed(Name)) {
284 return wrap(&unwrap(EE)->getDataLayout());
289 return wrap(unwrap(EE)->getTargetMachine());
294 unwrap(EE)->addGlobalMapping(unwrap<GlobalValue>(Global), Addr);
298 unwrap(EE)->finalizeObject();
300 return unwrap(EE)->getPointerToGlobal(unwrap<GlobalValue>(Global));
304 return unwrap(EE)->getGlobalValueAddress(Name);
308 return unwrap(EE)->getFunctionAddress(Name);
314 auto *ExecEngine = unwrap(EE);
423 delete unwrap(MM);