X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=utils%2FTableGen%2FIntrinsicEmitter.h;h=1619d02242929635a92b9101fa92b60b84ea996c;hb=f45a82890e34984ad1e1e259f8fb902caddfb0b1;hp=ce1b3b63a854e4941022567bd72e68251c3d6ee7;hpb=6448ee44c6f232f215d5d9f145a0d71a983c4a3f;p=oota-llvm.git diff --git a/utils/TableGen/IntrinsicEmitter.h b/utils/TableGen/IntrinsicEmitter.h index ce1b3b63a85..1619d022429 100644 --- a/utils/TableGen/IntrinsicEmitter.h +++ b/utils/TableGen/IntrinsicEmitter.h @@ -2,8 +2,8 @@ // // 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; + bool TargetOnly; + std::string TargetPrefix; public: - IntrinsicEmitter(RecordKeeper &R) : Records(R) {} + IntrinsicEmitter(RecordKeeper &R, bool T = false) + : Records(R), TargetOnly(T) {} void run(std::ostream &OS); @@ -31,10 +34,22 @@ namespace llvm { void EmitFnNameRecognizer(const std::vector &Ints, std::ostream &OS); + void EmitIntrinsicToNameTable(const std::vector &Ints, + std::ostream &OS); + void EmitIntrinsicToOverloadTable(const std::vector &Ints, + std::ostream &OS); void EmitVerifier(const std::vector &Ints, std::ostream &OS); - void EmitModRefInfo(const std::vector &Ints, + void EmitGenerator(const std::vector &Ints, + std::ostream &OS); + void EmitAttributes(const std::vector &Ints, std::ostream &OS); + void EmitModRefBehavior(const std::vector &Ints, + std::ostream &OS); + void EmitGCCBuiltinList(const std::vector &Ints, + std::ostream &OS); + void EmitIntrinsicToGCCBuiltinMap(const std::vector &Ints, + std::ostream &OS); }; } // End llvm namespace