Home
last modified time | relevance | path

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

12

/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.cpp381 QualType ThisType = cast<CXXMethodDecl>(Call.getDecl())->getThisType(); in evalCall() local
387 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.cpp3042 QualType ThisType = getContext().getPointerType(getContext().getRecordType(Lambda)); in EmitLambdaBlockInvokeBody() local
3044 CallArgs.add(RValue::get(getAsNaturalPointerTo(ThisPtr, ThisType)), ThisType); in EmitLambdaBlockInvokeBody()
3070 QualType ThisType = getContext().getPointerType(LambdaType); in EmitLambdaStaticInvokeBody() local
3072 CallArgs.add(RValue::get(ThisPtr.emitRawPointer(*this)), ThisType); in EmitLambdaStaticInvokeBody()
3122 QualType ThisType = getContext().getPointerType(LambdaType); in EmitLambdaInAllocaCallOpBody() local
3124 CallArgs.add(RValue::get(ThisArg), ThisType); in EmitLambdaInAllocaCallOpBody()
H A DCGExprCXX.cpp479 QualType ThisType = in EmitCXXMemberPointerCallExpr() local
483 Args.add(RValue::get(ThisPtrForCall), ThisType); in EmitCXXMemberPointerCallExpr()
H A DCGCall.cpp383 const CXXRecordDecl *ThisType = in arrangeCXXMethodDeclaration() local
385 return arrangeCXXMethodType(ThisType, prototype.getTypePtr(), MD); in arrangeCXXMethodDeclaration()
407 const CXXRecordDecl *ThisType = getCXXABI().getThisArgumentTypeForMethod(GD); in arrangeCXXStructorDeclaration() local
408 argTypes.push_back(DeriveThisType(ThisType, MD)); in arrangeCXXStructorDeclaration()
H A DCGDebugInfo.cpp2110 QualType ThisType; in getOrCreateMethodType() local
2112 ThisType = Method->getThisType(); in getOrCreateMethodType()
2114 return getOrCreateInstanceMethodType(ThisType, Func, Unit); in getOrCreateMethodType()
/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/lldb/tools/lldb-rpc/lldb-rpc-gen/server/
H A DRPCServerSourceEmitter.cpp87 EmitStorageForOneParameter(method.ThisType, "this_ptr", method.Policy, in EmitStorageForParameters()
153 EmitDecodeForOneParameter(method.ThisType, "this_ptr", method.Policy); in EmitDecodeForParameters()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DConsumed.cpp767 QualType ThisType = Constructor->getFunctionObjectParameterType(); in VisitCXXConstructExpr() local
769 if (!isConsumableType(ThisType)) in VisitCXXConstructExpr()
790 ConsumedState RetState = mapConsumableAttrState(ThisType); in VisitCXXConstructExpr()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DVTableBuilder.cpp1176 It->second.ThisType = Method->getThisType().getTypePtr(); in ComputeThisAdjustments()
1659 VTT.ThisType = MD->getThisType().getTypePtr(); in AddMethods()
3192 auto ThisType = (OverriddenMD ? OverriddenMD : MD)->getThisType().getTypePtr(); in AddMethods() local
3194 ThunkInfo(ThisAdjustmentOffset, ReturnAdjustment, ThisType, in AddMethods()
H A DItaniumMangle.cpp7346 const CXXRecordDecl *ThisRD = Thunk.ThisType->getPointeeCXXRecordDecl(); in mangleOverrideDiscrimination()
H A DExprConstant.cpp721 const LValue &This, QualType ThisType);
7106 const LValue &This, QualType ThisType) { in HandleDestruction() argument
7107 CompleteObject Obj = findCompleteObject(Info, E, AK_Destroy, This, ThisType); in HandleDestruction()
/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.cpp1735 auto ThisType = Results.getSema().getCurrentThisType(); in CodeCompletionDeclConsumer() local
1736 if (!ThisType.isNull()) { in CodeCompletionDeclConsumer()
1737 assert(ThisType->isPointerType()); in CodeCompletionDeclConsumer()
1738 BaseType = ThisType->getPointeeType(); in CodeCompletionDeclConsumer()
4624 auto ThisType = SemaRef.getCurrentThisType(); in CodeCompleteOrdinaryName() local
4625 if (!ThisType.isNull()) in CodeCompleteOrdinaryName()
4626 Results.setObjectTypeQualifiers(ThisType->getPointeeType().getQualifiers(), in CodeCompleteOrdinaryName()
H A DSemaChecking.cpp3722 void Sema::CheckConstructorCall(FunctionDecl *FDecl, QualType ThisType, in CheckConstructorCall() argument
3732 Loc, FDecl, "'this'", Context.getPointerType(ThisType), in CheckConstructorCall()
3766 QualType ThisType = ImplicitThis->getType(); in CheckFunctionCall() local
3767 if (!ThisType->isPointerType()) { in CheckFunctionCall()
3768 assert(!ThisType->isReferenceType()); in CheckFunctionCall()
3769 ThisType = Context.getPointerType(ThisType); in CheckFunctionCall()
3775 CheckArgAlignment(TheCall->getRParenLoc(), FDecl, "'this'", ThisType, in CheckFunctionCall()
H A DSemaOverload.cpp1433 auto ThisType = M->getFunctionObjectParameterReferenceType(); in IsOverloadOrOverrideImpl() local
1434 if (ThisType.isConstQualified()) in IsOverloadOrOverrideImpl()
3920 QualType ThisType = Constructor->getFunctionObjectParameterType(); in IsInitializerListConstructorConversion() local
3927 User.After.setFromType(ThisType); in IsInitializerListConstructorConversion()
15522 QualType ThisType = Context.getPointerType(ImplicitThis->getType()); in CreateOverloadedBinOp() local
15526 CheckArgAlignment(OpLoc, FnDecl, "'this'", ThisType, in CreateOverloadedBinOp()
H A DSemaTemplate.cpp736 QualType ThisType = getCurrentThisType(); in ActOnDependentIdExpression() local
737 if (ThisType.isNull()) in ActOnDependentIdExpression()
741 Context, /*Base=*/nullptr, ThisType, in ActOnDependentIdExpression()
H A DSemaExpr.cpp2684 QualType ThisType = S.getCurrentThisType(); in recoverFromMSUnqualifiedLookup() local
2686 if (!ThisType.isNull()) in recoverFromMSUnqualifiedLookup()
2687 RD = ThisType->getPointeeType()->getAsCXXRecordDecl(); in recoverFromMSUnqualifiedLookup()
2699 if (!ThisType.isNull()) { in recoverFromMSUnqualifiedLookup()
2702 Context, /*This=*/nullptr, ThisType, /*IsArrow=*/true, in recoverFromMSUnqualifiedLookup()
H A DSemaDeclCXX.cpp7783 QualType ThisType = MD->getFunctionObjectParameterType(); in CheckExplicitlyDefaultedSpecialMember() local
7789 DeclType, ThisType.getQualifiers().getAddressSpace()); in CheckExplicitlyDefaultedSpecialMember()
7800 if (ThisType.isConstQualified() || ThisType.isVolatileQualified()) { in CheckExplicitlyDefaultedSpecialMember()
H A DSemaDeclAttr.cpp994 QualType ThisType = MD->getFunctionObjectParameterType(); in checkForConsumableClass() local
996 if (const CXXRecordDecl *RD = ThisType->getAsCXXRecordDecl()) { in checkForConsumableClass()
H A DTreeTransform.h3398 QualType ThisType, in RebuildCXXThisExpr() argument
3400 if (getSema().CheckCXXThisType(ThisLoc, ThisType)) in RebuildCXXThisExpr()
3402 return getSema().BuildCXXThisExpr(ThisLoc, ThisType, isImplicit); in RebuildCXXThisExpr()

12