Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:TheModule

99   llvm::Module &TheModule;
180 auto *ConstStr = TheModule.getGlobalVariable(name);
183 ConstStr = new llvm::GlobalVariable(TheModule, value->getType(), true,
200 auto GV = new llvm::GlobalVariable(TheModule, Ty, false,
216 auto GV = new llvm::GlobalVariable(TheModule, Ty, false,
877 llvm::GlobalVariable *ClassSymbol = TheModule.getGlobalVariable(SymbolName);
880 ClassSymbol = new llvm::GlobalVariable(TheModule, LongTy, false,
908 if (TheModule.getGlobalVariable(symbolRef))
911 llvm::GlobalVariable *ClassSymbol = TheModule.getGlobalVariable(symbolName);
913 ClassSymbol = new llvm::GlobalVariable(TheModule, LongTy, false,
917 new llvm::GlobalVariable(TheModule, ClassSymbol->getType(), true,
933 : CGObjCRuntime(cgm), TheModule(CGM.getModule()),
1102 ".objc_selector_" + Sel.getAsString(), &TheModule);
1183 llvm::Constant *typeinfo = TheModule.getGlobalVariable(typeinfoName);
1193 auto *Vtable = TheModule.getGlobalVariable(vtableName);
1195 Vtable = new llvm::GlobalVariable(TheModule, PtrToInt8Ty, true,
1236 llvm::Constant *isa = TheModule.getNamedGlobal(Sym);
1239 isa = new llvm::GlobalVariable(TheModule, IdTy, /* isConstant */false,
1313 ".objc_metaclass_ref" + Class->getNameAsString(), &TheModule);
1320 ".objc_class_ref" + Class->getNameAsString(), &TheModule);
1533 TheModule.getFunction(SymbolNameForMethod(ClassName, CategoryName,
1660 llvm::DataLayout td(&TheModule);
1685 llvm::GlobalVariable *ClassRef = TheModule.getNamedGlobal(ClassSym);
1908 llvm::Constant *PropertyList = new llvm::GlobalVariable(TheModule,
1921 llvm::Constant *OptionalPropertyList = new llvm::GlobalVariable(TheModule,
2153 return new llvm::GlobalVariable(TheModule, PropertyListInit->getType(), false,
2186 TheModule.getGlobalVariable(classSymbolName)) {
2189 new llvm::GlobalVariable(TheModule, LongTy, false,
2233 llvm::GlobalVariable *OffsetVar = TheModule.getGlobalVariable(OffsetName);
2241 OffsetVar = new llvm::GlobalVariable(TheModule, IntTy,
2338 llvm::GlobalVariable *offset = TheModule.getNamedGlobal(Name);
2347 offset = new llvm::GlobalVariable(TheModule, offsetValue->getType(),
2529 llvm::DataLayout td(&TheModule);
2566 &TheModule);
2586 &TheModule);
2603 TheModule.getGlobalVariable(("_OBJC_CLASS_" + iter->first).c_str(),
2641 &TheModule);
2790 llvm::GlobalVariable *IvarOffsetPointer = TheModule.getNamedGlobal(Name);
2813 llvm::GlobalVariable *IvarOffsetGV = new llvm::GlobalVariable(TheModule,
2816 IvarOffsetPointer = new llvm::GlobalVariable(TheModule,
2820 IvarOffsetPointer = new llvm::GlobalVariable(TheModule,
2869 llvm::Value *Offset = TheModule.getGlobalVariable(name);
2871 auto GV = new llvm::GlobalVariable(TheModule, IntTy,