Lines Matching defs:Module
61 class Module : public Entity {
63 static Module *getCurrentModule();
66 Module();
68 Module(Builder *b);
70 virtual ~Module() {}
122 Module *addCapability(Capability cap);
123 Module *setMemoryModel(AddressingModel am, MemoryModel mm);
124 Module *addExtInstImport(const char *extName);
125 Module *addSource(SourceLanguage lang, int version);
126 Module *addSourceExtension(const char *ext);
127 Module *addString(const char *ext);
128 Module *addEntryPoint(EntryPointDefinition *entry);
149 Module *addStructType(TypeStructInst *structType);
150 Module *addVariable(VariableInst *var);
212 Module *addFunctionDefinition(FunctionDefinition *func);
217 static Module *mInstance;
264 // Nothing to do here since ~Module() will delete entities referenced here