/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ScanfFormatString.cpp | 18 using clang::analyze_format_string::ArgType; 226 ArgType ScanfSpecifier::getArgType(ASTContext &Ctx) const { in getArgType() 230 return ArgType::Invalid(); in getArgType() 239 return ArgType::PtrTo(Ctx.IntTy); in getArgType() 241 return ArgType::PtrTo(ArgType::AnyCharTy); in getArgType() 243 return ArgType::PtrTo(Ctx.ShortTy); in getArgType() 245 return ArgType::PtrTo(Ctx.LongTy); in getArgType() 248 return ArgType::PtrTo(Ctx.LongLongTy); in getArgType() 250 return ArgType::PtrTo(ArgType(Ctx.LongLongTy, "__int64")); in getArgType() 252 return ArgType::PtrTo(ArgType(Ctx.getIntMaxType(), "intmax_t")); in getArgType() [all …]
|
H A D | PrintfFormatString.cpp | 20 using clang::analyze_format_string::ArgType; 507 ArgType PrintfSpecifier::getScalarArgType(ASTContext &Ctx, in getScalarArgType() 515 return ArgType(ArgType::WIntTy, "wint_t"); in getScalarArgType() 521 return ArgType::Invalid(); in getScalarArgType() 533 return ArgType(Ctx.IntTy, "__int32"); in getScalarArgType() 535 return ArgType::AnyCharTy; in getScalarArgType() 542 return ArgType(Ctx.LongLongTy, "__int64"); in getScalarArgType() 544 return ArgType(Ctx.getIntMaxType(), "intmax_t"); in getScalarArgType() 546 return ArgType::makeSizeT(ArgType(Ctx.getSignedSizeType(), "ssize_t")); in getScalarArgType() 549 ? ArgType(Ctx.LongLongTy, "__int64") in getScalarArgType() [all …]
|
H A D | FormatString.cpp | 20 using clang::analyze_format_string::ArgType; 323 clang::analyze_format_string::ArgType::MatchKind 324 ArgType::matchesType(ASTContext &C, QualType argTy) const { in matchesType() 603 ArgType ArgType::makeVectorType(ASTContext &C, unsigned NumElts) const { in makeVectorType() 606 return ArgType::Invalid(); in makeVectorType() 609 return ArgType(Vec, Name); in makeVectorType() 612 QualType ArgType::getRepresentativeType(ASTContext &C) const { in getRepresentativeType() 648 std::string ArgType::getRepresentativeTypeName(ASTContext &C) const { in getRepresentativeTypeName() 674 ArgType
|
H A D | ASTDiagnostic.cpp | 590 QualType ArgType; member 660 FlatTree[CurrentNode].FromArgInfo.ArgType = FromType; in SetTypeDiff() 661 FlatTree[CurrentNode].ToArgInfo.ArgType = ToType; in SetTypeDiff() 694 FlatTree[CurrentNode].FromArgInfo.ArgType = FromIntType; in SetIntegerDiff() 695 FlatTree[CurrentNode].ToArgInfo.ArgType = ToIntType; in SetIntegerDiff() 730 FlatTree[CurrentNode].ToArgInfo.ArgType = ToIntType; in SetFromDeclarationAndToIntegerDiff() 743 FlatTree[CurrentNode].FromArgInfo.ArgType = FromIntType; in SetFromIntegerAndToDeclarationDiff() 823 FromType = FlatTree[ReadNode].FromArgInfo.ArgType; in GetTypeDiff() 824 ToType = FlatTree[ReadNode].ToArgInfo.ArgType; in GetTypeDiff() 848 FromIntType = FlatTree[ReadNode].FromArgInfo.ArgType; in GetIntegerDiff() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPULibFunc.cpp | 387 P.ArgType = AMDGPULibFunc::U32; break; in getNextParam() 389 P.ArgType = AMDGPULibFunc::I32; P.VectorSize = 4; break; in getNextParam() 391 P.ArgType = AMDGPULibFunc::U32; P.VectorSize = 4; break; in getNextParam() 393 P.ArgType = AMDGPULibFunc::F32; P.VectorSize = 4; break; in getNextParam() 395 P.ArgType = AMDGPULibFunc::U64; break; in getNextParam() 397 P.ArgType = AMDGPULibFunc::EVENT; break; in getNextParam() 399 P.ArgType = AMDGPULibFunc::SAMPLER; break; in getNextParam() 426 P.ArgType = AMDGPULibFunc::I32; break; in getNextParam() 428 P.ArgType = AMDGPULibFunc::U32; break; in getNextParam() 431 P.ArgType &= ~AMDGPULibFunc::BASE_TYPE_MASK; in getNextParam() [all …]
|
H A D | AMDGPUPrintfRuntimeBinding.cpp | 185 Type *ArgType = Arg->getType(); in lowerPrintfForGpu() local 186 unsigned ArgSize = TD->getTypeAllocSize(ArgType); in lowerPrintfForGpu() 193 if (auto *VecType = dyn_cast<VectorType>(ArgType)) in lowerPrintfForGpu() 198 if (ArgType->isFloatingPointTy()) { in lowerPrintfForGpu() 201 IntegerType::getIntNTy(Ctx, ArgType->getPrimitiveSizeInBits())); in lowerPrintfForGpu() 211 ArgType = Arg->getType(); in lowerPrintfForGpu() 212 ArgSize = TD->getTypeAllocSize(ArgType); in lowerPrintfForGpu() 226 if (shouldPrintAsStr(OpConvSpecifiers[ArgCount - 1], ArgType)) in lowerPrintfForGpu() 230 << " for type: " << *ArgType << '\n'); in lowerPrintfForGpu() 340 Type *ArgType = Arg->getType(); in lowerPrintfForGpu() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/DIA/ |
H A D | DIAFrameData.cpp | 18 template <typename ArgType> 19 ArgType 21 HRESULT (__stdcall IDiaFrameData::*Method)(ArgType *)) { in PrivateGetDIAValue() argument 22 ArgType Value; in PrivateGetDIAValue() 24 return static_cast<ArgType>(Value); in PrivateGetDIAValue() 26 return ArgType(); in PrivateGetDIAValue()
|
H A D | DIASectionContrib.cpp | 30 template <typename ArgType> 31 ArgType 33 HRESULT (__stdcall IDiaSectionContrib::*Method)(ArgType *)) { in PrivateGetDIAValue() argument 34 ArgType Value; in PrivateGetDIAValue() 36 return static_cast<ArgType>(Value); in PrivateGetDIAValue() 38 return ArgType(); in PrivateGetDIAValue()
|
H A D | DIARawSymbol.cpp | 95 template <typename ArgType> 96 ArgType PrivateGetDIAValue(IDiaSymbol *Symbol, in PrivateGetDIAValue() 97 HRESULT (__stdcall IDiaSymbol::*Method)(ArgType *)) { in PrivateGetDIAValue() argument 98 ArgType Value; in PrivateGetDIAValue() 100 return static_cast<ArgType>(Value); in PrivateGetDIAValue() 102 return ArgType(); in PrivateGetDIAValue() 105 template <typename ArgType, typename RetType> 107 HRESULT (__stdcall IDiaSymbol::*Method)(ArgType *)) { in PrivateGetDIAValue() argument 108 ArgType Value; in PrivateGetDIAValue() 135 template <typename PrintType, typename ArgType> [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | FormatString.h | 265 class ArgType { 306 ArgType(Kind K = UnknownTy, const char *N = nullptr) : K(K), Name(N) {} in K() 307 ArgType(QualType T, const char *N = nullptr) : K(SpecificTy), T(T), Name(N) {} in K() 308 ArgType(CanQualType T) : K(SpecificTy), T(T) {} in ArgType() function 310 static ArgType Invalid() { return ArgType(InvalidTy); } in Invalid() 318 static ArgType PtrTo(const ArgType& A) { in PtrTo() 320 ArgType Res = A; in PtrTo() 326 static ArgType makeSizeT(const ArgType &A) { in makeSizeT() 327 ArgType Res = A; in makeSizeT() 334 static ArgType makePtrdiffT(const ArgType &A) { in makePtrdiffT() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Opcodes.td | 39 class ArgType { string Name = ?; bit AsRef = false; } 40 def ArgSint8 : ArgType { let Name = "int8_t"; } 41 def ArgUint8 : ArgType { let Name = "uint8_t"; } 42 def ArgSint16 : ArgType { let Name = "int16_t"; } 43 def ArgUint16 : ArgType { let Name = "uint16_t"; } 44 def ArgSint32 : ArgType { let Name = "int32_t"; } 45 def ArgUint32 : ArgType { let Name = "uint32_t"; } 46 def ArgSint64 : ArgType { let Name = "int64_t"; } 47 def ArgUint64 : ArgType { let Name = "uint64_t"; } 48 def ArgIntAP : ArgType { let Name = "IntegralAP<false>"; let AsRef = true; } [all …]
|
/freebsd/sys/contrib/dev/acpica/components/parser/ |
H A D | psargs.c | 542 UINT32 ArgType, in AcpiPsGetNextSimpleArg() argument 550 ACPI_FUNCTION_TRACE_U32 (PsGetNextSimpleArg, ArgType); in AcpiPsGetNextSimpleArg() 553 switch (ArgType) in AcpiPsGetNextSimpleArg() 617 ACPI_ERROR ((AE_INFO, "Invalid ArgType 0x%X", ArgType)); in AcpiPsGetNextSimpleArg() 937 UINT32 ArgType, in AcpiPsGetNextArg() argument 952 AcpiUtGetArgumentTypeName (ArgType), ArgType)); in AcpiPsGetNextArg() 954 switch (ArgType) in AcpiPsGetNextArg() 971 AcpiPsGetNextSimpleArg (ParserState, ArgType, Arg); in AcpiPsGetNextArg() 1047 AcpiUtGetArgumentTypeName (ArgType), ArgType)); in AcpiPsGetNextArg() 1084 AcpiUtGetArgumentTypeName (ArgType), ArgType)); in AcpiPsGetNextArg() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaBPF.cpp | 41 QualType ArgType = Arg->getType(); in isValidPreserveTypeInfoArg() local 42 if (ArgType->getAsPlaceholderType()) in isValidPreserveTypeInfoArg() 55 if (ArgType->getAs<TypedefType>()) in isValidPreserveTypeInfoArg() 59 const Type *Ty = ArgType->getUnqualifiedDesugaredType(); in isValidPreserveTypeInfoArg() 72 QualType ArgType = Arg->getType(); in isValidPreserveEnumValueArg() local 73 if (ArgType->getAsPlaceholderType()) in isValidPreserveEnumValueArg() 102 const Type *Ty = ArgType->getUnqualifiedDesugaredType(); in isValidPreserveEnumValueArg()
|
H A D | SemaPPC.cpp | 42 QualType ArgType = Arg->getType(); in checkAIXMemberAlignment() local 44 ArgType->castAs<RecordType>()->getDecl()->fields()) { in checkAIXMemberAlignment() 211 QualType ArgType = TheCall->getArg(0)->getType(); in CheckPPCBuiltinFunctionCall() local 212 if (ArgType != QualType(Context.FloatTy) && in CheckPPCBuiltinFunctionCall() 213 ArgType != QualType(Context.DoubleTy) && in CheckPPCBuiltinFunctionCall() 214 ArgType != QualType(Context.Float128Ty)) in CheckPPCBuiltinFunctionCall() 232 QualType ArgType = QualType(Context.LongDoubleTy); in CheckPPCBuiltinFunctionCall() local 235 ArgType = QualType(Context.DoubleTy); in CheckPPCBuiltinFunctionCall() 238 ArgType = QualType(Context.FloatTy); in CheckPPCBuiltinFunctionCall() 240 if (TheCall->getArg(I)->getType() != ArgType) in CheckPPCBuiltinFunctionCall() [all …]
|
/freebsd/contrib/llvm-project/lldb/utils/TableGen/ |
H A D | LLDBOptionDefEmitter.cpp | 31 std::string ArgType; member 60 if (auto A = Option->getValue("ArgType")) in CommandOption() 61 ArgType = A->getValue()->getAsUnquotedString(); in CommandOption() 98 if (!O.ArgType.empty()) { in emitOption() 113 if (!O.ArgType.empty()) in emitOption() 114 OS << "g_argument_table[eArgType" << O.ArgType << "].enum_values"; in emitOption() 131 if (!O.ArgType.empty()) { in emitOption() 132 OS << O.ArgType; in emitOption()
|
/freebsd/sys/contrib/dev/acpica/components/namespace/ |
H A D | nsarguments.c | 181 UINT8 ArgType; in AcpiNsCheckArgumentTypes() local 205 ArgType = METHOD_GET_NEXT_TYPE (ArgTypeList); in AcpiNsCheckArgumentTypes() 210 if ((UserArgType != ArgType) && (ArgType != ACPI_TYPE_ANY)) in AcpiNsCheckArgumentTypes() 216 AcpiUtGetTypeName (ArgType))); in AcpiNsCheckArgumentTypes()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
H A D | UncountedCallArgsChecker.cpp | 89 QualType ArgType = MemberCallExpr->getObjectType(); in visitCallExpr() local 91 isUncounted(ArgType->getAsCXXRecordDecl()); in visitCallExpr() 106 const auto *ArgType = (*P)->getType().getTypePtrOrNull(); in visitCallExpr() local 107 if (!ArgType) in visitCallExpr() 111 std::optional<bool> IsUncounted = isUncountedPtr(ArgType); in visitCallExpr()
|
H A D | UncountedLocalVarsChecker.cpp | 193 const auto *ArgType = V->getType().getTypePtr(); in visitVarDecl() local 194 if (!ArgType) in visitVarDecl() 197 std::optional<bool> IsUncountedPtr = isUncountedPtr(ArgType); in visitVarDecl()
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/ |
H A D | GlobalISelMatchTableExecutorEmitter.h | 79 raw_ostream &OS, StringRef TypeIdentifier, StringRef ArgType, in emitCxxPredicateFns() argument 99 << TypeIdentifier << "(unsigned PredicateID, " << ArgType << " " in emitCxxPredicateFns() 161 raw_ostream &OS, StringRef TypeIdentifier, StringRef ArgType, 166 return emitCxxPredicateFns(OS, TypeIdentifier, ArgType, "Imm", "", "",
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyFixFunctionBitcasts.cpp | 135 Type *ArgType = AI->getType(); in createWrapper() local 138 if (ArgType == ParamType) { in createWrapper() 141 if (CastInst::isBitOrNoopPointerCastable(ArgType, ParamType, DL)) { in createWrapper() 146 } else if (ArgType->isStructTy() || ParamType->isStructTy()) { in createWrapper() 154 << *ParamType << " Got: " << *ArgType << "\n"); in createWrapper()
|
/freebsd/sys/contrib/dev/acpica/components/utilities/ |
H A D | utdecode.c | 762 UINT32 ArgType) in AcpiUtGetArgumentTypeName() argument 765 if (ArgType > ARGP_MAX) in AcpiUtGetArgumentTypeName() 770 return (AcpiGbl_ArgumentType[ArgType]); in AcpiUtGetArgumentTypeName()
|
/freebsd/contrib/llvm-project/llvm/lib/TableGen/ |
H A D | TGParser.cpp | 1491 RecTy *ArgType = nullptr; in ParseOperation() local 1498 ArgType = DagRecTy::get(Records); in ParseOperation() 1506 ArgType = DagRecTy::get(Records); in ParseOperation() 1510 ArgType = DagRecTy::get(Records); in ParseOperation() 1523 ArgType = IntRecTy::get(Records); in ParseOperation() 1536 ArgType = ItemType; in ParseOperation() 1543 ArgType = ItemType; in ParseOperation() 1547 ArgType = StringRecTy::get(Records); in ParseOperation() 1572 InitList.push_back(ParseValue(CurRec, ArgType)); in ParseOperation() 1583 if (!ArgType) { in ParseOperation() [all …]
|
/freebsd/sys/contrib/dev/acpica/compiler/ |
H A D | aslwalks.c | 285 UINT32 ArgType; in AnOperandTypecheckWalkEnd() local 475 while ((ArgType = GET_CURRENT_ARG_TYPE (RuntimeArgTypes))) in AnOperandTypecheckWalkEnd() 478 RuntimeArgTypes2 |= ArgType; in AnOperandTypecheckWalkEnd() 484 while ((ArgType = GET_CURRENT_ARG_TYPE (RuntimeArgTypes2))) in AnOperandTypecheckWalkEnd() 488 RequiredBtypes = AnMapArgTypeToBtype (ArgType); in AnOperandTypecheckWalkEnd() 507 switch (ArgType) in AnOperandTypecheckWalkEnd()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | StdVariantChecker.cpp | 224 const auto &ArgType = Call.getArgSVal(0) in handleStdGetCall() local 230 if (!isStdVariant(ArgType)) in handleStdGetCall() 260 ArgType, TypeOut.getAsIntegral().getSExtValue())) { in handleStdGetCall()
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/ |
H A D | LVType.cpp | 423 LVType *ArgType = getTypeAsType(); in encodeTemplateArgument() local 426 if (ArgType->getIsTypedef()) { in encodeTemplateArgument() 427 LVObject *BaseType = ArgType->getUnderlyingType(); in encodeTemplateArgument() 430 Name.append(std::string(ArgType->getName())); in encodeTemplateArgument()
|