Lines Matching refs:Elements
1338 std::vector<llvm::Constant*> Elements; in GenerateMethodList() local
1340 Elements.clear(); in GenerateMethodList()
1347 Elements.push_back(C); in GenerateMethodList()
1348 Elements.push_back(MethodTypes[i]); in GenerateMethodList()
1351 Elements.push_back(Method); in GenerateMethodList()
1352 Methods.push_back(llvm::ConstantStruct::get(ObjCMethodTy, Elements)); in GenerateMethodList()
1394 std::vector<llvm::Constant*> Elements; in GenerateIvarList() local
1396 Elements.clear(); in GenerateIvarList()
1397 Elements.push_back(IvarNames[i]); in GenerateIvarList()
1398 Elements.push_back(IvarTypes[i]); in GenerateIvarList()
1399 Elements.push_back(IvarOffsets[i]); in GenerateIvarList()
1400 Ivars.push_back(llvm::ConstantStruct::get(ObjCIvarTy, Elements)); in GenerateIvarList()
1408 Elements.clear(); in GenerateIvarList()
1409 Elements.push_back(llvm::ConstantInt::get(IntTy, (int)IvarNames.size())); in GenerateIvarList()
1410 Elements.push_back(llvm::ConstantArray::get(ObjCIvarArrayTy, Ivars)); in GenerateIvarList()
1417 return MakeGlobal(ObjCIvarListTy, Elements, ".objc_ivar_list"); in GenerateIvarList()
1467 std::vector<llvm::Constant*> Elements; in GenerateClassStructure() local
1468 Elements.push_back(llvm::ConstantExpr::getBitCast(MetaClass, PtrToInt8Ty)); in GenerateClassStructure()
1469 Elements.push_back(SuperClass); in GenerateClassStructure()
1470 Elements.push_back(MakeConstantString(Name, ".class_name")); in GenerateClassStructure()
1471 Elements.push_back(Zero); in GenerateClassStructure()
1472 Elements.push_back(llvm::ConstantInt::get(LongTy, info)); in GenerateClassStructure()
1475 Elements.push_back( in GenerateClassStructure()
1480 Elements.push_back(InstanceSize); in GenerateClassStructure()
1481 Elements.push_back(IVars); in GenerateClassStructure()
1482 Elements.push_back(Methods); in GenerateClassStructure()
1483 Elements.push_back(NULLPtr); in GenerateClassStructure()
1484 Elements.push_back(NULLPtr); in GenerateClassStructure()
1485 Elements.push_back(NULLPtr); in GenerateClassStructure()
1486 Elements.push_back(llvm::ConstantExpr::getBitCast(Protocols, PtrTy)); in GenerateClassStructure()
1487 Elements.push_back(NULLPtr); in GenerateClassStructure()
1488 Elements.push_back(llvm::ConstantInt::get(LongTy, 1)); in GenerateClassStructure()
1489 Elements.push_back(IvarOffsets); in GenerateClassStructure()
1490 Elements.push_back(Properties); in GenerateClassStructure()
1491 Elements.push_back(StrongIvarBitmap); in GenerateClassStructure()
1492 Elements.push_back(WeakIvarBitmap); in GenerateClassStructure()
1500 llvm::Constant *Class = MakeGlobal(ClassTy, Elements, ClassSym, in GenerateClassStructure()
1520 std::vector<llvm::Constant*> Elements; in GenerateProtocolMethodList() local
1522 Elements.clear(); in GenerateProtocolMethodList()
1523 Elements.push_back(MethodNames[i]); in GenerateProtocolMethodList()
1524 Elements.push_back(MethodTypes[i]); in GenerateProtocolMethodList()
1525 Methods.push_back(llvm::ConstantStruct::get(ObjCMethodDescTy, Elements)); in GenerateProtocolMethodList()
1548 std::vector<llvm::Constant*> Elements; in GenerateProtocolList() local
1561 Elements.push_back(Ptr); in GenerateProtocolList()
1564 Elements); in GenerateProtocolList()
1565 Elements.clear(); in GenerateProtocolList()
1566 Elements.push_back(NULLPtr); in GenerateProtocolList()
1567 Elements.push_back(llvm::ConstantInt::get(LongTy, Protocols.size())); in GenerateProtocolList()
1568 Elements.push_back(ProtocolArray); in GenerateProtocolList()
1569 return MakeGlobal(ProtocolListTy, Elements, ".objc_protocol_list"); in GenerateProtocolList()
1598 std::vector<llvm::Constant*> Elements; in GenerateEmptyProtocol() local
1601 Elements.push_back(llvm::ConstantExpr::getIntToPtr( in GenerateEmptyProtocol()
1603 Elements.push_back(MakeConstantString(ProtocolName, ".objc_protocol_name")); in GenerateEmptyProtocol()
1604 Elements.push_back(ProtocolList); in GenerateEmptyProtocol()
1605 Elements.push_back(MethodList); in GenerateEmptyProtocol()
1606 Elements.push_back(MethodList); in GenerateEmptyProtocol()
1607 Elements.push_back(MethodList); in GenerateEmptyProtocol()
1608 Elements.push_back(MethodList); in GenerateEmptyProtocol()
1609 return MakeGlobal(ProtocolTy, Elements, ".objc_protocol"); in GenerateEmptyProtocol()
1763 std::vector<llvm::Constant*> Elements; in GenerateProtocol() local
1766 Elements.push_back(llvm::ConstantExpr::getIntToPtr( in GenerateProtocol()
1768 Elements.push_back(MakeConstantString(ProtocolName, ".objc_protocol_name")); in GenerateProtocol()
1769 Elements.push_back(ProtocolList); in GenerateProtocol()
1770 Elements.push_back(InstanceMethodList); in GenerateProtocol()
1771 Elements.push_back(ClassMethodList); in GenerateProtocol()
1772 Elements.push_back(OptionalInstanceMethodList); in GenerateProtocol()
1773 Elements.push_back(OptionalClassMethodList); in GenerateProtocol()
1774 Elements.push_back(PropertyList); in GenerateProtocol()
1775 Elements.push_back(OptionalPropertyList); in GenerateProtocol()
1777 llvm::ConstantExpr::getBitCast(MakeGlobal(ProtocolTy, Elements, in GenerateProtocol()
1785 std::vector<llvm::Constant*> Elements; in GenerateProtocolHolderCategory() local
1788 Elements.push_back(MakeConstantString(CategoryName)); in GenerateProtocolHolderCategory()
1789 Elements.push_back(MakeConstantString(ClassName)); in GenerateProtocolHolderCategory()
1791 Elements.push_back(llvm::ConstantExpr::getBitCast(GenerateMethodList( in GenerateProtocolHolderCategory()
1794 Elements.push_back(llvm::ConstantExpr::getBitCast(GenerateMethodList( in GenerateProtocolHolderCategory()
1819 Elements.push_back(llvm::ConstantExpr::getBitCast(MakeGlobal(ProtocolListTy, in GenerateProtocolHolderCategory()
1823 PtrTy, PtrTy, PtrTy, NULL), Elements), PtrTy)); in GenerateProtocolHolderCategory()
1904 std::vector<llvm::Constant*> Elements; in GenerateCategory() local
1905 Elements.push_back(MakeConstantString(CategoryName)); in GenerateCategory()
1906 Elements.push_back(MakeConstantString(ClassName)); in GenerateCategory()
1908 Elements.push_back(llvm::ConstantExpr::getBitCast(GenerateMethodList( in GenerateCategory()
1912 Elements.push_back(llvm::ConstantExpr::getBitCast(GenerateMethodList( in GenerateCategory()
1916 Elements.push_back(llvm::ConstantExpr::getBitCast( in GenerateCategory()
1920 PtrTy, PtrTy, PtrTy, NULL), Elements), PtrTy)); in GenerateCategory()
2251 std::vector<llvm::Constant*> Elements; in ModuleInitFunction() local
2263 Elements.push_back(MakeConstantString(StringClass, in ModuleInitFunction()
2265 Elements.push_back(llvm::ConstantArray::get(StaticsArrayTy, in ModuleInitFunction()
2271 Statics = MakeGlobal(StaticsListTy, Elements, ".objc_statics"); in ModuleInitFunction()
2274 Elements.clear(); in ModuleInitFunction()
2275 Elements.push_back(Statics); in ModuleInitFunction()
2276 Elements.push_back(llvm::Constant::getNullValue(StaticsListPtrTy)); in ModuleInitFunction()
2277 Statics = MakeGlobal(StaticsListArrayTy, Elements, ".objc_statics_ptr"); in ModuleInitFunction()
2288 Elements.clear(); in ModuleInitFunction()
2306 Elements.push_back(SelName); in ModuleInitFunction()
2307 Elements.push_back(SelectorTypeEncoding); in ModuleInitFunction()
2308 Selectors.push_back(llvm::ConstantStruct::get(SelStructTy, Elements)); in ModuleInitFunction()
2309 Elements.clear(); in ModuleInitFunction()
2320 Elements.push_back(NULLPtr); in ModuleInitFunction()
2321 Elements.push_back(NULLPtr); in ModuleInitFunction()
2322 Selectors.push_back(llvm::ConstantStruct::get(SelStructTy, Elements)); in ModuleInitFunction()
2323 Elements.clear(); in ModuleInitFunction()
2326 Elements.push_back(llvm::ConstantInt::get(LongTy, SelectorCount)); in ModuleInitFunction()
2329 Elements.push_back(llvm::ConstantExpr::getBitCast(SelectorList, in ModuleInitFunction()
2348 Elements.push_back(llvm::ConstantInt::get(llvm::Type::getInt16Ty(VMContext), in ModuleInitFunction()
2351 Elements.push_back(llvm::ConstantInt::get(llvm::Type::getInt16Ty(VMContext), in ModuleInitFunction()
2359 Elements.push_back(ClassList); in ModuleInitFunction()
2361 llvm::Constant *SymTab= MakeGlobal(SymTabTy, Elements); in ModuleInitFunction()
2368 Elements.clear(); in ModuleInitFunction()
2370 Elements.push_back(llvm::ConstantInt::get(LongTy, RuntimeVersion)); in ModuleInitFunction()
2373 Elements.push_back( in ModuleInitFunction()
2383 Elements.push_back(MakeConstantString(path, ".objc_source_file_name")); in ModuleInitFunction()
2384 Elements.push_back(SymTab); in ModuleInitFunction()
2389 Elements.push_back(llvm::ConstantInt::get(IntTy, 2)); in ModuleInitFunction()
2393 Elements.push_back(llvm::ConstantInt::get(IntTy, 1)); in ModuleInitFunction()
2395 Elements.push_back(llvm::ConstantInt::get(IntTy, 0)); in ModuleInitFunction()
2398 Elements.push_back(llvm::ConstantInt::get(IntTy, 1)); in ModuleInitFunction()
2402 llvm::Value *Module = MakeGlobal(ModuleTy, Elements); in ModuleInitFunction()