Displaying 1 result from an estimated 1 matches for "is_small".
Did you mean:
i_small
2018 Sep 12
2
How to make LLVM go faster?
...ps or things to look into?
Here's the function that 81% of the time is spent inside:
bool ZigLLVMTargetMachineEmitToFile(LLVMTargetMachineRef targ_machine_ref,
LLVMModuleRef module_ref,
const char *filename, ZigLLVM_EmitOutputType output_type, char
**error_message, bool is_debug, bool is_small)
{
std::error_code EC;
raw_fd_ostream dest(filename, EC, sys::fs::F_None);
if (EC) {
*error_message = strdup((const char
*)StringRef(EC.message()).bytes_begin());
return true;
}
TargetMachine* target_machine =
reinterpret_cast<TargetMachine*>(targ_machine_r...