• Home
  • Raw
  • Download

Lines Matching refs:Module

30 Module *Module::mInstance = nullptr;
32 Module *Module::getCurrentModule() { in getCurrentModule()
34 return mInstance = new Module(); in getCurrentModule()
39 Module::Module() in Module() function in android::spirit::Module
49 Module::Module(Builder *b) in Module() function in android::spirit::Module
59 bool Module::resolveIds() { in resolveIds()
92 bool Module::DeserializeInternal(InputWordStream &IS) { in DeserializeInternal()
157 void Module::initialize() { in initialize()
166 void Module::SerializeHeader(OutputWordStream &OS) const { in SerializeHeader()
177 void Module::Serialize(OutputWordStream &OS) const { in Serialize()
182 Module *Module::addCapability(Capability cap) { in addCapability()
187 Module *Module::setMemoryModel(AddressingModel am, MemoryModel mm) { in setMemoryModel()
192 Module *Module::addExtInstImport(const char *extName) { in addExtInstImport()
201 Module *Module::addSource(SourceLanguage lang, int version) { in addSource()
209 Module *Module::addSourceExtension(const char *ext) { in addSourceExtension()
217 Module *Module::addString(const char *str) { in addString()
225 Module *Module::addEntryPoint(EntryPointDefinition *entry) { in addEntryPoint()
233 const std::string Module::findStringOfPrefix(const char *prefix) const { in findStringOfPrefix()
240 GlobalSection *Module::getGlobalSection() { in getGlobalSection()
247 ConstantInst *Module::getConstant(TypeIntInst *type, int32_t value) { in getConstant()
251 ConstantInst *Module::getConstant(TypeIntInst *type, uint32_t value) { in getConstant()
255 ConstantInst *Module::getConstant(TypeFloatInst *type, float value) { in getConstant()
259 ConstantCompositeInst *Module::getConstantComposite(TypeVectorInst *type, in getConstantComposite()
265 ConstantCompositeInst *Module::getConstantComposite(TypeVectorInst *type, in getConstantComposite()
275 ConstantCompositeInst *Module::getConstantComposite(TypeVectorInst *type, in getConstantComposite()
286 TypeVoidInst *Module::getVoidType() { in getVoidType()
290 TypeIntInst *Module::getIntType(int bits, bool isSigned) { in getIntType()
294 TypeIntInst *Module::getUnsignedIntType(int bits) { in getUnsignedIntType()
298 TypeFloatInst *Module::getFloatType(int bits) { in getFloatType()
302 TypeVectorInst *Module::getVectorType(Instruction *componentType, int width) { in getVectorType()
306 TypePointerInst *Module::getPointerType(StorageClass storage, in getPointerType()
311 TypeRuntimeArrayInst *Module::getRuntimeArrayType(Instruction *elementType) { in getRuntimeArrayType()
315 TypeStructInst *Module::getStructType(Instruction *fieldType[], int numField) { in getStructType()
319 TypeStructInst *Module::getStructType(Instruction *fieldType) { in getStructType()
323 TypeFunctionInst *Module::getFunctionType(Instruction *retType, in getFunctionType()
330 Module::getFunctionType(Instruction *retType, in getFunctionType()
336 size_t Module::getSize(TypeVoidInst *) { return 0; } in getSize()
338 size_t Module::getSize(TypeIntInst *intTy) { return intTy->mOperand1 / 8; } in getSize()
340 size_t Module::getSize(TypeFloatInst *fpTy) { return fpTy->mOperand1 / 8; } in getSize()
342 size_t Module::getSize(TypeVectorInst *vTy) { in getSize()
346 size_t Module::getSize(TypePointerInst *) { in getSize()
350 size_t Module::getSize(TypeStructInst *structTy) { in getSize()
358 size_t Module::getSize(TypeFunctionInst *) { in getSize()
362 size_t Module::getSize(Instruction *inst) { in getSize()
381 Module *Module::addFunctionDefinition(FunctionDefinition *func) { in addFunctionDefinition()
386 Instruction *Module::lookupByName(const char *name) const { in lookupByName()
391 Module::getFunctionDefinitionFromInstruction(FunctionInst *inst) const { in getFunctionDefinitionFromInstruction()
401 Module::lookupFunctionDefinitionByName(const char *name) const { in lookupFunctionDefinitionByName()
406 const char *Module::lookupNameByInstruction(const Instruction *inst) const { in lookupNameByInstruction()
410 VariableInst *Module::getInvocationId() { in getInvocationId()
414 VariableInst *Module::getNumWorkgroups() { in getNumWorkgroups()
418 Module *Module::addStructType(TypeStructInst *structType) { in addStructType()
423 Module *Module::addVariable(VariableInst *var) { in addVariable()
428 void Module::consolidateAnnotations() { in consolidateAnnotations()
648 Module::errs() << "warning: Variable (id = " << globalInst->mResult; in DeserializeInternal()
649 Module::errs() << ") has function scope in global section.\n"; in DeserializeInternal()
750 Module::errs() << "unexpected int type"; in getIntType()
759 Module::errs() << "unexpected int type"; in getIntType()
781 Module::errs() << "unexpeced floating point type"; in getFloatType()
936 Module::errs() << "unrecognized instruction"; in Deserialize()