Searched refs:ArgType (Results 1 - 25 of 45) sorted by relevance

12

/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Analysis/
H A DScanfFormatString.cpp19 using clang::analyze_format_string::ArgType;
221 ArgType ScanfSpecifier::getArgType(ASTContext &Ctx) const {
225 return ArgType::Invalid();
234 return ArgType::PtrTo(Ctx.IntTy);
236 return ArgType::PtrTo(ArgType::AnyCharTy);
238 return ArgType::PtrTo(Ctx.ShortTy);
240 return ArgType::PtrTo(Ctx.LongTy);
243 return ArgType::PtrTo(Ctx.LongLongTy);
245 return ArgType
[all...]
H A DPrintfFormatString.cpp19 using clang::analyze_format_string::ArgType;
385 ArgType PrintfSpecifier::getArgType(ASTContext &Ctx,
390 return ArgType::Invalid();
398 return ArgType(ArgType::WIntTy, "wint_t");
403 return ArgType::Invalid();
414 return ArgType(Ctx.IntTy, "__int32");
415 case LengthModifier::AsChar: return ArgType::AnyCharTy;
422 return ArgType(Ctx.LongLongTy, "__int64");
424 return ArgType(Ct
[all...]
H A DFormatString.cpp19 using clang::analyze_format_string::ArgType;
256 // Methods on ArgType.
259 clang::analyze_format_string::ArgType::MatchKind
260 ArgType::matchesType(ASTContext &C, QualType argTy) const {
276 llvm_unreachable("ArgType must be valid");
412 llvm_unreachable("Invalid ArgType Kind!");
415 QualType ArgType::getRepresentativeType(ASTContext &C) const {
419 llvm_unreachable("No representative type for Invalid ArgType");
421 llvm_unreachable("No representative type for Unknown ArgType");
451 std::string ArgType
[all...]
/freebsd-11.0-release/contrib/compiler-rt/lib/profile/
H A DInstrProfiling.h74 #define VALUE_PROF_FUNC_PARAM(ArgType, ArgName, ArgLLVMType) ArgType ArgName
/freebsd-11.0-release/sys/contrib/dev/acpica/components/namespace/
H A Dnsarguments.c73 UINT8 ArgType; local
92 ArgType = METHOD_GET_NEXT_TYPE (ArgTypeList);
95 if (UserArgType != ArgType)
101 AcpiUtGetTypeName (ArgType)));
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/
H A DFormatString.h231 class ArgType { class in namespace:clang::analyze_format_string
244 ArgType(Kind k = UnknownTy, const char *n = nullptr) function in class:clang::analyze_format_string::ArgType
246 ArgType(QualType t, const char *n = nullptr) function in class:clang::analyze_format_string::ArgType
248 ArgType(CanQualType t) : K(SpecificTy), T(t), Name(nullptr), Ptr(false) {} function in class:clang::analyze_format_string::ArgType
250 static ArgType Invalid() { return ArgType(InvalidTy); }
253 /// Create an ArgType which corresponds to the type pointer to A.
254 static ArgType PtrTo(const ArgType& A) {
255 assert(A.K >= InvalidTy && "ArgType canno
[all...]
/freebsd-11.0-release/sys/contrib/dev/acpica/components/parser/
H A Dpsargs.c414 * ArgType - The argument type (AML_*_ARG)
426 UINT32 ArgType,
434 ACPI_FUNCTION_TRACE_U32 (PsGetNextSimpleArg, ArgType);
437 switch (ArgType)
501 ACPI_ERROR ((AE_INFO, "Invalid ArgType 0x%X", ArgType));
747 * ArgType - The argument type (AML_*_ARG)
761 UINT32 ArgType,
774 switch (ArgType)
791 AcpiPsGetNextSimpleArg (ParserState, ArgType, Ar
424 AcpiPsGetNextSimpleArg( ACPI_PARSE_STATE *ParserState, UINT32 ArgType, ACPI_PARSE_OBJECT *Arg) argument
758 AcpiPsGetNextArg( ACPI_WALK_STATE *WalkState, ACPI_PARSE_STATE *ParserState, UINT32 ArgType, ACPI_PARSE_OBJECT **ReturnArg) argument
[all...]
/freebsd-11.0-release/sys/contrib/dev/acpica/compiler/
H A Daslwalks.c169 UINT32 ArgType; local
359 while ((ArgType = GET_CURRENT_ARG_TYPE (RuntimeArgTypes)))
362 RuntimeArgTypes2 |= ArgType;
368 while ((ArgType = GET_CURRENT_ARG_TYPE (RuntimeArgTypes2)))
372 RequiredBtypes = AnMapArgTypeToBtype (ArgType);
391 switch (ArgType)
H A Daslbtypes.c63 * PARAMETERS: ArgType - The ARGI required type(s) for this
76 UINT32 ArgType)
79 switch (ArgType)
75 AnMapArgTypeToBtype( UINT32 ArgType) argument
/freebsd-11.0-release/sys/contrib/dev/acpica/include/
H A Dacparser.h101 UINT32 ArgType,
120 UINT32 ArgType,
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/AST/
H A DASTDiagnostic.cpp525 QualType ArgType; member in struct:__anon3631::TemplateDiff::DiffTree::TemplateArgumentInfo
596 FlatTree[CurrentNode].FromArgInfo.ArgType = FromType;
597 FlatTree[CurrentNode].ToArgInfo.ArgType = ToType;
630 FlatTree[CurrentNode].FromArgInfo.ArgType = FromIntType;
631 FlatTree[CurrentNode].ToArgInfo.ArgType = ToIntType;
666 FlatTree[CurrentNode].ToArgInfo.ArgType = ToIntType;
679 FlatTree[CurrentNode].FromArgInfo.ArgType = FromIntType;
759 FromType = FlatTree[ReadNode].FromArgInfo.ArgType;
760 ToType = FlatTree[ReadNode].ToArgInfo.ArgType;
784 FromIntType = FlatTree[ReadNode].FromArgInfo.ArgType;
1147 QualType ArgType = Iter->getParamTypeForDecl(); local
1177 QualType ArgType = TA.getParamTypeForDecl(); local
[all...]
H A DDeclTemplate.cpp215 QualType ArgType = Context.getTypeDeclType(TTP); local
217 ArgType = Context.getPackExpansionType(ArgType, None);
219 Arg = TemplateArgument(ArgType);
H A DExprCXX.cpp220 const QualType ArgType = Arg->getType(); local
222 if (ArgType->isDependentType() && !ArgType->isPointerType())
225 return ArgType->getAs<PointerType>()->getPointeeType();
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp864 QualType ArgType) {
866 Qualifiers ArgQs = ArgType.getQualifiers();
3069 QualType ArgType = GetTypeOfFunction(S, R, Fn); local
3070 if (ArgType.isNull()) continue;
3074 ArgType->isFunctionType())
3075 ArgType = S.Context.getPointerType(ArgType);
3094 ArgType, Info, Deduced, TDF);
3097 Match = ArgType;
3112 QualType &ArgType,
863 hasInconsistentOrSupersetQualifiersOf(QualType ParamType, QualType ArgType) argument
3109 AdjustFunctionParmAndArgTypesForDeduction(Sema &S, TemplateParameterList *TemplateParams, QualType &ParamType, QualType &ArgType, Expr *Arg, unsigned &TDF) argument
3306 QualType ArgType = Arg->getType(); local
3407 QualType ArgType = Arg->getType(); local
3470 QualType ArgType = Arg->getType(); local
[all...]
H A DSemaTemplate.cpp3070 QualType ArgType; local
3079 ArgType = Arg.getAsType();
3132 ArgType =
3135 DependentNameTypeLoc TL = TLB.push<DependentNameTypeLoc>(ArgType);
3139 TSI = TLB.getTypeSourceInfo(Context, ArgType);
3143 AL = TemplateArgumentLoc(TemplateArgument(ArgType),
3166 ArgType = Context.getCanonicalType(ArgType);
3172 ArgType->isObjCLifetimeType() &&
3173 !ArgType
3211 TypeSourceInfo *ArgType = Param->getDefaultArgumentInfo(); local
4373 CheckTemplateArgumentIsCompatibleWithParameter( Sema &S, NonTypeTemplateParmDecl *Param, QualType ParamType, Expr *ArgIn, Expr *Arg, QualType ArgType) argument
4438 QualType ArgType = Arg->getType(); local
5055 QualType ArgType = Arg->getType(); local
5178 QualType ArgType = Arg->getType(); local
[all...]
H A DSemaChecking.cpp3749 bool checkForCStrMembers(const analyze_printf::ArgType &AT,
3808 const analyze_printf::ArgType &AT = Amt.getArgType(S.Context);
3966 const analyze_printf::ArgType &AT, const Expr *E) {
4050 const analyze_printf::ArgType &AT =
4052 ArgType(S.Context.IntTy) : ArgType::CPointerTy;
4063 const analyze_printf::ArgType &AT2 = ArgType::CStrTy;
4243 const analyze_printf::ArgType &AT = FS.getArgType(S.Context,
4253 analyze_printf::ArgType
4830 getBestAbsFunction(ASTContext &Context, QualType ArgType, unsigned AbsFunctionKind) argument
4965 emitReplacement(Sema &S, SourceLocation Loc, SourceRange Range, unsigned AbsKind, QualType ArgType) argument
5105 Diag(Call->getExprLoc(), diag::warn_pointer_abs) << DiagType << ArgType; local
[all...]
H A DSemaDeclObjC.cpp4180 QualType ArgType; local
4184 ArgType = Context.getObjCIdType();
4187 ArgType = GetTypeFromParser(ArgInfo[i].Type, &DI);
4211 ArgType, DI, SC_None);
4233 QualType ArgType = Param->getType(); local
4234 if (ArgType.isNull())
4235 ArgType = Context.getObjCIdType();
4238 ArgType = Context.getAdjustedParameterType(ArgType);
H A DSemaDeclCXX.cpp5293 QualType ArgType = ExpectedParams ? Type->getParamType(0) : QualType(); local
5295 if (ExpectedParams && ArgType->isReferenceType()) {
5297 QualType ReferentType = ArgType->getPointeeType();
5374 llvm::makeArrayRef(&ArgType,
7483 QualType ArgType = Ctor->getParamDecl(0)->getType();
7484 if (const ReferenceType *RT = ArgType->getAs<ReferenceType>())
7485 ArgType = RT->getPointeeType().getUnqualifiedType();
7487 return isStdInitializerList(ArgType, nullptr);
10066 QualType ArgType = Context.getTypeDeclType(ClassDecl);
10067 QualType RetType = Context.getLValueReferenceType(ArgType);
10891 QualType ArgType = ClassType; local
11071 QualType ArgType = Context.getRValueReferenceType(ClassType); local
[all...]
/freebsd-11.0-release/contrib/llvm/lib/DebugInfo/PDB/DIA/
H A DDIARawSymbol.cpp75 template <typename ArgType>
76 ArgType PrivateGetDIAValue(IDiaSymbol *Symbol,
77 HRESULT (__stdcall IDiaSymbol::*Method)(ArgType *)) {
78 ArgType Value;
80 return static_cast<ArgType>(Value);
82 return ArgType();
85 template <typename ArgType, typename RetType>
87 HRESULT (__stdcall IDiaSymbol::*Method)(ArgType *)) {
88 ArgType Value;
124 template <typename ArgType>
[all...]
/freebsd-11.0-release/contrib/llvm/tools/llvm-pdbdump/
H A DFunctionDumper.cpp177 auto ArgType = Arg->getType(); local
178 ArgType->dump(*this);
/freebsd-11.0-release/sys/contrib/dev/acpica/components/debugger/
H A Ddbtest.c1020 UINT8 ArgType; local
1070 ArgType = METHOD_GET_NEXT_TYPE (ArgTypeList);
1071 ThisParam->Type = ArgType;
1073 switch (ArgType)
1103 Pathname, ArgType);
/freebsd-11.0-release/contrib/llvm/lib/Target/Mips/
H A DMips16HardFloat.cpp159 Type *ArgType = F.getFunctionType()->getParamType(0); local
160 switch (ArgType->getTypeID()) {
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DObjCMT.cpp426 static const char *PropertyMemoryAttribute(ASTContext &Context, QualType ArgType) { argument
427 Qualifiers::ObjCLifetime propertyLifetime = ArgType.getObjCLifetime();
428 bool RetainableObject = ArgType->isObjCRetainableType();
433 ArgType->getAs<ObjCObjectPointerType>()) {
441 else if (ArgType->isBlockPointerType())
448 return ArgType->isBlockPointerType() ? "copy" : "strong";
499 QualType ArgType = Context.getCanonicalType(argDecl->getType()); local
500 if (const char *MemoryManagementAttr = PropertyMemoryAttribute(Context, ArgType))
1228 QualType ArgType = argDecl->getType(); local
1229 if (!Ctx.hasSameUnqualifiedType(ArgType, GR
[all...]
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/AST/
H A DDeclTemplate.h250 template<typename ParmDecl, typename ArgType>
257 ArgType Value;
262 llvm::PointerUnion3<ArgType, ParmDecl*, Chain*> ValueOrInherited;
275 DefaultArgStorage() : ValueOrInherited(ArgType()) {}
284 ArgType get() const {
290 return Storage->ValueOrInherited.template get<ArgType>();
302 void set(ArgType Arg) {
314 Chain{InheritedFrom, ValueOrInherited.template get<ArgType>()};
318 ValueOrInherited = ArgType();
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGBuiltin.cpp521 llvm::Type *ArgType = ArgValue->getType(); local
522 Value *F = CGM.getIntrinsic(Intrinsic::cttz, ArgType);
538 llvm::Type *ArgType = ArgValue->getType(); local
539 Value *F = CGM.getIntrinsic(Intrinsic::ctlz, ArgType);
555 llvm::Type *ArgType = ArgValue->getType(); local
556 Value *F = CGM.getIntrinsic(Intrinsic::cttz, ArgType);
561 llvm::ConstantInt::get(ArgType, 1));
562 Value *Zero = llvm::Constant::getNullValue(ArgType);
576 llvm::Type *ArgType = ArgValue->getType(); local
577 Value *F = CGM.getIntrinsic(Intrinsic::ctpop, ArgType);
592 llvm::Type *ArgType = ArgValue->getType(); local
610 llvm::Type *ArgType = ArgValue->getType(); local
649 llvm::Type *ArgType = ArgValue->getType(); local
708 llvm::Type *ArgType = Base->getType(); local
1533 llvm::Type *ArgType = Arg0->getType(); local
1549 llvm::Type *ArgType = Base->getType(); local
1562 llvm::Type *ArgType = FirstArg->getType(); local
2823 LookupNeonLLVMIntrinsic(unsigned IntrinsicID, unsigned Modifier, llvm::Type *ArgType, const CallExpr *E) argument
[all...]

Completed in 448 milliseconds

12