Home
last modified time | relevance | path

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

123

/netbsd/external/apache2/llvm/dist/clang/lib/AST/
H A DScanfFormatString.cpp240 return ArgType::PtrTo(ArgType::AnyCharTy); in getArgType()
249 return ArgType::PtrTo(ArgType(Ctx.LongLongTy, "__int64")); in getArgType()
293 return ArgType::PtrTo(ArgType(Ctx.getSizeType(), "size_t")); in getArgType()
336 return ArgType::PtrTo(ArgType::AnyCharTy); in getArgType()
342 return ArgType::PtrTo(ArgType::CStrTy); in getArgType()
345 return ArgType::PtrTo(ArgType::AnyCharTy); in getArgType()
359 return ArgType::PtrTo(ArgType(ArgType::WCStrTy, "wchar_t *")); in getArgType()
362 return ArgType::PtrTo(ArgType::AnyCharTy); in getArgType()
370 return ArgType::PtrTo(ArgType::CPointerTy); in getArgType()
387 return ArgType::PtrTo(ArgType(Ctx.LongLongTy, "__int64")); in getArgType()
[all …]
H A DPrintfFormatString.cpp496 return ArgType(ArgType::WIntTy, "wint_t"); in getScalarArgType()
527 return ArgType::makeSizeT(ArgType(Ctx.getSignedSizeType(), "ssize_t")); in getScalarArgType()
562 return ArgType::makeSizeT(ArgType(Ctx.getSizeType(), "size_t")); in getScalarArgType()
608 return ArgType::PtrTo(ArgType(Ctx.getIntMaxType(), "intmax_t")); in getScalarArgType()
610 return ArgType::PtrTo(ArgType(Ctx.getSignedSizeType(), "ssize_t")); in getScalarArgType()
612 return ArgType::PtrTo(ArgType(Ctx.getPointerDiffType(), "ptrdiff_t")); in getScalarArgType()
633 return ArgType(ArgType::WCStrTy, "wchar_t *"); in getScalarArgType()
636 return ArgType(ArgType::WCStrTy, "wchar_t *"); in getScalarArgType()
637 return ArgType::CStrTy; in getScalarArgType()
645 return ArgType(ArgType::WCStrTy, "wchar_t *"); in getScalarArgType()
[all …]
H A DFormatString.cpp19 using clang::analyze_format_string::ArgType;
323 clang::analyze_format_string::ArgType::MatchKind
324 ArgType::matchesType(ASTContext &C, QualType argTy) const { in matchesType()
495 ArgType ArgType::makeVectorType(ASTContext &C, unsigned NumElts) const { in makeVectorType()
498 return ArgType::Invalid(); in makeVectorType()
501 return ArgType(Vec, Name); in makeVectorType()
504 QualType ArgType::getRepresentativeType(ASTContext &C) const { in getRepresentativeType()
540 std::string ArgType::getRepresentativeTypeName(ASTContext &C) const { in getRepresentativeTypeName()
566 ArgType
H A DASTDiagnostic.cpp557 QualType ArgType; member
628 FlatTree[CurrentNode].ToArgInfo.ArgType = ToType; in SetTypeDiff()
662 FlatTree[CurrentNode].ToArgInfo.ArgType = ToIntType; in SetIntegerDiff()
790 FromType = FlatTree[ReadNode].FromArgInfo.ArgType; in GetTypeDiff()
791 ToType = FlatTree[ReadNode].ToArgInfo.ArgType; in GetTypeDiff()
816 ToIntType = FlatTree[ReadNode].ToArgInfo.ArgType; in GetIntegerDiff()
848 ToIntType = FlatTree[ReadNode].ToArgInfo.ArgType; in GetFromDeclarationAndToIntegerDiff()
1191 QualType ArgType = Iter->getParamTypeForDecl(); in InitializeNonTypeDiffVariables() local
1193 if (ArgType->isPointerType() && in InitializeNonTypeDiffVariables()
1221 QualType ArgType = TA.getParamTypeForDecl(); in InitializeNonTypeDiffVariables() local
[all …]
/netbsd/external/apache2/llvm/dist/clang/lib/AST/Interp/
H A DOpcodes.td34 class ArgType { string Name = ?; }
35 def ArgSint8 : ArgType { let Name = "int8_t"; }
36 def ArgUint8 : ArgType { let Name = "uint8_t"; }
37 def ArgSint16 : ArgType { let Name = "int16_t"; }
38 def ArgUint16 : ArgType { let Name = "uint16_t"; }
39 def ArgSint32 : ArgType { let Name = "int32_t"; }
40 def ArgUint32 : ArgType { let Name = "uint32_t"; }
41 def ArgSint64 : ArgType { let Name = "int64_t"; }
42 def ArgUint64 : ArgType { let Name = "uint64_t"; }
43 def ArgBool : ArgType { let Name = "bool"; }
[all …]
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPULibFunc.cpp380 P.ArgType = AMDGPULibFunc::U32; break; in getNextParam()
388 P.ArgType = AMDGPULibFunc::U64; break; in getNextParam()
425 P.ArgType |= AMDGPULibFunc::UINT; in getNextParam()
429 switch (P.ArgType) { in getNextParam()
438 P.ArgType = AMDGPULibFunc::I32; in getNextParam()
637 res.ArgType = Prev.ArgType; in parseItaniumParam()
642 if (res.ArgType == 0) return false; in parseItaniumParam()
644 Prev.ArgType = res.ArgType; in parseItaniumParam()
783 P.ArgType == T.ArgType) { in findSubst()
843 if (Ptr.ArgType) Str.push_back(Ptr); in operator ()()
[all …]
H A DAMDGPUPrintfRuntimeBinding.cpp210 Type *ArgType = Arg->getType(); in lowerPrintfForGpu() local
211 unsigned ArgSize = TD->getTypeAllocSizeInBits(ArgType); in lowerPrintfForGpu()
232 ArgType = Arg->getType(); in lowerPrintfForGpu()
233 ArgSize = TD->getTypeAllocSizeInBits(ArgType); in lowerPrintfForGpu()
402 Type *ArgType = Arg->getType(); in lowerPrintfForGpu() local
404 if (ArgType->isFPOrFPVectorTy() && !isa<VectorType>(ArgType)) { in lowerPrintfForGpu()
471 } else if (isa<FixedVectorType>(ArgType)) { in lowerPrintfForGpu()
474 uint32_t EleSize = ArgType->getScalarSizeInBits(); in lowerPrintfForGpu()
481 ArgType = Arg->getType(); in lowerPrintfForGpu()
487 IType = Type::getInt64Ty(ArgType->getContext()); in lowerPrintfForGpu()
[all …]
/netbsd/external/apache2/llvm/dist/clang/include/clang/AST/
H A DFormatString.h249 class ArgType {
286 static ArgType Invalid() { return ArgType(InvalidTy); } in Invalid()
294 static ArgType PtrTo(const ArgType& A) { in PtrTo()
296 ArgType Res = A; in PtrTo()
302 static ArgType makeSizeT(const ArgType &A) { in makeSizeT()
303 ArgType Res = A; in makeSizeT()
310 static ArgType makePtrdiffT(const ArgType &A) { in makePtrdiffT()
311 ArgType Res = A; in makePtrdiffT()
374 ArgType getArgType(ASTContext &Ctx) const;
495 using analyze_format_string::ArgType;
[all …]
/netbsd/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/DIA/
H A DDIAFrameData.cpp18 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 DDIASectionContrib.cpp30 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 DDIARawSymbol.cpp95 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 …]
/netbsd/sys/external/bsd/acpica/dist/parser/
H A Dpsargs.c430 UINT32 ArgType, in AcpiPsGetNextSimpleArg() argument
438 ACPI_FUNCTION_TRACE_U32 (PsGetNextSimpleArg, ArgType); in AcpiPsGetNextSimpleArg()
441 switch (ArgType) in AcpiPsGetNextSimpleArg()
505 ACPI_ERROR ((AE_INFO, "Invalid ArgType 0x%X", ArgType)); in AcpiPsGetNextSimpleArg()
788 UINT32 ArgType, in AcpiPsGetNextArg() argument
803 AcpiUtGetArgumentTypeName (ArgType), ArgType)); in AcpiPsGetNextArg()
805 switch (ArgType) in AcpiPsGetNextArg()
822 AcpiPsGetNextSimpleArg (ParserState, ArgType, Arg); in AcpiPsGetNextArg()
893 AcpiUtGetArgumentTypeName (ArgType), ArgType)); in AcpiPsGetNextArg()
925 AcpiUtGetArgumentTypeName (ArgType), ArgType)); in AcpiPsGetNextArg()
[all …]
/netbsd/sys/external/bsd/acpica/dist/namespace/
H A Dnsarguments.c73 UINT8 ArgType; in AcpiNsCheckArgumentTypes() local
97 ArgType = METHOD_GET_NEXT_TYPE (ArgTypeList); in AcpiNsCheckArgumentTypes()
102 if ((UserArgType != ArgType) && (ArgType != ACPI_TYPE_ANY)) in AcpiNsCheckArgumentTypes()
108 AcpiUtGetTypeName (ArgType))); in AcpiNsCheckArgumentTypes()
/netbsd/sys/external/bsd/acpica/dist/utilities/
H A Dutdecode.c654 UINT32 ArgType) in AcpiUtGetArgumentTypeName() argument
657 if (ArgType > ARGP_MAX) in AcpiUtGetArgumentTypeName()
662 return (AcpiGbl_ArgumentType[ArgType]); in AcpiUtGetArgumentTypeName()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFixFunctionBitcasts.cpp143 Type *ArgType = AI->getType(); in createWrapper() local
146 if (ArgType == ParamType) { in createWrapper()
149 if (CastInst::isBitOrNoopPointerCastable(ArgType, ParamType, DL)) { in createWrapper()
154 } else if (ArgType->isStructTy() || ParamType->isStructTy()) { in createWrapper()
162 << *ParamType << " Got: " << *ArgType << "\n"); in createWrapper()
/netbsd/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DUncountedCallArgsChecker.cpp84 const auto *ArgType = (*P)->getType().getTypePtrOrNull(); in visitCallExpr() local
85 if (!ArgType) in visitCallExpr()
89 Optional<bool> IsUncounted = isUncountedPtr(ArgType); in visitCallExpr()
H A DUncountedLocalVarsChecker.cpp168 const auto *ArgType = V->getType().getTypePtr(); in visitVarDecl() local
169 if (!ArgType) in visitVarDecl()
172 Optional<bool> IsUncountedPtr = isUncountedPtr(ArgType); in visitVarDecl()
/netbsd/external/apache2/llvm/dist/llvm/lib/TableGen/
H A DTGParser.cpp1140 RecTy *ArgType = nullptr; in ParseOperation() local
1147 ArgType = DagRecTy::get(); in ParseOperation()
1159 ArgType = IntRecTy::get(); in ParseOperation()
1172 ArgType = ItemType; in ParseOperation()
1179 ArgType = StringRecTy::get(); in ParseOperation()
1215 if (!ArgType) { in ParseOperation()
1217 ArgType = ListType; in ParseOperation()
1221 if (!isa<ListRecTy>(ArgType)) { in ParseOperation()
1317 ArgType = Resolved; in ParseOperation()
1343 Type = ArgType; in ParseOperation()
[all …]
/netbsd/sys/external/bsd/compiler_rt/dist/lib/profile/
H A DInstrProfiling.h74 #define VALUE_PROF_FUNC_PARAM(ArgType, ArgName, ArgLLVMType) ArgType ArgName argument
/netbsd/sys/external/bsd/acpica/dist/compiler/
H A Daslwalks.c177 UINT32 ArgType; in AnOperandTypecheckWalkEnd() local
367 while ((ArgType = GET_CURRENT_ARG_TYPE (RuntimeArgTypes))) in AnOperandTypecheckWalkEnd()
370 RuntimeArgTypes2 |= ArgType; in AnOperandTypecheckWalkEnd()
376 while ((ArgType = GET_CURRENT_ARG_TYPE (RuntimeArgTypes2))) in AnOperandTypecheckWalkEnd()
380 RequiredBtypes = AnMapArgTypeToBtype (ArgType); in AnOperandTypecheckWalkEnd()
399 switch (ArgType) in AnOperandTypecheckWalkEnd()
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DReplaceWithVeclib.cpp110 auto *ArgType = Arg.value()->getType(); in replaceWithCallToVeclib() local
114 ScalarTypes.push_back(ArgType); in replaceWithCallToVeclib()
118 auto *VectorArgTy = dyn_cast<VectorType>(ArgType); in replaceWithCallToVeclib()
/netbsd/sys/external/bsd/acpica/dist/debugger/
H A Ddbtest.c1110 UINT8 ArgType; in AcpiDbEvaluateOnePredefinedName() local
1160 ArgType = METHOD_GET_NEXT_TYPE (ArgTypeList); in AcpiDbEvaluateOnePredefinedName()
1161 ThisParam->Type = ArgType; in AcpiDbEvaluateOnePredefinedName()
1163 switch (ArgType) in AcpiDbEvaluateOnePredefinedName()
1193 Pathname, ArgType); in AcpiDbEvaluateOnePredefinedName()
/netbsd/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp3810 ArgType->isFunctionType()) in ResolveOverloadForDeduction()
3811 ArgType = S.Context.getPointerType(ArgType); in ResolveOverloadForDeduction()
3834 Match = ArgType; in ResolveOverloadForDeduction()
3868 if (ArgType.isNull()) in AdjustFunctionParmAndArgTypesForDeduction()
3883 ArgType = S.Context.getAddrSpaceQualType(ArgType, LangAS::opencl_generic); in AdjustFunctionParmAndArgTypesForDeduction()
3884 ArgType = S.Context.getLValueReferenceType(ArgType); in AdjustFunctionParmAndArgTypesForDeduction()
3892 if (ArgType->isArrayType()) in AdjustFunctionParmAndArgTypesForDeduction()
3893 ArgType = S.Context.getArrayDecayedType(ArgType); in AdjustFunctionParmAndArgTypesForDeduction()
3898 ArgType = S.Context.getPointerType(ArgType); in AdjustFunctionParmAndArgTypesForDeduction()
3902 ArgType = ArgType.getUnqualifiedType(); in AdjustFunctionParmAndArgTypesForDeduction()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DLibCallsShrinkWrap.cpp310 Type *ArgType = CI.getArgOperand(0)->getType(); in checkCandidate() local
311 if (!(ArgType->isFloatTy() || ArgType->isDoubleTy() || in checkCandidate()
312 ArgType->isX86_FP80Ty())) in checkCandidate()
/netbsd/sys/external/bsd/acpica/dist/include/
H A Dacparser.h105 UINT32 ArgType,
124 UINT32 ArgType,

123