2009-10-15 18:50:52 +00:00
|
|
|
//===- 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:
|
2011-07-18 04:54:35 +00:00
|
|
|
std::string getName(unsigned IntrID, Type **Tys = 0,
|
2009-11-05 03:19:08 +00:00
|
|
|
unsigned numTys = 0) const;
|
2009-10-15 18:50:52 +00:00
|
|
|
unsigned lookupName(const char *Name, unsigned Len) const;
|
2009-11-05 03:19:08 +00:00
|
|
|
bool isOverloaded(unsigned IID) const;
|
2011-07-18 04:54:35 +00:00
|
|
|
Function *getDeclaration(Module *M, unsigned ID, Type **Tys = 0,
|
2009-11-05 03:19:08 +00:00
|
|
|
unsigned numTys = 0) const;
|
2009-10-15 18:50:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|