Lines Matching refs:unwrap
81 LTOCodeGenerator *CG = unwrap(cg); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
185 path, &unwrap(cg)->getContext())); in lto_module_create_in_codegen_context()
188 void lto_module_dispose(lto_module_t mod) { delete unwrap(mod); } in lto_module_dispose()
191 return unwrap(mod)->getTargetTriple().c_str(); in lto_module_get_target_triple()
195 return unwrap(mod)->setTargetTriple(triple); in lto_module_set_target_triple()
199 return unwrap(mod)->getSymbolCount(); in lto_module_get_num_symbols()
203 return unwrap(mod)->getSymbolName(index); in lto_module_get_symbol_name()
208 return unwrap(mod)->getSymbolAttributes(index); in lto_module_get_symbol_attribute()
212 return unwrap(mod)->getDependentLibraryCount(); in lto_module_get_num_deplibs()
216 return unwrap(mod)->getDependentLibrary(index); in lto_module_get_deplib()
220 return unwrap(mod)->getLinkerOptCount(); in lto_module_get_num_linkeropts()
224 return unwrap(mod)->getLinkerOpt(index); in lto_module_get_linkeropt()
230 unwrap(cg)->setDiagnosticHandler(diag_handler, ctxt); in lto_codegen_set_diagnostic_handler()
254 void lto_codegen_dispose(lto_code_gen_t cg) { delete unwrap(cg); } in lto_codegen_dispose()
257 return !unwrap(cg)->addModule(unwrap(mod)); in lto_codegen_add_module()
261 unwrap(cg)->setModule(unwrap(mod)); in lto_codegen_set_module()
265 unwrap(cg)->setDebugInfo(debug); in lto_codegen_set_debug_model()
270 unwrap(cg)->setCodePICModel(model); in lto_codegen_set_pic_model()
275 return unwrap(cg)->setCpu(cpu); in lto_codegen_set_cpu()
289 unwrap(cg)->addMustPreserveSymbol(symbol); in lto_codegen_add_must_preserve_symbol()
294 unwrap(cg)->parseCodeGenDebugOptions(); in maybeParseOptions()
302 return !unwrap(cg)->writeMergedModules(path, sLastErrorString); in lto_codegen_write_merged_modules()
307 return unwrap(cg)->compile(length, DisableInline, in lto_codegen_compile()
314 return !unwrap(cg)->optimize(DisableInline, in lto_codegen_optimize()
321 return unwrap(cg)->compileOptimized(length, sLastErrorString); in lto_codegen_compile_optimized()
326 return !unwrap(cg)->compile_to_file( in lto_codegen_compile_to_file()
332 unwrap(cg)->setCodeGenDebugOptions(opt); in lto_codegen_debug_options()