/external/llvm-project/clang/include/clang/Basic/ |
D | StmtNodes.td | 3 class StmtNode<StmtNode base, bit abstract = 0> : ASTNode, AttrSubject { 4 StmtNode Base = base; 9 def Stmt : StmtNode<?, 1>; 10 def NullStmt : StmtNode<Stmt>; 11 def CompoundStmt : StmtNode<Stmt>; 12 def IfStmt : StmtNode<Stmt>; 13 def SwitchStmt : StmtNode<Stmt>; 14 def WhileStmt : StmtNode<Stmt>; 15 def DoStmt : StmtNode<Stmt>; 16 def ForStmt : StmtNode<Stmt>; [all …]
|
/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.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()
|
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 …]
|
/external/llvm-project/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 | 63 void CopyPropagation::recordCopy(NodeAddr<StmtNode*> SA, EqualityMap &EM) { in recordCopy() 74 NodeAddr<StmtNode*> SA = IA; in scanBlock() 107 dbgs() << "Instr: " << *DFG.addr<StmtNode*>(I).Addr->getCode(); in run() 176 << *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 | 52 void recordCopy(NodeAddr<StmtNode*> SA, EqualityMap &EM);
|
/external/swiftshader/third_party/llvm-10.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 | 63 void CopyPropagation::recordCopy(NodeAddr<StmtNode*> SA, EqualityMap &EM) { in recordCopy() 74 NodeAddr<StmtNode*> SA = IA; in scanBlock() 107 dbgs() << "Instr: " << *DFG.addr<StmtNode*>(I).Addr->getCode(); in run() 176 << *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 | 52 void recordCopy(NodeAddr<StmtNode*> SA, EqualityMap &EM);
|
/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);
|
/external/llvm-project/clang/lib/ASTMatchers/ |
D | ASTMatchFinder.cpp | 159 Stmt *getStmtToTraverse(Stmt *StmtNode) { in getStmtToTraverse() argument 160 Stmt *StmtToTraverse = StmtNode; in getStmtToTraverse() 161 if (auto *ExprNode = dyn_cast_or_null<Expr>(StmtNode)) { in getStmtToTraverse() 162 auto *LambdaNode = dyn_cast_or_null<LambdaExpr>(StmtNode); in getStmtToTraverse() 173 bool TraverseStmt(Stmt *StmtNode, DataRecursionQueue *Queue = nullptr) { in TraverseStmt() argument 179 Stmt *StmtToTraverse = getStmtToTraverse(StmtNode); in TraverseStmt() 183 if (IgnoreImplicitChildren && isa<CXXDefaultArgExpr>(StmtNode)) in TraverseStmt() 298 bool baseTraverse(const Stmt &StmtNode) { in baseTraverse() argument 299 return VisitorBase::TraverseStmt(const_cast<Stmt*>(&StmtNode)); in baseTraverse() 458 bool TraverseStmt(Stmt *StmtNode, DataRecursionQueue *Queue = nullptr); [all …]
|
/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/llvm-project/clang/lib/AST/ |
D | ParentMapContext.cpp | 310 bool dataTraverseStmtPre(Stmt *StmtNode) { in dataTraverseStmtPre() argument 311 addParent(StmtNode, &Map.PointerParents); in dataTraverseStmtPre() 312 ParentStack.push_back(DynTypedNode::create(*StmtNode)); in dataTraverseStmtPre() 315 bool dataTraverseStmtPost(Stmt *StmtNode) { in dataTraverseStmtPost() argument
|
/external/llvm-project/clang/utils/TableGen/ |
D | ASTTableGen.h | 224 class StmtNode : public ASTNode { 226 StmtNode(llvm::Record *record = nullptr) : ASTNode(record) {} in ASTNode() 230 StmtNode getBase() const { return StmtNode(ASTNode::getBase().getRecord()); } in getBase()
|
D | ASTTableGen.cpp | 66 StringRef clang::tblgen::StmtNode::getClassName() const { in getClassName() 69 std::string clang::tblgen::StmtNode::getId() const { in getId()
|