Lines Matching refs:TheModule

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