Lines Matching refs:FD
28 FunctionDecl *FD;
35 CGBuilder(CallGraph &g, FunctionDecl *fd, Entity E, CallGraphNode *N)
36 : G(g), FD(fd), CallerEnt(E), CallerNode(N) {}
54 CallerNode->addCallee(ASTLocation(FD, CE), CalleeNode);
76 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(*I)) {
77 if (FD->doesThisDeclarationHaveABody()) {
79 Entity Ent = Entity::get(FD, Prog);
84 if (FD->isGlobal())
88 if (FD->getNameAsString() == "main")
91 CGBuilder builder(*this, FD, Ent, Node);
92 builder.Visit(FD->getBody());