projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Close list item tag, to conform with the style in this file. It's optional
[oota-llvm.git]
/
utils
/
TableGen
/
IntrinsicEmitter.h
diff --git
a/utils/TableGen/IntrinsicEmitter.h
b/utils/TableGen/IntrinsicEmitter.h
index a8e1ffa54a0d45a589abcd50ac50d3f1797ff4b0..1619d02242929635a92b9101fa92b60b84ea996c 100644
(file)
--- a/
utils/TableGen/IntrinsicEmitter.h
+++ b/
utils/TableGen/IntrinsicEmitter.h
@@
-2,8
+2,8
@@
//
// The LLVM Compiler Infrastructure
//
//
// The LLVM Compiler Infrastructure
//
-// This file
was developed by Chris Lattner and is distributed under
-//
the University of Illinois Open Source
License. See LICENSE.TXT for details.
+// This file
is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
//
//===----------------------------------------------------------------------===//
//
@@
-20,9
+20,12
@@
namespace llvm {
class IntrinsicEmitter : public TableGenBackend {
RecordKeeper &Records;
namespace llvm {
class IntrinsicEmitter : public TableGenBackend {
RecordKeeper &Records;
+ bool TargetOnly;
+ std::string TargetPrefix;
public:
public:
- IntrinsicEmitter(RecordKeeper &R) : Records(R) {}
+ IntrinsicEmitter(RecordKeeper &R, bool T = false)
+ : Records(R), TargetOnly(T) {}
void run(std::ostream &OS);
void run(std::ostream &OS);
@@
-31,12
+34,22
@@
namespace llvm {
void EmitFnNameRecognizer(const std::vector<CodeGenIntrinsic> &Ints,
std::ostream &OS);
void EmitFnNameRecognizer(const std::vector<CodeGenIntrinsic> &Ints,
std::ostream &OS);
+ void EmitIntrinsicToNameTable(const std::vector<CodeGenIntrinsic> &Ints,
+ std::ostream &OS);
+ void EmitIntrinsicToOverloadTable(const std::vector<CodeGenIntrinsic> &Ints,
+ std::ostream &OS);
void EmitVerifier(const std::vector<CodeGenIntrinsic> &Ints,
std::ostream &OS);
void EmitVerifier(const std::vector<CodeGenIntrinsic> &Ints,
std::ostream &OS);
- void EmitModRefInfo(const std::vector<CodeGenIntrinsic> &Ints,
+ void EmitGenerator(const std::vector<CodeGenIntrinsic> &Ints,
+ std::ostream &OS);
+ void EmitAttributes(const std::vector<CodeGenIntrinsic> &Ints,
std::ostream &OS);
std::ostream &OS);
- void Emit
SideEffectInfo(const std::vector<CodeGenIntrinsic> &Ints,
+ void Emit
ModRefBehavior(const std::vector<CodeGenIntrinsic> &Ints,
std::ostream &OS);
std::ostream &OS);
+ void EmitGCCBuiltinList(const std::vector<CodeGenIntrinsic> &Ints,
+ std::ostream &OS);
+ void EmitIntrinsicToGCCBuiltinMap(const std::vector<CodeGenIntrinsic> &Ints,
+ std::ostream &OS);
};
} // End llvm namespace
};
} // End llvm namespace