Home
last modified time | relevance | path

Searched refs:TypeStr (Results 1 – 9 of 9) sorted by relevance

/external/clang/lib/CodeGen/
DCGObjCGNU.cpp1630 std::string TypeStr; in GenerateProtocol() local
1631 Context.getObjCEncodingForMethodDecl(*iter, TypeStr); in GenerateProtocol()
1635 OptionalInstanceMethodTypes.push_back(MakeConstantString(TypeStr)); in GenerateProtocol()
1639 InstanceMethodTypes.push_back(MakeConstantString(TypeStr)); in GenerateProtocol()
1650 std::string TypeStr; in GenerateProtocol() local
1651 Context.getObjCEncodingForMethodDecl((*iter),TypeStr); in GenerateProtocol()
1655 OptionalClassMethodTypes.push_back(MakeConstantString(TypeStr)); in GenerateProtocol()
1659 ClassMethodTypes.push_back(MakeConstantString(TypeStr)); in GenerateProtocol()
1699 std::string TypeStr; in GenerateProtocol() local
1700 Context.getObjCEncodingForMethodDecl(getter,TypeStr); in GenerateProtocol()
[all …]
DCGObjCMac.cpp4222 std::string TypeStr; in GetMethodVarType() local
4223 CGM.getContext().getObjCEncodingForType(Field->getType(), TypeStr, Field); in GetMethodVarType()
4225 llvm::GlobalVariable *&Entry = MethodVarTypes[TypeStr]; in GetMethodVarType()
4229 llvm::ConstantDataArray::getString(VMContext, TypeStr), in GetMethodVarType()
4240 std::string TypeStr; in GetMethodVarType() local
4241 if (CGM.getContext().getObjCEncodingForMethodDecl(D, TypeStr, Extended)) in GetMethodVarType()
4244 llvm::GlobalVariable *&Entry = MethodVarTypes[TypeStr]; in GetMethodVarType()
4248 llvm::ConstantDataArray::getString(VMContext, TypeStr), in GetMethodVarType()
4276 std::string TypeStr; in GetPropertyTypeString() local
4277 CGM.getContext().getObjCEncodingForPropertyDecl(PD, Container, TypeStr); in GetPropertyTypeString()
[all …]
/external/clang/lib/AST/
DNestedNameSpecifier.cpp251 std::string TypeStr; in print() local
273 TypeStr = TemplateSpecializationType::PrintTemplateArgumentList( in print()
279 TypeStr = QualType(T, 0).getAsString(InnerPolicy); in print()
281 OS << TypeStr; in print()
DTemplateBase.cpp344 std::string TypeStr; in print() local
345 getAsType().getAsStringInternal(TypeStr, SubPolicy); in print()
346 Out << TypeStr; in print()
DASTContext.cpp7114 const char *TypeStr = BuiltinInfo.GetTypeString(Id); in GetBuiltinType() local
7120 QualType ResType = DecodeTypeFromStr(TypeStr, *this, Error, in GetBuiltinType()
7127 while (TypeStr[0] && TypeStr[0] != '.') { in GetBuiltinType()
7128 QualType Ty = DecodeTypeFromStr(TypeStr, *this, Error, RequiresICE, true); in GetBuiltinType()
7144 assert((TypeStr[0] != '.' || TypeStr[1] == 0) && in GetBuiltinType()
7150 bool Variadic = (TypeStr[0] == '.'); in GetBuiltinType()
/external/llvm/lib/Target/NVPTX/
DNVPTXIntrinsics.td818 string SpaceStr, string TypeStr, string OpcStr, PatFrag IntOp,
824 !strconcat(TypeStr,
832 !strconcat(TypeStr,
837 multiclass F_ATOMIC_2<NVPTXRegClass regclass, string SpaceStr, string TypeStr,
839 defm p32 : F_ATOMIC_2_imp<Int32Regs, regclass, SpaceStr, TypeStr, OpcStr,
841 defm p64 : F_ATOMIC_2_imp<Int64Regs, regclass, SpaceStr, TypeStr, OpcStr,
847 string SpaceStr, string TypeStr, string OpcStr, PatFrag IntOp,
852 !strconcat(TypeStr,
855 !strconcat(TypeStr,
861 !strconcat(TypeStr,
[all …]
DNVPTXInstrInfo.td120 // when OpcStr=opc.s TypeStr=s16 CVTStr=cvt.s16.s8
121 class Handle_i8rr<string OpcStr, string TypeStr, string CVTStr> {
123 !strconcat(".reg .", !strconcat(TypeStr,
125 !strconcat(".reg .", !strconcat(TypeStr,
141 // when OpcStr=opc.s TypeStr=s16 CVTStr=cvt.s16.s8
142 class Handle_i8ri<string OpcStr, string TypeStr, string CVTStr> {
144 !strconcat(".reg .", !strconcat(TypeStr,
147 !strconcat(TypeStr, !strconcat(" \t%temp2;\n\t",
163 // when OpcStr=opc.s TypeStr=s16 CVTStr=cvt.s16.s8
164 class Handle_i8ir<string OpcStr, string TypeStr, string CVTStr> {
[all …]
/external/clang/lib/Sema/
DSemaOverload.cpp5124 std::string TypeStr; in ConvertToIntegralOrEnumerationType() local
5125 ConvTy.getAsStringInternal(TypeStr, getPrintingPolicy()); in ConvertToIntegralOrEnumerationType()
5129 "static_cast<" + TypeStr + ">(") in ConvertToIntegralOrEnumerationType()
8522 std::string TypeStr("operator"); in NoteBuiltinOperatorCandidate() local
8523 TypeStr += Opc; in NoteBuiltinOperatorCandidate()
8524 TypeStr += "("; in NoteBuiltinOperatorCandidate()
8525 TypeStr += Cand->BuiltinTypes.ParamTypes[0].getAsString(); in NoteBuiltinOperatorCandidate()
8527 TypeStr += ")"; in NoteBuiltinOperatorCandidate()
8528 S.Diag(OpLoc, diag::note_ovl_builtin_unary_candidate) << TypeStr; in NoteBuiltinOperatorCandidate()
8530 TypeStr += ", "; in NoteBuiltinOperatorCandidate()
[all …]
DSemaDeclAttr.cpp2174 StringRef TypeStr = Str->getString(); in handleVisibilityAttr() local
2177 if (TypeStr == "default") in handleVisibilityAttr()
2179 else if (TypeStr == "hidden") in handleVisibilityAttr()
2181 else if (TypeStr == "internal") in handleVisibilityAttr()
2183 else if (TypeStr == "protected") { in handleVisibilityAttr()
2193 S.Diag(Attr.getLoc(), diag::warn_attribute_unknown_visibility) << TypeStr; in handleVisibilityAttr()