Home
last modified time | relevance | path

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

123

/openbsd-src/gnu/llvm/clang/lib/AST/
H A DScanfFormatString.cpp18 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 DPrintfFormatString.cpp20 using clang::analyze_format_string::ArgType;
491 ArgType PrintfSpecifier::getScalarArgType(ASTContext &Ctx, in getScalarArgType()
499 return ArgType(ArgType::WIntTy, "wint_t"); in getScalarArgType()
505 return ArgType::Invalid(); in getScalarArgType()
517 return ArgType(Ctx.IntTy, "__int32"); in getScalarArgType()
519 return ArgType::AnyCharTy; in getScalarArgType()
526 return ArgType(Ctx.LongLongTy, "__int64"); in getScalarArgType()
528 return ArgType(Ctx.getIntMaxType(), "intmax_t"); in getScalarArgType()
530 return ArgType::makeSizeT(ArgType(Ctx.getSignedSizeType(), "ssize_t")); in getScalarArgType()
533 ? ArgType(Ctx.LongLongTy, "__int64") in getScalarArgType()
[all …]
H A DFormatString.cpp20 using clang::analyze_format_string::ArgType;
323 clang::analyze_format_string::ArgType::MatchKind
324 ArgType::matchesType(ASTContext &C, QualType argTy) const { in matchesType()
560 ArgType ArgType::makeVectorType(ASTContext &C, unsigned NumElts) const { in makeVectorType()
563 return ArgType::Invalid(); in makeVectorType()
566 return ArgType(Vec, Name); in makeVectorType()
569 QualType ArgType::getRepresentativeType(ASTContext &C) const { in getRepresentativeType()
605 std::string ArgType::getRepresentativeTypeName(ASTContext &C) const { in getRepresentativeTypeName()
631 ArgType
H A DASTDiagnostic.cpp589 QualType ArgType; member
659 FlatTree[CurrentNode].FromArgInfo.ArgType = FromType; in SetTypeDiff()
660 FlatTree[CurrentNode].ToArgInfo.ArgType = ToType; in SetTypeDiff()
693 FlatTree[CurrentNode].FromArgInfo.ArgType = FromIntType; in SetIntegerDiff()
694 FlatTree[CurrentNode].ToArgInfo.ArgType = ToIntType; in SetIntegerDiff()
729 FlatTree[CurrentNode].ToArgInfo.ArgType = ToIntType; in SetFromDeclarationAndToIntegerDiff()
742 FlatTree[CurrentNode].FromArgInfo.ArgType = FromIntType; in SetFromIntegerAndToDeclarationDiff()
822 FromType = FlatTree[ReadNode].FromArgInfo.ArgType; in GetTypeDiff()
823 ToType = FlatTree[ReadNode].ToArgInfo.ArgType; in GetTypeDiff()
847 FromIntType = FlatTree[ReadNode].FromArgInfo.ArgType; in GetIntegerDiff()
[all …]
/openbsd-src/gnu/llvm/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()
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 …]
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPULibFunc.cpp387 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 DAMDGPUPrintfRuntimeBinding.cpp217 Type *ArgType = Arg->getType(); in lowerPrintfForGpu() local
218 unsigned ArgSize = TD->getTypeAllocSize(ArgType); in lowerPrintfForGpu()
225 if (auto *VecType = dyn_cast<VectorType>(ArgType)) in lowerPrintfForGpu()
230 if (ArgType->isFloatingPointTy()) { in lowerPrintfForGpu()
233 IntegerType::getIntNTy(Ctx, ArgType->getPrimitiveSizeInBits())); in lowerPrintfForGpu()
243 ArgType = Arg->getType(); in lowerPrintfForGpu()
244 ArgSize = TD->getTypeAllocSize(ArgType); in lowerPrintfForGpu()
258 if (shouldPrintAsStr(OpConvSpecifiers[ArgCount - 1], ArgType)) in lowerPrintfForGpu()
262 << " for type: " << *ArgType << '\n'); in lowerPrintfForGpu()
370 Type *ArgType = Arg->getType(); in lowerPrintfForGpu() local
[all …]
H A DAMDGPULegalizerInfo.h102 AMDGPUFunctionArgInfo::PreloadedValue ArgType) const;
106 AMDGPUFunctionArgInfo::PreloadedValue ArgType) const;
109 unsigned Dim, AMDGPUFunctionArgInfo::PreloadedValue ArgType) const;
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DFormatString.h256 class ArgType {
295 ArgType(Kind K = UnknownTy, const char *N = nullptr) : K(K), Name(N) {} in K()
296 ArgType(QualType T, const char *N = nullptr) : K(SpecificTy), T(T), Name(N) {} in K()
297 ArgType(CanQualType T) : K(SpecificTy), T(T) {} in ArgType() function
299 static ArgType Invalid() { return ArgType(InvalidTy); } in Invalid()
307 static ArgType PtrTo(const ArgType& A) { in PtrTo()
309 ArgType Res = A; in PtrTo()
315 static ArgType makeSizeT(const ArgType &A) { in makeSizeT()
316 ArgType Res = A; in makeSizeT()
323 static ArgType makePtrdiffT(const ArgType &A) { in makePtrdiffT()
[all …]
/openbsd-src/gnu/llvm/lldb/utils/TableGen/
H A DLLDBOptionDefEmitter.cpp31 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()
132 if (!O.ArgType.empty()) { in emitOption()
133 OS << O.ArgType; in emitOption()
/openbsd-src/gnu/llvm/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 …]
H A DByteCodeExprGen.cpp364 QualType ArgType = E->getTypeOfArgument(); in VisitUnaryExprOrTypeTraitExpr() local
366 if (ArgType->isVoidType() || ArgType->isFunctionType()) in VisitUnaryExprOrTypeTraitExpr()
369 if (ArgType->isDependentType() || !ArgType->isConstantSizeType()) in VisitUnaryExprOrTypeTraitExpr()
372 Size = ASTCtx.getTypeSizeInChars(ArgType); in VisitUnaryExprOrTypeTraitExpr()
382 QualType ArgType = E->getTypeOfArgument(); in VisitUnaryExprOrTypeTraitExpr() local
384 Size = AlignOfType(ArgType, ASTCtx, Kind); in VisitUnaryExprOrTypeTraitExpr()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DUncountedCallArgsChecker.cpp84 const auto *ArgType = (*P)->getType().getTypePtrOrNull(); in visitCallExpr() local
85 if (!ArgType) in visitCallExpr()
89 std::optional<bool> IsUncounted = isUncountedPtr(ArgType); in visitCallExpr()
H A DUncountedLocalVarsChecker.cpp169 const auto *ArgType = V->getType().getTypePtr(); in visitVarDecl() local
170 if (!ArgType) in visitVarDecl()
173 std::optional<bool> IsUncountedPtr = isUncountedPtr(ArgType); in visitVarDecl()
/openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFixFunctionBitcasts.cpp135 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()
/openbsd-src/gnu/llvm/llvm/lib/TableGen/
H A DTGParser.cpp1219 RecTy *ArgType = nullptr; in ParseOperation() local
1226 ArgType = DagRecTy::get(Records); in ParseOperation()
1239 ArgType = IntRecTy::get(Records); in ParseOperation()
1252 ArgType = ItemType; in ParseOperation()
1259 ArgType = ItemType; in ParseOperation()
1263 ArgType = StringRecTy::get(Records); in ParseOperation()
1288 InitList.push_back(ParseValue(CurRec, ArgType)); in ParseOperation()
1299 if (!ArgType) { in ParseOperation()
1301 ArgType = ListType; in ParseOperation()
1305 if (!isa<ListRecTy>(ArgType)) { in ParseOperation()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DReplaceWithVeclib.cpp109 auto *ArgType = Arg.value()->getType(); in replaceWithCallToVeclib() local
113 ScalarTypes.push_back(ArgType); in replaceWithCallToVeclib()
117 auto *VectorArgTy = dyn_cast<VectorType>(ArgType); in replaceWithCallToVeclib()
/openbsd-src/gnu/llvm/compiler-rt/lib/profile/
H A DInstrProfiling.h131 #define VALUE_PROF_FUNC_PARAM(ArgType, ArgName, ArgLLVMType) ArgType ArgName argument
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVType.cpp422 LVType *ArgType = getTypeAsType(); in encodeTemplateArgument() local
425 if (ArgType->getIsTypedef()) { in encodeTemplateArgument()
426 LVObject *BaseType = ArgType->getUnderlyingType(); in encodeTemplateArgument()
429 Name.append(std::string(ArgType->getName())); in encodeTemplateArgument()
/openbsd-src/gnu/llvm/lldb/source/Commands/
H A DOptionsBase.td144 string ArgType = type;
150 string ArgType = type;
155 string ArgType = type;
160 string ArgType = type;
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DLibCallsShrinkWrap.cpp311 Type *ArgType = CI.getArgOperand(0)->getType(); in checkCandidate() local
312 if (!(ArgType->isFloatTy() || ArgType->isDoubleTy() || in checkCandidate()
313 ArgType->isX86_FP80Ty())) in checkCandidate()
/openbsd-src/gnu/llvm/clang/utils/TableGen/
H A DMveEmitter.cpp794 const Type *ArgType; member
926 unsigned ArgTypeBits = IA.ArgType->sizeInBits(); in genSema()
940 tmp = utostr(IA.ArgType->sizeInBits()); in genSema()
1041 Result::Ptr getCodeForArg(unsigned ArgNum, const Type *ArgType, bool Promote,
1310 Result::Ptr EmitterBase::getCodeForArg(unsigned ArgNum, const Type *ArgType, in getCodeForArg() argument
1313 ArgNum, isa<PointerType>(ArgType), Immediate); in getCodeForArg()
1316 if (const auto *ST = dyn_cast<ScalarType>(ArgType)) { in getCodeForArg()
1319 } else if (const auto *PT = dyn_cast<PredicateType>(ArgType)) { in getCodeForArg()
1388 const Type *ArgType = ME.getType(TypeInit, Param); in ACLEIntrinsic() local
1389 ArgTypes.push_back(ArgType); in ACLEIntrinsic()
[all …]
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp1144 QualType ArgType) { in hasInconsistentOrSupersetQualifiersOf() argument
1146 Qualifiers ArgQs = ArgType.getQualifiers(); in hasInconsistentOrSupersetQualifiersOf()
3794 QualType ArgType = GetTypeOfFunction(S, R, Fn); in ResolveOverloadForDeduction() local
3795 if (ArgType.isNull()) continue; in ResolveOverloadForDeduction()
3799 ArgType->isFunctionType()) in ResolveOverloadForDeduction()
3800 ArgType = S.Context.getPointerType(ArgType); in ResolveOverloadForDeduction()
3819 ArgType, Info, Deduced, TDF); in ResolveOverloadForDeduction()
3823 Match = ArgType; in ResolveOverloadForDeduction()
3837 QualType &ParamType, QualType &ArgType, Expr *Arg, unsigned &TDF) { in AdjustFunctionParmAndArgTypesForDeduction() argument
3853 if (ArgType == S.Context.OverloadTy) { in AdjustFunctionParmAndArgTypesForDeduction()
[all …]

123