mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 21:32:10 +00:00
173c5c40f6
Adding the function "lookupGCCName" to the MBlazeIntrinsicInfo class to support the Clang MicroBlaze target. Additionally, minor fixes which remove some unused PIC code (PIC is not supported yet in the MicroBlaze backend) and removed some unused variables. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97054 91177308-0d34-0410-b5e6-96231b3b80d8
34 lines
1.1 KiB
C++
34 lines
1.1 KiB
C++
//===- MBlazeIntrinsicInfo.h - MBlaze 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 MBlaze implementation of TargetIntrinsicInfo.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
#ifndef MBLAZEINTRINSICS_H
|
|
#define MBLAZEINTRINSICS_H
|
|
|
|
#include "llvm/Target/TargetIntrinsicInfo.h"
|
|
|
|
namespace llvm {
|
|
|
|
class MBlazeIntrinsicInfo : public TargetIntrinsicInfo {
|
|
public:
|
|
std::string getName(unsigned IntrID, const Type **Tys = 0,
|
|
unsigned numTys = 0) const;
|
|
unsigned lookupName(const char *Name, unsigned Len) const;
|
|
unsigned lookupGCCName(const char *Name) const;
|
|
bool isOverloaded(unsigned IID) const;
|
|
Function *getDeclaration(Module *M, unsigned ID, const Type **Tys = 0,
|
|
unsigned numTys = 0) const;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|