Home
last modified time | relevance | path

Searched refs:CanQualType (Results 1 – 25 of 64) sorted by relevance

123

/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenFunctionInfo.h74 private llvm::TrailingObjects<CIRGenFunctionInfo, CanQualType> {
79 CanQualType *getArgTypes() { return getTrailingObjects(); } in getArgTypes()
80 const CanQualType *getArgTypes() const { return getTrailingObjects(); } in getArgTypes()
85 static CIRGenFunctionInfo *create(CanQualType resultType,
86 llvm::ArrayRef<CanQualType> argTypes,
95 using const_arg_iterator = const CanQualType *;
96 using arg_iterator = CanQualType *;
101 CanQualType resultType, in Profile()
102 llvm::ArrayRef<CanQualType> argTypes) { in Profile()
105 for (const CanQualType &arg : argTypes) in Profile()
[all …]
H A DCIRGenCall.cpp24 CIRGenFunctionInfo::create(CanQualType resultType, in create()
25 llvm::ArrayRef<CanQualType> argTypes, in create()
29 totalSizeToAlloc<CanQualType>(argTypes.size() + 1)); in create()
50 for (const CanQualType &argType : fi.requiredArguments()) in getFunctionType()
146 SmallVectorImpl<CanQualType> &prefix, in appendParameterTypes()
162 llvm::SmallVector<CanQualType, 16> argTypes; in arrangeCXXStructorDeclaration()
186 CanQualType resultType = theCXXABI.hasThisReturn(gd) ? argTypes.front() in arrangeCXXStructorDeclaration()
204 CanQualType CIRGenTypes::deriveThisType(const CXXRecordDecl *rd, in deriveThisType()
220 return getASTContext().getPointerType(CanQualType::CreateUnsafe(recTy)); in deriveThisType()
226 arrangeCIRFunctionInfo(CIRGenTypes &cgt, SmallVectorImpl<CanQualType> &prefix, in arrangeCIRFunctionInfo()
[all …]
H A DCIRGenTypes.h91 clang::CanQualType deriveThisType(const clang::CXXRecordDecl *rd,
192 arrangeCIRFunctionInfo(CanQualType returnType,
193 llvm::ArrayRef<CanQualType> argTypes,
H A DCIRGenTypes.cpp569 CIRGenTypes::arrangeCIRFunctionInfo(CanQualType returnType, in arrangeCIRFunctionInfo()
570 llvm::ArrayRef<CanQualType> argTypes, in arrangeCIRFunctionInfo()
573 [](CanQualType t) { return t.isCanonicalAsParam(); })); in arrangeCIRFunctionInfo()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DTypeOrdering.h56 template<> struct DenseMapInfo<clang::CanQualType> {
57 static inline clang::CanQualType getEmptyKey() {
58 return clang::CanQualType();
61 static inline clang::CanQualType getTombstoneKey() {
62 using clang::CanQualType;
63 return CanQualType::getFromOpaquePtr(reinterpret_cast<clang::Type *>(-1));
66 static unsigned getHashValue(clang::CanQualType Val) {
71 static bool isEqual(clang::CanQualType LHS, clang::CanQualType RHS) {
H A DASTContext.h1212 CanQualType VoidTy;
1213 CanQualType BoolTy;
1214 CanQualType CharTy;
1215 CanQualType WCharTy; // [C++ 3.9.1p5].
1216 CanQualType WideCharTy; // Same as WCharTy in C++, integer type in C99.
1217 CanQualType WIntTy; // [C99 7.24.1], integer type unchanged by default promotions.
1218 CanQualType Char8Ty; // [C++20 proposal]
1219 CanQualType Char16Ty; // [C++0x 3.9.1p5], integer type in C99.
1220 CanQualType Char32Ty; // [C++0x 3.9.1p5], integer type in C99.
1221 CanQualType SignedCharTy, ShortTy, IntTy, LongTy, LongLongTy, Int128Ty;
[all …]
H A DSYCLKernelInfo.h24 SYCLKernelInfo(CanQualType KernelNameType, in SYCLKernelInfo()
30 CanQualType getKernelNameType() const { return KernelNameType; } in getKernelNameType()
39 CanQualType KernelNameType;
H A DCanonicalType.h213 using CanQualType = CanQual<Type>; variable
215 inline CanQualType Type::getCanonicalTypeUnqualified() const { in getCanonicalTypeUnqualified()
216 return CanQualType::CreateUnsafe(getCanonicalTypeInternal()); in getCanonicalTypeUnqualified()
220 CanQualType T) {
230 CanQualType Accessor() const { \
231 return CanQualType::CreateUnsafe(this->getTypePtr()->Accessor()); \
408 CanQualType,
410 CanProxy<Type>, CanQualType> {
415 CanQualType operator*() const { return CanQualType::CreateUnsafe(*this->I); }
512 CanQualType getParamType(unsigned i) const {
[all …]
H A DDeclarationName.h42 using CanQualType = CanQual<Type>; variable
656 DeclarationName getCXXConstructorName(CanQualType Ty);
659 DeclarationName getCXXDestructorName(CanQualType Ty);
665 DeclarationName getCXXConversionFunctionName(CanQualType Ty);
674 CanQualType Ty);
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaFixItUtils.h34 static bool compareTypesSimple(CanQualType From,
35 CanQualType To,
51 typedef bool (*TypeComparisonFuncTy) (const CanQualType FromTy,
52 const CanQualType ToTy,
/freebsd/contrib/llvm-project/clang/include/clang/CodeGen/
H A DCodeGenABITypes.h79 arrangeCXXMethodCall(CodeGenModule &CGM, CanQualType returnType,
80 ArrayRef<CanQualType> argTypes, FunctionType::ExtInfo info,
85 CodeGenModule &CGM, CanQualType returnType, ArrayRef<CanQualType> argTypes,
92 arrangeFreeFunctionCall(CodeGenModule &CGM, CanQualType returnType, in arrangeFreeFunctionCall()
93 ArrayRef<CanQualType> argTypes, in arrangeFreeFunctionCall()
H A DCGFunctionInfo.h563 CanQualType type;
660 ArrayRef<ExtParameterInfo> paramInfos, CanQualType resultType,
661 ArrayRef<CanQualType> argTypes, RequiredArgs required);
746 CanQualType getReturnType() const { return getArgsBuffer()[0].type; } in getReturnType()
811 RequiredArgs required, CanQualType resultType, in Profile()
812 ArrayRef<CanQualType> argTypes) { in Profile()
831 for (const CanQualType &argType : argTypes) in Profile()
H A DSwiftCallingConv.h168 ABIArgInfo classifyReturnType(CodeGenModule &CGM, CanQualType type);
171 ABIArgInfo classifyArgumentType(CodeGenModule &CGM, CanQualType type);
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTypes.h42 typedef CanQual<Type> CanQualType; typedef
114 CanQualType DeriveThisType(const CXXRecordDecl *RD, const CXXMethodDecl *MD);
227 arrangeBuiltinFunctionDeclaration(CanQualType resultType,
228 ArrayRef<CanQualType> argTypes);
283 CanQualType returnType, FnInfoOpts opts, ArrayRef<CanQualType> argTypes,
H A DCodeGenABITypes.cpp61 CodeGenModule &CGM, CanQualType returnType, ArrayRef<CanQualType> argTypes, in arrangeCXXMethodCall()
71 CodeGenModule &CGM, CanQualType returnType, ArrayRef<CanQualType> argTypes, in arrangeFreeFunctionCall()
H A DCodeGenSYCL.cpp56 CanQualType KernelNameType = in EmitSYCLKernelCaller()
H A DCGCall.cpp126 CanQualType CodeGenTypes::DeriveThisType(const CXXRecordDecl *RD, in DeriveThisType()
137 return Context.getPointerType(CanQualType::CreateUnsafe(RecTy)); in DeriveThisType()
151 static CanQualType GetReturnType(QualType RetTy) { in GetReturnType()
195 const CodeGenTypes &CGT, SmallVectorImpl<CanQualType> &prefix, in appendParameterTypes()
231 SmallVectorImpl<CanQualType> &prefix, in arrangeLLVMFunctionInfo()
236 CanQualType resultType = FTP->getReturnType().getUnqualifiedType(); in arrangeLLVMFunctionInfo()
244 using CanQualTypeList = SmallVector<CanQualType, 16>;
359 static void setCUDAKernelCallingConvention(CanQualType &FTy, CodeGenModule &CGM, in setCUDAKernelCallingConvention()
377 CanQualType FT = GetFormalType(MD).getAs<Type>(); in arrangeCXXMethodDeclaration()
442 CanQualType resultType = getCXXABI().HasThisReturn(GD) ? argTypes.front() in arrangeCXXStructorDeclaration()
[all …]
H A DSwiftCallingConv.cpp813 static ABIArgInfo classifyType(CodeGenModule &CGM, CanQualType type, in classifyType()
861 ABIArgInfo swiftcall::classifyReturnType(CodeGenModule &CGM, CanQualType type) { in classifyReturnType()
866 CanQualType type) { in classifyArgumentType()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaFixItUtils.cpp22 bool ConversionFixItGenerator::compareTypesSimple(CanQualType From, in compareTypesSimple()
23 CanQualType To, in compareTypesSimple()
41 const CanQualType FromUnq = From.getUnqualifiedType(); in compareTypesSimple()
42 const CanQualType ToUnq = To.getUnqualifiedType(); in compareTypesSimple()
57 const CanQualType FromQTy = S.Context.getCanonicalType(FromTy); in tryToFixConversion()
58 const CanQualType ToQTy = S.Context.getCanonicalType(ToTy); in tryToFixConversion()
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DSmartPointerAccessorCaching.cpp27 CanQualType getLikeReturnType(QualType RT) { in getLikeReturnType()
36 CanQualType valueLikeReturnType(QualType RT) { in valueLikeReturnType()
45 CanQualType pointerLikeReturnType(const CXXRecordDecl &RD) { in pointerLikeReturnType()
48 CanQualType StarReturnType, ArrowReturnType; in pointerLikeReturnType()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclarationName.cpp302 DeclarationName DeclarationNameTable::getCXXConstructorName(CanQualType Ty) { in getCXXConstructorName()
318 DeclarationName DeclarationNameTable::getCXXDestructorName(CanQualType Ty) { in getCXXDestructorName()
335 DeclarationNameTable::getCXXConversionFunctionName(CanQualType Ty) { in getCXXConversionFunctionName()
352 CanQualType Ty) { in getCXXSpecialName()
H A DDeclCXX.cpp215 llvm::SmallPtrSet<CanQualType, 8> SeenVBaseTypes; in setBases()
1863 static CanQualType GetConversionType(ASTContext &Context, NamedDecl *Conv) { in GetConversionType()
1885 const llvm::SmallPtrSet<CanQualType, 8> &ParentHiddenTypes, in CollectVisibleConversions() argument
1891 const llvm::SmallPtrSet<CanQualType, 8> *HiddenTypes = &ParentHiddenTypes; in CollectVisibleConversions()
1892 llvm::SmallPtrSet<CanQualType, 8> HiddenTypesBuffer; in CollectVisibleConversions()
1903 CanQualType ConvType(GetConversionType(Context, I.getDecl())); in CollectVisibleConversions()
1958 llvm::SmallPtrSet<CanQualType, 8> HiddenTypes; in CollectVisibleConversions()
3037 CanQualType PointeeType in isCopyOrMoveConstructor()
3039 CanQualType ClassTy in isCopyOrMoveConstructor()
3076 CanQualType ParamType = Context.getCanonicalType(Param->getType()); in isSpecializationCopyingObject()
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DStringChecker.cpp28 mutable CanQualType SizeTypeTy;
H A DVLASizeChecker.cpp95 CanQualType SizeTy = Ctx.getSizeType(); in checkVLA()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DMemRegion.h664 CanQualType locTy;
666 BlockCodeRegion(const BlockDecl *bd, CanQualType lTy, in BlockCodeRegion()
675 CanQualType, const AnalysisDeclContext*,
1609 CanQualType locTy,

123