Lines Matching refs:Elements

1486   std::vector<llvm::Constant*> Elements;  in GenerateMethodList()  local
1488 Elements.clear(); in GenerateMethodList()
1495 Elements.push_back(C); in GenerateMethodList()
1496 Elements.push_back(MethodTypes[i]); in GenerateMethodList()
1499 Elements.push_back(Method); in GenerateMethodList()
1500 Methods.push_back(llvm::ConstantStruct::get(ObjCMethodTy, Elements)); in GenerateMethodList()
1542 std::vector<llvm::Constant*> Elements; in GenerateIvarList() local
1544 Elements.clear(); in GenerateIvarList()
1545 Elements.push_back(IvarNames[i]); in GenerateIvarList()
1546 Elements.push_back(IvarTypes[i]); in GenerateIvarList()
1547 Elements.push_back(IvarOffsets[i]); in GenerateIvarList()
1548 Ivars.push_back(llvm::ConstantStruct::get(ObjCIvarTy, Elements)); in GenerateIvarList()
1556 Elements.clear(); in GenerateIvarList()
1557 Elements.push_back(llvm::ConstantInt::get(IntTy, (int)IvarNames.size())); in GenerateIvarList()
1558 Elements.push_back(llvm::ConstantArray::get(ObjCIvarArrayTy, Ivars)); in GenerateIvarList()
1565 return MakeGlobal(ObjCIvarListTy, Elements, ".objc_ivar_list"); in GenerateIvarList()
1615 std::vector<llvm::Constant*> Elements; in GenerateClassStructure() local
1616 Elements.push_back(llvm::ConstantExpr::getBitCast(MetaClass, PtrToInt8Ty)); in GenerateClassStructure()
1617 Elements.push_back(SuperClass); in GenerateClassStructure()
1618 Elements.push_back(MakeConstantString(Name, ".class_name")); in GenerateClassStructure()
1619 Elements.push_back(Zero); in GenerateClassStructure()
1620 Elements.push_back(llvm::ConstantInt::get(LongTy, info)); in GenerateClassStructure()
1623 Elements.push_back( in GenerateClassStructure()
1628 Elements.push_back(InstanceSize); in GenerateClassStructure()
1629 Elements.push_back(IVars); in GenerateClassStructure()
1630 Elements.push_back(Methods); in GenerateClassStructure()
1631 Elements.push_back(NULLPtr); in GenerateClassStructure()
1632 Elements.push_back(NULLPtr); in GenerateClassStructure()
1633 Elements.push_back(NULLPtr); in GenerateClassStructure()
1634 Elements.push_back(llvm::ConstantExpr::getBitCast(Protocols, PtrTy)); in GenerateClassStructure()
1635 Elements.push_back(NULLPtr); in GenerateClassStructure()
1636 Elements.push_back(llvm::ConstantInt::get(LongTy, 1)); in GenerateClassStructure()
1637 Elements.push_back(IvarOffsets); in GenerateClassStructure()
1638 Elements.push_back(Properties); in GenerateClassStructure()
1639 Elements.push_back(StrongIvarBitmap); in GenerateClassStructure()
1640 Elements.push_back(WeakIvarBitmap); in GenerateClassStructure()
1648 llvm::Constant *Class = MakeGlobal(ClassTy, Elements, ClassSym, in GenerateClassStructure()
1668 std::vector<llvm::Constant*> Elements; in GenerateProtocolMethodList() local
1670 Elements.clear(); in GenerateProtocolMethodList()
1671 Elements.push_back(MethodNames[i]); in GenerateProtocolMethodList()
1672 Elements.push_back(MethodTypes[i]); in GenerateProtocolMethodList()
1673 Methods.push_back(llvm::ConstantStruct::get(ObjCMethodDescTy, Elements)); in GenerateProtocolMethodList()
1696 std::vector<llvm::Constant*> Elements; in GenerateProtocolList() local
1709 Elements.push_back(Ptr); in GenerateProtocolList()
1712 Elements); in GenerateProtocolList()
1713 Elements.clear(); in GenerateProtocolList()
1714 Elements.push_back(NULLPtr); in GenerateProtocolList()
1715 Elements.push_back(llvm::ConstantInt::get(LongTy, Protocols.size())); in GenerateProtocolList()
1716 Elements.push_back(ProtocolArray); in GenerateProtocolList()
1717 return MakeGlobal(ProtocolListTy, Elements, ".objc_protocol_list"); in GenerateProtocolList()
1746 std::vector<llvm::Constant*> Elements; in GenerateEmptyProtocol() local
1749 Elements.push_back(llvm::ConstantExpr::getIntToPtr( in GenerateEmptyProtocol()
1751 Elements.push_back(MakeConstantString(ProtocolName, ".objc_protocol_name")); in GenerateEmptyProtocol()
1752 Elements.push_back(ProtocolList); in GenerateEmptyProtocol()
1753 Elements.push_back(MethodList); in GenerateEmptyProtocol()
1754 Elements.push_back(MethodList); in GenerateEmptyProtocol()
1755 Elements.push_back(MethodList); in GenerateEmptyProtocol()
1756 Elements.push_back(MethodList); in GenerateEmptyProtocol()
1757 return MakeGlobal(ProtocolTy, Elements, ".objc_protocol"); in GenerateEmptyProtocol()
1903 std::vector<llvm::Constant*> Elements; in GenerateProtocol() local
1906 Elements.push_back(llvm::ConstantExpr::getIntToPtr( in GenerateProtocol()
1908 Elements.push_back(MakeConstantString(ProtocolName, ".objc_protocol_name")); in GenerateProtocol()
1909 Elements.push_back(ProtocolList); in GenerateProtocol()
1910 Elements.push_back(InstanceMethodList); in GenerateProtocol()
1911 Elements.push_back(ClassMethodList); in GenerateProtocol()
1912 Elements.push_back(OptionalInstanceMethodList); in GenerateProtocol()
1913 Elements.push_back(OptionalClassMethodList); in GenerateProtocol()
1914 Elements.push_back(PropertyList); in GenerateProtocol()
1915 Elements.push_back(OptionalPropertyList); in GenerateProtocol()
1917 llvm::ConstantExpr::getBitCast(MakeGlobal(ProtocolTy, Elements, in GenerateProtocol()
1925 std::vector<llvm::Constant*> Elements; in GenerateProtocolHolderCategory() local
1928 Elements.push_back(MakeConstantString(CategoryName)); in GenerateProtocolHolderCategory()
1929 Elements.push_back(MakeConstantString(ClassName)); in GenerateProtocolHolderCategory()
1931 Elements.push_back(llvm::ConstantExpr::getBitCast(GenerateMethodList( in GenerateProtocolHolderCategory()
1934 Elements.push_back(llvm::ConstantExpr::getBitCast(GenerateMethodList( in GenerateProtocolHolderCategory()
1959 Elements.push_back(llvm::ConstantExpr::getBitCast(MakeGlobal(ProtocolListTy, in GenerateProtocolHolderCategory()
1963 PtrTy, PtrTy, PtrTy, nullptr), Elements), PtrTy)); in GenerateProtocolHolderCategory()
2039 std::vector<llvm::Constant*> Elements; in GenerateCategory() local
2040 Elements.push_back(MakeConstantString(CategoryName)); in GenerateCategory()
2041 Elements.push_back(MakeConstantString(ClassName)); in GenerateCategory()
2043 Elements.push_back(llvm::ConstantExpr::getBitCast(GenerateMethodList( in GenerateCategory()
2047 Elements.push_back(llvm::ConstantExpr::getBitCast(GenerateMethodList( in GenerateCategory()
2051 Elements.push_back(llvm::ConstantExpr::getBitCast( in GenerateCategory()
2055 PtrTy, PtrTy, PtrTy, nullptr), Elements), PtrTy)); in GenerateCategory()
2374 std::vector<llvm::Constant*> Elements; in ModuleInitFunction() local
2386 Elements.push_back(MakeConstantString(StringClass, in ModuleInitFunction()
2388 Elements.push_back(llvm::ConstantArray::get(StaticsArrayTy, in ModuleInitFunction()
2394 Statics = MakeGlobal(StaticsListTy, Elements, ".objc_statics"); in ModuleInitFunction()
2397 Elements.clear(); in ModuleInitFunction()
2398 Elements.push_back(Statics); in ModuleInitFunction()
2399 Elements.push_back(llvm::Constant::getNullValue(StaticsListPtrTy)); in ModuleInitFunction()
2400 Statics = MakeGlobal(StaticsListArrayTy, Elements, ".objc_statics_ptr"); in ModuleInitFunction()
2411 Elements.clear(); in ModuleInitFunction()
2429 Elements.push_back(SelName); in ModuleInitFunction()
2430 Elements.push_back(SelectorTypeEncoding); in ModuleInitFunction()
2431 Selectors.push_back(llvm::ConstantStruct::get(SelStructTy, Elements)); in ModuleInitFunction()
2432 Elements.clear(); in ModuleInitFunction()
2443 Elements.push_back(NULLPtr); in ModuleInitFunction()
2444 Elements.push_back(NULLPtr); in ModuleInitFunction()
2445 Selectors.push_back(llvm::ConstantStruct::get(SelStructTy, Elements)); in ModuleInitFunction()
2446 Elements.clear(); in ModuleInitFunction()
2449 Elements.push_back(llvm::ConstantInt::get(LongTy, SelectorCount)); in ModuleInitFunction()
2452 Elements.push_back(llvm::ConstantExpr::getBitCast(SelectorList, in ModuleInitFunction()
2471 Elements.push_back(llvm::ConstantInt::get(llvm::Type::getInt16Ty(VMContext), in ModuleInitFunction()
2474 Elements.push_back(llvm::ConstantInt::get(llvm::Type::getInt16Ty(VMContext), in ModuleInitFunction()
2482 Elements.push_back(ClassList); in ModuleInitFunction()
2484 llvm::Constant *SymTab= MakeGlobal(SymTabTy, Elements); in ModuleInitFunction()
2491 Elements.clear(); in ModuleInitFunction()
2493 Elements.push_back(llvm::ConstantInt::get(LongTy, RuntimeVersion)); in ModuleInitFunction()
2496 Elements.push_back( in ModuleInitFunction()
2506 Elements.push_back(MakeConstantString(path, ".objc_source_file_name")); in ModuleInitFunction()
2507 Elements.push_back(SymTab); in ModuleInitFunction()
2512 Elements.push_back(llvm::ConstantInt::get(IntTy, 2)); in ModuleInitFunction()
2516 Elements.push_back(llvm::ConstantInt::get(IntTy, 1)); in ModuleInitFunction()
2518 Elements.push_back(llvm::ConstantInt::get(IntTy, 0)); in ModuleInitFunction()
2521 Elements.push_back(llvm::ConstantInt::get(IntTy, 1)); in ModuleInitFunction()
2525 llvm::Value *Module = MakeGlobal(ModuleTy, Elements); in ModuleInitFunction()