<commit_before>//===-- llvm/Target/TargetMachineImpls.h - Target Descriptions --*- C++ -*-===//
//
// This file defines the entry point to getting access to the various target
// machine implementations available to LLVM.
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_TARGET_TARGETMACHINEIMPLS_H
#define LLVM_TARGET_TARGETMACHINEIMPLS_H

namespace TM {
  enum {
    PtrSizeMask  = 1,
    PtrSize32    = 0,
    PtrSize64    = 1,

    EndianMask   = 2,
    LittleEndian = 0,
    BigEndian    = 2,
  };
}

class TargetMachine;

// allocateSparcTargetMachine - Allocate and return a subclass of TargetMachine
// that implements the Sparc backend.
//
TargetMachine *allocateSparcTargetMachine(unsigned Configuration =
                                          TM::PtrSize64|TM::BigEndian);

// allocateX86TargetMachine - Allocate and return a subclass of TargetMachine
// that implements the X86 backend.  The X86 target machine can run in
// "emulation" mode, where it is capable of emulating machines of larger pointer
// size and different endianness if desired.
//
TargetMachine *allocateX86TargetMachine(unsigned Configuration =
                                        TM::PtrSize32|TM::LittleEndian);

#endif<commit_msg>Targets should configure themselves based on the module, not some wierd flags<commit_after>//===-- llvm/Target/TargetMachineImpls.h - Target Descriptions --*- C++ -*-===//
//
// This file defines the entry point to getting access to the various target
// machine implementations available to LLVM.
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_TARGET_TARGETMACHINEIMPLS_H
#define LLVM_TARGET_TARGETMACHINEIMPLS_H

class TargetMachine;
class Module;

// allocateSparcTargetMachine - Allocate and return a subclass of TargetMachine
// that implements the Sparc backend.
//
TargetMachine *allocateSparcTargetMachine(const Module &M);

// allocateX86TargetMachine - Allocate and return a subclass of TargetMachine
// that implements the X86 backend.  The X86 target machine can run in
// "emulation" mode, where it is capable of emulating machines of larger pointer
// size and different endianness if desired.
//
TargetMachine *allocateX86TargetMachine(const Module &M);

#endif
{'fraction_non_alphanumeric': 0.14739130434782607, 'fraction_numerical': 0.013043478260869565, 'mean_word_length': 2.6698564593301435, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4925865', 'n_tokens_mistral': 623, 'n_tokens_neox': 590, 'n_words': 205}