Home
last modified time | relevance | path

Searched refs:Expression (Results 1 – 25 of 178) sorted by relevance

12345678

/llvm-project-15.0.7/llvm/include/llvm/Transforms/Scalar/
H A DGVNExpression.h60 class Expression {
69 Expression(const Expression &) = delete;
70 Expression &operator=(const Expression &) = delete;
71 virtual ~Expression();
136 class BasicExpression : public Expression {
156 static bool classof(const Expression *EB) { in classof()
280 static bool classof(const Expression *EB) { in classof()
314 static bool classof(const Expression *EB) { in classof()
346 static bool classof(const Expression *EB) { in classof()
543 DeadExpression() : Expression(ET_Dead) {} in DeadExpression()
[all …]
H A DGVN.h120 struct Expression;
152 DenseMap<Expression, uint32_t> expressionNumbering;
160 std::vector<Expression> Expressions;
177 Expression createExpr(Instruction *I);
178 Expression createCmpExpr(unsigned Opcode, CmpInst::Predicate Predicate,
180 Expression createExtractvalueExpr(ExtractValueInst *EI);
181 Expression createGEPExpr(GetElementPtrInst *GEP);
187 std::pair<uint32_t, bool> assignExpNewValueNum(Expression &exp);
218 friend struct DenseMapInfo<Expression>;
/llvm-project-15.0.7/clang/lib/Tooling/Syntax/
H A DNodes.cpp67 case syntax::NodeRole::Expression: in operator <<()
134 std::vector<syntax::Expression *> Children; in getArguments()
200 return cast_or_null<syntax::Expression>( in getLhs()
217 return cast_or_null<syntax::Expression>( in getRhs()
236 syntax::Expression *syntax::CaseStatement::getCaseValue() { in getCaseValue()
237 return cast_or_null<syntax::Expression>( in getCaseValue()
311 return cast_or_null<syntax::Expression>( in getReturnValue()
326 return cast_or_null<syntax::Expression>( in getExpression()
327 findChild(syntax::NodeRole::Expression)); in getExpression()
348 return cast_or_null<syntax::Expression>( in getCondition()
[all …]
/llvm-project-15.0.7/clang/include/clang/Tooling/Syntax/
H A DNodes.td35 def Expression : Alternatives {
41 def UnknownExpression : External<Expression> {}
46 def ParenExpression : Sequence<Expression> {
53 Role<"SubExpression", Expression>,
59 Expression for literals. C++ [lex.literal]
163 def IdExpression : Sequence<Expression> {
179 def MemberExpression : Sequence<Expression> {
191 Role<"Object", Expression>,
197 def ThisExpression : Sequence<Expression> {
205 def CallExpression : Sequence<Expression> {
[all …]
H A DNodes.h90 Expression, enumerator
150 std::vector<Expression *> getArguments();
160 Expression *getOperand();
202 Expression *getLhs();
204 Expression *getRhs();
252 Expression *getCaseValue();
318 Expression *getReturnValue();
336 Expression *getExpression();
380 Expression *getCondition();
381 Expression *getMessage();
[all …]
/llvm-project-15.0.7/lldb/source/Expression/
H A DExpression.cpp15 Expression::Expression(Target &target) in Expression() function in Expression
23 Expression::Expression(ExecutionContextScope &exe_scope) in Expression() function in Expression
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DCStringChecker.cpp39 : Expression{Expression}, ArgumentIndex{ArgumentIndex} {} in AnyArgExpr()
40 const Expr *Expression; member
432 SVal BufVal = C.getSVal(Buffer.Expression); in CheckBufferAccess()
444 SVal LengthVal = C.getSVal(Size.Expression); in CheckBufferAccess()
517 emitOverlapBug(C, stateTrue, First.Expression, Second.Expression); in CheckOverlap()
583 emitOverlapBug(C, stateTrue, First.Expression, Second.Expression); in CheckOverlap()
1277 InvalidateBuffer(C, state, Dest.Expression, C.getSVal(Dest.Expression), in evalCopyCommon()
2247 SVal SizeVal = C.getSVal(Size.Expression); in evalMemset()
2277 if (!memsetAux(Buffer.Expression, C.getSVal(CharE.Expression), in evalMemset()
2278 Size.Expression, C, State)) in evalMemset()
[all …]
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DDebugLocEntry.h110 const DIExpression *Expression; variable
118 : Expression(Expr), ValueLocEntries(Locs.begin(), Locs.end()), in DbgValueLoc()
129 : Expression(Expr), ValueLocEntries(Locs.begin(), Locs.end()), in DbgValueLoc()
145 : Expression(Expr), ValueLocEntries(1, Loc), IsVariadic(false) { in DbgValueLoc()
153 const DIExpression *getExpression() const { return Expression; } in getExpression()
163 if (Expression) in dump()
164 Expression->dump(); in dump()
255 A.Expression == B.Expression && A.IsVariadic == B.IsVariadic;
/llvm-project-15.0.7/lldb/include/lldb/Expression/
H A DExpression.h33 class Expression {
37 Expression(Target &target);
39 Expression(ExecutionContextScope &exe_scope);
42 virtual ~Expression() = default;
H A DExpressionParser.h39 ExpressionParser(ExecutionContextScope *exe_scope, Expression &expr, in ExpressionParser()
131 Expression &m_expr; ///< The expression to be parsed
H A DUtilityFunction.h30 class UtilityFunction : public Expression {
36 static bool classof(const Expression *obj) { return obj->isA(&ID); } in classof()
H A DFunctionCaller.h56 class FunctionCaller : public Expression {
62 static bool classof(const Expression *obj) { return obj->isA(&ID); } in classof()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DUseBoolLiteralsCheck.cpp61 const Expr *Expression = Cast ? Cast : Literal; in check() local
63 bool InMacro = Expression->getBeginLoc().isMacroID(); in check()
69 diag(Expression->getExprLoc(), in check()
74 Expression->getSourceRange(), LiteralBooleanValue ? "true" : "false"); in check()
H A DLoopConvertUtils.h233 const Expr *Expression; member
241 : Expression(E), Kind(UK_Default), Range(Expression->getSourceRange()) {} in Usage()
243 : Expression(E), Kind(Kind), Range(std::move(Range)) {} in Usage()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DNewGVN.cpp168 Expression::~Expression() = default;
433 const Expression &E;
445 static const Expression *getEmptyKey() { in getEmptyKey()
471 static bool isEqual(const Expression *LHS, const Expression *RHS) { in isEqual()
673 const Expression *Expr;
1444 const Expression *
1713 const Expression *
1810 const Expression *
1953 const Expression *E = nullptr; in performSymbolicEvaluation()
2669 const Expression *E = Res.Expr; in findLeaderForInst()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/altera/
H A DIdDependentBackwardBranchCheck.cpp82 IdDependentBackwardBranchCheck::hasIdDepVar(const Expr *Expression) { in hasIdDepVar() argument
83 if (const auto *Declaration = dyn_cast<DeclRefExpr>(Expression)) { in hasIdDepVar()
91 for (const auto *Child : Expression->children()) in hasIdDepVar()
99 IdDependentBackwardBranchCheck::hasIdDepField(const Expr *Expression) { in hasIdDepField() argument
100 if (const auto *MemberExpression = dyn_cast<MemberExpr>(Expression)) { in hasIdDepField()
108 for (const auto *Child : Expression->children()) in hasIdDepField()
H A DIdDependentBackwardBranchCheck.h49 IdDependencyRecord *hasIdDepVar(const Expr *Expression);
52 IdDependencyRecord *hasIdDepField(const Expr *Expression);
/llvm-project-15.0.7/clang/lib/AST/
H A DTemplateBase.cpp224 case Expression: in getDependence()
263 case Expression: in isPackExpansion()
294 case TemplateArgument::Expression: in getNonTypeTemplateArgumentType()
350 case Expression: in Profile()
367 case Expression: in structurallyEquals()
401 case Expression: in getPackExpansionPattern()
469 case Expression: in print()
504 case TemplateArgument::Expression: in getSourceRange()
568 case TemplateArgument::Expression: { in DiagTemplateArg()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DImplicitBoolConversionCheck.cpp151 StringRef getEquivalentBoolLiteralForExpr(const Expr *Expression, in getEquivalentBoolLiteralForExpr() argument
153 if (isNULLMacroExpansion(Expression, Context)) { in getEquivalentBoolLiteralForExpr()
157 if (const auto *IntLit = dyn_cast<IntegerLiteral>(Expression)) { in getEquivalentBoolLiteralForExpr()
161 if (const auto *FloatLit = dyn_cast<FloatingLiteral>(Expression)) { in getEquivalentBoolLiteralForExpr()
167 if (const auto *CharLit = dyn_cast<CharacterLiteral>(Expression)) { in getEquivalentBoolLiteralForExpr()
171 if (isa<StringLiteral>(Expression->IgnoreCasts())) { in getEquivalentBoolLiteralForExpr()
/llvm-project-15.0.7/llvm/utils/gn/secondary/lldb/source/DataFormatters/
H A DBUILD.gn8 …#"//lldb/source/Symbol", # FIXME: 3-hop Dependency cycle (DataFormatters->Symbol->Expression->Inte…
9 …#"//lldb/source/Target", # FIXME: 3-hop Dependency cycle (DataFormatters->Target->Expression->Int…
/llvm-project-15.0.7/llvm/lib/FileCheck/
H A DFileCheckImpl.h237 class Expression {
248 Expression(std::unique_ptr<ExpressionAST> AST, ExpressionFormat Format) in Expression() function
438 std::unique_ptr<Expression> ExpressionPointer;
442 std::unique_ptr<Expression> ExpressionPointer, in NumericSubstitution()
490 std::vector<std::unique_ptr<Expression>> Expressions;
530 std::unique_ptr<Expression> Expression,
721 static Expected<std::unique_ptr<Expression>> parseNumericSubstitutionBlock(
/llvm-project-15.0.7/llvm/utils/gn/secondary/lldb/source/Expression/
H A DBUILD.gn1 static_library("Expression") {
28 "Expression.cpp",
/llvm-project-15.0.7/polly/include/polly/Support/
H A DSCEVValidator.h51 const llvm::SCEV *Expression, llvm::ScalarEvolution &SE,
60 const llvm::SCEV *Expression,
/llvm-project-15.0.7/clang/include/clang/AST/
H A DTemplateArgumentVisitor.h42 DISPATCH(Expression); in Visit()
64 VISIT_METHOD(Expression);
/llvm-project-15.0.7/llvm/lib/Target/AVR/AsmParser/
H A DAVRAsmParser.cpp435 MCExpr const *Expression; in tryParseExpression() local
436 if (getParser().parseExpression(Expression)) in tryParseExpression()
440 Operands.push_back(AVROperand::CreateImm(Expression, S, E)); in tryParseExpression()
518 MCExpr const *Expression = in tryParseRelocExpression() local
522 Operands.push_back(AVROperand::CreateImm(Expression, S, E)); in tryParseRelocExpression()
576 MCExpr const *Expression; in parseMemriOperand() local
592 if (getParser().parseExpression(Expression)) in parseMemriOperand()
598 Operands.push_back(AVROperand::CreateMemri(RegNo, Expression, S, E)); in parseMemriOperand()

12345678