Lines Matching refs:Elements
1476 std::vector<llvm::Constant*> Elements; in GenerateMethodList() local
1478 Elements.clear(); in GenerateMethodList()
1485 Elements.push_back(C); in GenerateMethodList()
1486 Elements.push_back(MethodTypes[i]); in GenerateMethodList()
1489 Elements.push_back(Method); in GenerateMethodList()
1490 Methods.push_back(llvm::ConstantStruct::get(ObjCMethodTy, Elements)); in GenerateMethodList()
1532 std::vector<llvm::Constant*> Elements; in GenerateIvarList() local
1534 Elements.clear(); in GenerateIvarList()
1535 Elements.push_back(IvarNames[i]); in GenerateIvarList()
1536 Elements.push_back(IvarTypes[i]); in GenerateIvarList()
1537 Elements.push_back(IvarOffsets[i]); in GenerateIvarList()
1538 Ivars.push_back(llvm::ConstantStruct::get(ObjCIvarTy, Elements)); in GenerateIvarList()
1546 Elements.clear(); in GenerateIvarList()
1547 Elements.push_back(llvm::ConstantInt::get(IntTy, (int)IvarNames.size())); in GenerateIvarList()
1548 Elements.push_back(llvm::ConstantArray::get(ObjCIvarArrayTy, Ivars)); in GenerateIvarList()
1555 return MakeGlobal(ObjCIvarListTy, Elements, ".objc_ivar_list"); in GenerateIvarList()
1605 std::vector<llvm::Constant*> Elements; in GenerateClassStructure() local
1606 Elements.push_back(llvm::ConstantExpr::getBitCast(MetaClass, PtrToInt8Ty)); in GenerateClassStructure()
1607 Elements.push_back(SuperClass); in GenerateClassStructure()
1608 Elements.push_back(MakeConstantString(Name, ".class_name")); in GenerateClassStructure()
1609 Elements.push_back(Zero); in GenerateClassStructure()
1610 Elements.push_back(llvm::ConstantInt::get(LongTy, info)); in GenerateClassStructure()
1613 Elements.push_back( in GenerateClassStructure()
1618 Elements.push_back(InstanceSize); in GenerateClassStructure()
1619 Elements.push_back(IVars); in GenerateClassStructure()
1620 Elements.push_back(Methods); in GenerateClassStructure()
1621 Elements.push_back(NULLPtr); in GenerateClassStructure()
1622 Elements.push_back(NULLPtr); in GenerateClassStructure()
1623 Elements.push_back(NULLPtr); in GenerateClassStructure()
1624 Elements.push_back(llvm::ConstantExpr::getBitCast(Protocols, PtrTy)); in GenerateClassStructure()
1625 Elements.push_back(NULLPtr); in GenerateClassStructure()
1626 Elements.push_back(llvm::ConstantInt::get(LongTy, 1)); in GenerateClassStructure()
1627 Elements.push_back(IvarOffsets); in GenerateClassStructure()
1628 Elements.push_back(Properties); in GenerateClassStructure()
1629 Elements.push_back(StrongIvarBitmap); in GenerateClassStructure()
1630 Elements.push_back(WeakIvarBitmap); in GenerateClassStructure()
1638 llvm::Constant *Class = MakeGlobal(ClassTy, Elements, ClassSym, in GenerateClassStructure()
1658 std::vector<llvm::Constant*> Elements; in GenerateProtocolMethodList() local
1660 Elements.clear(); in GenerateProtocolMethodList()
1661 Elements.push_back(MethodNames[i]); in GenerateProtocolMethodList()
1662 Elements.push_back(MethodTypes[i]); in GenerateProtocolMethodList()
1663 Methods.push_back(llvm::ConstantStruct::get(ObjCMethodDescTy, Elements)); in GenerateProtocolMethodList()
1686 std::vector<llvm::Constant*> Elements; in GenerateProtocolList() local
1699 Elements.push_back(Ptr); in GenerateProtocolList()
1702 Elements); in GenerateProtocolList()
1703 Elements.clear(); in GenerateProtocolList()
1704 Elements.push_back(NULLPtr); in GenerateProtocolList()
1705 Elements.push_back(llvm::ConstantInt::get(LongTy, Protocols.size())); in GenerateProtocolList()
1706 Elements.push_back(ProtocolArray); in GenerateProtocolList()
1707 return MakeGlobal(ProtocolListTy, Elements, ".objc_protocol_list"); in GenerateProtocolList()
1736 std::vector<llvm::Constant*> Elements; in GenerateEmptyProtocol() local
1739 Elements.push_back(llvm::ConstantExpr::getIntToPtr( in GenerateEmptyProtocol()
1741 Elements.push_back(MakeConstantString(ProtocolName, ".objc_protocol_name")); in GenerateEmptyProtocol()
1742 Elements.push_back(ProtocolList); in GenerateEmptyProtocol()
1743 Elements.push_back(MethodList); in GenerateEmptyProtocol()
1744 Elements.push_back(MethodList); in GenerateEmptyProtocol()
1745 Elements.push_back(MethodList); in GenerateEmptyProtocol()
1746 Elements.push_back(MethodList); in GenerateEmptyProtocol()
1747 return MakeGlobal(ProtocolTy, Elements, ".objc_protocol"); in GenerateEmptyProtocol()
1900 std::vector<llvm::Constant*> Elements; in GenerateProtocol() local
1903 Elements.push_back(llvm::ConstantExpr::getIntToPtr( in GenerateProtocol()
1905 Elements.push_back(MakeConstantString(ProtocolName, ".objc_protocol_name")); in GenerateProtocol()
1906 Elements.push_back(ProtocolList); in GenerateProtocol()
1907 Elements.push_back(InstanceMethodList); in GenerateProtocol()
1908 Elements.push_back(ClassMethodList); in GenerateProtocol()
1909 Elements.push_back(OptionalInstanceMethodList); in GenerateProtocol()
1910 Elements.push_back(OptionalClassMethodList); in GenerateProtocol()
1911 Elements.push_back(PropertyList); in GenerateProtocol()
1912 Elements.push_back(OptionalPropertyList); in GenerateProtocol()
1914 llvm::ConstantExpr::getBitCast(MakeGlobal(ProtocolTy, Elements, in GenerateProtocol()
1922 std::vector<llvm::Constant*> Elements; in GenerateProtocolHolderCategory() local
1925 Elements.push_back(MakeConstantString(CategoryName)); in GenerateProtocolHolderCategory()
1926 Elements.push_back(MakeConstantString(ClassName)); in GenerateProtocolHolderCategory()
1928 Elements.push_back(llvm::ConstantExpr::getBitCast(GenerateMethodList( in GenerateProtocolHolderCategory()
1931 Elements.push_back(llvm::ConstantExpr::getBitCast(GenerateMethodList( in GenerateProtocolHolderCategory()
1956 Elements.push_back(llvm::ConstantExpr::getBitCast(MakeGlobal(ProtocolListTy, in GenerateProtocolHolderCategory()
1960 PtrTy, PtrTy, PtrTy, NULL), Elements), PtrTy)); in GenerateProtocolHolderCategory()
2041 std::vector<llvm::Constant*> Elements; in GenerateCategory() local
2042 Elements.push_back(MakeConstantString(CategoryName)); in GenerateCategory()
2043 Elements.push_back(MakeConstantString(ClassName)); in GenerateCategory()
2045 Elements.push_back(llvm::ConstantExpr::getBitCast(GenerateMethodList( in GenerateCategory()
2049 Elements.push_back(llvm::ConstantExpr::getBitCast(GenerateMethodList( in GenerateCategory()
2053 Elements.push_back(llvm::ConstantExpr::getBitCast( in GenerateCategory()
2057 PtrTy, PtrTy, PtrTy, NULL), Elements), PtrTy)); in GenerateCategory()
2386 std::vector<llvm::Constant*> Elements; in ModuleInitFunction() local
2398 Elements.push_back(MakeConstantString(StringClass, in ModuleInitFunction()
2400 Elements.push_back(llvm::ConstantArray::get(StaticsArrayTy, in ModuleInitFunction()
2406 Statics = MakeGlobal(StaticsListTy, Elements, ".objc_statics"); in ModuleInitFunction()
2409 Elements.clear(); in ModuleInitFunction()
2410 Elements.push_back(Statics); in ModuleInitFunction()
2411 Elements.push_back(llvm::Constant::getNullValue(StaticsListPtrTy)); in ModuleInitFunction()
2412 Statics = MakeGlobal(StaticsListArrayTy, Elements, ".objc_statics_ptr"); in ModuleInitFunction()
2423 Elements.clear(); in ModuleInitFunction()
2441 Elements.push_back(SelName); in ModuleInitFunction()
2442 Elements.push_back(SelectorTypeEncoding); in ModuleInitFunction()
2443 Selectors.push_back(llvm::ConstantStruct::get(SelStructTy, Elements)); in ModuleInitFunction()
2444 Elements.clear(); in ModuleInitFunction()
2455 Elements.push_back(NULLPtr); in ModuleInitFunction()
2456 Elements.push_back(NULLPtr); in ModuleInitFunction()
2457 Selectors.push_back(llvm::ConstantStruct::get(SelStructTy, Elements)); in ModuleInitFunction()
2458 Elements.clear(); in ModuleInitFunction()
2461 Elements.push_back(llvm::ConstantInt::get(LongTy, SelectorCount)); in ModuleInitFunction()
2464 Elements.push_back(llvm::ConstantExpr::getBitCast(SelectorList, in ModuleInitFunction()
2483 Elements.push_back(llvm::ConstantInt::get(llvm::Type::getInt16Ty(VMContext), in ModuleInitFunction()
2486 Elements.push_back(llvm::ConstantInt::get(llvm::Type::getInt16Ty(VMContext), in ModuleInitFunction()
2494 Elements.push_back(ClassList); in ModuleInitFunction()
2496 llvm::Constant *SymTab= MakeGlobal(SymTabTy, Elements); in ModuleInitFunction()
2503 Elements.clear(); in ModuleInitFunction()
2505 Elements.push_back(llvm::ConstantInt::get(LongTy, RuntimeVersion)); in ModuleInitFunction()
2508 Elements.push_back( in ModuleInitFunction()
2518 Elements.push_back(MakeConstantString(path, ".objc_source_file_name")); in ModuleInitFunction()
2519 Elements.push_back(SymTab); in ModuleInitFunction()
2524 Elements.push_back(llvm::ConstantInt::get(IntTy, 2)); in ModuleInitFunction()
2528 Elements.push_back(llvm::ConstantInt::get(IntTy, 1)); in ModuleInitFunction()
2530 Elements.push_back(llvm::ConstantInt::get(IntTy, 0)); in ModuleInitFunction()
2533 Elements.push_back(llvm::ConstantInt::get(IntTy, 1)); in ModuleInitFunction()
2537 llvm::Value *Module = MakeGlobal(ModuleTy, Elements); in ModuleInitFunction()