255 AD.addInclude(AD._HPP_file, "opto/subnode.hpp");
256 AD.addInclude(AD._HPP_file, "opto/vectornode.hpp");
257 AD.addInclude(AD._CPP_CLONE_file, "precompiled.hpp");
258 AD.addInclude(AD._CPP_CLONE_file, "adfiles", get_basename(AD._HPP_file._name));
259 AD.addInclude(AD._CPP_EXPAND_file, "precompiled.hpp");
260 AD.addInclude(AD._CPP_EXPAND_file, "adfiles", get_basename(AD._HPP_file._name));
261 AD.addInclude(AD._CPP_FORMAT_file, "precompiled.hpp");
262 AD.addInclude(AD._CPP_FORMAT_file, "adfiles", get_basename(AD._HPP_file._name));
263 AD.addInclude(AD._CPP_GEN_file, "precompiled.hpp");
264 AD.addInclude(AD._CPP_GEN_file, "adfiles", get_basename(AD._HPP_file._name));
265 AD.addInclude(AD._CPP_GEN_file, "opto/cfgnode.hpp");
266 AD.addInclude(AD._CPP_GEN_file, "opto/locknode.hpp");
267 AD.addInclude(AD._CPP_MISC_file, "precompiled.hpp");
268 AD.addInclude(AD._CPP_MISC_file, "adfiles", get_basename(AD._HPP_file._name));
269 AD.addInclude(AD._CPP_PEEPHOLE_file, "precompiled.hpp");
270 AD.addInclude(AD._CPP_PEEPHOLE_file, "adfiles", get_basename(AD._HPP_file._name));
271 AD.addInclude(AD._CPP_PIPELINE_file, "precompiled.hpp");
272 AD.addInclude(AD._CPP_PIPELINE_file, "adfiles", get_basename(AD._HPP_file._name));
273 AD.addInclude(AD._DFA_file, "precompiled.hpp");
274 AD.addInclude(AD._DFA_file, "adfiles", get_basename(AD._HPP_file._name));
275 AD.addInclude(AD._DFA_file, "opto/matcher.hpp");
276 AD.addInclude(AD._DFA_file, "opto/opcodes.hpp");
277 // Make sure each .cpp file starts with include lines:
278 // files declaring and defining generators for Mach* Objects (hpp,cpp)
279 // Generate the result files:
280 // enumerations, class definitions, object generators, and the DFA
281 // file containing enumeration of machine operands & instructions (hpp)
282 AD.addPreHeaderBlocks(AD._HPP_file._fp); // .hpp
283 AD.buildMachOperEnum(AD._HPP_file._fp); // .hpp
284 AD.buildMachOpcodesEnum(AD._HPP_file._fp); // .hpp
285 AD.buildMachRegisterNumbers(AD._VM_file._fp); // VM file
286 AD.buildMachRegisterEncodes(AD._HPP_file._fp); // .hpp file
287 AD.declareRegSizes(AD._HPP_file._fp); // .hpp
288 AD.build_pipeline_enums(AD._HPP_file._fp); // .hpp
289 // output definition of class "State"
290 AD.defineStateClass(AD._HPP_file._fp); // .hpp
291 // file declaring the Mach* classes derived from MachOper and MachNode
292 AD.declareClasses(AD._HPP_file._fp);
293 // declare and define maps: in the .hpp and .cpp files respectively
294 AD.addSourceBlocks(AD._CPP_file._fp); // .cpp
|
255 AD.addInclude(AD._HPP_file, "opto/subnode.hpp");
256 AD.addInclude(AD._HPP_file, "opto/vectornode.hpp");
257 AD.addInclude(AD._CPP_CLONE_file, "precompiled.hpp");
258 AD.addInclude(AD._CPP_CLONE_file, "adfiles", get_basename(AD._HPP_file._name));
259 AD.addInclude(AD._CPP_EXPAND_file, "precompiled.hpp");
260 AD.addInclude(AD._CPP_EXPAND_file, "adfiles", get_basename(AD._HPP_file._name));
261 AD.addInclude(AD._CPP_FORMAT_file, "precompiled.hpp");
262 AD.addInclude(AD._CPP_FORMAT_file, "adfiles", get_basename(AD._HPP_file._name));
263 AD.addInclude(AD._CPP_GEN_file, "precompiled.hpp");
264 AD.addInclude(AD._CPP_GEN_file, "adfiles", get_basename(AD._HPP_file._name));
265 AD.addInclude(AD._CPP_GEN_file, "opto/cfgnode.hpp");
266 AD.addInclude(AD._CPP_GEN_file, "opto/locknode.hpp");
267 AD.addInclude(AD._CPP_MISC_file, "precompiled.hpp");
268 AD.addInclude(AD._CPP_MISC_file, "adfiles", get_basename(AD._HPP_file._name));
269 AD.addInclude(AD._CPP_PEEPHOLE_file, "precompiled.hpp");
270 AD.addInclude(AD._CPP_PEEPHOLE_file, "adfiles", get_basename(AD._HPP_file._name));
271 AD.addInclude(AD._CPP_PIPELINE_file, "precompiled.hpp");
272 AD.addInclude(AD._CPP_PIPELINE_file, "adfiles", get_basename(AD._HPP_file._name));
273 AD.addInclude(AD._DFA_file, "precompiled.hpp");
274 AD.addInclude(AD._DFA_file, "adfiles", get_basename(AD._HPP_file._name));
275 AD.addInclude(AD._DFA_file, "opto/cfgnode.hpp"); // Use PROB_MAX in predicate.
276 AD.addInclude(AD._DFA_file, "opto/matcher.hpp");
277 AD.addInclude(AD._DFA_file, "opto/opcodes.hpp");
278 // Make sure each .cpp file starts with include lines:
279 // files declaring and defining generators for Mach* Objects (hpp,cpp)
280 // Generate the result files:
281 // enumerations, class definitions, object generators, and the DFA
282 // file containing enumeration of machine operands & instructions (hpp)
283 AD.addPreHeaderBlocks(AD._HPP_file._fp); // .hpp
284 AD.buildMachOperEnum(AD._HPP_file._fp); // .hpp
285 AD.buildMachOpcodesEnum(AD._HPP_file._fp); // .hpp
286 AD.buildMachRegisterNumbers(AD._VM_file._fp); // VM file
287 AD.buildMachRegisterEncodes(AD._HPP_file._fp); // .hpp file
288 AD.declareRegSizes(AD._HPP_file._fp); // .hpp
289 AD.build_pipeline_enums(AD._HPP_file._fp); // .hpp
290 // output definition of class "State"
291 AD.defineStateClass(AD._HPP_file._fp); // .hpp
292 // file declaring the Mach* classes derived from MachOper and MachNode
293 AD.declareClasses(AD._HPP_file._fp);
294 // declare and define maps: in the .hpp and .cpp files respectively
295 AD.addSourceBlocks(AD._CPP_file._fp); // .cpp
|