reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
218 auto *ConstStr = TheModule.getGlobalVariable(name); 221 auto *GV = new llvm::GlobalVariable(TheModule, value->getType(), true, 223 GV->setComdat(TheModule.getOrInsertComdat(name)); 287 llvm::DataLayout td(&TheModule); 1006 llvm::Constant *isa = TheModule.getNamedGlobal(Sym); 1009 isa = new llvm::GlobalVariable(TheModule, IdTy, /* isConstant */false, 1062 auto *Buffer = new llvm::GlobalVariable(TheModule, C->getType(), 1101 ObjCStrGV->setComdat(TheModule.getOrInsertComdat(StringName)); 1171 llvm::DataLayout td(&TheModule); 1207 auto *ClassSymbol = TheModule.getNamedGlobal(SymbolName); 1210 ClassSymbol = new llvm::GlobalVariable(TheModule, 1218 ClassSymbol->setInitializer(new llvm::GlobalVariable(TheModule, 1292 auto *GV = TheModule.getGlobalVariable(Name); 1295 GV = new llvm::GlobalVariable(TheModule, ProtocolTy, false, 1314 assert(!TheModule.getGlobalVariable(RefName)); 1316 auto GV = new llvm::GlobalVariable(TheModule, ProtocolPtrTy, 1319 GV->setComdat(TheModule.getOrInsertComdat(RefName)); 1354 auto *OldGV = TheModule.getGlobalVariable(SymName); 1364 Protocol = new llvm::GlobalVariable(TheModule, ProtocolTy, 1409 GV->setComdat(TheModule.getOrInsertComdat(SymName)); 1435 auto *TypesGlobal = TheModule.getGlobalVariable(TypesVarName); 1439 auto *GV = new llvm::GlobalVariable(TheModule, Init->getType(), 1441 GV->setComdat(TheModule.getOrInsertComdat(TypesVarName)); 1459 if (auto *GV = TheModule.getNamedGlobal(SelVarName)) 1468 GV->setComdat(TheModule.getOrInsertComdat(SelVarName)); 1492 auto *Sym = new llvm::GlobalVariable(TheModule, emptyStruct, 1498 Sym->setComdat(TheModule.getOrInsertComdat((Prefix + 1505 auto *Start = new llvm::GlobalVariable(TheModule, PtrTy, 1510 auto *Stop = new llvm::GlobalVariable(TheModule, PtrTy, 1524 &TheModule); 1526 LoadFunction->setComdat(TheModule.getOrInsertComdat(".objcv2_load_function")); 1544 InitStruct->setComdat(TheModule.getOrInsertComdat(".objc_init")); 1553 auto *InitVar = new llvm::GlobalVariable(TheModule, LoadFunction->getType(), 1574 InitVar->setComdat(TheModule.getOrInsertComdat(".objc_ctor")); 1589 GV->setComdat(TheModule.getOrInsertComdat(Name)); 1643 auto *global = TheModule.getGlobalVariable(lateInit.first); 1677 llvm::GlobalVariable *IvarOffsetPointer = TheModule.getNamedGlobal(Name); 1679 IvarOffsetPointer = new llvm::GlobalVariable(TheModule, IntTy, false, 1762 SuperClass = TheModule.getNamedGlobal(SuperClassName); 1765 SuperClass = new llvm::GlobalVariable(TheModule, PtrTy, false, 1805 llvm::DataLayout td(&TheModule); 1838 llvm::GlobalVariable *OffsetVar = TheModule.getGlobalVariable(OffsetName); 1842 OffsetVar = new llvm::GlobalVariable(TheModule, IntTy, 1957 TheModule.getNamedGlobal(SymbolForClass(className))) 1972 auto classInitRef = new llvm::GlobalVariable(TheModule, 2075 llvm::GlobalVariable *ClassSymbol = TheModule.getGlobalVariable(SymbolName); 2077 ClassSymbol = new llvm::GlobalVariable(TheModule, LongTy, false, 2104 if (TheModule.getGlobalVariable(symbolRef)) 2107 llvm::GlobalVariable *ClassSymbol = TheModule.getGlobalVariable(symbolName); 2109 ClassSymbol = new llvm::GlobalVariable(TheModule, LongTy, false, 2113 new llvm::GlobalVariable(TheModule, ClassSymbol->getType(), true, 2331 ".objc_selector_" + Sel.getAsString(), &TheModule); 2414 llvm::Constant *typeinfo = TheModule.getGlobalVariable(typeinfoName); 2424 auto *Vtable = TheModule.getGlobalVariable(vtableName); 2426 Vtable = new llvm::GlobalVariable(TheModule, PtrToInt8Ty, true, 2468 llvm::Constant *isa = TheModule.getNamedGlobal(Sym); 2471 isa = new llvm::GlobalVariable(TheModule, IdTy, /* isConstant */false, 2558 ".objc_metaclass_ref" + Class->getNameAsString(), &TheModule); 2565 ".objc_class_ref" + Class->getNameAsString(), &TheModule); 2789 llvm::DataLayout td(&TheModule); 2810 TheModule.getFunction(SymbolNameForMethod(ClassName, CategoryName, 2933 llvm::DataLayout td(&TheModule); 2970 llvm::GlobalVariable *ClassRef = TheModule.getNamedGlobal(ClassSym); 3394 if (auto *symbol = TheModule.getGlobalVariable(classSymbolName)) { 3397 new llvm::GlobalVariable(TheModule, LongTy, false, 3448 llvm::GlobalVariable *OffsetVar = TheModule.getGlobalVariable(OffsetName); 3456 OffsetVar = new llvm::GlobalVariable(TheModule, Int32Ty, 3554 llvm::GlobalVariable *offset = TheModule.getNamedGlobal(Name); 3563 new llvm::GlobalVariable(TheModule, offsetValue->getType(), 3798 &TheModule); 3818 &TheModule); 3835 TheModule.getGlobalVariable("_OBJC_CLASS_" + iter->first, true); 3872 &TheModule); 4029 llvm::GlobalVariable *IvarOffsetPointer = TheModule.getNamedGlobal(Name); 4031 IvarOffsetPointer = new llvm::GlobalVariable(TheModule, 4085 llvm::Value *Offset = TheModule.getGlobalVariable(name); 4087 auto GV = new llvm::GlobalVariable(TheModule, IntTy,