Lines Matching refs:Elements
1276 std::vector<llvm::Constant*> Elements; in GenerateMethodList() local
1278 Elements.clear(); in GenerateMethodList()
1285 Elements.push_back(C); in GenerateMethodList()
1286 Elements.push_back(MethodTypes[i]); in GenerateMethodList()
1289 Elements.push_back(Method); in GenerateMethodList()
1290 Methods.push_back(llvm::ConstantStruct::get(ObjCMethodTy, Elements)); in GenerateMethodList()
1332 std::vector<llvm::Constant*> Elements; in GenerateIvarList() local
1334 Elements.clear(); in GenerateIvarList()
1335 Elements.push_back(IvarNames[i]); in GenerateIvarList()
1336 Elements.push_back(IvarTypes[i]); in GenerateIvarList()
1337 Elements.push_back(IvarOffsets[i]); in GenerateIvarList()
1338 Ivars.push_back(llvm::ConstantStruct::get(ObjCIvarTy, Elements)); in GenerateIvarList()
1346 Elements.clear(); in GenerateIvarList()
1347 Elements.push_back(llvm::ConstantInt::get(IntTy, (int)IvarNames.size())); in GenerateIvarList()
1348 Elements.push_back(llvm::ConstantArray::get(ObjCIvarArrayTy, Ivars)); in GenerateIvarList()
1355 return MakeGlobal(ObjCIvarListTy, Elements, ".objc_ivar_list"); in GenerateIvarList()
1405 std::vector<llvm::Constant*> Elements; in GenerateClassStructure() local
1406 Elements.push_back(llvm::ConstantExpr::getBitCast(MetaClass, PtrToInt8Ty)); in GenerateClassStructure()
1407 Elements.push_back(SuperClass); in GenerateClassStructure()
1408 Elements.push_back(MakeConstantString(Name, ".class_name")); in GenerateClassStructure()
1409 Elements.push_back(Zero); in GenerateClassStructure()
1410 Elements.push_back(llvm::ConstantInt::get(LongTy, info)); in GenerateClassStructure()
1413 Elements.push_back( in GenerateClassStructure()
1418 Elements.push_back(InstanceSize); in GenerateClassStructure()
1419 Elements.push_back(IVars); in GenerateClassStructure()
1420 Elements.push_back(Methods); in GenerateClassStructure()
1421 Elements.push_back(NULLPtr); in GenerateClassStructure()
1422 Elements.push_back(NULLPtr); in GenerateClassStructure()
1423 Elements.push_back(NULLPtr); in GenerateClassStructure()
1424 Elements.push_back(llvm::ConstantExpr::getBitCast(Protocols, PtrTy)); in GenerateClassStructure()
1425 Elements.push_back(NULLPtr); in GenerateClassStructure()
1426 Elements.push_back(llvm::ConstantInt::get(LongTy, 1)); in GenerateClassStructure()
1427 Elements.push_back(IvarOffsets); in GenerateClassStructure()
1428 Elements.push_back(Properties); in GenerateClassStructure()
1429 Elements.push_back(StrongIvarBitmap); in GenerateClassStructure()
1430 Elements.push_back(WeakIvarBitmap); in GenerateClassStructure()
1438 llvm::Constant *Class = MakeGlobal(ClassTy, Elements, ClassSym, in GenerateClassStructure()
1458 std::vector<llvm::Constant*> Elements; in GenerateProtocolMethodList() local
1460 Elements.clear(); in GenerateProtocolMethodList()
1461 Elements.push_back(MethodNames[i]); in GenerateProtocolMethodList()
1462 Elements.push_back(MethodTypes[i]); in GenerateProtocolMethodList()
1463 Methods.push_back(llvm::ConstantStruct::get(ObjCMethodDescTy, Elements)); in GenerateProtocolMethodList()
1486 std::vector<llvm::Constant*> Elements; in GenerateProtocolList() local
1499 Elements.push_back(Ptr); in GenerateProtocolList()
1502 Elements); in GenerateProtocolList()
1503 Elements.clear(); in GenerateProtocolList()
1504 Elements.push_back(NULLPtr); in GenerateProtocolList()
1505 Elements.push_back(llvm::ConstantInt::get(LongTy, Protocols.size())); in GenerateProtocolList()
1506 Elements.push_back(ProtocolArray); in GenerateProtocolList()
1507 return MakeGlobal(ProtocolListTy, Elements, ".objc_protocol_list"); in GenerateProtocolList()
1536 std::vector<llvm::Constant*> Elements; in GenerateEmptyProtocol() local
1539 Elements.push_back(llvm::ConstantExpr::getIntToPtr( in GenerateEmptyProtocol()
1541 Elements.push_back(MakeConstantString(ProtocolName, ".objc_protocol_name")); in GenerateEmptyProtocol()
1542 Elements.push_back(ProtocolList); in GenerateEmptyProtocol()
1543 Elements.push_back(MethodList); in GenerateEmptyProtocol()
1544 Elements.push_back(MethodList); in GenerateEmptyProtocol()
1545 Elements.push_back(MethodList); in GenerateEmptyProtocol()
1546 Elements.push_back(MethodList); in GenerateEmptyProtocol()
1547 return MakeGlobal(ProtocolTy, Elements, ".objc_protocol"); in GenerateEmptyProtocol()
1701 std::vector<llvm::Constant*> Elements; in GenerateProtocol() local
1704 Elements.push_back(llvm::ConstantExpr::getIntToPtr( in GenerateProtocol()
1706 Elements.push_back(MakeConstantString(ProtocolName, ".objc_protocol_name")); in GenerateProtocol()
1707 Elements.push_back(ProtocolList); in GenerateProtocol()
1708 Elements.push_back(InstanceMethodList); in GenerateProtocol()
1709 Elements.push_back(ClassMethodList); in GenerateProtocol()
1710 Elements.push_back(OptionalInstanceMethodList); in GenerateProtocol()
1711 Elements.push_back(OptionalClassMethodList); in GenerateProtocol()
1712 Elements.push_back(PropertyList); in GenerateProtocol()
1713 Elements.push_back(OptionalPropertyList); in GenerateProtocol()
1715 llvm::ConstantExpr::getBitCast(MakeGlobal(ProtocolTy, Elements, in GenerateProtocol()
1723 std::vector<llvm::Constant*> Elements; in GenerateProtocolHolderCategory() local
1726 Elements.push_back(MakeConstantString(CategoryName)); in GenerateProtocolHolderCategory()
1727 Elements.push_back(MakeConstantString(ClassName)); in GenerateProtocolHolderCategory()
1729 Elements.push_back(llvm::ConstantExpr::getBitCast(GenerateMethodList( in GenerateProtocolHolderCategory()
1732 Elements.push_back(llvm::ConstantExpr::getBitCast(GenerateMethodList( in GenerateProtocolHolderCategory()
1757 Elements.push_back(llvm::ConstantExpr::getBitCast(MakeGlobal(ProtocolListTy, in GenerateProtocolHolderCategory()
1761 PtrTy, PtrTy, PtrTy, NULL), Elements), PtrTy)); in GenerateProtocolHolderCategory()
1842 std::vector<llvm::Constant*> Elements; in GenerateCategory() local
1843 Elements.push_back(MakeConstantString(CategoryName)); in GenerateCategory()
1844 Elements.push_back(MakeConstantString(ClassName)); in GenerateCategory()
1846 Elements.push_back(llvm::ConstantExpr::getBitCast(GenerateMethodList( in GenerateCategory()
1850 Elements.push_back(llvm::ConstantExpr::getBitCast(GenerateMethodList( in GenerateCategory()
1854 Elements.push_back(llvm::ConstantExpr::getBitCast( in GenerateCategory()
1858 PtrTy, PtrTy, PtrTy, NULL), Elements), PtrTy)); in GenerateCategory()
2189 std::vector<llvm::Constant*> Elements; in ModuleInitFunction() local
2201 Elements.push_back(MakeConstantString(StringClass, in ModuleInitFunction()
2203 Elements.push_back(llvm::ConstantArray::get(StaticsArrayTy, in ModuleInitFunction()
2209 Statics = MakeGlobal(StaticsListTy, Elements, ".objc_statics"); in ModuleInitFunction()
2212 Elements.clear(); in ModuleInitFunction()
2213 Elements.push_back(Statics); in ModuleInitFunction()
2214 Elements.push_back(llvm::Constant::getNullValue(StaticsListPtrTy)); in ModuleInitFunction()
2215 Statics = MakeGlobal(StaticsListArrayTy, Elements, ".objc_statics_ptr"); in ModuleInitFunction()
2226 Elements.clear(); in ModuleInitFunction()
2244 Elements.push_back(SelName); in ModuleInitFunction()
2245 Elements.push_back(SelectorTypeEncoding); in ModuleInitFunction()
2246 Selectors.push_back(llvm::ConstantStruct::get(SelStructTy, Elements)); in ModuleInitFunction()
2247 Elements.clear(); in ModuleInitFunction()
2258 Elements.push_back(NULLPtr); in ModuleInitFunction()
2259 Elements.push_back(NULLPtr); in ModuleInitFunction()
2260 Selectors.push_back(llvm::ConstantStruct::get(SelStructTy, Elements)); in ModuleInitFunction()
2261 Elements.clear(); in ModuleInitFunction()
2264 Elements.push_back(llvm::ConstantInt::get(LongTy, SelectorCount)); in ModuleInitFunction()
2267 Elements.push_back(llvm::ConstantExpr::getBitCast(SelectorList, in ModuleInitFunction()
2286 Elements.push_back(llvm::ConstantInt::get(llvm::Type::getInt16Ty(VMContext), in ModuleInitFunction()
2289 Elements.push_back(llvm::ConstantInt::get(llvm::Type::getInt16Ty(VMContext), in ModuleInitFunction()
2297 Elements.push_back(ClassList); in ModuleInitFunction()
2299 llvm::Constant *SymTab= MakeGlobal(SymTabTy, Elements); in ModuleInitFunction()
2306 Elements.clear(); in ModuleInitFunction()
2308 Elements.push_back(llvm::ConstantInt::get(LongTy, RuntimeVersion)); in ModuleInitFunction()
2311 Elements.push_back( in ModuleInitFunction()
2321 Elements.push_back(MakeConstantString(path, ".objc_source_file_name")); in ModuleInitFunction()
2322 Elements.push_back(SymTab); in ModuleInitFunction()
2327 Elements.push_back(llvm::ConstantInt::get(IntTy, 2)); in ModuleInitFunction()
2331 Elements.push_back(llvm::ConstantInt::get(IntTy, 1)); in ModuleInitFunction()
2333 Elements.push_back(llvm::ConstantInt::get(IntTy, 0)); in ModuleInitFunction()
2336 Elements.push_back(llvm::ConstantInt::get(IntTy, 1)); in ModuleInitFunction()
2340 llvm::Value *Module = MakeGlobal(ModuleTy, Elements); in ModuleInitFunction()