<commit_before>#ifdef _MSC_VER
#  pragma warning(disable:4267)
#endif

#include <llvm/Support/Host.h>
#include <llvm/IR/IRBuilder.h>
#include <platform.h>
#include "codegen.h"


char* LLVMGetHostCPUName()
{
  return strdup(llvm::sys::getHostCPUName().str().c_str());
}

void LLVMSetUnsafeAlgebra(LLVMValueRef inst)
{
  llvm::unwrap<llvm::Instruction>(inst)->setHasUnsafeAlgebra(true);
}<commit_msg>fixed windows build<commit_after>#ifdef _MSC_VER
#  pragma warning(disable:4267)
#endif

#include <llvm/Support/Host.h>
#pragma warning(push) 
//because LLVM IR Builder code is broken: e.g. Instructions.h:521-527
#pragma warning(disable:4244)
#pragma warning(disable:4800) 
#include <llvm/IR/IRBuilder.h>
#pragma warning(pop)
#include <platform.h>
#include "codegen.h"


char* LLVMGetHostCPUName()
{
  return strdup(llvm::sys::getHostCPUName().str().c_str());
}

void LLVMSetUnsafeAlgebra(LLVMValueRef inst)
{
  llvm::unwrap<llvm::Instruction>(inst)->setHasUnsafeAlgebra(true);
}
{'fraction_non_alphanumeric': 0.15762538382804503, 'fraction_numerical': 0.022517911975435005, 'mean_word_length': 7.288135593220339, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '789477', 'n_tokens_mistral': 376, 'n_tokens_neox': 364, 'n_words': 61}