• Home
  • Raw
  • Download

Lines Matching refs:Ints

41   void EmitEnumInfo(const std::vector<CodeGenIntrinsic> &Ints,
44 void EmitIntrinsicToNameTable(const std::vector<CodeGenIntrinsic> &Ints,
46 void EmitIntrinsicToOverloadTable(const std::vector<CodeGenIntrinsic> &Ints,
48 void EmitGenerator(const std::vector<CodeGenIntrinsic> &Ints,
50 void EmitAttributes(const std::vector<CodeGenIntrinsic> &Ints,
52 void EmitIntrinsicToBuiltinMap(const std::vector<CodeGenIntrinsic> &Ints,
65 std::vector<CodeGenIntrinsic> Ints = LoadIntrinsics(Records, TargetOnly); in run() local
67 if (TargetOnly && !Ints.empty()) in run()
68 TargetPrefix = Ints[0].TargetPrefix; in run()
73 EmitEnumInfo(Ints, OS); in run()
76 EmitIntrinsicToNameTable(Ints, OS); in run()
79 EmitIntrinsicToOverloadTable(Ints, OS); in run()
82 EmitGenerator(Ints, OS); in run()
85 EmitAttributes(Ints, OS); in run()
90 EmitIntrinsicToBuiltinMap(Ints, true, OS); in run()
93 EmitIntrinsicToBuiltinMap(Ints, false, OS); in run()
117 void IntrinsicEmitter::EmitEnumInfo(const std::vector<CodeGenIntrinsic> &Ints, in EmitEnumInfo() argument
121 for (unsigned i = 0, e = Ints.size(); i != e; ++i) { in EmitEnumInfo()
122 OS << " " << Ints[i].EnumName; in EmitEnumInfo()
124 if (Ints[i].EnumName.size() < 40) in EmitEnumInfo()
125 OS << std::string(40-Ints[i].EnumName.size(), ' '); in EmitEnumInfo()
126 OS << " // " << Ints[i].Name << "\n"; in EmitEnumInfo()
132 EmitIntrinsicToNameTable(const std::vector<CodeGenIntrinsic> &Ints, in EmitIntrinsicToNameTable() argument
137 for (unsigned i = 0, e = Ints.size(); i != e; ++i) in EmitIntrinsicToNameTable()
138 OS << " \"" << Ints[i].Name << "\",\n"; in EmitIntrinsicToNameTable()
143 EmitIntrinsicToOverloadTable(const std::vector<CodeGenIntrinsic> &Ints, in EmitIntrinsicToOverloadTable() argument
149 for (unsigned i = 0, e = Ints.size(); i != e; ++i) { in EmitIntrinsicToOverloadTable()
153 if (Ints[i].isOverloaded) in EmitIntrinsicToOverloadTable()
366 void IntrinsicEmitter::EmitGenerator(const std::vector<CodeGenIntrinsic> &Ints, in EmitGenerator() argument
377 for (unsigned i = 0, e = Ints.size(); i != e; ++i) { in EmitGenerator()
380 ComputeFixedEncoding(Ints[i], TypeSig); in EmitGenerator()
429 ComputeFixedEncoding(Ints[i], TypeSig); in EmitGenerator()
478 EmitAttributes(const std::vector<CodeGenIntrinsic> &Ints, raw_ostream &OS) { in EmitAttributes() argument
493 for (unsigned i = 0, e = Ints.size(); i != e; ++i) { in EmitAttributes()
494 const CodeGenIntrinsic &intrinsic = Ints[i]; in EmitAttributes()
507 for (unsigned i = 0, e = Ints.size(); i != e; ++i) { in EmitAttributes()
508 const CodeGenIntrinsic &intrinsic = Ints[i]; in EmitAttributes()
673 const std::vector<CodeGenIntrinsic> &Ints, bool IsGCC, raw_ostream &OS) { in EmitIntrinsicToBuiltinMap() argument
678 for (unsigned i = 0, e = Ints.size(); i != e; ++i) { in EmitIntrinsicToBuiltinMap()
680 IsGCC ? Ints[i].GCCBuiltinName : Ints[i].MSBuiltinName; in EmitIntrinsicToBuiltinMap()
684 BuiltinMap[Ints[i].TargetPrefix]; in EmitIntrinsicToBuiltinMap()
686 if (!BIM.insert(std::make_pair(BuiltinName, Ints[i].EnumName)).second) in EmitIntrinsicToBuiltinMap()
687 PrintFatalError("Intrinsic '" + Ints[i].TheDef->getName() + in EmitIntrinsicToBuiltinMap()