reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
498 return wrap(CodeGen); 501 void thinlto_codegen_dispose(thinlto_code_gen_t cg) { delete unwrap(cg); } 505 unwrap(cg)->addModule(Identifier, StringRef(Data, Length)); 508 void thinlto_codegen_process(thinlto_code_gen_t cg) { unwrap(cg)->run(); } 511 return unwrap(cg)->getProducedBinaries().size(); 515 assert(index < unwrap(cg)->getProducedBinaries().size() && "Index overflow"); 516 auto &MemBuffer = unwrap(cg)->getProducedBinaries()[index]; 522 return unwrap(cg)->getProducedBinaryFiles().size(); 526 assert(index < unwrap(cg)->getProducedBinaryFiles().size() && 528 return unwrap(cg)->getProducedBinaryFiles()[index].c_str(); 533 unwrap(cg)->disableCodeGen(disable); 538 unwrap(cg)->setCodeGenOnly(CodeGenOnly); 557 unwrap(cg)->preserveSymbol(StringRef(Name, Length)); 562 unwrap(cg)->crossReferenceSymbol(StringRef(Name, Length)); 566 return unwrap(cg)->setCpu(cpu); 571 return unwrap(cg)->setCacheDir(cache_dir); 576 return unwrap(cg)->setCachePruningInterval(interval); 581 return unwrap(cg)->setCacheEntryExpiration(expiration); 586 return unwrap(cg)->setMaxCacheSizeRelativeToAvailableSpace(Percentage); 591 return unwrap(cg)->setCacheMaxSizeBytes(MaxSizeBytes); 598 return unwrap(cg)->setCacheMaxSizeBytes(MaxSizeBytes); 603 return unwrap(cg)->setCacheMaxSizeFiles(MaxSizeFiles); 608 return unwrap(cg)->setSaveTempsDir(save_temps_dir); 613 unwrap(cg)->setGeneratedObjectsDirectory(save_temps_dir); 620 unwrap(cg)->setCodePICModel(Reloc::Static); 623 unwrap(cg)->setCodePICModel(Reloc::PIC_); 626 unwrap(cg)->setCodePICModel(Reloc::DynamicNoPIC); 629 unwrap(cg)->setCodePICModel(None);