<commit_before>//===-- llvm/CodeGen/InstrSelection.h --------------------------*- C++ -*--===//
//
// External interface to instruction selection.
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_CODEGEN_INSTR_SELECTION_H
#define LLVM_CODEGEN_INSTR_SELECTION_H

#include "llvm/Instruction.h"

class Function;
class InstrForest;
class MachineInstr;
class InstructionNode;
class TargetMachine;
class MachineCodeForInstruction;
class FunctionPass;

//===--------------------- Required Functions ---------------------------------
// Target-dependent functions that MUST be implemented for each target.
//

const unsigned MAX_INSTR_PER_VMINSTR = 8;

extern void	GetInstructionsByRule	(InstructionNode* subtreeRoot,
					 int ruleForNode,
					 short* nts,
					 TargetMachine &Target,
                                         std::vector<MachineInstr*>& mvec);

extern bool	ThisIsAChainRule	(int eruleno);


//************************ Exported Functions ******************************/


//---------------------------------------------------------------------------
// Function: createInstructionSelectionPass<commit_msg>Fix header, remove dead decl<commit_after>//===-- llvm/CodeGen/InstrSelection.h ---------------------------*- C++ -*-===//
//
// External interface to instruction selection.
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_CODEGEN_INSTR_SELECTION_H
#define LLVM_CODEGEN_INSTR_SELECTION_H

#include "llvm/Instruction.h"

class Function;
class InstrForest;
class MachineInstr;
class InstructionNode;
class TargetMachine;
class MachineCodeForInstruction;
class FunctionPass;

//===--------------------- Required Functions ---------------------------------
// Target-dependent functions that MUST be implemented for each target.
//

extern void	GetInstructionsByRule	(InstructionNode* subtreeRoot,
					 int ruleForNode,
					 short* nts,
					 TargetMachine &Target,
                                         std::vector<MachineInstr*>& mvec);

extern bool	ThisIsAChainRule	(int eruleno);


//************************ Exported Functions ******************************/


//---------------------------------------------------------------------------
// Function: createInstructionSelectionPass
{'fraction_non_alphanumeric': 0.3262380538662033, 'fraction_numerical': 0.0004344048653344917, 'mean_word_length': 1.7780458383594693, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '805915', 'n_tokens_mistral': 568, 'n_tokens_neox': 516, 'n_words': 129}