Home
last modified time | relevance | path

Searched refs:ArgType (Results 1 – 25 of 26) sorted by relevance

12

/external/llvm/utils/TableGen/
DIntrinsicEmitter.cpp205 static void EmitTypeGenerate(raw_ostream &OS, const Record *ArgType,
228 static void EmitTypeGenerate(raw_ostream &OS, const Record *ArgType, in EmitTypeGenerate() argument
230 MVT::SimpleValueType VT = getValueType(ArgType->getValueAsDef("VT")); in EmitTypeGenerate()
232 if (ArgType->isSubClassOf("LLVMMatchType")) { in EmitTypeGenerate()
233 unsigned Number = ArgType->getValueAsInt("Number"); in EmitTypeGenerate()
235 if (ArgType->isSubClassOf("LLVMExtendedElementVectorType")) in EmitTypeGenerate()
238 else if (ArgType->isSubClassOf("LLVMTruncatedElementVectorType")) in EmitTypeGenerate()
257 EmitTypeGenerate(OS, ArgType->getValueAsDef("ElTy"), ArgNo); in EmitTypeGenerate()
264 EmitTypeGenerate(OS, ArgType->getValueAsDef("ElTy"), ArgNo); in EmitTypeGenerate()
351 Record *ArgType = RetTys[j]; in EmitVerifier() local
[all …]
/external/clang/test/SemaTemplate/
Dinstantiate-expr-3.cpp94 template<typename ArgType>
100 (void)__builtin_va_arg(va, ArgType); in f()
107 template<typename VaList, typename ArgType>
113 (void)__builtin_va_arg(va, ArgType); // expected-error{{int}} in f()
/external/clang/lib/Sema/
DSemaTemplateDeduction.cpp805 QualType ArgType) { in hasInconsistentOrSupersetQualifiersOf() argument
807 Qualifiers ArgQs = ArgType.getQualifiers(); in hasInconsistentOrSupersetQualifiersOf()
2693 QualType ArgType = GetTypeOfFunction(S.Context, R, Fn); in ResolveOverloadForDeduction() local
2694 if (ArgType.isNull()) continue; in ResolveOverloadForDeduction()
2698 ArgType->isFunctionType()) in ResolveOverloadForDeduction()
2699 ArgType = S.Context.getPointerType(ArgType); in ResolveOverloadForDeduction()
2718 ParamType, ArgType, in ResolveOverloadForDeduction()
2722 Match = ArgType; in ResolveOverloadForDeduction()
2736 QualType &ArgType, in AdjustFunctionParmAndArgTypesForDeduction() argument
2749 if (ArgType->isIncompleteArrayType() && in AdjustFunctionParmAndArgTypesForDeduction()
[all …]
DSemaTemplate.cpp2367 QualType ArgType = Context.getCanonicalType(Arg.getAsType()); in CheckTemplateTypeArgument() local
2373 ArgType->isObjCLifetimeType() && in CheckTemplateTypeArgument()
2374 !ArgType.getObjCLifetime()) { in CheckTemplateTypeArgument()
2377 ArgType = Context.getQualifiedType(ArgType, Qs); in CheckTemplateTypeArgument()
2380 Converted.push_back(TemplateArgument(ArgType)); in CheckTemplateTypeArgument()
2412 TypeSourceInfo *ArgType = Param->getDefaultArgumentInfo(); in SubstDefaultTemplateArgument() local
2416 if (ArgType->getType()->isDependentType()) { in SubstDefaultTemplateArgument()
2428 ArgType = SemaRef.SubstType(ArgType, AllTemplateArgs, in SubstDefaultTemplateArgument()
2433 return ArgType; in SubstDefaultTemplateArgument()
2949 TypeSourceInfo *ArgType = SubstDefaultTemplateArgument(*this, in CheckTemplateArgumentList() local
[all …]
DSemaDeclObjC.cpp2318 QualType ArgType; in ActOnMethodDeclaration() local
2322 ArgType = Context.getObjCIdType(); in ActOnMethodDeclaration()
2325 ArgType = GetTypeFromParser(ArgInfo[i].Type, &DI); in ActOnMethodDeclaration()
2327 ArgType = Context.getAdjustedParameterType(ArgType); in ActOnMethodDeclaration()
2351 ArgType, DI, SC_None, SC_None); in ActOnMethodDeclaration()
2369 QualType ArgType = Param->getType(); in ActOnMethodDeclaration() local
2370 if (ArgType.isNull()) in ActOnMethodDeclaration()
2371 ArgType = Context.getObjCIdType(); in ActOnMethodDeclaration()
2374 ArgType = Context.getAdjustedParameterType(ArgType); in ActOnMethodDeclaration()
2375 if (ArgType->isObjCObjectType()) { in ActOnMethodDeclaration()
[all …]
DSemaLookup.cpp2073 QualType ArgType = Proto->getArgType(0).getNonReferenceType(); in IsAcceptableNonMemberOperatorCandidate() local
2074 if (Context.hasSameUnqualifiedType(T1, ArgType)) in IsAcceptableNonMemberOperatorCandidate()
2082 QualType ArgType = Proto->getArgType(1).getNonReferenceType(); in IsAcceptableNonMemberOperatorCandidate() local
2083 if (Context.hasSameUnqualifiedType(T2, ArgType)) in IsAcceptableNonMemberOperatorCandidate()
2222 QualType ArgType = CanTy; in LookupSpecialMember() local
2224 ArgType.addConst(); in LookupSpecialMember()
2226 ArgType.addVolatile(); in LookupSpecialMember()
2242 Arg = new (Context) OpaqueValueExpr(SourceLocation(), ArgType, VK); in LookupSpecialMember()
2296 QualType ArgType = M->getType()->getAs<FunctionProtoType>()->getArgType(0); in LookupSpecialMember() local
2297 if (!ArgType->isReferenceType() || in LookupSpecialMember()
[all …]
DSemaDeclCXX.cpp3216 QualType ArgType = CtorType->getArgType(0); in CheckExplicitlyDefaultedCopyConstructor() local
3217 if (ArgType->getPointeeType().isVolatileQualified()) { in CheckExplicitlyDefaultedCopyConstructor()
3221 if (ArgType->getPointeeType().isConstQualified() && !Const) { in CheckExplicitlyDefaultedCopyConstructor()
3239 CD->setType(Context.getFunctionType(Context.VoidTy, &ArgType, 1, EPI)); in CheckExplicitlyDefaultedCopyConstructor()
3291 QualType ArgType = OperType->getArgType(0); in CheckExplicitlyDefaultedCopyAssignment() local
3292 if (!ArgType->isReferenceType()) { in CheckExplicitlyDefaultedCopyAssignment()
3296 if (ArgType->getPointeeType().isVolatileQualified()) { in CheckExplicitlyDefaultedCopyAssignment()
3300 if (ArgType->getPointeeType().isConstQualified() && !Const) { in CheckExplicitlyDefaultedCopyAssignment()
3325 MD->setType(Context.getFunctionType(ReturnType, &ArgType, 1, EPI)); in CheckExplicitlyDefaultedCopyAssignment()
6720 QualType ArgType = Context.getTypeDeclType(ClassDecl); in DeclareImplicitCopyAssignment() local
[all …]
DSemaInit.cpp3316 QualType ArgType = Initializer->getType(); in tryObjCWritebackConversion() local
3318 if (const ArrayType *ArgArrayType = S.Context.getAsArrayType(ArgType)) { in tryObjCWritebackConversion()
3321 ArgType = S.Context.getPointerType(ArgPointee); in tryObjCWritebackConversion()
3326 if (!S.isObjCWritebackConversion(ArgType, Entity.getType(), in tryObjCWritebackConversion()
DSemaCodeComplete.cpp2597 QualType ArgType; in CreateSignatureString() local
2601 ArgType = FDecl->getParamDecl(I)->getOriginalType(); in CreateSignatureString()
2603 ArgType = Proto->getArgType(I); in CreateSignatureString()
2606 ArgType.getAsStringInternal(ArgString, Policy); in CreateSignatureString()
/external/clang/include/clang/AST/
DExprObjC.h359 QualType ArgType; in getSetterArgType() local
363 ArgType = (*P)->getType(); in getSetterArgType()
368 ArgType = (*P)->getType(); in getSetterArgType()
370 if (ArgType.isNull()) in getSetterArgType()
371 ArgType = getType(); in getSetterArgType()
373 return ArgType; in getSetterArgType()
/external/clang/lib/CodeGen/
DCGBuiltin.cpp236 llvm::Type *ArgType = ArgValue->getType(); in EmitBuiltinExpr() local
237 Value *F = CGM.getIntrinsic(Intrinsic::cttz, ArgType); in EmitBuiltinExpr()
251 llvm::Type *ArgType = ArgValue->getType(); in EmitBuiltinExpr() local
252 Value *F = CGM.getIntrinsic(Intrinsic::ctlz, ArgType); in EmitBuiltinExpr()
267 llvm::Type *ArgType = ArgValue->getType(); in EmitBuiltinExpr() local
268 Value *F = CGM.getIntrinsic(Intrinsic::cttz, ArgType); in EmitBuiltinExpr()
272 llvm::ConstantInt::get(ArgType, 1), "tmp"); in EmitBuiltinExpr()
273 Value *Zero = llvm::Constant::getNullValue(ArgType); in EmitBuiltinExpr()
287 llvm::Type *ArgType = ArgValue->getType(); in EmitBuiltinExpr() local
288 Value *F = CGM.getIntrinsic(Intrinsic::ctpop, ArgType); in EmitBuiltinExpr()
[all …]
DCodeGenFunction.h2349 void EmitCallArg(CallArgList &args, const Expr *E, QualType ArgType);
2399 QualType ArgType = *I;
2402 if (ArgType->isPointerType() && ActualArgType->isPointerType()) {
2406 ArgType->getAs<PointerType>()->getPointeeType();
2411 ActualArgType = ArgType;
2415 assert(getContext().getCanonicalType(ArgType.getNonReferenceType()).
2420 EmitCallArg(Args, *Arg, ArgType);
DCGExprAgg.cpp443 QualType ArgType = RE->getSetterArgType(); in VisitBinAssign() local
445 if (ArgType->isReferenceType()) in VisitBinAssign()
DCGObjC.cpp892 QualType ArgType = E->getSetterArgType(); in EmitStoreThroughPropertyRefLValue() local
898 QualType DstType = getContext().getCanonicalType(ArgType); in EmitStoreThroughPropertyRefLValue()
906 Args.add(Src, ArgType); in EmitStoreThroughPropertyRefLValue()
DCGClass.cpp1257 QualType ArgType = Arg->getType(); in EmitSynthesizedCXXCopyCtorCall() local
1258 EmitCallArg(Args, *Arg, ArgType); in EmitSynthesizedCXXCopyCtorCall()
/external/llvm/utils/
Dllvm.grm212 ArgType ::= Types OptParamAttrs ;
216 ArgTypeList ::= ArgType | ArgTypeList ^ "," ArgType ;
/external/clang/lib/AST/
DDeclTemplate.cpp176 QualType ArgType = Context.getTypeDeclType(TTP); in GenerateInjectedTemplateArgs() local
178 ArgType = Context.getPackExpansionType(ArgType, in GenerateInjectedTemplateArgs()
181 Arg = TemplateArgument(ArgType); in GenerateInjectedTemplateArgs()
DDeclCXX.cpp370 QualType ArgType = FnType->getArgType(0); in getCopyAssignmentOperator() local
372 if (const LValueReferenceType *Ref = ArgType->getAs<LValueReferenceType>()) { in getCopyAssignmentOperator()
373 ArgType = Ref->getPointeeType(); in getCopyAssignmentOperator()
376 if (ArgIsConst && !ArgType.isConstQualified()) in getCopyAssignmentOperator()
379 Quals = ArgType.getQualifiers(); in getCopyAssignmentOperator()
386 if (!Context.hasSameUnqualifiedType(ArgType, Class)) in getCopyAssignmentOperator()
DExprCXX.cpp127 const QualType ArgType = Arg->getType(); in getDestroyedType() local
129 if (ArgType->isDependentType() && !ArgType->isPointerType()) in getDestroyedType()
132 return ArgType->getAs<PointerType>()->getPointeeType(); in getDestroyedType()
DASTImporter.cpp1525 QualType ArgType = Importer.Import(*A); in VisitFunctionProtoType() local
1526 if (ArgType.isNull()) in VisitFunctionProtoType()
1528 ArgTypes.push_back(ArgType); in VisitFunctionProtoType()
/external/chromium/testing/gmock/include/gmock/
Dgmock-matchers.h1801 template <typename ArgType, typename ResType>
1802 struct CallableTraits<ResType(*)(ArgType)> {
1804 typedef ResType(*StorageType)(ArgType);
1806 static void CheckIsValid(ResType(*f)(ArgType)) {
1811 static ResType Invoke(ResType(*f)(ArgType), T arg) {
/external/llvm/lib/Transforms/Scalar/
DSimplifyLibCalls.cpp995 Type *ArgType = Op->getType(); in CallOptimizer() local
997 Intrinsic::cttz, ArgType); in CallOptimizer()
1002 Value *Cond = B.CreateICmpNE(Op, Constant::getNullValue(ArgType), "tmp"); in CallOptimizer()
/external/llvm/include/llvm/Support/
DIRBuilder.h1228 PointerType *ArgType = cast<PointerType>(LHS->getType()); variable
1233 ConstantExpr::getSizeOf(ArgType->getElementType()),
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp3343 EVT ArgType = Outs[i].VT; in LowerCall_Darwin() local
3344 if (ArgType==MVT::v4f32 || ArgType==MVT::v4i32 || in LowerCall_Darwin()
3345 ArgType==MVT::v8i16 || ArgType==MVT::v16i8) { in LowerCall_Darwin()
/external/clang/lib/Rewrite/
DRewriteObjC.cpp2439 QualType ArgType = proto->getArgType(i); in RewriteBlockLiteralFunctionDecl() local
2440 RewriteBlockPointerType(FdStr, ArgType); in RewriteBlockLiteralFunctionDecl()

12