Home
last modified time | relevance | path

Searched refs:ThisTy (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGClass.cpp518 QualType ThisTy = D->getFunctionObjectParameterType(); in Emit() local
524 /*Delegating=*/false, Addr, ThisTy); in Emit()
1473 QualType ThisTy = Dtor->getFunctionObjectParameterType(); in EmitDestructorBody() local
1475 /*Delegating=*/false, LoadCXXThisAddress(), ThisTy); in EmitDestructorBody()
1507 QualType ThisTy = Dtor->getFunctionObjectParameterType(); in EmitDestructorBody() local
1509 /*Delegating=*/false, LoadCXXThisAddress(), ThisTy); in EmitDestructorBody()
2479 QualType ThisTy = Dtor->getFunctionObjectParameterType(); in Emit() local
2481 /*Delegating=*/true, Addr, ThisTy); in Emit()
2520 QualType ThisTy) { in EmitCXXDestructorCall() argument
2522 Delegating, This, ThisTy); in EmitCXXDestructorCall()
H A DCGExprCXX.cpp102 GlobalDecl Dtor, const CGCallee &Callee, llvm::Value *This, QualType ThisTy, in EmitCXXDestructorCall() argument
107 assert(!ThisTy.isNull()); in EmitCXXDestructorCall()
108 assert(ThisTy->getAsCXXRecordDecl() == DtorDecl->getParent() && in EmitCXXDestructorCall()
111 LangAS SrcAS = ThisTy.getAddressSpace(); in EmitCXXDestructorCall()
395 QualType ThisTy = in EmitCXXMemberOrOperatorMemberCallExpr() local
397 EmitCXXDestructorCall(GD, Callee, This.getPointer(*this), ThisTy, in EmitCXXMemberOrOperatorMemberCallExpr()
H A DItaniumCXXABI.cpp286 QualType ThisTy) override;
1961 QualType ThisTy) { in EmitDestructorCall() argument
1974 CGF.EmitCXXDestructorCall(GD, Callee, CGF.getAsNaturalPointerTo(This, ThisTy), in EmitDestructorCall()
1975 ThisTy, VTT, VTTTy, nullptr); in EmitDestructorCall()
2274 QualType ThisTy; in EmitVirtualDestructorCall() local
2276 ThisTy = CE->getObjectType(); in EmitVirtualDestructorCall()
2278 ThisTy = D->getDestroyedType(); in EmitVirtualDestructorCall()
2281 CGF.EmitCXXDestructorCall(GD, Callee, This.emitRawPointer(CGF), ThisTy, in EmitVirtualDestructorCall()
H A DMicrosoftCXXABI.cpp306 QualType ThisTy) override;
1657 QualType ThisTy) { in EmitDestructorCall() argument
1682 CGF.EmitCXXDestructorCall(GD, Callee, CGF.getAsNaturalPointerTo(This, ThisTy), in EmitDestructorCall()
1683 ThisTy, in EmitDestructorCall()
2019 QualType ThisTy; in EmitVirtualDestructorCall() local
2021 ThisTy = CE->getObjectType(); in EmitVirtualDestructorCall()
2023 ThisTy = D->getDestroyedType(); in EmitVirtualDestructorCall()
2028 CGF.EmitCXXDestructorCall(GD, Callee, This.emitRawPointer(CGF), ThisTy, in EmitVirtualDestructorCall()
H A DCGCXXABI.h447 Address This, QualType ThisTy) = 0;
H A DCodeGenFunction.cpp1328 QualType ThisTy = MD->getThisType(); in StartFunction() local
1338 Loc, CXXABIThisValue, ThisTy, CXXABIThisAlignment, SkippedChecks); in StartFunction()
H A DCGCall.cpp2780 QualType ThisTy = FI.arg_begin()->type.getTypePtr()->getPointeeType(); in ConstructAttributeList() local
2785 Attrs.addDereferenceableAttr(getMinimumObjectSize(ThisTy).getQuantity()); in ConstructAttributeList()
2798 getNaturalTypeAlignment(ThisTy, /*BaseInfo=*/nullptr, in ConstructAttributeList()
H A DCodeGenFunction.h3222 QualType ThisTy);
4660 llvm::Value *This, QualType ThisTy,
H A DCGExpr.cpp5035 auto *ThisTy = D->getType().getNonReferenceType()->getAsCXXRecordDecl(); in EmitLValueForLambdaField() local
5037 if (ThisTy != LambdaTy) { in EmitLValueForLambdaField()
5040 LambdaLV.getAddress(), ThisTy, BasePathArray.begin(), in EmitLValueForLambdaField()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprCXX.cpp1098 ArrayRef<FunctionScopeInfo *> FunctionScopes, QualType ThisTy, in adjustCVQualifiersForCXXThisWithinLambda() argument
1101 QualType ClassType = ThisTy->getPointeeType(); in adjustCVQualifiersForCXXThisWithinLambda()
1202 return ThisTy; in adjustCVQualifiersForCXXThisWithinLambda()
1207 QualType ThisTy = CXXThisTypeOverride; in getCurrentThisType() local
1211 ThisTy = method->getThisType().getNonReferenceType(); in getCurrentThisType()
1214 if (ThisTy.isNull() && isLambdaCallWithImplicitObjectParameter(CurContext) && in getCurrentThisType()
1223 ThisTy = Context.getPointerType(ClassTy); in getCurrentThisType()
1229 if (!ThisTy.isNull() && isLambdaCallOperator(CurContext)) in getCurrentThisType()
1230 return adjustCVQualifiersForCXXThisWithinLambda(FunctionScopes, ThisTy, in getCurrentThisType()
1232 return ThisTy; in getCurrentThisType()
[all …]
H A DSemaExprMember.cpp1860 QualType ThisTy = getCurrentThisType(); in BuildImplicitMemberExpr() local
1861 assert(!ThisTy.isNull() && "didn't correctly pre-flight capture of 'this'"); in BuildImplicitMemberExpr()
1868 baseExpr = BuildCXXThisExpr(loc, ThisTy, /*IsImplicit=*/true); in BuildImplicitMemberExpr()
1872 baseExpr, ThisTy, in BuildImplicitMemberExpr()
H A DSemaTypeTraits.cpp56 QualType ThisTy = CanTy; in LookupSpecialMemberFromXValue() local
58 OpaqueValueExpr(LookupLoc, ThisTy, VK_LValue) in LookupSpecialMemberFromXValue()
83 ThisTy, Classification, in LookupSpecialMemberFromXValue()
95 Tmpl, Cand, const_cast<CXXRecordDecl *>(RD), nullptr, ThisTy, in LookupSpecialMemberFromXValue()
H A DSemaLookup.cpp3511 QualType ThisTy = CanTy; in LookupSpecialMember() local
3513 ThisTy.addConst(); in LookupSpecialMember()
3515 ThisTy.addVolatile(); in LookupSpecialMember()
3517 OpaqueValueExpr(LookupLoc, ThisTy, RValueThis ? VK_PRValue : VK_LValue) in LookupSpecialMember()
3551 AddMethodCandidate(M, Cand, RD, ThisTy, Classification, in LookupSpecialMember()
3564 AddMethodTemplateCandidate(Tmpl, Cand, RD, nullptr, ThisTy, in LookupSpecialMember()
H A DSemaLambda.cpp1938 QualType ThisTy = getCurrentThisType(); in BuildCaptureInit() local
1939 Expr *This = BuildCXXThisExpr(Loc, ThisTy, ImplicitCaptureLoc.isValid()); in BuildCaptureInit()
H A DSemaCodeComplete.cpp2063 QualType ThisTy = S.getCurrentThisType(); in addThisCompletion() local
2064 if (ThisTy.isNull()) in addThisCompletion()
2071 GetCompletionTypeString(ThisTy, S.Context, Policy, Allocator)); in addThisCompletion()
H A DSemaOpenMP.cpp4550 QualType ThisTy = SemaRef.getCurrentThisType(); in tryCaptureOpenMPLambdas() local
4551 if (!ThisTy.isNull() && getASTContext().typesAreCompatible( in tryCaptureOpenMPLambdas()
4552 ThisTy, ThisCapture->getType())) in tryCaptureOpenMPLambdas()