Home
last modified time | relevance | path

Searched refs:ThisType (Results 1 – 23 of 23) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DThunk.h173 const Type *ThisType; member
175 ThunkInfo() : Method(nullptr), ThisType(nullptr) {} in ThunkInfo()
179 : This(This), Return(Return), Method(Method), ThisType(ThisT) {} in This()
183 LHS.Method == RHS.Method && LHS.ThisType == RHS.ThisType;
/freebsd/sys/contrib/dev/acpica/components/executer/
H A Dexresop.c168 ACPI_OBJECT_TYPE ThisType,
189 ACPI_OBJECT_TYPE ThisType, in AcpiExCheckObjectType() argument
209 if ((ThisType == ACPI_TYPE_INTEGER) && in AcpiExCheckObjectType()
217 if (TypeNeeded != ThisType) in AcpiExCheckObjectType()
222 AcpiUtGetTypeName (ThisType), Object)); in AcpiExCheckObjectType()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DSmartPtrModeling.cpp384 QualType ThisType = cast<CXXMethodDecl>(Call.getDecl())->getThisType(); in evalCall() local
390 auto NullVal = C.getSValBuilder().makeNullWithType(ThisType); in evalCall()
646 QualType ThisType = cast<CXXMethodDecl>(Call.getDecl())->getThisType(); in handleRelease() local
647 auto ValueToUpdate = C.getSValBuilder().makeNullWithType(ThisType); in handleRelease()
745 QualType ThisType = cast<CXXMethodDecl>(Call.getDecl())->getThisType(); in handleAssignOp() local
753 auto NullVal = C.getSValBuilder().makeNullWithType(ThisType); in handleAssignOp()
783 QualType ThisType = cast<CXXMethodDecl>(Call.getDecl())->getThisType(); in updateMovedSmartPointers() local
788 auto NullVal = C.getSValBuilder().makeNullWithType(ThisType); in updateMovedSmartPointers()
815 auto NullVal = C.getSValBuilder().makeNullWithType(ThisType); in updateMovedSmartPointers()
842 QualType ThisType = cast<CXXMethodDecl>(Call.getDecl())->getThisType(); in handleBoolConversion() local
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGVTables.cpp223 const CXXRecordDecl *ThisValueClass = Thunk.ThisType->getPointeeCXXRecordDecl(); in GenerateVarArgsThunk()
257 QualType ThisType = MD->getThisType(); in StartThunk() local
262 ResultType = ThisType; in StartThunk()
315 ThisValueClass = Thunk->ThisType->getPointeeCXXRecordDecl(); in EmitCallAndReturnForThunk()
343 QualType ThisType = MD->getThisType(); in EmitCallAndReturnForThunk() local
344 CallArgs.add(RValue::get(AdjustedThisPtr), ThisType); in EmitCallAndReturnForThunk()
377 ? ThisType in EmitCallAndReturnForThunk()
423 llvm::Type *ThisType = Args[ThisArgNo]->getType(); in EmitMustTailThunk() local
424 if (ThisType != AdjustedThisPtr->getType()) in EmitMustTailThunk()
425 AdjustedThisPtr = Builder.CreateBitCast(AdjustedThisPtr, ThisType); in EmitMustTailThunk()
[all …]
H A DCGClass.cpp3020 QualType ThisType = getContext().getPointerType(getContext().getRecordType(Lambda)); in EmitLambdaBlockInvokeBody() local
3022 CallArgs.add(RValue::get(getAsNaturalPointerTo(ThisPtr, ThisType)), ThisType); in EmitLambdaBlockInvokeBody()
3048 QualType ThisType = getContext().getPointerType(LambdaType); in EmitLambdaStaticInvokeBody() local
3050 CallArgs.add(RValue::get(ThisPtr.emitRawPointer(*this)), ThisType); in EmitLambdaStaticInvokeBody()
3100 QualType ThisType = getContext().getPointerType(LambdaType); in EmitLambdaInAllocaCallOpBody() local
3102 CallArgs.add(RValue::get(ThisArg), ThisType); in EmitLambdaInAllocaCallOpBody()
H A DCGExprCXX.cpp475 QualType ThisType = in EmitCXXMemberPointerCallExpr() local
479 Args.add(RValue::get(ThisPtrForCall), ThisType); in EmitCXXMemberPointerCallExpr()
H A DCGCall.cpp317 const CXXRecordDecl *ThisType = in arrangeCXXMethodDeclaration() local
319 return arrangeCXXMethodType(ThisType, prototype.getTypePtr(), MD); in arrangeCXXMethodDeclaration()
341 const CXXRecordDecl *ThisType = getCXXABI().getThisArgumentTypeForMethod(GD); in arrangeCXXStructorDeclaration() local
342 argTypes.push_back(DeriveThisType(ThisType, MD)); in arrangeCXXStructorDeclaration()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeRecord.h177 TypeIndex ThisType, CallingConvention CallConv, in MemberFunctionRecord() argument
181 ClassType(ClassType), ThisType(ThisType), CallConv(CallConv), in MemberFunctionRecord()
188 TypeIndex getThisType() const { return ThisType; } in getThisType()
197 TypeIndex ThisType; variable
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DVTableBuilder.cpp1175 VTableThunks[Idx].ThisType = Method->getThisType().getTypePtr(); in ComputeThisAdjustments()
1657 VTableThunks[Components.size()].ThisType = MD->getThisType().getTypePtr(); in AddMethods()
3190 auto ThisType = (OverriddenMD ? OverriddenMD : MD)->getThisType().getTypePtr(); in AddMethods() local
3192 ThunkInfo(ThisAdjustmentOffset, ReturnAdjustment, ThisType, in AddMethods()
H A DExprConstant.cpp702 const LValue &This, QualType ThisType);
6798 const LValue &This, QualType ThisType) { in HandleDestruction() argument
6799 CompleteObject Obj = findCompleteObject(Info, E, AK_Destroy, This, ThisType); in HandleDestruction()
H A DItaniumMangle.cpp7073 const CXXRecordDecl *ThisRD = Thunk.ThisType->getPointeeCXXRecordDecl(); in mangleOverrideDiscrimination()
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DMinimalTypeDumper.cpp422 MF.ClassType, MF.ThisType, MF.ThisPointerAdjustment); in visitKnownRecord()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DTypeRecordMapping.cpp348 error(IO.mapInteger(Record.ThisType, "ThisType")); in visitKnownRecord()
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DCodeViewYAMLTypes.cpp416 IO.mapRequired("ThisType", Record.ThisType); in map()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCodeComplete.cpp1733 auto ThisType = Results.getSema().getCurrentThisType(); in CodeCompletionDeclConsumer() local
1734 if (!ThisType.isNull()) { in CodeCompletionDeclConsumer()
1735 assert(ThisType->isPointerType()); in CodeCompletionDeclConsumer()
1736 BaseType = ThisType->getPointeeType(); in CodeCompletionDeclConsumer()
4461 auto ThisType = SemaRef.getCurrentThisType(); in CodeCompleteOrdinaryName() local
4462 if (!ThisType.isNull()) in CodeCompleteOrdinaryName()
4463 Results.setObjectTypeQualifiers(ThisType->getPointeeType().getQualifiers(), in CodeCompleteOrdinaryName()
H A DSemaChecking.cpp3342 void Sema::CheckConstructorCall(FunctionDecl *FDecl, QualType ThisType, in CheckConstructorCall() argument
3351 Loc, FDecl, "'this'", Context.getPointerType(ThisType), in CheckConstructorCall()
3385 QualType ThisType = ImplicitThis->getType(); in CheckFunctionCall() local
3386 if (!ThisType->isPointerType()) { in CheckFunctionCall()
3387 assert(!ThisType->isReferenceType()); in CheckFunctionCall()
3388 ThisType = Context.getPointerType(ThisType); in CheckFunctionCall()
3394 CheckArgAlignment(TheCall->getRParenLoc(), FDecl, "'this'", ThisType, in CheckFunctionCall()
H A DSemaTemplate.cpp735 QualType ThisType = getCurrentThisType(); in ActOnDependentIdExpression() local
736 if (ThisType.isNull()) in ActOnDependentIdExpression()
740 Context, /*Base=*/nullptr, ThisType, in ActOnDependentIdExpression()
H A DSemaDeclCXX.cpp7619 QualType ThisType = MD->getFunctionObjectParameterType(); in CheckExplicitlyDefaultedSpecialMember() local
7625 DeclType, ThisType.getQualifiers().getAddressSpace()); in CheckExplicitlyDefaultedSpecialMember()
7636 if (ThisType.isConstQualified() || ThisType.isVolatileQualified()) { in CheckExplicitlyDefaultedSpecialMember()
7653 ThisType.getNonReferenceType().getUnqualifiedType(), in CheckExplicitlyDefaultedSpecialMember()
H A DSemaOverload.cpp3688 QualType ThisType = Constructor->getFunctionObjectParameterType(); in IsInitializerListConstructorConversion() local
3695 User.After.setFromType(ThisType); in IsInitializerListConstructorConversion()
14707 QualType ThisType = Context.getPointerType(ImplicitThis->getType()); in CreateOverloadedBinOp() local
14711 CheckArgAlignment(OpLoc, FnDecl, "'this'", ThisType, in CreateOverloadedBinOp()
H A DSemaExpr.cpp2615 QualType ThisType = S.getCurrentThisType(); in recoverFromMSUnqualifiedLookup() local
2617 if (!ThisType.isNull()) in recoverFromMSUnqualifiedLookup()
2618 RD = ThisType->getPointeeType()->getAsCXXRecordDecl(); in recoverFromMSUnqualifiedLookup()
2630 if (!ThisType.isNull()) { in recoverFromMSUnqualifiedLookup()
2633 Context, /*This=*/nullptr, ThisType, /*IsArrow=*/true, in recoverFromMSUnqualifiedLookup()
H A DSemaDeclAttr.cpp977 QualType ThisType = MD->getFunctionObjectParameterType(); in checkForConsumableClass() local
979 if (const CXXRecordDecl *RD = ThisType->getAsCXXRecordDecl()) { in checkForConsumableClass()
H A DTreeTransform.h3350 QualType ThisType, in RebuildCXXThisExpr() argument
3352 if (getSema().CheckCXXThisType(ThisLoc, ThisType)) in RebuildCXXThisExpr()
3354 return getSema().BuildCXXThisExpr(ThisLoc, ThisType, isImplicit); in RebuildCXXThisExpr()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h2451 void CheckConstructorCall(FunctionDecl *FDecl, QualType ThisType,