Home
last modified time | relevance | path

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

12345678910

/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/Scalar/
H A DGVNExpression.h60 class Expression {
67 Expression(ExpressionType ET = ET_Base, unsigned O = ~2U)
69 Expression(const Expression &) = delete;
70 Expression &operator=(const Expression &) = delete;
71 virtual ~Expression();
76 bool operator!=(const Expression &Other) const { return !(*this == Other); }
77 bool operator==(const Expression &Other) const {
100 virtual bool equals(const Expression &Other) const { return true; } in equals()
104 virtual bool exactlyEquals(const Expression &Other) const { in exactlyEquals()
131 inline raw_ostream &operator<<(raw_ostream &OS, const Expression &E) {
[all …]
H A DGVN.h121 struct Expression;
153 DenseMap<Expression, uint32_t> expressionNumbering;
161 std::vector<Expression> Expressions;
178 Expression createExpr(Instruction *I);
179 Expression createCmpExpr(unsigned Opcode, CmpInst::Predicate Predicate,
181 Expression createExtractvalueExpr(ExtractValueInst *EI);
182 Expression createGEPExpr(GetElementPtrInst *GEP);
188 std::pair<uint32_t, bool> assignExpNewValueNum(Expression &exp);
219 friend struct DenseMapInfo<Expression>;
/openbsd-src/gnu/llvm/clang/lib/Tooling/Syntax/
H A DNodes.cpp67 case syntax::NodeRole::Expression: in operator <<()
132 std::vector<syntax::Expression *> syntax::CallArguments::getArguments() { in getArguments()
134 std::vector<syntax::Expression *> Children; in getArguments()
136 Children.push_back(llvm::cast<syntax::Expression>(ArgumentAsNode)); in getArguments()
141 std::vector<syntax::List::ElementAndDelimiter<syntax::Expression>>
144 std::vector<syntax::List::ElementAndDelimiter<syntax::Expression>> Children; in getArgumentsAndCommas()
147 {llvm::cast<syntax::Expression>(ArgumentAsNodeAndComma.element), in getArgumentsAndCommas()
199 syntax::Expression *syntax::BinaryOperatorExpression::getLhs() { in getLhs()
200 return cast_or_null<syntax::Expression>( in getLhs()
208 syntax::Expression *syntax::UnaryOperatorExpression::getOperand() { in getOperand()
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/Tooling/Syntax/
H A DNodes.td35 def Expression : Alternatives {
41 def UnknownExpression : External<Expression> {}
45 def BinaryOperatorExpression : External<Expression> {}
46 def ParenExpression : Sequence<Expression> {
53 Role<"SubExpression", Expression>,
57 def LiteralExpression : Alternatives<Expression> {
59 Expression for literals. C++ [lex.literal]
64 Expression for integer literals. C++ [lex.icon]
76 Expression for character literals. C++ [lex.ccon]
84 Expression for floating-point literals. C++ [lex.fcon]
[all …]
H A DNodes.h90 Expression, enumerator
135 class UnknownExpression final : public Expression {
137 UnknownExpression() : Expression(NodeKind::UnknownExpression) {} in UnknownExpression()
150 std::vector<Expression *> getArguments();
151 std::vector<List::ElementAndDelimiter<Expression>> getArgumentsAndCommas();
155 class UnaryOperatorExpression : public Expression {
157 UnaryOperatorExpression(NodeKind K) : Expression(K) {} in UnaryOperatorExpression()
160 Expression *getOperand();
198 class BinaryOperatorExpression final : public Expression {
200 BinaryOperatorExpression() : Expression(NodeKind::BinaryOperatorExpression) {} in BinaryOperatorExpression()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DDebugLocEntry.h113 const DIExpression *Expression; variable
121 : Expression(Expr), ValueLocEntries(Locs.begin(), Locs.end()), in DbgValueLoc()
126 : Expression(Expr), ValueLocEntries(Locs.begin(), Locs.end()), in DbgValueLoc()
138 : Expression(Expr), ValueLocEntries(1, Loc), IsVariadic(false) { in DbgValueLoc()
155 if (!DIExpression::isEqualExpression(Expression, ThisIsIndirect, in isEquivalent()
156 Other.Expression, OtherIsIndirect)) in isEquivalent()
169 const DIExpression *getExpression() const { return Expression; } in getExpression()
177 if (Expression) in dump()
178 Expression->dump(); in dump()
278 A.Expression == B.Expression && A.IsVariadic == B.IsVariadic;
/openbsd-src/gnu/llvm/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
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DCStringChecker.cpp39 AnyArgExpr(const Expr *Expression, unsigned ArgumentIndex) in AnyArgExpr()
40 : Expression{Expression}, ArgumentIndex{ArgumentIndex} {} in AnyArgExpr()
41 const Expr *Expression; member
340 assumeZero(C, State, l, Arg.Expression->getType()); in checkNonNull()
351 emitNullArgBug(C, stateNull, Arg.Expression, OS.str()); in checkNonNull()
423 emitOutOfBoundsBug(C, StOutBound, Buffer.Expression, Message); in CheckLocation()
431 emitUninitializedReadBug(C, StInBound, Buffer.Expression); in CheckLocation()
452 QualType SizeTy = Size.Expression->getType(); in CheckBufferAccess()
456 SVal BufVal = C.getSVal(Buffer.Expression); in CheckBufferAccess()
468 SVal LengthVal = C.getSVal(Size.Expression); in CheckBufferAccess()
[all …]
/openbsd-src/gnu/llvm/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()
H A DUserExpression.h35 class UserExpression : public Expression {
41 static bool classof(const Expression *obj) { return obj->isA(&ID); } in classof()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DNewGVN.cpp168 Expression::~Expression() = default;
303 CongruenceClass(unsigned ID, Value *Leader, const Expression *E) in CongruenceClass()
334 const Expression *getDefiningExpr() const { return DefiningExpr; } in getDefiningExpr()
413 const Expression *DefiningExpr = nullptr;
433 const Expression &E;
435 explicit ExactEqualsExpression(const Expression &E) : E(E) {} in ExactEqualsExpression()
439 bool operator==(const Expression &Other) const { in operator ==()
444 template <> struct DenseMapInfo<const Expression *> {
445 static const Expression *getEmptyKey() { in getEmptyKey()
447 Val <<= PointerLikeTypeTraits<const Expression *>::NumLowBitsAvailable; in getEmptyKey()
[all …]
H A DGVN.cpp130 struct llvm::GVNPass::Expression { struct in llvm::GVNPass
138 Expression(uint32_t o = ~2U) : opcode(o) {} in Expression() argument
140 bool operator==(const Expression &other) const { in operator ==() argument
152 friend hash_code hash_value(const Expression &Value) { in hash_value()
161 template <> struct DenseMapInfo<GVNPass::Expression> {
162 static inline GVNPass::Expression getEmptyKey() { return ~0U; } in getEmptyKey()
163 static inline GVNPass::Expression getTombstoneKey() { return ~1U; } in getTombstoneKey()
165 static unsigned getHashValue(const GVNPass::Expression &e) { in getHashValue()
171 static bool isEqual(const GVNPass::Expression &LHS, in isEqual()
172 const GVNPass::Expression &RHS) { in isEqual()
[all …]
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DTemplateBase.cpp224 case Expression: in getDependence()
263 case Expression: in isPackExpansion()
294 case TemplateArgument::Expression: in getNonTypeTemplateArgumentType()
339 case Expression: in Profile()
356 case Expression: in structurallyEquals()
391 case Expression: in getPackExpansionPattern()
459 case Expression: in print()
494 case TemplateArgument::Expression: in getSourceRange()
558 case TemplateArgument::Expression: { in DiagTemplateArg()
/openbsd-src/gnu/usr.bin/clang/liblldbExpression/
H A DMakefile12 Expression.cpp \
24 .PATH: ${.CURDIR}/../../../llvm/lldb/source/Expression
/openbsd-src/gnu/usr.bin/binutils/gdb/
H A Djv-exp.y357 exp1 : Expression
358 | exp1 ',' Expression
369 | '(' Expression ')'
398 Expression
400 | ArgumentList ',' Expression
425 '[' Expression ']'
468 Name '[' Expression ']'
485 | VARIABLE '[' Expression ']'
487 | PrimaryNoNewArray '[' Expression ']'
546 | '(' Expression ')' UnaryExpressionNotPlusMinus
[all …]
/openbsd-src/gnu/llvm/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…
/openbsd-src/gnu/llvm/llvm/utils/gn/secondary/lldb/source/Expression/
H A DBUILD.gn1 static_library("Expression") {
28 "Expression.cpp",
/openbsd-src/gnu/llvm/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(
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DTemplateArgumentVisitor.h42 DISPATCH(Expression); in Visit()
64 VISIT_METHOD(Expression);
H A DTemplateBase.h95 Expression,
219 TypeOrValue.Kind = Expression;
343 assert(getKind() == Expression && "Unexpected kind");
482 Argument.getKind() == TemplateArgument::Expression);
522 assert(Argument.getKind() == TemplateArgument::Expression);
/openbsd-src/gnu/llvm/llvm/lib/Target/AVR/AsmParser/
H A DAVRAsmParser.cpp437 MCExpr const *Expression; in tryParseExpression() local
438 if (getParser().parseExpression(Expression)) in tryParseExpression()
442 Operands.push_back(AVROperand::CreateImm(Expression, S, E)); in tryParseExpression()
509 MCExpr const *Expression = in tryParseRelocExpression() local
513 Operands.push_back(AVROperand::CreateImm(Expression, S, E)); in tryParseRelocExpression()
566 MCExpr const *Expression; in parseMemriOperand() local
582 if (getParser().parseExpression(Expression)) in parseMemriOperand()
588 Operands.push_back(AVROperand::CreateMemri(RegNo, Expression, S, E)); in parseMemriOperand()
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugFrame.cpp359 StringRef Expression = Data.getBytes(C, ExprLength); in parse() local
361 DataExtractor Extractor(Expression, Data.isLittleEndian(), in parse()
366 Instructions.back().Expression = in parse()
376 StringRef Expression = Data.getBytes(C, BlockLength); in parse() local
377 DataExtractor Extractor(Expression, Data.isLittleEndian(), in parse()
382 Instructions.back().Expression = in parse()
718 *RegNum, UnwindLocation::createAtDWARFExpression(*Inst.Expression)); in parseRows()
727 *RegNum, UnwindLocation::createIsDWARFExpression(*Inst.Expression)); in parseRows()
790 UnwindLocation::createIsDWARFExpression(*Inst.Expression); in parseRows()
913 assert(Instr.Expression && "missing DWARFExpression object"); in printOperand()
[all …]

12345678910