Lines Matching defs:Records
89 BuiltinNameEmitter(const RecordKeeper &Records, raw_ostream &OS)
90 : Records(Records), OS(OS) {}
102 const RecordKeeper &Records;
122 // Parse the Records generated by TableGen to populate the SignaturesList,
238 OpenCLBuiltinFileEmitterBase(const RecordKeeper &Records, raw_ostream &OS)
239 : Records(Records), OS(OS) {}
267 // Expand the TableGen Records representing a builtin function signature into
272 // The Records may contain GenericTypes, which expand into multiple
306 const RecordKeeper &Records;
317 OpenCLBuiltinTestEmitter(const RecordKeeper &Records, raw_ostream &OS)
318 : OpenCLBuiltinFileEmitterBase(Records, OS) {}
330 OpenCLBuiltinHeaderEmitter(const RecordKeeper &Records, raw_ostream &OS)
331 : OpenCLBuiltinFileEmitterBase(Records, OS) {}
340 emitSourceFileHeader("OpenCL Builtin handling", OS, Records);
348 // Parse the Records to populate the internal lists.
393 Records.getAllDerivedDefinitions("GenericType");
396 ArrayRef<const Record *> Types = Records.getAllDerivedDefinitions("Type");
499 ArrayRef<const Record *> Types = Records.getAllDerivedDefinitions("Type");
508 Records.getAllDerivedDefinitions("Builtin");
537 Records.getAllDerivedDefinitions("FunctionExtension");
790 for (const auto *VectList : Records.getAllDerivedDefinitions("IntList")) {
805 Records.getAllDerivedDefinitions("ImageType");
846 for (const auto *GenType : Records.getAllDerivedDefinitions("GenericType")) {
890 ArrayRef<const Record *> Types = Records.getAllDerivedDefinitions("Type");
1038 const Record *PossibleGenType = Records.getDef(SubTypeName);
1201 emitSourceFileHeader("OpenCL Builtin exhaustive testing", OS, Records);
1210 Records.getAllDerivedDefinitions("Builtin");
1260 emitSourceFileHeader("OpenCL Builtin declarations", OS, Records);
1274 Records.getAllDerivedDefinitions("Builtin");
1319 void clang::EmitClangOpenCLBuiltins(const RecordKeeper &Records,
1321 BuiltinNameEmitter NameChecker(Records, OS);
1325 void clang::EmitClangOpenCLBuiltinHeader(const RecordKeeper &Records,
1327 OpenCLBuiltinHeaderEmitter HeaderFileGenerator(Records, OS);
1331 void clang::EmitClangOpenCLBuiltinTests(const RecordKeeper &Records,
1333 OpenCLBuiltinTestEmitter TestFileGenerator(Records, OS);