Lines Matching defs:ClassName
394 llvm::Constant *GenerateMethodList(const StringRef &ClassName,
447 void EmitClassRef(const std::string &className);
861 void CGObjCGNU::EmitClassRef(const std::string &className) {
862 std::string symbolRef = "__objc_class_ref_" + className;
866 std::string symbolName = "__objc_class_name_" + className;
876 static std::string SymbolNameForMethod(const StringRef &ClassName,
882 return (Twine(isClassMethod ? "_c_" : "_i_") + ClassName + "_" +
1013 llvm::Value *ClassName = CGM.GetAddrOfConstantCString(Name);
1023 ClassName = CGF.Builder.CreateStructGEP(ClassName, 0);
1028 return CGF.EmitNounwindRuntimeCall(ClassLookupFn, ClassName);
1130 std::string className = IT->getDecl()->getIdentifier()->getName();
1132 std::string typeinfoName = "__objc_eh_typeinfo_" + className;
1155 ExportUniqueString(className, "__objc_eh_typename_");
1162 NULL), fields, "__objc_eh_typeinfo_" + className,
1462 GenerateMethodList(const StringRef &ClassName,
1480 TheModule.getFunction(SymbolNameForMethod(ClassName, CategoryName,
1923 const std::string ClassName = "__ObjC_Protocol_Holder_Ugly_Hack";
1926 Elements.push_back(MakeConstantString(ClassName));
1929 ClassName, CategoryName, MethodSels, MethodTypes, false), PtrTy));
1932 ClassName, CategoryName, MethodSels, MethodTypes, true), PtrTy));
2007 std::string ClassName = OCD->getClassInterface()->getNameAsString();
2043 Elements.push_back(MakeConstantString(ClassName));
2046 ClassName, CategoryName, InstanceMethodSels, InstanceMethodTypes,
2050 ClassName, CategoryName, ClassMethodSels, ClassMethodTypes, true),
2134 std::string ClassName = ClassDecl->getNameAsString();
2136 ClassAliases.push_back(ClassAliasPair(ClassName,AliasName));
2154 std::string ClassName = ClassDecl->getNameAsString();
2157 std::string classSymbolName = "__objc_class_name_" + ClassName;
2204 std::string OffsetName = "__objc_ivar_offset_value_" + ClassName +"." +
2217 "__objc_ivar_offset_value_" + ClassName +"." +
2288 llvm::Constant *MethodList = GenerateMethodList(ClassName, "",
2290 llvm::Constant *ClassMethodList = GenerateMethodList(ClassName, "",
2312 const std::string Name = "__objc_ivar_offset_" + ClassName + '.'
2337 NULLPtr, 0x12L, ClassName.c_str(), 0, Zeros[0], GenerateIvarList(
2344 ClassName.c_str(), 0,
2605 StringRef ClassName = CD->getName();
2612 std::string FunctionName = SymbolNameForMethod(ClassName, CategoryName,