mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-22 07:32:48 +00:00
45137f954f
The pass emits a call to sqrt that has attribute "read-none". This call will be converted to an ISD::FSQRT node during DAG construction, which will turn into a mips native sqrt instruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183802 91177308-0d34-0410-b5e6-96231b3b80d8
35 lines
1.2 KiB
C++
35 lines
1.2 KiB
C++
//===-- Mips.h - Top-level interface for Mips representation ----*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file contains the entry points for global functions defined in
|
|
// the LLVM Mips back-end.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef TARGET_MIPS_H
|
|
#define TARGET_MIPS_H
|
|
|
|
#include "MCTargetDesc/MipsMCTargetDesc.h"
|
|
#include "llvm/Target/TargetMachine.h"
|
|
|
|
namespace llvm {
|
|
class MipsTargetMachine;
|
|
class FunctionPass;
|
|
|
|
FunctionPass *createMipsISelDag(MipsTargetMachine &TM);
|
|
FunctionPass *createMipsDelaySlotFillerPass(MipsTargetMachine &TM);
|
|
FunctionPass *createMipsLongBranchPass(MipsTargetMachine &TM);
|
|
FunctionPass *createMipsJITCodeEmitterPass(MipsTargetMachine &TM,
|
|
JITCodeEmitter &JCE);
|
|
FunctionPass *createMipsConstantIslandPass(MipsTargetMachine &tm);
|
|
FunctionPass *createMipsOptimizeMathLibCalls(MipsTargetMachine &TM);
|
|
} // end namespace llvm;
|
|
|
|
#endif
|