X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=utils%2FTableGen%2FIntrinsicEmitter.h;h=b1efecb92eea386614a26fe998ebf7d10a7f01e1;hb=9977e521a634b85764562efd910a221f15ea3109;hp=357369263b970b9bda7c4dc7f5c49dd4664f239c;hpb=4d452de1506344bf1d28bb4a8c4ddb78c51a28c8;p=oota-llvm.git diff --git a/utils/TableGen/IntrinsicEmitter.h b/utils/TableGen/IntrinsicEmitter.h index 357369263b9..b1efecb92ee 100644 --- a/utils/TableGen/IntrinsicEmitter.h +++ b/utils/TableGen/IntrinsicEmitter.h @@ -20,29 +20,39 @@ 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); + void run(raw_ostream &OS); + + void EmitPrefix(raw_ostream &OS); void EmitEnumInfo(const std::vector &Ints, - std::ostream &OS); + raw_ostream &OS); void EmitFnNameRecognizer(const std::vector &Ints, - std::ostream &OS); + raw_ostream &OS); void EmitIntrinsicToNameTable(const std::vector &Ints, - std::ostream &OS); + raw_ostream &OS); + void EmitIntrinsicToOverloadTable(const std::vector &Ints, + raw_ostream &OS); void EmitVerifier(const std::vector &Ints, - std::ostream &OS); + raw_ostream &OS); void EmitGenerator(const std::vector &Ints, - std::ostream &OS); + raw_ostream &OS); void EmitAttributes(const std::vector &Ints, - std::ostream &OS); + raw_ostream &OS); + void EmitModRefBehavior(const std::vector &Ints, + raw_ostream &OS); void EmitGCCBuiltinList(const std::vector &Ints, - std::ostream &OS); + raw_ostream &OS); void EmitIntrinsicToGCCBuiltinMap(const std::vector &Ints, - std::ostream &OS); + raw_ostream &OS); + void EmitSuffix(raw_ostream &OS); }; } // End llvm namespace