Lines Matching refs:TheModule
101 llvm::Module &TheModule; member in __anon13748a720111::CGObjCGNU
180 auto *ConstStr = TheModule.getGlobalVariable(name); in ExportUniqueString()
183 ConstStr = new llvm::GlobalVariable(TheModule, value->getType(), true, in ExportUniqueString()
199 auto GV = new llvm::GlobalVariable(TheModule, Ty, false, in MakeGlobal()
214 auto GV = new llvm::GlobalVariable(TheModule, Ty, false, in MakeGlobal()
843 llvm::GlobalVariable *ClassSymbol = TheModule.getGlobalVariable(SymbolName); in GetClassNamed()
846 ClassSymbol = new llvm::GlobalVariable(TheModule, LongTy, false, in GetClassNamed()
875 if (TheModule.getGlobalVariable(symbolRef)) in EmitClassRef()
878 llvm::GlobalVariable *ClassSymbol = TheModule.getGlobalVariable(symbolName); in EmitClassRef()
880 ClassSymbol = new llvm::GlobalVariable(TheModule, LongTy, false, in EmitClassRef()
884 new llvm::GlobalVariable(TheModule, ClassSymbol->getType(), true, in EmitClassRef()
900 : CGObjCRuntime(cgm), TheModule(CGM.getModule()), in CGObjCGNU()
1069 ".objc_selector_" + Sel.getAsString(), &TheModule); in GetSelector()
1150 llvm::Constant *typeinfo = TheModule.getGlobalVariable(typeinfoName); in GetEHType()
1160 auto *Vtable = TheModule.getGlobalVariable(vtableName); in GetEHType()
1162 Vtable = new llvm::GlobalVariable(TheModule, PtrToInt8Ty, true, in GetEHType()
1203 llvm::Constant *isa = TheModule.getNamedGlobal(Sym); in GenerateConstantString()
1206 isa = new llvm::GlobalVariable(TheModule, IdTy, /* isConstant */false, in GenerateConstantString()
1282 ".objc_metaclass_ref" + Class->getNameAsString(), &TheModule); in GenerateMessageSendSuper()
1289 ".objc_class_ref" + Class->getNameAsString(), &TheModule); in GenerateMessageSendSuper()
1504 TheModule.getFunction(SymbolNameForMethod(ClassName, CategoryName, in GenerateMethodList()
1638 llvm::DataLayout td(&TheModule); in GenerateClassStructure()
1663 llvm::GlobalVariable *ClassRef = TheModule.getNamedGlobal(ClassSym); in GenerateClassStructure()
1893 llvm::Constant *PropertyList = new llvm::GlobalVariable(TheModule, in GenerateProtocol()
1906 llvm::Constant *OptionalPropertyList = new llvm::GlobalVariable(TheModule, in GenerateProtocol()
2143 return new llvm::GlobalVariable(TheModule, PropertyListInit->getType(), false, in GeneratePropertyList()
2176 TheModule.getGlobalVariable(classSymbolName)) { in GenerateClass()
2179 new llvm::GlobalVariable(TheModule, LongTy, false, in GenerateClass()
2223 llvm::GlobalVariable *OffsetVar = TheModule.getGlobalVariable(OffsetName); in GenerateClass()
2231 OffsetVar = new llvm::GlobalVariable(TheModule, IntTy, in GenerateClass()
2330 llvm::GlobalVariable *offset = TheModule.getNamedGlobal(Name); in GenerateClass()
2339 offset = new llvm::GlobalVariable(TheModule, offsetValue->getType(), in GenerateClass()
2522 llvm::DataLayout td(&TheModule); in ModuleInitFunction()
2559 &TheModule); in ModuleInitFunction()
2579 &TheModule); in ModuleInitFunction()
2596 TheModule.getGlobalVariable(("_OBJC_CLASS_" + iter->first).c_str(), in ModuleInitFunction()
2634 &TheModule); in GenerateMethod()
2781 llvm::GlobalVariable *IvarOffsetPointer = TheModule.getNamedGlobal(Name); in ObjCIvarOffsetVariable()
2804 llvm::GlobalVariable *IvarOffsetGV = new llvm::GlobalVariable(TheModule, in ObjCIvarOffsetVariable()
2807 IvarOffsetPointer = new llvm::GlobalVariable(TheModule, in ObjCIvarOffsetVariable()
2811 IvarOffsetPointer = new llvm::GlobalVariable(TheModule, in ObjCIvarOffsetVariable()
2860 llvm::Value *Offset = TheModule.getGlobalVariable(name); in EmitIvarOffset()
2862 auto GV = new llvm::GlobalVariable(TheModule, IntTy, in EmitIvarOffset()