| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | ScanfFormatString.cpp | 241 return ArgType::PtrTo(ArgType::AnyCharTy); in getArgType() 250 return ArgType::PtrTo(ArgType(Ctx.LongLongTy, "__int64")); in getArgType() 295 return ArgType::PtrTo(ArgType(Ctx.getSizeType(), "size_t")); in getArgType() 338 return ArgType::PtrTo(ArgType::AnyCharTy); in getArgType() 344 return ArgType::PtrTo(ArgType::CStrTy); in getArgType() 347 return ArgType::PtrTo(ArgType::AnyCharTy); in getArgType() 361 return ArgType::PtrTo(ArgType(ArgType::WCStrTy, "wchar_t *")); in getArgType() 364 return ArgType::PtrTo(ArgType::AnyCharTy); in getArgType() 372 return ArgType::PtrTo(ArgType::CPointerTy); in getArgType() 389 return ArgType::PtrTo(ArgType(Ctx.LongLongTy, "__int64")); in getArgType() [all …]
|
| H A D | PrintfFormatString.cpp | 499 return ArgType(ArgType::WIntTy, "wint_t"); in getScalarArgType() 530 return ArgType::makeSizeT(ArgType(Ctx.getSignedSizeType(), "ssize_t")); in getScalarArgType() 565 return ArgType::makeSizeT(ArgType(Ctx.getSizeType(), "size_t")); in getScalarArgType() 611 return ArgType::PtrTo(ArgType(Ctx.getIntMaxType(), "intmax_t")); in getScalarArgType() 613 return ArgType::PtrTo(ArgType(Ctx.getSignedSizeType(), "ssize_t")); in getScalarArgType() 615 return ArgType::PtrTo(ArgType(Ctx.getPointerDiffType(), "ptrdiff_t")); in getScalarArgType() 636 return ArgType(ArgType::WCStrTy, "wchar_t *"); in getScalarArgType() 639 return ArgType(ArgType::WCStrTy, "wchar_t *"); in getScalarArgType() 640 return ArgType::CStrTy; in getScalarArgType() 648 return ArgType(ArgType::WCStrTy, "wchar_t *"); 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() 590 ArgType ArgType::makeVectorType(ASTContext &C, unsigned NumElts) const { in makeVectorType() 593 return ArgType::Invalid(); in makeVectorType() 596 return ArgType(Vec, Name); in makeVectorType() 599 QualType ArgType::getRepresentativeType(ASTContext &C) const { in getRepresentativeType() 635 std::string ArgType::getRepresentativeTypeName(ASTContext &C) const { in getRepresentativeTypeName() 661 ArgType
|
| H A D | ASTDiagnostic.cpp | 590 QualType ArgType; member 661 FlatTree[CurrentNode].ToArgInfo.ArgType = ToType; in SetTypeDiff() 695 FlatTree[CurrentNode].ToArgInfo.ArgType = ToIntType; in SetIntegerDiff() 823 FromType = FlatTree[ReadNode].FromArgInfo.ArgType; in GetTypeDiff() 824 ToType = FlatTree[ReadNode].ToArgInfo.ArgType; in GetTypeDiff() 849 ToIntType = FlatTree[ReadNode].ToArgInfo.ArgType; in GetIntegerDiff() 881 ToIntType = FlatTree[ReadNode].ToArgInfo.ArgType; in GetFromDeclarationAndToIntegerDiff() 1227 QualType ArgType = Iter->getParamTypeForDecl(); in InitializeNonTypeDiffVariables() local 1229 if (ArgType->isPointerType() && in InitializeNonTypeDiffVariables() 1257 QualType ArgType = TA.getParamTypeForDecl(); in InitializeNonTypeDiffVariables() local [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULibFunc.cpp | 432 P.ArgType |= AMDGPULibFunc::UINT; in getNextParam() 436 switch (P.ArgType) { in getNextParam() 445 P.ArgType = AMDGPULibFunc::I32; in getNextParam() 655 res.ArgType = Prev.ArgType; in parseItaniumParam() 660 if (res.ArgType == 0) return false; in parseItaniumParam() 662 Prev.ArgType = res.ArgType; in parseItaniumParam() 802 P.ArgType == T.ArgType) { in findSubst() 898 P.ArgType = AMDGPULibFunc::F32; in getFromTy() 901 P.ArgType = AMDGPULibFunc::F64; in getFromTy() 904 P.ArgType = AMDGPULibFunc::F16; in getFromTy() [all …]
|
| H A D | AMDGPUPrintfRuntimeBinding.cpp | 184 Type *ArgType = Arg->getType(); in lowerPrintfForGpu() local 185 unsigned ArgSize = TD->getTypeAllocSize(ArgType); in lowerPrintfForGpu() 192 if (auto *VecType = dyn_cast<VectorType>(ArgType)) in lowerPrintfForGpu() 197 if (ArgType->isFloatingPointTy()) { in lowerPrintfForGpu() 210 ArgType = Arg->getType(); in lowerPrintfForGpu() 211 ArgSize = TD->getTypeAllocSize(ArgType); in lowerPrintfForGpu() 225 if (shouldPrintAsStr(OpConvSpecifiers[ArgCount - 1], ArgType)) in lowerPrintfForGpu() 229 << " for type: " << *ArgType << '\n'); in lowerPrintfForGpu() 337 Type *ArgType = Arg->getType(); in lowerPrintfForGpu() local 339 if (ArgType->isFPOrFPVectorTy() && !isa<VectorType>(ArgType)) { in lowerPrintfForGpu() [all …]
|
| /freebsd-14.2/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() 98 ArgType Value; in PrivateGetDIAValue() 100 return static_cast<ArgType>(Value); in PrivateGetDIAValue() 102 return ArgType(); in PrivateGetDIAValue() 105 template <typename ArgType, typename RetType> 108 ArgType Value; in PrivateGetDIAValue() 135 template <typename PrintType, typename ArgType> 139 ArgType Value; in DumpDIAValueAs() 155 template <typename ArgType> [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | FormatString.h | 254 class ArgType { 297 static ArgType Invalid() { return ArgType(InvalidTy); } in Invalid() 305 static ArgType PtrTo(const ArgType& A) { in PtrTo() 307 ArgType Res = A; in PtrTo() 313 static ArgType makeSizeT(const ArgType &A) { in makeSizeT() 314 ArgType Res = A; in makeSizeT() 321 static ArgType makePtrdiffT(const ArgType &A) { in makePtrdiffT() 322 ArgType Res = A; in makePtrdiffT() 385 ArgType getArgType(ASTContext &Ctx) const; 506 using analyze_format_string::ArgType; [all …]
|
| /freebsd-14.2/sys/contrib/dev/acpica/components/parser/ |
| H A D | psargs.c | 538 UINT32 ArgType, in AcpiPsGetNextSimpleArg() argument 546 ACPI_FUNCTION_TRACE_U32 (PsGetNextSimpleArg, ArgType); in AcpiPsGetNextSimpleArg() 549 switch (ArgType) in AcpiPsGetNextSimpleArg() 613 ACPI_ERROR ((AE_INFO, "Invalid ArgType 0x%X", ArgType)); in AcpiPsGetNextSimpleArg() 896 UINT32 ArgType, in AcpiPsGetNextArg() argument 911 AcpiUtGetArgumentTypeName (ArgType), ArgType)); in AcpiPsGetNextArg() 913 switch (ArgType) in AcpiPsGetNextArg() 930 AcpiPsGetNextSimpleArg (ParserState, ArgType, Arg); in AcpiPsGetNextArg() 1001 AcpiUtGetArgumentTypeName (ArgType), ArgType)); in AcpiPsGetNextArg() 1033 AcpiUtGetArgumentTypeName (ArgType), ArgType)); in AcpiPsGetNextArg() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | Opcodes.td | 38 class ArgType { string Name = ?; } 39 def ArgSint8 : ArgType { let Name = "int8_t"; } 40 def ArgUint8 : ArgType { let Name = "uint8_t"; } 41 def ArgSint16 : ArgType { let Name = "int16_t"; } 42 def ArgUint16 : ArgType { let Name = "uint16_t"; } 43 def ArgSint32 : ArgType { let Name = "int32_t"; } 44 def ArgUint32 : ArgType { let Name = "uint32_t"; } 45 def ArgSint64 : ArgType { let Name = "int64_t"; } 47 def ArgFloat : ArgType { let Name = "Floating"; } 48 def ArgBool : ArgType { let Name = "bool"; } [all …]
|
| /freebsd-14.2/contrib/llvm-project/lldb/utils/TableGen/ |
| H A D | LLDBOptionDefEmitter.cpp | 31 std::string ArgType; member 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-14.2/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-14.2/contrib/llvm-project/llvm/utils/TableGen/ |
| 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-14.2/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-14.2/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-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | UncountedCallArgsChecker.cpp | 83 const auto *ArgType = (*P)->getType().getTypePtrOrNull(); in visitCallExpr() local 84 if (!ArgType) in visitCallExpr() 88 std::optional<bool> IsUncounted = isUncountedPtr(ArgType); in visitCallExpr()
|
| H A D | UncountedLocalVarsChecker.cpp | 168 const auto *ArgType = V->getType().getTypePtr(); in visitVarDecl() local 169 if (!ArgType) in visitVarDecl() 172 std::optional<bool> IsUncountedPtr = isUncountedPtr(ArgType); in visitVarDecl()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/TableGen/ |
| H A D | TGParser.cpp | 1485 RecTy *ArgType = nullptr; in ParseOperation() local 1492 ArgType = DagRecTy::get(Records); in ParseOperation() 1530 ArgType = ItemType; in ParseOperation() 1537 ArgType = ItemType; in ParseOperation() 1577 if (!ArgType) { in ParseOperation() 1579 ArgType = ListType; in ParseOperation() 1689 ArgType = Resolved; in ParseOperation() 1703 ArgType = nullptr; in ParseOperation() 1724 Type = ArgType; in ParseOperation() 1730 Type = ArgType; in ParseOperation() [all …]
|
| /freebsd-14.2/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-14.2/contrib/llvm-project/compiler-rt/lib/profile/ |
| H A D | InstrProfiling.h | 144 #define VALUE_PROF_FUNC_PARAM(ArgType, ArgName, ArgLLVMType) ArgType ArgName argument
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | StdVariantChecker.cpp | 222 const auto &ArgType = Call.getArgSVal(0) in handleStdGetCall() local 228 if (!isStdVariant(ArgType)) in handleStdGetCall() 258 ArgType, TypeOut.getAsIntegral().getSExtValue())) { in handleStdGetCall()
|
| /freebsd-14.2/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()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | LibCallsShrinkWrap.cpp | 304 Type *ArgType = CI.getArgOperand(0)->getType(); in checkCandidate() local 305 if (!(ArgType->isFloatTy() || ArgType->isDoubleTy() || in checkCandidate() 306 ArgType->isX86_FP80Ty())) in checkCandidate()
|