LLVM API Documentation

MBlazeIntrinsicInfo.h
Go to the documentation of this file.
00001 //===-- MBlazeIntrinsicInfo.h - MBlaze Intrinsic Information ----*- C++ -*-===//
00002 //
00003 //                     The LLVM Compiler Infrastructure
00004 //
00005 // This file is distributed under the University of Illinois Open Source
00006 // License. See LICENSE.TXT for details.
00007 //
00008 //===----------------------------------------------------------------------===//
00009 //
00010 // This file contains the MBlaze implementation of TargetIntrinsicInfo.
00011 //
00012 //===----------------------------------------------------------------------===//
00013 #ifndef MBLAZEINTRINSICS_H
00014 #define MBLAZEINTRINSICS_H
00015 
00016 #include "llvm/Target/TargetIntrinsicInfo.h"
00017 
00018 namespace llvm {
00019 
00020   class MBlazeIntrinsicInfo : public TargetIntrinsicInfo {
00021   public:
00022     std::string getName(unsigned IntrID, Type **Tys = 0,
00023                         unsigned numTys = 0) const;
00024     unsigned lookupName(const char *Name, unsigned Len) const;
00025     unsigned lookupGCCName(const char *Name) const;
00026     bool isOverloaded(unsigned IID) const;
00027     Function *getDeclaration(Module *M, unsigned ID, Type **Tys = 0,
00028                              unsigned numTys = 0) const;
00029   };
00030 
00031 }
00032 
00033 #endif