| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | ExprClassification.cpp | 25 using Cl = Expr::Classification; 116 case Expr::ObjCIsaExprClass: in ClassifyInternal() 132 case Expr::TypoExprClass: in ClassifyInternal() 154 case Expr::CXXNewExprClass: in ClassifyInternal() 169 case Expr::BlockExprClass: in ClassifyInternal() 187 case Expr::AsTypeExprClass: in ClassifyInternal() 189 case Expr::AtomicExprClass: in ClassifyInternal() 193 case Expr::NoInitExprClass: in ClassifyInternal() 284 case Expr::ParenExprClass: in ClassifyInternal() 302 case Expr::CallExprClass: in ClassifyInternal() [all …]
|
| H A D | OpenMPClause.cpp | 255 ArrayRef<Expr *> VL, ArrayRef<Expr *> PrivateVL) { in Create() 334 SourceLocation EndLoc, ArrayRef<Expr *> VL, ArrayRef<Expr *> SrcExprs, in Create() 400 ArrayRef<Expr *> PL, ArrayRef<Expr *> IL, Expr *Step, Expr *CalcStep, in Create() 473 SourceLocation EndLoc, ArrayRef<Expr *> VL, ArrayRef<Expr *> SrcExprs, in Create() 474 ArrayRef<Expr *> DstExprs, ArrayRef<Expr *> AssignmentOps) { in Create() 514 SourceLocation EndLoc, ArrayRef<Expr *> VL, ArrayRef<Expr *> SrcExprs, in Create() 515 ArrayRef<Expr *> DstExprs, ArrayRef<Expr *> AssignmentOps) { in Create() 563 ArrayRef<Expr *> Privates, ArrayRef<Expr *> LHSExprs, in Create() 616 ArrayRef<Expr *> Privates, ArrayRef<Expr *> LHSExprs, in Create() 678 ArrayRef<Expr *> Privates, ArrayRef<Expr *> LHSExprs, in Create() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/ |
| H A D | StmtNodes.td | 56 def Expr : Stmt<1>; 58 def DeclRefExpr : DStmt<Expr>; 65 def ParenExpr : DStmt<Expr>; 71 def CallExpr : DStmt<Expr>; 72 def MemberExpr : DStmt<Expr>; 73 def CastExpr : DStmt<Expr, 1>; 88 def NoInitExpr : DStmt<Expr>; 92 def VAArgExpr : DStmt<Expr>; 101 def AtomicExpr : DStmt<Expr>; 105 def StmtExpr : DStmt<Expr>; [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaExceptionSpec.cpp | 1078 case Expr::CallExprClass: in canThrow() 1189 case Expr::MemberExprClass: in canThrow() 1192 case Expr::ParenExprClass: in canThrow() 1196 case Expr::VAArgExprClass: in canThrow() 1216 case Expr::StmtExprClass: in canThrow() 1225 case Expr::ChooseExprClass: in canThrow() 1242 case Expr::AsTypeExprClass: in canThrow() 1244 case Expr::BlockExprClass: in canThrow() 1261 case Expr::TypoExprClass: in canThrow() 1267 case Expr::AtomicExprClass: in canThrow() [all …]
|
| H A D | SemaFixItUtils.cpp | 66 const Expr* Expr = FullExpr->IgnoreImpCasts(); in tryToFixConversion() local 70 isa<CallExpr>(Expr) || in tryToFixConversion() 71 isa<DeclRefExpr>(Expr) || in tryToFixConversion() 72 isa<CastExpr>(Expr) || in tryToFixConversion() 73 isa<CXXNewExpr>(Expr) || in tryToFixConversion() 75 isa<CXXDeleteExpr>(Expr) || in tryToFixConversion() 79 isa<CXXThisExpr>(Expr) || in tryToFixConversion() 80 isa<CXXTypeidExpr>(Expr) || in tryToFixConversion() 85 isa<MemberExpr>(Expr) || in tryToFixConversion() 89 isa<UnaryOperator>(Expr)) in tryToFixConversion() [all …]
|
| H A D | SemaPseudoObject.cpp | 107 Expr *rebuild(Expr *e) { in rebuild() 221 Expr *LHS, Expr *RHS); 252 virtual Expr *rebuildAndCaptureObject(Expr *) = 0; 294 Expr *LHS, Expr *RHS); 304 Expr *rebuildAndCaptureObject(Expr *syntacticBase) override; 333 Expr *LHS, Expr *RHS); 334 Expr *rebuildAndCaptureObject(Expr *syntacticBase) override; 360 Expr *rebuildAndCaptureObject(Expr *) override; 435 Expr *LHS, Expr *RHS) { in buildAssignmentOperation() 1038 Rebuilder(S, [=](Expr *, unsigned Idx) -> Expr * { in rebuildAndCaptureObject() argument [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | Expr.h | 75 Expr *RHS; 891 Expr *getSubExpr() { return cast<Expr>(SubExpr); } in getSubExpr() 1530 Expr *getSubExpr() { return cast<Expr>(Val); } in getSubExpr() 1861 Expr *getSubExpr() { return cast<Expr>(Val); } in getSubExpr() 2772 Expr *getBase() const { return cast<Expr>(Base); } in getBase() 3055 Expr *getSubExpr() { return cast<Expr>(Op); } in getSubExpr() 3167 inline Expr *Expr::IgnoreImpCasts() { in IgnoreImpCasts() 3674 Expr *cond, Expr *lhs, Expr *rhs, in BinaryConditionalOperator() 3988 ChooseExpr(SourceLocation BLoc, Expr *cond, Expr *lhs, Expr *rhs, in ChooseExpr() 4115 Expr *getSubExpr() { return cast<Expr>(Val); } in getSubExpr() [all …]
|
| H A D | OpenMPClause.h | 2067 ArrayRef<Expr *> LHSExprs, ArrayRef<Expr *> RHSExprs, 2287 ArrayRef<Expr *> LHSExprs, ArrayRef<Expr *> RHSExprs, 2728 ArrayRef<Expr *> PL, ArrayRef<Expr *> IL, Expr *Step, Expr *CalcStep, 3474 Expr *getDevice() { return cast<Expr>(Device); } in getDevice() 3477 Expr *getDevice() const { return cast<Expr>(Device); } in getDevice() 4322 Expr *getNumTeams() { return cast<Expr>(NumTeams); } in getNumTeams() 4325 Expr *getNumTeams() const { return cast<Expr>(NumTeams); } in getNumTeams() 4387 Expr *getThreadLimit() { return cast<Expr>(ThreadLimit); } in getThreadLimit() 4444 Expr *getPriority() { return cast<Expr>(Priority); } in getPriority() 4447 Expr *getPriority() const { return cast<Expr>(Priority); } in getPriority() [all …]
|
| H A D | ExprOpenMP.h | 45 class OMPArraySectionExpr : public Expr { 52 OMPArraySectionExpr(Expr *Base, Expr *LowerBound, Expr *Length, QualType Type, in OMPArraySectionExpr() 55 : Expr( in OMPArraySectionExpr() 77 : Expr(OMPArraySectionExprClass, Shell) {} in OMPArraySectionExpr() 82 Expr *getBase() { return cast<Expr>(SubExprs[BASE]); } in getBase() 83 const Expr *getBase() const { return cast<Expr>(SubExprs[BASE]); } in getBase() 85 void setBase(Expr *E) { SubExprs[BASE] = E; } in setBase() 91 Expr *getLowerBound() { return cast_or_null<Expr>(SubExprs[LOWER_BOUND]); } in getLowerBound() 92 const Expr *getLowerBound() const { in getLowerBound() 99 Expr *getLength() { return cast_or_null<Expr>(SubExprs[LENGTH]); } in getLength() [all …]
|
| H A D | ExprCXX.h | 175 CXXMemberCallExpr(Expr *Fn, ArrayRef<Expr *> Args, QualType Ty, 641 Expr *getSubExpr() { return static_cast<Expr*>(SubExpr); } in getSubExpr() 760 Expr *BaseExpr; 854 Expr *getBase() { return cast<Expr>(SubExprs[BASE_EXPR]); } in getBase() 857 Expr *getIdx() { return cast<Expr>(SubExprs[IDX_EXPR]); } in getIdx() 1038 Expr *getSubExpr() { return cast_or_null<Expr>(Operand); } in getSubExpr() 1080 : Expr(SC, in CXXDefaultArgExpr() 1241 Expr *getSubExpr() { return cast<Expr>(SubExpr); } in getSubExpr() 2212 Expr *getArgument() { return cast<Expr>(Argument); } in getArgument() 2329 Expr *getBase() const { return cast<Expr>(Base); } in getBase() [all …]
|
| H A D | ExprObjC.h | 135 Expr *getSubExpr() { return cast<Expr>(SubExpr); } in getSubExpr() 136 const Expr *getSubExpr() const { return cast<Expr>(SubExpr); } in getSubExpr() 241 Expr *Key; 244 Expr *Value; 269 Expr *Key; 270 Expr *Value; 547 const Expr *getBase() const { return cast<Expr>(Base); } 548 Expr *getBase() { return cast<Expr>(Base); } 820 ObjCSubscriptRefExpr(Expr *base, Expr *key, QualType T, 1463 Expr *getBase() const { return cast<Expr>(Base); } [all …]
|
| H A D | DeclOpenMP.h | 57 MutableArrayRef<Expr *> getVars() { in getVars() 58 return MutableArrayRef<Expr *>(getTrailingObjects<Expr *>(), NumVars); in getVars() 61 void setVars(ArrayRef<Expr *> VL); 116 Expr *Combiner = nullptr; 118 Expr *Initializer = nullptr; 120 Expr *In = nullptr; 122 Expr *Out = nullptr; 124 Expr *Priv = nullptr; 126 Expr *Orig = nullptr; 164 void setCombinerData(Expr *InE, Expr *OutE) { in setCombinerData() [all …]
|
| H A D | StmtOpenMP.h | 404 Expr **Storage = reinterpret_cast<Expr **>( in getCounters() 411 Expr **Storage = reinterpret_cast<Expr **>(&*std::next( in getPrivateCounters() 418 Expr **Storage = reinterpret_cast<Expr **>( in getInits() 426 Expr **Storage = reinterpret_cast<Expr **>( in getUpdates() 434 Expr **Storage = reinterpret_cast<Expr **>( in getFinals() 633 Expr *LB; 636 Expr *UB; 682 Expr *IL; 684 Expr *LB; 686 Expr *UB; [all …]
|
| /freebsd-12.1/contrib/llvm/lib/TableGen/ |
| H A D | SetTheory.cpp | 43 ST.evaluate(Expr->arg_begin(), Expr->arg_end(), Elts, Loc); in apply() 51 if (Expr->arg_size() < 2) in apply() 53 Expr->getAsString()); in apply() 56 ST.evaluate(Expr->arg_begin() + 1, Expr->arg_end(), Sub, Loc); in apply() 67 if (Expr->arg_size() != 2) in apply() 69 Expr->getAsString()); in apply() 86 if (Expr->arg_size() != 2) in apply() 88 Expr->getAsString()); in apply() 94 Expr->getAsString()); in apply() 105 Expr->getAsString()); in apply2() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Utility/ |
| H A D | TildeExpressionResolver.cpp | 34 StringRef Expr, SmallVectorImpl<char> &Output) { in ResolveExact() argument 38 assert(Expr.empty() || Expr[0] == '~'); in ResolveExact() 40 return !fs::real_path(Expr, Output, true); in ResolveExact() 48 assert(Expr.empty() || Expr[0] == '~'); in ResolvePartial() 54 if (Expr.empty()) in ResolvePartial() 60 Expr = Expr.drop_front(); in ResolvePartial() 64 if (!ThisName.startswith(Expr)) in ResolvePartial() 78 StringRef Expr, llvm::SmallVectorImpl<char> &Output) { in ResolveFullPath() argument 80 if (!Expr.startswith("~")) { in ResolveFullPath() 81 Output.append(Expr.begin(), Expr.end()); in ResolveFullPath() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | RuntimeDyldChecker.cpp | 39 Expr = Expr.trim(); in evaluate() 115 if (Expr.empty()) in getTokenForError() 119 if (isalpha(Expr[0])) in getTokenForError() 125 if (Expr.startswith("<<") || Expr.startswith(">>")) in getTokenForError() 156 if (Expr.empty()) in parseBinOpToken() 167 switch (Expr[0]) { in parseBinOpToken() 226 return std::make_pair(unexpectedToken(Expr, Expr, "expected '('"), ""); in evalDecodeOperand() 294 return std::make_pair(unexpectedToken(Expr, Expr, "expected '('"), ""); in evalNextPC() 554 if (Expr.empty()) in evalSimpleExpr() 561 else if (isalpha(Expr[0]) || Expr[0] == '_') in evalSimpleExpr() [all …]
|
| /freebsd-12.1/contrib/llvm/include/llvm/Analysis/ |
| H A D | ScalarEvolutionExpressions.h | 607 ? Expr in visitTruncateExpr() 614 ? Expr in visitZeroExtendExpr() 621 ? Expr in visitSignExtendExpr() 628 for (auto *Op : Expr->operands()) { in visitAddExpr() 648 bool Changed = LHS != Expr->getLHS() || RHS != Expr->getRHS(); in visitUDivExpr() 659 return !Changed ? Expr in visitAddRecExpr() 685 return Expr; in visitUnknown() 689 return Expr; in visitCouldNotCompute() 710 Value *V = Expr->getValue(); in visitUnknown() 717 return Expr; in visitUnknown() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/Hexagon/MCTargetDesc/ |
| H A D | HexagonMCExpr.cpp | 24 return new (Ctx) HexagonMCExpr(Expr); in create() 30 return Expr->evaluateAsRelocatable(Res, Layout, Fixup); in evaluateAsRelocatableImpl() 34 Streamer.visitUsedExpr(*Expr); in visitUsedExpr() 38 return Expr->findAssociatedFragment(); in findAssociatedFragment() 42 switch (Expr->getKind()) { in fixELFSymbolsInTLSFixupsImpl() 50 const MCBinaryExpr *be = cast<MCBinaryExpr>(Expr); in fixELFSymbolsInTLSFixupsImpl() 56 const MCSymbolRefExpr &symRef = *cast<MCSymbolRefExpr>(Expr); in fixELFSymbolsInTLSFixupsImpl() 83 MCExpr const *HexagonMCExpr::getExpr() const { return Expr; } in getExpr() 106 HexagonMCExpr::HexagonMCExpr(MCExpr const *Expr) in HexagonMCExpr() argument 107 : Expr(Expr), MustNotExtend(false), MustExtend(false), S27_2_reloc(false), in HexagonMCExpr() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/ |
| H A D | ExprMutationAnalyzer.h | 31 const Stmt *findMutation(const Expr *Exp); 34 bool isPointeeMutated(const Expr *Exp) { in isPointeeMutated() 40 const Stmt *findPointeeMutation(const Expr *Exp); 47 const Stmt *findMutationMemoized(const Expr *Exp, 52 bool isUnevaluated(const Expr *Exp); 61 const Stmt *findDirectMutation(const Expr *Exp); 62 const Stmt *findMemberMutation(const Expr *Exp); 64 const Stmt *findCastMutation(const Expr *Exp); 65 const Stmt *findRangeLoopMutation(const Expr *Exp); 66 const Stmt *findReferenceMutation(const Expr *Exp); [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntime.h | 39 class Expr; variable 93 SmallVector<const Expr *, 4> PrivateVars; 94 SmallVector<const Expr *, 4> PrivateCopies; 102 SmallVector<const Expr *, 4> ReductionOps; 119 const Expr *Ref = nullptr; 121 const Expr *Private = nullptr; 123 const Expr *ReductionOp = nullptr; 124 ReductionData(const Expr *Ref, const Expr *Private, const Expr *ReductionOp) in ReductionData() 1493 const Expr *IfCond, const Expr *Device, 1553 const Expr *&ChunkExpr) const {} in getDefaultScheduleAndChunk() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lld/ELF/ |
| H A D | Relocations.cpp | 431 switch (Expr) { in toPlt() 445 return Expr; in toPlt() 452 switch (Expr) { in fromPlt() 460 return Expr; in fromPlt() 775 RelExpr Expr; in addGotEntry() local 777 Expr = R_TLS; in addGotEntry() 1033 Expr = toPlt(Expr); in scanReloc() 1035 Expr = Target->adjustRelaxExpr(Type, RelocatedAddr, Expr); in scanReloc() 1037 Expr = fromPlt(Expr); in scanReloc() 1422 Rel.Expr = toPlt(Rel.Expr); in normalizeExistingThunk() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/ |
| H A D | BodyFarm.cpp | 55 BinaryOperator *makeAssignment(const Expr *LHS, const Expr *RHS, QualType Ty); 58 BinaryOperator *makeComparison(const Expr *LHS, const Expr *RHS, 72 Expr *makeIntegralCast(const Expr *Arg, QualType Ty); 116 BinaryOperator *ASTMaker::makeAssignment(const Expr *LHS, const Expr *RHS, in makeAssignment() 118 return new (C) BinaryOperator(const_cast<Expr*>(LHS), const_cast<Expr*>(RHS), in makeAssignment() 123 BinaryOperator *ASTMaker::makeComparison(const Expr *LHS, const Expr *RHS, in makeComparison() 178 Expr *ASTMaker::makeIntegralCast(const Expr *Arg, QualType Ty) { in makeIntegralCast() 256 Expr *SubExpr; in create_call_once_funcptr_call() 521 Expr *DoneValue = in create_dispatch_once() 626 Expr *Comparison = in create_OSAtomicCompareAndSwap() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Edit/ |
| H A D | RewriteObjCFoundationAPI.cpp | 766 const Expr *literalE = Arg; in rewriteToNumberLiteral() 893 const Expr* Expr = FullExpr->IgnoreImpCasts(); in subscriptOperatorNeedsParens() local 895 isa<CallExpr>(Expr) || in subscriptOperatorNeedsParens() 896 isa<DeclRefExpr>(Expr) || in subscriptOperatorNeedsParens() 899 isa<CXXThisExpr>(Expr) || in subscriptOperatorNeedsParens() 905 isa<MemberExpr>(Expr) || in subscriptOperatorNeedsParens() 915 const Expr* Expr = FullExpr->IgnoreImpCasts(); in castOperatorNeedsParens() local 917 isa<CallExpr>(Expr) || in castOperatorNeedsParens() 919 isa<CastExpr>(Expr) || in castOperatorNeedsParens() 920 isa<CXXNewExpr>(Expr) || in castOperatorNeedsParens() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/PowerPC/MCTargetDesc/ |
| H A D | PPCMCExpr.h | 36 const MCExpr *Expr; variable 41 explicit PPCMCExpr(VariantKind Kind, const MCExpr *Expr, bool IsDarwin) in PPCMCExpr() argument 42 : Kind(Kind), Expr(Expr), IsDarwin(IsDarwin) {} in PPCMCExpr() 48 static const PPCMCExpr *create(VariantKind Kind, const MCExpr *Expr, 51 static const PPCMCExpr *createLo(const MCExpr *Expr, in createLo() argument 53 return create(VK_PPC_LO, Expr, isDarwin, Ctx); in createLo() 56 static const PPCMCExpr *createHi(const MCExpr *Expr, in createHi() argument 58 return create(VK_PPC_HI, Expr, isDarwin, Ctx); in createHi() 61 static const PPCMCExpr *createHa(const MCExpr *Expr, in createHa() argument 63 return create(VK_PPC_HA, Expr, isDarwin, Ctx); in createHa() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/ |
| H A D | Sema.h | 118 class Expr; variable 1771 NameClassification(ExprResult Expr) : Kind(NC_Expression), Expr(Expr) {} in NameClassification() argument 2939 Expr *FixOverloadedFunctionReference(Expr *E, 3685 Expr *E; 4459 Expr *CondExpr, Expr *LHSExpr, Expr *RHSExpr); 5339 Expr *MaybeCreateExprWithCleanups(Expr *SubExpr); 5347 ExprResult ActOnFinishFullExpr(Expr *Expr) { in ActOnFinishFullExpr() argument 5348 return ActOnFinishFullExpr(Expr, Expr ? Expr->getExprLoc() in ActOnFinishFullExpr() 9103 Expr *Simdlen, ArrayRef<Expr *> Uniforms, ArrayRef<Expr *> Aligneds, 9108 Expr *Expr, [all …]
|