Home
last modified time | relevance | path

Searched refs:Body (Results 1 – 25 of 93) sorted by relevance

1234

/external/llvm/test/CodeGen/X86/
Dunreachable-loop-sinking.ll12 br i1 undef, label %Body, label %Exit
17 Body: ; preds = %Entry
20 Body3: ; preds = %Body6, %Body3, %Body
27 Brancher7: ; preds = %Body6, %Body
/external/clang/test/CXX/special/class.ctor/
Dp5-0x.cpp152 #define ASSERT_NONTRIVIAL_IMPL(Class, Bases, Body) \ argument
153 class Class Bases { Body }; \
155 #define ASSERT_NONTRIVIAL(Class, Bases, Body) \ argument
156 ASSERT_NONTRIVIAL_IMPL(Class, Bases, Body) \
157 ASSERT_NONTRIVIAL_IMPL(Def ## Class, Bases, Def ## Class() = default; Body) \
158 ASSERT_NONTRIVIAL_IMPL(Del ## Class, Bases, Del ## Class() = delete; Body)
/external/clang/tools/libclang/
DIndexDecl.cpp62 const Stmt *Body = D->getBody(); in handleObjCMethod() local
63 if (Body) { in handleObjCMethod()
64 IndexCtx.indexBody(Body, D, D); in handleObjCMethod()
86 const Stmt *Body = D->getBody(); in VisitFunctionDecl() local
87 if (Body) { in VisitFunctionDecl()
88 IndexCtx.indexBody(Body, D, D); in VisitFunctionDecl()
300 const Stmt *Body = FD->getBody(); in VisitFunctionTemplateDecl() local
301 if (Body) { in VisitFunctionTemplateDecl()
302 IndexCtx.indexBody(Body, D, FD); in VisitFunctionTemplateDecl()
/external/clang/include/clang/AST/
DStmtObjC.h30 ObjCForCollectionStmt(Stmt *Elem, Expr *Collect, Stmt *Body,
77 Stmt *Body; variable
85 Body(atCatchStmt), AtCatchLoc(atCatchLoc), RParenLoc(rparenloc) { } in ObjCAtCatchStmt()
90 const Stmt *getCatchBody() const { return Body; } in getCatchBody()
91 Stmt *getCatchBody() { return Body; } in getCatchBody()
92 void setCatchBody(Stmt *S) { Body = S; } in setCatchBody()
108 SourceLocation getLocEnd() const LLVM_READONLY { return Body->getLocEnd(); } in getLocEnd()
116 child_range children() { return child_range(&Body, &Body + 1); } in children()
/external/llvm/examples/Kaleidoscope/Orc/lazy_irgen/
Dtoy.cpp189 std::unique_ptr<ExprAST> Body) in ForExprAST()
191 Step(std::move(Step)), Body(std::move(Body)) {} in ForExprAST()
196 std::unique_ptr<ExprAST> Start, End, Step, Body; member
204 VarExprAST(BindingList VarBindings, std::unique_ptr<ExprAST> Body) in VarExprAST()
205 : VarBindings(std::move(VarBindings)), Body(std::move(Body)) {} in VarExprAST()
210 std::unique_ptr<ExprAST> Body; member
241 std::unique_ptr<ExprAST> Body) in FunctionAST()
242 : Proto(std::move(Proto)), Body(std::move(Body)) {} in FunctionAST()
247 std::unique_ptr<ExprAST> Body; member
414 auto Body = ParseExpression(); in ParseForExpr() local
[all …]
/external/llvm/examples/Kaleidoscope/Orc/initial/
Dtoy.cpp189 std::unique_ptr<ExprAST> Body) in ForExprAST()
191 Step(std::move(Step)), Body(std::move(Body)) {} in ForExprAST()
196 std::unique_ptr<ExprAST> Start, End, Step, Body; member
204 VarExprAST(BindingList VarBindings, std::unique_ptr<ExprAST> Body) in VarExprAST()
205 : VarBindings(std::move(VarBindings)), Body(std::move(Body)) {} in VarExprAST()
210 std::unique_ptr<ExprAST> Body; member
241 std::unique_ptr<ExprAST> Body) in FunctionAST()
242 : Proto(std::move(Proto)), Body(std::move(Body)) {} in FunctionAST()
247 std::unique_ptr<ExprAST> Body; member
414 auto Body = ParseExpression(); in ParseForExpr() local
[all …]
/external/llvm/examples/Kaleidoscope/Orc/lazy_codegen/
Dtoy.cpp189 std::unique_ptr<ExprAST> Body) in ForExprAST()
191 Step(std::move(Step)), Body(std::move(Body)) {} in ForExprAST()
196 std::unique_ptr<ExprAST> Start, End, Step, Body; member
204 VarExprAST(BindingList VarBindings, std::unique_ptr<ExprAST> Body) in VarExprAST()
205 : VarBindings(std::move(VarBindings)), Body(std::move(Body)) {} in VarExprAST()
210 std::unique_ptr<ExprAST> Body; member
241 std::unique_ptr<ExprAST> Body) in FunctionAST()
242 : Proto(std::move(Proto)), Body(std::move(Body)) {} in FunctionAST()
247 std::unique_ptr<ExprAST> Body; member
414 auto Body = ParseExpression(); in ParseForExpr() local
[all …]
/external/clang/lib/Analysis/
DAnalysisDeclContext.cpp96 Stmt *Body = FD->getBody(); in getBody() local
97 if (!Body && Manager && Manager->synthesizeBodies()) { in getBody()
98 Body = getBodyFarm(getASTContext(), Manager->Injector.get()).getBody(FD); in getBody()
99 if (Body) in getBody()
102 return Body; in getBody()
105 Stmt *Body = MD->getBody(); in getBody() local
106 if (!Body && Manager && Manager->synthesizeBodies()) { in getBody()
107 Body = getBodyFarm(getASTContext(), Manager->Injector.get()).getBody(MD); in getBody()
108 if (Body) in getBody()
111 return Body; in getBody()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter8/
Dtoy.cpp315 ExprAST *Start, *End, *Step, *Body; member in __anon664ddea60211::ForExprAST
320 : VarName(varname), Start(start), End(end), Step(step), Body(body) {} in ForExprAST()
326 Body->dump(indent(out, ind) << "Body:", ind + 1); in dump()
335 ExprAST *Body; member in __anon664ddea60211::VarExprAST
340 : VarNames(varnames), Body(body) {} in VarExprAST()
346 Body->dump(indent(out, ind) << "Body:", ind + 1); in dump()
387 ExprAST *Body; member in __anon664ddea60211::FunctionAST
390 FunctionAST(PrototypeAST *proto, ExprAST *body) : Proto(proto), Body(body) {} in FunctionAST()
396 return Body ? Body->dump(out, ind) : out << "null\n"; in dump()
572 ExprAST *Body = ParseExpression(); in ParseForExpr() local
[all …]
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
Dtoy-jit.cpp192 ExprAST *Start, *End, *Step, *Body; member in ForExprAST
196 : VarName(varname), Start(start), End(end), Step(step), Body(body) {} in ForExprAST()
203 ExprAST *Body; member in VarExprAST
207 : VarNames(varnames), Body(body) {} in VarExprAST()
242 ExprAST *Body; member in FunctionAST
245 : Proto(proto), Body(body) {} in FunctionAST()
399 ExprAST *Body = ParseExpression(); in ParseForExpr() local
400 if (Body == 0) return 0; in ParseForExpr()
402 return new ForExprAST(IdName, Start, End, Step, Body); in ParseForExpr()
444 ExprAST *Body = ParseExpression(); in ParseVarExpr() local
[all …]
Dtoy.cpp199 ExprAST *Start, *End, *Step, *Body; member in ForExprAST
203 : VarName(varname), Start(start), End(end), Step(step), Body(body) {} in ForExprAST()
210 ExprAST *Body; member in VarExprAST
214 : VarNames(varnames), Body(body) {} in VarExprAST()
249 ExprAST *Body; member in FunctionAST
252 : Proto(proto), Body(body) {} in FunctionAST()
406 ExprAST *Body = ParseExpression(); in ParseForExpr() local
407 if (Body == 0) return 0; in ParseForExpr()
409 return new ForExprAST(IdName, Start, End, Step, Body); in ParseForExpr()
451 ExprAST *Body = ParseExpression(); in ParseVarExpr() local
[all …]
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp200 ExprAST *Start, *End, *Step, *Body; member in __anonf1d16da50111::ForExprAST
205 : VarName(varname), Start(start), End(end), Step(step), Body(body) {} in ForExprAST()
212 ExprAST *Body; member in __anonf1d16da50111::VarExprAST
217 : VarNames(varnames), Body(body) {} in VarExprAST()
252 ExprAST *Body; member in __anonf1d16da50111::FunctionAST
255 FunctionAST(PrototypeAST *proto, ExprAST *body) : Proto(proto), Body(body) {} in FunctionAST()
426 ExprAST *Body = ParseExpression(); in ParseForExpr() local
427 if (Body == 0) in ParseForExpr()
430 return new ForExprAST(IdName, Start, End, Step, Body); in ParseForExpr()
474 ExprAST *Body = ParseExpression(); in ParseVarExpr() local
[all …]
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
Dtoy-jit.cpp177 ExprAST *Start, *End, *Step, *Body; member in ForExprAST
181 : VarName(varname), Start(start), End(end), Step(step), Body(body) {} in ForExprAST()
188 ExprAST *Body; member in VarExprAST
192 : VarNames(varnames), Body(body) {} in VarExprAST()
227 ExprAST *Body; member in FunctionAST
230 : Proto(proto), Body(body) {} in FunctionAST()
384 ExprAST *Body = ParseExpression(); in ParseForExpr() local
385 if (Body == 0) return 0; in ParseForExpr()
387 return new ForExprAST(IdName, Start, End, Step, Body); in ParseForExpr()
429 ExprAST *Body = ParseExpression(); in ParseVarExpr() local
[all …]
Dtoy.cpp178 ExprAST *Start, *End, *Step, *Body; member in ForExprAST
182 : VarName(varname), Start(start), End(end), Step(step), Body(body) {} in ForExprAST()
189 ExprAST *Body; member in VarExprAST
193 : VarNames(varnames), Body(body) {} in VarExprAST()
228 ExprAST *Body; member in FunctionAST
231 : Proto(proto), Body(body) {} in FunctionAST()
385 ExprAST *Body = ParseExpression(); in ParseForExpr() local
386 if (Body == 0) return 0; in ParseForExpr()
388 return new ForExprAST(IdName, Start, End, Step, Body); in ParseForExpr()
430 ExprAST *Body = ParseExpression(); in ParseVarExpr() local
[all …]
/external/llvm/examples/Kaleidoscope/Orc/fully_lazy/
Dtoy.cpp190 std::unique_ptr<ExprAST> Body) in ForExprAST()
192 Step(std::move(Step)), Body(std::move(Body)) {} in ForExprAST()
197 std::unique_ptr<ExprAST> Start, End, Step, Body; member
205 VarExprAST(BindingList VarBindings, std::unique_ptr<ExprAST> Body) in VarExprAST()
206 : VarBindings(std::move(VarBindings)), Body(std::move(Body)) {} in VarExprAST()
211 std::unique_ptr<ExprAST> Body; member
242 std::unique_ptr<ExprAST> Body) in FunctionAST()
243 : Proto(std::move(Proto)), Body(std::move(Body)) {} in FunctionAST()
248 std::unique_ptr<ExprAST> Body; member
415 auto Body = ParseExpression(); in ParseForExpr() local
[all …]
/external/clang/lib/ARCMigrate/
DTransUnusedInitDelegate.cpp35 Stmt *Body; member in __anone5d6bb750111::UnusedInitRewriter
42 : Body(nullptr), Pass(pass) { } in UnusedInitRewriter()
45 Body = body; in transformBody()
/external/clang/lib/Tooling/
DRefactoringCallbacks.cpp69 const Stmt *Body = PickTrueBranch ? Node->getThen() : Node->getElse(); in run() local
70 if (Body) { in run()
71 Replace.insert(replaceStmtWithStmt(*Result.SourceManager, *Node, *Body)); in run()
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
Dtoy.cpp176 ExprAST *Start, *End, *Step, *Body; member in ForExprAST
180 : VarName(varname), Start(start), End(end), Step(step), Body(body) {} in ForExprAST()
187 ExprAST *Body; member in VarExprAST
191 : VarNames(varnames), Body(body) {} in VarExprAST()
226 ExprAST *Body; member in FunctionAST
229 : Proto(proto), Body(body) {} in FunctionAST()
383 ExprAST *Body = ParseExpression(); in ParseForExpr() local
384 if (Body == 0) return 0; in ParseForExpr()
386 return new ForExprAST(IdName, Start, End, Step, Body); in ParseForExpr()
428 ExprAST *Body = ParseExpression(); in ParseVarExpr() local
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DVirtualCallChecker.cpp228 if (Stmt *Body = I->getBody()) { in checkASTDecl() local
229 walker.Visit(Body); in checkASTDecl()
236 if (Stmt *Body = DD->getBody()) { in checkASTDecl() local
237 walker.Visit(Body); in checkASTDecl()
/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp175 ExprAST *Start, *End, *Step, *Body; member in __anon08d88ba30111::ForExprAST
180 : VarName(varname), Start(start), End(end), Step(step), Body(body) {} in ForExprAST()
201 ExprAST *Body; member in __anon08d88ba30111::FunctionAST
204 FunctionAST(PrototypeAST *proto, ExprAST *body) : Proto(proto), Body(body) {} in FunctionAST()
375 ExprAST *Body = ParseExpression(); in ParseForExpr() local
376 if (Body == 0) in ParseForExpr()
379 return new ForExprAST(IdName, Start, End, Step, Body); in ParseForExpr()
672 if (Body->Codegen() == 0) in Codegen()
775 if (Value *RetVal = Body->Codegen()) { in Codegen()
/external/clang/include/clang/Analysis/Analyses/
DThreadSafetyTIL.h660 : SExpr(COP_Function), VarDecl(Vd), Body(Bd) { in Function()
664 : SExpr(F), VarDecl(Vd), Body(Bd) { in Function()
671 SExpr *body() { return Body; } in body()
672 const SExpr *body() const { return Body; } in body()
680 auto E1 = Vs.traverse(Body, Vs.declCtx(Ctx)); in traverse()
699 SExpr* Body; variable
711 : SExpr(COP_SFunction), VarDecl(Vd), Body(B) { in SFunction()
717 : SExpr(F), VarDecl(Vd), Body(B) { in SFunction()
726 SExpr *body() { return Body; } in body()
727 const SExpr *body() const { return Body; } in body()
[all …]
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
Dtoy.cpp218 ExprAST *Start, *End, *Step, *Body; member in ForExprAST
222 : VarName(varname), Start(start), End(end), Step(step), Body(body) {} in ForExprAST()
229 ExprAST *Body; member in VarExprAST
233 : VarNames(varnames), Body(body) {} in VarExprAST()
268 ExprAST *Body; member in FunctionAST
271 : Proto(proto), Body(body) {} in FunctionAST()
425 ExprAST *Body = ParseExpression(); in ParseForExpr() local
426 if (Body == 0) return 0; in ParseForExpr()
428 return new ForExprAST(IdName, Start, End, Step, Body); in ParseForExpr()
470 ExprAST *Body = ParseExpression(); in ParseVarExpr() local
[all …]
/external/lldb/source/Expression/
DASTResultSynthesizer.cpp224 ASTResultSynthesizer::SynthesizeBodyResult (CompoundStmt *Body, in SynthesizeBodyResult() argument
231 if (!Body) in SynthesizeBodyResult()
234 if (Body->body_empty()) in SynthesizeBodyResult()
237 Stmt **last_stmt_ptr = Body->body_end() - 1; in SynthesizeBodyResult()
242 if (last_stmt_ptr != Body->body_begin()) in SynthesizeBodyResult()
/external/llvm/lib/MC/MCParser/
DAsmParser.cpp68 StringRef Body; member
73 : Name(N), Body(B), Parameters(std::move(P)) {} in MCAsmMacro()
246 void checkForBadMacro(SMLoc DirectiveLoc, StringRef Name, StringRef Body,
248 bool expandMacro(raw_svector_ostream &OS, StringRef Body,
1761 bool AsmParser::expandMacro(raw_svector_ostream &OS, StringRef Body, in expandMacro() argument
1771 while (!Body.empty()) { in expandMacro()
1773 std::size_t End = Body.size(), Pos = 0; in expandMacro()
1778 if (Body[Pos] != '$' || Pos + 1 == End) in expandMacro()
1781 char Next = Body[Pos + 1]; in expandMacro()
1787 if (Body[Pos] == '\\' && Pos + 1 != End) in expandMacro()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp194 ExprAST *Start, *End, *Step, *Body; member in __anon7d54fca40111::ForExprAST
199 : VarName(varname), Start(start), End(end), Step(step), Body(body) {} in ForExprAST()
232 ExprAST *Body; member in __anon7d54fca40111::FunctionAST
235 FunctionAST(PrototypeAST *proto, ExprAST *body) : Proto(proto), Body(body) {} in FunctionAST()
406 ExprAST *Body = ParseExpression(); in ParseForExpr() local
407 if (Body == 0) in ParseForExpr()
410 return new ForExprAST(IdName, Start, End, Step, Body); in ParseForExpr()
780 if (Body->Codegen() == 0) in Codegen()
887 if (Value *RetVal = Body->Codegen()) { in Codegen()

1234