• Home
  • Raw
  • Download

Lines Matching refs:Ints

42   void EmitEnumInfo(const CodeGenIntrinsicTable &Ints, raw_ostream &OS);
43 void EmitTargetInfo(const CodeGenIntrinsicTable &Ints, raw_ostream &OS);
44 void EmitIntrinsicToNameTable(const CodeGenIntrinsicTable &Ints,
46 void EmitIntrinsicToOverloadTable(const CodeGenIntrinsicTable &Ints,
48 void EmitGenerator(const CodeGenIntrinsicTable &Ints, raw_ostream &OS);
49 void EmitAttributes(const CodeGenIntrinsicTable &Ints, raw_ostream &OS);
50 void EmitIntrinsicToBuiltinMap(const CodeGenIntrinsicTable &Ints, bool IsGCC,
62 CodeGenIntrinsicTable Ints(Records); in run() local
66 EmitEnumInfo(Ints, OS); in run()
69 EmitTargetInfo(Ints, OS); in run()
72 EmitIntrinsicToNameTable(Ints, OS); in run()
75 EmitIntrinsicToOverloadTable(Ints, OS); in run()
78 EmitGenerator(Ints, OS); in run()
81 EmitAttributes(Ints, OS); in run()
84 EmitIntrinsicToBuiltinMap(Ints, true, OS); in run()
87 EmitIntrinsicToBuiltinMap(Ints, false, OS); in run()
91 void IntrinsicEmitter::EmitEnumInfo(const CodeGenIntrinsicTable &Ints, in EmitEnumInfo() argument
97 for (const auto &Target : Ints.Targets) { in EmitEnumInfo()
105 for (const auto &Target : Ints.Targets) in EmitEnumInfo()
125 OS << " " << Ints[i].EnumName; in EmitEnumInfo()
133 if (Ints[i].EnumName.size() < 40) in EmitEnumInfo()
134 OS.indent(40 - Ints[i].EnumName.size()); in EmitEnumInfo()
135 OS << " // " << Ints[i].Name << "\n"; in EmitEnumInfo()
140 OS << " num_intrinsics = " << (Ints.size() + 1) << "\n"; in EmitEnumInfo()
149 void IntrinsicEmitter::EmitTargetInfo(const CodeGenIntrinsicTable &Ints, in EmitTargetInfo() argument
159 for (auto Target : Ints.Targets) in EmitTargetInfo()
167 const CodeGenIntrinsicTable &Ints, raw_ostream &OS) { in EmitIntrinsicToNameTable() argument
171 for (unsigned i = 0, e = Ints.size(); i != e; ++i) in EmitIntrinsicToNameTable()
172 OS << " \"" << Ints[i].Name << "\",\n"; in EmitIntrinsicToNameTable()
177 const CodeGenIntrinsicTable &Ints, raw_ostream &OS) { in EmitIntrinsicToOverloadTable() argument
182 for (unsigned i = 0, e = Ints.size(); i != e; ++i) { in EmitIntrinsicToOverloadTable()
186 if (Ints[i].isOverloaded) in EmitIntrinsicToOverloadTable()
493 void IntrinsicEmitter::EmitGenerator(const CodeGenIntrinsicTable &Ints, in EmitGenerator() argument
504 for (unsigned i = 0, e = Ints.size(); i != e; ++i) { in EmitGenerator()
507 ComputeFixedEncoding(Ints[i], TypeSig); in EmitGenerator()
556 ComputeFixedEncoding(Ints[i], TypeSig); in EmitGenerator()
621 void IntrinsicEmitter::EmitAttributes(const CodeGenIntrinsicTable &Ints, in EmitAttributes() argument
633 for (unsigned i = 0, e = Ints.size(); i != e; ++i) { in EmitAttributes()
634 const CodeGenIntrinsic &intrinsic = Ints[i]; in EmitAttributes()
647 for (unsigned i = 0, e = Ints.size(); i != e; ++i) { in EmitAttributes()
648 const CodeGenIntrinsic &intrinsic = Ints[i]; in EmitAttributes()
922 const CodeGenIntrinsicTable &Ints, bool IsGCC, raw_ostream &OS) { in EmitIntrinsicToBuiltinMap() argument
927 for (unsigned i = 0, e = Ints.size(); i != e; ++i) { in EmitIntrinsicToBuiltinMap()
929 IsGCC ? Ints[i].GCCBuiltinName : Ints[i].MSBuiltinName; in EmitIntrinsicToBuiltinMap()
933 BuiltinMap[Ints[i].TargetPrefix]; in EmitIntrinsicToBuiltinMap()
935 if (!BIM.insert(std::make_pair(BuiltinName, Ints[i].EnumName)).second) in EmitIntrinsicToBuiltinMap()
936 PrintFatalError(Ints[i].TheDef->getLoc(), in EmitIntrinsicToBuiltinMap()
937 "Intrinsic '" + Ints[i].TheDef->getName() + in EmitIntrinsicToBuiltinMap()