llvm-6502/lib/Target/Blackfin/BlackfinIntrinsicInfo.h
2009-11-05 03:19:08 +00:00

33 lines
1.0 KiB
C++

//===- BlackfinIntrinsicInfo.h - Blackfin Intrinsic Information -*- 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 Blackfin implementation of TargetIntrinsicInfo.
//
//===----------------------------------------------------------------------===//
#ifndef BLACKFININTRINSICS_H
#define BLACKFININTRINSICS_H
#include "llvm/Target/TargetIntrinsicInfo.h"
namespace llvm {
class BlackfinIntrinsicInfo : public TargetIntrinsicInfo {
public:
std::string getName(unsigned IntrID, const Type **Tys = 0,
unsigned numTys = 0) const;
unsigned lookupName(const char *Name, unsigned Len) const;
bool isOverloaded(unsigned IID) const;
Function *getDeclaration(Module *M, unsigned ID, const Type **Tys = 0,
unsigned numTys = 0) const;
};
}
#endif