Fixed some bugs.
[llvm/zpu.git] / lib / Target / Blackfin / BlackfinIntrinsicInfo.h
blob7c4b5a9967d2a88b060d143af78ec55b8215b93f
1 //===- BlackfinIntrinsicInfo.h - Blackfin Intrinsic Information -*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file contains the Blackfin implementation of TargetIntrinsicInfo.
12 //===----------------------------------------------------------------------===//
13 #ifndef BLACKFININTRINSICS_H
14 #define BLACKFININTRINSICS_H
16 #include "llvm/Target/TargetIntrinsicInfo.h"
18 namespace llvm {
20 class BlackfinIntrinsicInfo : public TargetIntrinsicInfo {
21 public:
22 std::string getName(unsigned IntrID, const Type **Tys = 0,
23 unsigned numTys = 0) const;
24 unsigned lookupName(const char *Name, unsigned Len) const;
25 bool isOverloaded(unsigned IID) const;
26 Function *getDeclaration(Module *M, unsigned ID, const Type **Tys = 0,
27 unsigned numTys = 0) const;
32 #endif