/external/bcc/src/cc/frontends/b/ |
D | node.h | 131 class StmtNode : public Node { 133 typedef unique_ptr<StmtNode> Ptr; 137 typedef vector<StmtNode::Ptr> StmtNodeList; 332 class BlockStmtNode : public StmtNode { 370 class ExprStmtNode : public StmtNode { 378 class IfStmtNode : public StmtNode { 383 StmtNode::Ptr true_block_; 384 StmtNode::Ptr false_block_; 386 IfStmtNode(ExprNode::Ptr cond, StmtNode::Ptr true_block) in IfStmtNode() 389 IfStmtNode(ExprNode::Ptr cond, StmtNode::Ptr true_block, StmtNode::Ptr false_block) in IfStmtNode() [all …]
|
D | parser.h | 45 StmtNode * state_add(Scopes::StateScope *scope, IdentExprNode *id1, BlockStmtNode *body); 46 …StmtNode * state_add(Scopes::StateScope *scope, IdentExprNode *id1, IdentExprNode *id2, BlockStmtN… 47 StmtNode * func_add(std::vector<int> *types, Scopes::StateScope *scope, 49 …StmtNode * table_add(IdentExprNode *type, IdentExprNodeList *templates, IdentExprNode *id, string … 50 StmtNode * struct_add(IdentExprNode *type, FormalList *formals); 51 StmtNode * result_add(int token, IdentExprNode *id, FormalList *formals, BlockStmtNode *body);
|
D | parser.yy | 59 StmtNode *stmt; 139 { $$ = new BlockStmtNode; $$->stmts_.push_back(StmtNode::Ptr($1)); } 141 { $1->stmts_.push_back(StmtNode::Ptr($2)); } 169 { $$ = new StmtNodeList; $$->push_back(StmtNode::Ptr($1)); } 171 { $1->push_back(StmtNode::Ptr($2)); } 270 { $$ = new StmtNodeList; $$->push_back(StmtNode::Ptr($1)); } 272 { $$->push_back(StmtNode::Ptr($2)); } 373 { $$ = new IfStmtNode(ExprNode::Ptr($2), StmtNode::Ptr($4)); 377 { $$ = new IfStmtNode(ExprNode::Ptr($2), StmtNode::Ptr($4), StmtNode::Ptr($8)); 381 { $$ = new IfStmtNode(ExprNode::Ptr($2), StmtNode::Ptr($4), StmtNode::Ptr($7)); [all …]
|
D | parser.cc | 87 StmtNode *Parser::state_add(Scopes::StateScope *scope, IdentExprNode *id, BlockStmtNode *body) { in state_add() 104 StmtNode *Parser::state_add(Scopes::StateScope *scope, IdentExprNode *id1, IdentExprNode *id2, Bloc… in state_add() 135 StmtNode *Parser::table_add(IdentExprNode *type, IdentExprNodeList *templates, in table_add() 148 StmtNode * Parser::struct_add(IdentExprNode *type, FormalList *formals) { in struct_add() 174 StmtNode * Parser::result_add(int token, IdentExprNode *id, FormalList *formals, BlockStmtNode *bod… in result_add() 175 StmtNode *stmt = NULL; in result_add() 192 StmtNode * Parser::func_add(vector<int> *types, Scopes::StateScope *scope, in func_add()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonOptAddrMode.cpp | 94 bool processAddUses(NodeAddr<StmtNode *> AddSN, MachineInstr *AddMI, 100 bool canRemoveAddasl(NodeAddr<StmtNode *> AddAslSN, MachineInstr &MI, 102 bool isSafeToExtLR(NodeAddr<StmtNode *> SN, MachineInstr *MI, 104 void getAllRealUses(NodeAddr<StmtNode *> SN, NodeList &UNodeList); 105 bool allValidCandidates(NodeAddr<StmtNode *> SA, NodeList &UNodeList); 158 bool HexagonOptAddrMode::canRemoveAddasl(NodeAddr<StmtNode *> AddAslSN, in canRemoveAddasl() 187 MachineInstr &UseMI = *NodeAddr<StmtNode *>(IA).Addr->getCode(); in canRemoveAddasl() 212 bool HexagonOptAddrMode::allValidCandidates(NodeAddr<StmtNode *> SA, in allValidCandidates() 233 NodeAddr<StmtNode *> TempIA = DA.Addr->getOwner(*DFG); in allValidCandidates() 244 void HexagonOptAddrMode::getAllRealUses(NodeAddr<StmtNode *> SA, in getAllRealUses() [all …]
|
D | RDFCopy.cpp | 64 void CopyPropagation::recordCopy(NodeAddr<StmtNode*> SA, EqualityMap &EM) { in recordCopy() 75 NodeAddr<StmtNode*> SA = IA; in scanBlock() 108 dbgs() << "Instr: " << *DFG.addr<StmtNode*>(I).Addr->getCode(); in run() 177 << *NodeAddr<StmtNode*>(IA).Addr->getCode(); in run()
|
D | HexagonRDFOpt.cpp | 165 NodeAddr<StmtNode*> SA = TA; in run() 180 auto SA = DFG.addr<StmtNode*>(N); in run() 190 MachineInstr *MI = NodeAddr<StmtNode*>(IA).Addr->getCode(); in removeOperand() 219 MachineInstr &MI = *NodeAddr<StmtNode*>(IA).Addr->getCode(); in rewrite()
|
D | RDFDeadCode.cpp | 86 if (!isLiveInstr(NodeAddr<StmtNode*>(IA).Addr->getCode())) in scanInstr() 163 if (isLiveInstr(NodeAddr<StmtNode*>(IA).Addr->getCode())) in collect() 237 MachineInstr *MI = NodeAddr<StmtNode*>(IA).Addr->getCode(); in erase()
|
D | RDFCopy.h | 53 void recordCopy(NodeAddr<StmtNode*> SA, EqualityMap &EM);
|
D | RDFGraph.h | 621 struct StmtNode : public InstrNode { struct 835 NodeAddr<StmtNode*> newStmt(NodeAddr<BlockNode*> Owner, 859 NodeAddr<StmtNode*> SA, Predicate P);
|
D | RDFGraph.cpp | 236 const Print<NodeAddr<StmtNode*>> &P) { in operator <<() 269 OS << PrintNode<StmtNode*>(P.Obj, P.G); in operator <<() 862 NodeAddr<StmtNode*> DataFlowGraph::newStmt(NodeAddr<BlockNode*> Owner, in newStmt() 864 NodeAddr<StmtNode*> SA = newNode(NodeAttrs::Code | NodeAttrs::Stmt); in newStmt() 1124 MachineInstr *MI = NodeAddr<StmtNode*>(IA).Addr->getCode(); in pushDefs() 1268 NodeAddr<StmtNode*> SA = newStmt(BA, &In); in buildStmt() 1630 void DataFlowGraph::linkStmtRefs(DefStackMap &DefM, NodeAddr<StmtNode*> SA, in linkStmtRefs()
|
D | RDFLiveness.cpp | 173 return NodeAddr<StmtNode*>(IA).Addr->getCode()->getParent(); in getAllReachingDefs() 193 MachineInstr *CA = NodeAddr<StmtNode*>(OA).Addr->getCode(); in getAllReachingDefs() 194 MachineInstr *CB = NodeAddr<StmtNode*>(OB).Addr->getCode(); in getAllReachingDefs()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonOptAddrMode.cpp | 83 bool canRemoveAddasl(NodeAddr<StmtNode *> AddAslSN, MachineInstr *MI, 85 void getAllRealUses(NodeAddr<StmtNode *> SN, NodeList &UNodeList); 86 bool allValidCandidates(NodeAddr<StmtNode *> SA, NodeList &UNodeList); 139 bool HexagonOptAddrMode::canRemoveAddasl(NodeAddr<StmtNode *> AddAslSN, in canRemoveAddasl() 165 MachineInstr *UseMI = NodeAddr<StmtNode *>(IA).Addr->getCode(); in canRemoveAddasl() 190 bool HexagonOptAddrMode::allValidCandidates(NodeAddr<StmtNode *> SA, in allValidCandidates() 202 NodeAddr<StmtNode *> TempIA = DA.Addr->getOwner(*DFG); in allValidCandidates() 213 void HexagonOptAddrMode::getAllRealUses(NodeAddr<StmtNode *> SA, in getAllRealUses() 224 NodeAddr<StmtNode *> TempIA = UA.Addr->getOwner(*DFG); in getAllRealUses() 263 NodeAddr<StmtNode *> SN = UN.Addr->getOwner(*DFG); in analyzeUses() [all …]
|
D | RDFCopy.cpp | 77 void CopyPropagation::recordCopy(NodeAddr<StmtNode*> SA, EqualityMap &EM) { in recordCopy() 124 NodeAddr<StmtNode*> SA = IA; in scanBlock() 149 dbgs() << "Instr: " << *DFG.addr<StmtNode*>(I).Addr->getCode(); in run() 214 << *NodeAddr<StmtNode*>(IA).Addr->getCode(); in run()
|
D | HexagonRDFOpt.cpp | 149 NodeAddr<StmtNode*> SA = TA; in run() 165 auto SA = DFG.addr<StmtNode*>(N); in run() 176 MachineInstr *MI = NodeAddr<StmtNode*>(IA).Addr->getCode(); in removeOperand() 205 MachineInstr *MI = NodeAddr<StmtNode*>(IA).Addr->getCode(); in rewrite()
|
D | RDFDeadCode.cpp | 75 if (!isLiveInstr(NodeAddr<StmtNode*>(IA).Addr->getCode())) in scanInstr() 152 if (isLiveInstr(NodeAddr<StmtNode*>(IA).Addr->getCode())) in collect() 226 MachineInstr *MI = NodeAddr<StmtNode*>(IA).Addr->getCode(); in erase()
|
D | RDFCopy.h | 47 void recordCopy(NodeAddr<StmtNode*> SA, EqualityMap &EM);
|
D | RDFGraph.h | 574 struct StmtNode : public InstrNode { struct 753 NodeAddr<StmtNode*> newStmt(NodeAddr<BlockNode*> Owner, 776 void linkStmtRefs(DefStackMap &DefM, NodeAddr<StmtNode*> SA);
|
D | RDFGraph.cpp | 210 const Print<NodeAddr<StmtNode*>> &P) { in operator <<() 225 OS << PrintNode<StmtNode*>(P.Obj, P.G); in operator <<() 907 NodeAddr<StmtNode*> DataFlowGraph::newStmt(NodeAddr<BlockNode*> Owner, in newStmt() 909 NodeAddr<StmtNode*> SA = newNode(NodeAttrs::Code | NodeAttrs::Stmt); in newStmt() 1035 auto *MI = NodeAddr<StmtNode*>(IA).Addr->getCode(); in pushDefs() 1537 void DataFlowGraph::linkStmtRefs(DefStackMap &DefM, NodeAddr<StmtNode*> SA) { in linkStmtRefs()
|
D | RDFLiveness.cpp | 139 return NodeAddr<StmtNode*>(IA).Addr->getCode()->getParent(); in getAllReachingDefs() 159 auto CA = NodeAddr<StmtNode*>(OA).Addr->getCode(); in getAllReachingDefs() 160 auto CB = NodeAddr<StmtNode*>(OB).Addr->getCode(); in getAllReachingDefs()
|
/external/clang/lib/ASTMatchers/ |
D | ASTMatchFinder.cpp | 146 bool TraverseStmt(Stmt *StmtNode) { in TraverseStmt() argument 148 const Stmt *StmtToTraverse = StmtNode; in TraverseStmt() 151 const Expr *ExprNode = dyn_cast_or_null<Expr>(StmtNode); in TraverseStmt() 222 bool baseTraverse(const Stmt &StmtNode) { in baseTraverse() argument 223 return VisitorBase::TraverseStmt(const_cast<Stmt*>(&StmtNode)); in baseTraverse() 369 bool TraverseStmt(Stmt *StmtNode); 823 bool MatchASTVisitor::TraverseStmt(Stmt *StmtNode) { in TraverseStmt() argument 824 if (!StmtNode) { in TraverseStmt() 827 match(*StmtNode); in TraverseStmt() 828 return RecursiveASTVisitor<MatchASTVisitor>::TraverseStmt(StmtNode); in TraverseStmt()
|
/external/clang/lib/Analysis/ |
D | Consumed.cpp | 75 if (const Stmt *StmtNode = Block->getTerminator()) { in getLastStmtLoc() local 76 return StmtNode->getLocStart(); in getLastStmtLoc() 517 PropagationInfo getInfo(const Expr *StmtNode) const { in getInfo() 518 ConstInfoEntry Entry = findInfo(StmtNode); in getInfo()
|
/external/clang/lib/AST/ |
D | ASTContext.cpp | 9012 bool TraverseStmt(Stmt *StmtNode) { in TraverseStmt() argument 9013 return TraverseNode(StmtNode, StmtNode, in TraverseStmt() 9014 [&] { return VisitorBase::TraverseStmt(StmtNode); }, in TraverseStmt()
|