| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | ExprClassification.cpp | 24 using Cl = Expr::Classification; 121 case Expr::ObjCIsaExprClass: in ClassifyInternal() 138 case Expr::TypoExprClass: in ClassifyInternal() 162 case Expr::CXXNewExprClass: in ClassifyInternal() 177 case Expr::BlockExprClass: in ClassifyInternal() 195 case Expr::AsTypeExprClass: in ClassifyInternal() 197 case Expr::AtomicExprClass: in ClassifyInternal() 201 case Expr::NoInitExprClass: in ClassifyInternal() 300 case Expr::ParenExprClass: in ClassifyInternal() 318 case Expr::CallExprClass: in ClassifyInternal() [all …]
|
| H A D | OpenMPClause.cpp | 496 ArrayRef<Expr *> DstExprs, ArrayRef<Expr *> AssignmentOps, in Create() 569 ArrayRef<Expr *> PL, ArrayRef<Expr *> IL, Expr *Step, Expr *CalcStep, in Create() 653 ArrayRef<Expr *> DstExprs, ArrayRef<Expr *> AssignmentOps) { in Create() 694 ArrayRef<Expr *> DstExprs, ArrayRef<Expr *> AssignmentOps) { in Create() 769 ArrayRef<Expr *> Privates, ArrayRef<Expr *> LHSExprs, in Create() 770 ArrayRef<Expr *> RHSExprs, ArrayRef<Expr *> ReductionOps, in Create() 771 ArrayRef<Expr *> CopyOps, ArrayRef<Expr *> CopyArrayTemps, in Create() 841 ArrayRef<Expr *> Privates, ArrayRef<Expr *> LHSExprs, in Create() 903 ArrayRef<Expr *> Privates, ArrayRef<Expr *> LHSExprs, in Create() 904 ArrayRef<Expr *> RHSExprs, ArrayRef<Expr *> ReductionOps, in Create() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | StmtNodes.td | 61 def DeclRefExpr : StmtNode<Expr>; 68 def ParenExpr : StmtNode<Expr>; 76 def CallExpr : StmtNode<Expr>; 77 def MemberExpr : StmtNode<Expr>; 78 def CastExpr : StmtNode<Expr, 1>; 94 def NoInitExpr : StmtNode<Expr>; 98 def VAArgExpr : StmtNode<Expr>; 108 def AtomicExpr : StmtNode<Expr>; 112 def StmtExpr : StmtNode<Expr>; 113 def ChooseExpr : StmtNode<Expr>; [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ExprOpenMP.h | 64 OMPArraySectionExpr(Expr *Base, Expr *LowerBound, Expr *Length, Expr *Stride, in OMPArraySectionExpr() 85 Expr *getBase() { return cast<Expr>(SubExprs[BASE]); } in getBase() 86 const Expr *getBase() const { return cast<Expr>(SubExprs[BASE]); } in getBase() 94 Expr *getLowerBound() { return cast_or_null<Expr>(SubExprs[LOWER_BOUND]); } in getLowerBound() 102 Expr *getLength() { return cast_or_null<Expr>(SubExprs[LENGTH]); } in getLength() 103 const Expr *getLength() const { return cast_or_null<Expr>(SubExprs[LENGTH]); } in getLength() 108 Expr *getStride() { return cast_or_null<Expr>(SubExprs[STRIDE]); } in getStride() 147 : public Expr, 169 void setBase(Expr *Op) { getTrailingObjects<Expr *>()[NumDims] = Op; } in setBase() 214 Expr *getBase() { return getTrailingObjects<Expr *>()[NumDims]; } in getBase() [all …]
|
| H A D | IgnoreExpr.h | 23 inline Expr *IgnoreExprNodesImpl(Expr *E) { return E; } in IgnoreExprNodesImpl() 43 const Expr *IgnoreExprNodes(const Expr *E, FnTys &&...Fns) { in IgnoreExprNodes() 47 inline Expr *IgnoreImplicitCastsSingleStep(Expr *E) { in IgnoreImplicitCastsSingleStep() 57 inline Expr *IgnoreImplicitCastsExtraSingleStep(Expr *E) { in IgnoreImplicitCastsExtraSingleStep() 74 inline Expr *IgnoreCastsSingleStep(Expr *E) { in IgnoreCastsSingleStep() 90 inline Expr *IgnoreLValueCastsSingleStep(Expr *E) { in IgnoreLValueCastsSingleStep() 100 inline Expr *IgnoreBaseCastsSingleStep(Expr *E) { in IgnoreBaseCastsSingleStep() 110 inline Expr *IgnoreImplicitSingleStep(Expr *E) { in IgnoreImplicitSingleStep() 136 inline Expr *IgnoreImplicitAsWrittenSingleStep(Expr *E) { in IgnoreImplicitAsWrittenSingleStep() 143 inline Expr *IgnoreParensOnlySingleStep(Expr *E) { in IgnoreParensOnlySingleStep() [all …]
|
| H A D | Expr.h | 78 Expr *RHS; 114 Expr(const Expr&) = delete; 115 Expr(Expr &&) = delete; 116 Expr &operator=(const Expr&) = delete; 117 Expr &operator=(Expr&&) = delete; 1718 Expr *getSubExpr() { return cast<Expr>(Val); } in getSubExpr() 2715 MatrixSubscriptExpr(Expr *Base, Expr *RowIdx, Expr *ColumnIdx, QualType T, in MatrixSubscriptExpr() 3517 Expr *getSubExpr() { return cast<Expr>(Op); } in getSubExpr() 4210 Expr *cond, Expr *lhs, Expr *rhs, in BinaryConditionalOperator() 4519 ChooseExpr(SourceLocation BLoc, Expr *cond, Expr *lhs, Expr *rhs, QualType t, in ChooseExpr() [all …]
|
| H A D | ExprObjC.h | 144 Expr *getSubExpr() { return cast<Expr>(SubExpr); } in getSubExpr() 145 const Expr *getSubExpr() const { return cast<Expr>(SubExpr); } in getSubExpr() 221 Expr **getElements() { return getTrailingObjects<Expr *>(); } in getElements() 265 Expr *Key; 268 Expr *Value; 287 Expr *Key; 288 Expr *Value; 580 const Expr *getBase() const { return cast<Expr>(Base); } in getBase() 581 Expr *getBase() { return cast<Expr>(Base); } in getBase() 1507 Expr *getBase() const { return cast<Expr>(Base); } in getBase() [all …]
|
| H A D | ExprCXX.h | 181 CXXMemberCallExpr(Expr *Fn, ArrayRef<Expr *> Args, QualType Ty, 302 Expr *getSemanticForm() { return cast<Expr>(SemanticForm); } in getSemanticForm() 807 Expr *getSubExpr() { return static_cast<Expr*>(SubExpr); } in getSubExpr() 1019 Expr *getBase() { return cast<Expr>(SubExprs[BASE_EXPR]); } in getBase() 1022 Expr *getIdx() { return cast<Expr>(SubExprs[IDX_EXPR]); } in getIdx() 1202 Expr *getSubExpr() { return cast_or_null<Expr>(Operand); } in getSubExpr() 1252 : Expr(SC, in CXXDefaultArgExpr() 1435 Expr *getSubExpr() { return cast<Expr>(SubExpr); } in getSubExpr() 2439 Expr *getArgument() { return cast<Expr>(Argument); } in getArgument() 2560 Expr *getBase() const { return cast<Expr>(Base); } in getBase() [all …]
|
| H A D | OpenMPClause.h | 980 Expr *getFactor() const { return cast_or_null<Expr>(Factor); } in getFactor() 3875 ArrayRef<Expr *> PL, ArrayRef<Expr *> IL, Expr *Step, Expr *CalcStep, 4825 Expr *getDevice() { return cast<Expr>(Device); } in getDevice() 4828 Expr *getDevice() const { return cast<Expr>(Device); } in getDevice() 5880 Expr *getNumTeams() { return cast<Expr>(NumTeams); } in getNumTeams() 5883 Expr *getNumTeams() const { return cast<Expr>(NumTeams); } in getNumTeams() 5957 Expr *getThreadLimit() { return cast<Expr>(ThreadLimit); } in getThreadLimit() 6032 Expr *getPriority() { return cast<Expr>(Priority); } in getPriority() 6035 Expr *getPriority() const { return cast<Expr>(Priority); } in getPriority() 6274 Expr *getHint() const { return cast_or_null<Expr>(Hint); } in getHint() [all …]
|
| H A D | StmtOpenMP.h | 709 Expr *LB; 712 Expr *UB; 715 Expr *EUB; 725 Expr *NLB; 728 Expr *NUB; 756 Expr *Inc; 758 Expr *IL; 760 Expr *LB; 762 Expr *UB; 764 Expr *ST; [all …]
|
| H A D | DeclOpenMP.h | 129 void setVars(ArrayRef<Expr *> VL); 184 Expr *Combiner = nullptr; 186 Expr *Initializer = nullptr; 188 Expr *In = nullptr; 190 Expr *Out = nullptr; 192 Expr *Priv = nullptr; 194 Expr *Orig = nullptr; 232 void setCombinerData(Expr *InE, Expr *OutE) { in setCombinerData() 257 void setInitializerData(Expr *OrigE, Expr *PrivE) { in setInitializerData() 293 Expr *MapperVarRef = nullptr; [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Utility/ |
| H A D | TildeExpressionResolver.cpp | 33 StringRef Expr, SmallVectorImpl<char> &Output) { in ResolveExact() argument 37 assert(Expr.empty() || Expr[0] == '~'); in ResolveExact() 39 return !fs::real_path(Expr, Output, true); in ResolveExact() 47 assert(Expr.empty() || Expr[0] == '~'); in ResolvePartial() 53 if (Expr.empty()) in ResolvePartial() 59 Expr = Expr.drop_front(); in ResolvePartial() 63 if (!ThisName.startswith(Expr)) in ResolvePartial() 78 if (!Expr.startswith("~")) { in ResolveFullPath() 79 Output.assign(Expr.begin(), Expr.end()); in ResolveFullPath() 88 Output.assign(Expr.begin(), Expr.end()); in ResolveFullPath() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/TableGen/ |
| H A D | SetTheory.cpp | 42 ST.evaluate(Expr->arg_begin(), Expr->arg_end(), Elts, Loc); in apply() 50 if (Expr->arg_size() < 2) in apply() 52 Expr->getAsString()); in apply() 55 ST.evaluate(Expr->arg_begin() + 1, Expr->arg_end(), Sub, Loc); in apply() 66 if (Expr->arg_size() != 2) in apply() 68 Expr->getAsString()); in apply() 85 if (Expr->arg_size() != 2) in apply() 87 Expr->getAsString()); in apply() 93 Expr->getAsString()); in apply() 104 Expr->getAsString()); in apply2() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Transformer/ |
| H A D | SourceCodeBuilders.cpp | 20 const Expr *tooling::reallyIgnoreImplicit(const Expr &E) { in reallyIgnoreImplicit() 21 const Expr *Expr = E.IgnoreImplicit(); in reallyIgnoreImplicit() local 22 if (const auto *CE = dyn_cast<CXXConstructExpr>(Expr)) { in reallyIgnoreImplicit() 27 return Expr; in reallyIgnoreImplicit() 30 bool tooling::mayEverNeedParens(const Expr &E) { in mayEverNeedParens() 31 const Expr *Expr = reallyIgnoreImplicit(E); in mayEverNeedParens() local 34 if (isa<UnaryOperator>(Expr) || isa<BinaryOperator>(Expr) || in mayEverNeedParens() 35 isa<AbstractConditionalOperator>(Expr)) in mayEverNeedParens() 43 if (const auto *Op = dyn_cast<CXXOperatorCallExpr>(Expr)) in mayEverNeedParens() 51 const Expr *Expr = reallyIgnoreImplicit(E); in needParensAfterUnaryOperator() local [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | RuntimeDyldChecker.cpp | 38 Expr = Expr.trim(); in evaluate() 114 if (Expr.empty()) in getTokenForError() 118 if (isalpha(Expr[0])) in getTokenForError() 124 if (Expr.startswith("<<") || Expr.startswith(">>")) in getTokenForError() 155 if (Expr.empty()) in parseBinOpToken() 166 switch (Expr[0]) { in parseBinOpToken() 225 return std::make_pair(unexpectedToken(Expr, Expr, "expected '('"), ""); in evalDecodeOperand() 293 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-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaExceptionSpec.cpp | 1152 case Expr::CallExprClass: in canThrow() 1267 case Expr::CoawaitExprClass: in canThrow() 1278 case Expr::MemberExprClass: in canThrow() 1281 case Expr::ParenExprClass: in canThrow() 1284 case Expr::StmtExprClass: in canThrow() 1286 case Expr::VAArgExprClass: in canThrow() 1349 case Expr::AsTypeExprClass: in canThrow() 1351 case Expr::BlockExprClass: in canThrow() 1367 case Expr::TypoExprClass: in canThrow() 1373 case Expr::AtomicExprClass: in canThrow() [all …]
|
| H A D | SemaFixItUtils.cpp | 65 const Expr* Expr = FullExpr->IgnoreImpCasts(); in tryToFixConversion() local 69 isa<CallExpr>(Expr) || in tryToFixConversion() 70 isa<DeclRefExpr>(Expr) || in tryToFixConversion() 71 isa<CastExpr>(Expr) || in tryToFixConversion() 72 isa<CXXNewExpr>(Expr) || in tryToFixConversion() 74 isa<CXXDeleteExpr>(Expr) || in tryToFixConversion() 78 isa<CXXThisExpr>(Expr) || in tryToFixConversion() 79 isa<CXXTypeidExpr>(Expr) || in tryToFixConversion() 84 isa<MemberExpr>(Expr) || in tryToFixConversion() 88 isa<UnaryOperator>(Expr)) in tryToFixConversion() [all …]
|
| H A D | SemaPseudoObject.cpp | 106 Expr *rebuild(Expr *e) { in rebuild() 212 Expr *LHS, Expr *RHS); 243 virtual Expr *rebuildAndCaptureObject(Expr *) = 0; 285 Expr *LHS, Expr *RHS); 295 Expr *rebuildAndCaptureObject(Expr *syntacticBase) override; 324 Expr *LHS, Expr *RHS); 325 Expr *rebuildAndCaptureObject(Expr *syntacticBase) override; 351 Expr *rebuildAndCaptureObject(Expr *) override; 426 Expr *LHS, Expr *RHS) { in buildAssignmentOperation() 1028 Rebuilder(S, [=](Expr *, unsigned Idx) -> Expr * { in rebuildAndCaptureObject() argument [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/ |
| H A D | HexagonMCExpr.cpp | 23 return new (Ctx) HexagonMCExpr(Expr); in create() 29 return Expr->evaluateAsRelocatable(Res, Layout, Fixup); in evaluateAsRelocatableImpl() 33 Streamer.visitUsedExpr(*Expr); in visitUsedExpr() 37 return Expr->findAssociatedFragment(); in findAssociatedFragment() 41 switch (Expr->getKind()) { in fixELFSymbolsInTLSFixupsImpl() 49 const MCBinaryExpr *be = cast<MCBinaryExpr>(Expr); in fixELFSymbolsInTLSFixupsImpl() 55 const MCSymbolRefExpr &symRef = *cast<MCSymbolRefExpr>(Expr); in fixELFSymbolsInTLSFixupsImpl() 82 MCExpr const *HexagonMCExpr::getExpr() const { return Expr; } in getExpr() 105 HexagonMCExpr::HexagonMCExpr(MCExpr const *Expr) in HexagonMCExpr() argument 106 : Expr(Expr), MustNotExtend(false), MustExtend(false), S27_2_reloc(false), in HexagonMCExpr() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Analysis/Analyses/ |
| H A D | ExprMutationAnalyzer.h | 30 const Stmt *findMutation(const Expr *Exp); 33 bool isPointeeMutated(const Expr *Exp) { in isPointeeMutated() 39 const Stmt *findPointeeMutation(const Expr *Exp); 46 const Stmt *findMutationMemoized(const Expr *Exp, 51 bool isUnevaluated(const Expr *Exp); 60 const Stmt *findDirectMutation(const Expr *Exp); 61 const Stmt *findMemberMutation(const Expr *Exp); 63 const Stmt *findCastMutation(const Expr *Exp); 64 const Stmt *findRangeLoopMutation(const Expr *Exp); 65 const Stmt *findReferenceMutation(const Expr *Exp); [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/ |
| H A D | PPCMCExpr.h | 35 const MCExpr *Expr; variable 39 explicit PPCMCExpr(VariantKind Kind, const MCExpr *Expr) in PPCMCExpr() argument 40 : Kind(Kind), Expr(Expr) {} in PPCMCExpr() 46 static const PPCMCExpr *create(VariantKind Kind, const MCExpr *Expr, 49 static const PPCMCExpr *createLo(const MCExpr *Expr, MCContext &Ctx) { in createLo() argument 50 return create(VK_PPC_LO, Expr, Ctx); in createLo() 53 static const PPCMCExpr *createHi(const MCExpr *Expr, MCContext &Ctx) { in createHi() argument 54 return create(VK_PPC_HI, Expr, Ctx); in createHi() 57 static const PPCMCExpr *createHa(const MCExpr *Expr, MCContext &Ctx) { in createHa() argument 58 return create(VK_PPC_HA, Expr, Ctx); in createHa() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | ScalarEvolutionExpressions.h | 744 ? Expr in visitPtrToIntExpr() 751 ? Expr in visitTruncateExpr() 758 ? Expr in visitZeroExtendExpr() 765 ? Expr in visitSignExtendExpr() 772 for (auto *Op : Expr->operands()) { in visitAddExpr() 792 bool Changed = LHS != Expr->getLHS() || RHS != Expr->getRHS(); in visitUDivExpr() 803 return !Changed ? Expr in visitAddRecExpr() 849 return Expr; in visitUnknown() 853 return Expr; in visitCouldNotCompute() 876 return Expr; in visitUnknown() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Tooling/Transformer/ |
| H A D | SourceCodeBuilders.h | 28 const Expr *reallyIgnoreImplicit(const Expr &E); 33 bool mayEverNeedParens(const Expr &E); 39 inline bool needParensBeforeDotOrArrow(const Expr &E) { in needParensBeforeDotOrArrow() 45 bool needParensAfterUnaryOperator(const Expr &E); 53 llvm::Optional<std::string> buildParens(const Expr &E, 58 llvm::Optional<std::string> buildDereference(const Expr &E, 63 llvm::Optional<std::string> buildAddressOf(const Expr &E, 72 llvm::Optional<std::string> buildDot(const Expr &E, const ASTContext &Context); 80 llvm::Optional<std::string> buildArrow(const Expr &E,
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFExpression.h | 98 const DWARFExpression *Expr, const MCRegisterInfo *RegInfo, 108 const DWARFExpression *Expr; variable 111 iterator(const DWARFExpression *Expr, uint64_t Offset) in iterator() argument 112 : Expr(Expr), Offset(Offset) { in iterator() 114 Offset >= Expr->Data.getData().size() || in iterator() 115 !Op.extract(Expr->Data, Expr->AddressSize, Offset, Expr->Format); in iterator() 120 Offset = Op.isError() ? Expr->Data.getData().size() : Op.EndOffset; 122 Offset >= Expr->Data.getData().size() || 123 !Op.extract(Expr->Data, Expr->AddressSize, Offset, Expr->Format); 132 return iterator(Expr, Op.EndOffset + Add); in skipBytes() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntime.h | 45 class Expr; variable 110 const Expr *IteratorExpr = nullptr; 134 const Expr *Shared = nullptr; 136 const Expr *Ref = nullptr; 138 const Expr *Private = nullptr; 140 const Expr *ReductionOp = nullptr; 141 ReductionData(const Expr *Shared, const Expr *Ref, const Expr *Private, in ReductionData() 172 ReductionCodeGen(ArrayRef<const Expr *> Shareds, ArrayRef<const Expr *> Origs, 364 const Expr * 1726 const Expr *IfCond, const Expr *Device, [all …]
|