Lines Matching refs:FD

872     // FIXME: If the base type of the member expr is not FD->getParent(),
874 if (const auto *FD = dyn_cast<FieldDecl>(ME->getMemberDecl())) {
876 DeclContext::decl_iterator(const_cast<FieldDecl *>(FD)));
877 return ++FI == FD->getParent()->field_end();
2400 const FunctionDecl *FD) {
2401 if (FD->hasAttr<WeakRefAttr>()) {
2402 ConstantAddress aliasee = CGM.GetWeakRefReference(FD);
2406 llvm::Constant *V = CGM.GetAddrOfFunction(FD);
2407 if (!FD->hasPrototype()) {
2409 FD->getType()->getAs<FunctionProtoType>()) {
2424 const Expr *E, const FunctionDecl *FD) {
2425 llvm::Value *V = EmitFunctionDeclPointer(CGF.CGM, FD);
2426 CharUnits Alignment = CGF.getContext().getDeclAlign(FD);
2431 static LValue EmitCapturedFieldLValue(CodeGenFunction &CGF, const FieldDecl *FD,
2433 QualType TagType = CGF.getContext().getTagDeclType(FD->getParent());
2435 return CGF.EmitLValueForField(LV, FD);
2569 if (auto *FD = LambdaCaptureFields.lookup(VD))
2570 return EmitCapturedFieldLValue(*this, FD, CXXABIThisValue);
2683 if (const auto *FD = dyn_cast<FunctionDecl>(ND))
2684 return EmitFunctionDeclLValue(*this, E, FD);
3960 if (const auto *FD = dyn_cast<FunctionDecl>(ND))
3961 return EmitFunctionDeclLValue(*this, E, FD);
4558 const FieldDecl *FD,
4560 QualType FT = FD->getType();
4561 LValue FieldLV = EmitLValueForField(LV, FD);
4570 if (FD->getType()->isReferenceType())
4623 static CGCallee EmitDirectCallee(CodeGenFunction &CGF, const FunctionDecl *FD) {
4625 if (auto builtinID = FD->getBuiltinID()) {
4630 if (!FD->isInlineBuiltinDeclaration() ||
4631 CGF.CurFn->getName() == FD->getName())
4632 return CGCallee::forBuiltin(builtinID, FD);
4635 llvm::Constant *calleePtr = EmitFunctionDeclPointer(CGF.CGM, FD);
4636 return CGCallee::forDirect(calleePtr, GlobalDecl(FD));
4651 if (auto FD = dyn_cast<FunctionDecl>(DRE->getDecl())) {
4652 return EmitDirectCallee(*this, FD);
4655 if (auto FD = dyn_cast<FunctionDecl>(ME->getMemberDecl())) {
4657 return EmitDirectCallee(*this, FD);