Lines Matching refs:unwrap
64 OrcV2CAPIHelper::releaseSymbolStringPtr(unwrap(ES)->intern(Name)));
68 OrcV2CAPIHelper::releasePoolEntry(unwrap(S));
73 delete unwrap(DG);
78 unwrap(JD)->addGenerator(
79 std::unique_ptr<JITDylib::DefinitionGenerator>(unwrap(DG)));
113 return wrap(unwrap(TSCtx)->getContext());
117 delete unwrap(TSCtx);
124 new ThreadSafeModule(std::unique_ptr<Module>(unwrap(M)), *unwrap(TSCtx)));
128 delete unwrap(TSM);
147 auto *TemplateTM = unwrap(TM);
167 delete unwrap(JTMB);
175 delete unwrap(Builder);
180 unwrap(Builder)->setJITTargetMachineBuilder(*unwrap(JTMB));
190 auto J = unwrap(Builder)->create();
203 delete unwrap(J);
208 return wrap(&unwrap(J)->getExecutionSession());
212 return wrap(&unwrap(J)->getMainJITDylib());
216 return unwrap(J)->getTargetTriple().str().c_str();
220 return unwrap(J)->getDataLayout().getGlobalPrefix();
226 unwrap(J)->mangleAndIntern(UnmangledName)));
231 return wrap(unwrap(J)->addObjectFile(
232 *unwrap(JD), std::unique_ptr<MemoryBuffer>(unwrap(ObjBuffer))));
238 return wrap(unwrap(J)->addIRModule(*unwrap(JD), std::move(*unwrap(TSM))));
246 auto Sym = unwrap(J)->lookup(Name);