Home
last modified time | relevance | path

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

123456

/freebsd/sys/contrib/dev/acpica/compiler/
H A Ddtparser.y194 %type <value> Expression
236 …: Expression OP_EXP_NEW_LINE { DtParserResult=$1; return 0; } /* End of line (…
237 …| Expression OP_EXP_EOF { DtParserResult=$1; return 0; } /* End of string…
240 Expression
244 …: OP_EXP_LOGICAL_NOT Expression { $$ = DtDoOperator ($2, OP_EXP_LOGICAL_NOT, …
245 …| OP_EXP_ONES_COMPLIMENT Expression { $$ = DtDoOperator ($2, OP_EXP_ONES_COMPLIMENT, …
249 …| Expression OP_EXP_MULTIPLY Expression { $$ = DtDoOperator ($1, OP_EXP_MULTIPLY, …
250 …| Expression OP_EXP_DIVIDE Expression { $$ = DtDoOperator ($1, OP_EXP_DIVIDE, …
251 …| Expression OP_EXP_MODULO Expression { $$ = DtDoOperator ($1, OP_EXP_MODULO, …
252 …| Expression OP_EXP_ADD Expression { $$ = DtDoOperator ($1, OP_EXP_ADD, …
[all …]
H A Dprparser.y194 %type <value> Expression
244 …: Expression EXPOP_NEW_LINE { PrParserResult=$1; return 0; } /* End of line (n…
245 …| Expression EXPOP_EOF { PrParserResult=$1; return 0; } /* End of string …
248 Expression
252 …: EXPOP_LOGICAL_NOT Expression { $$ = DtDoOperator ($2, EXPOP_LOGICAL_NOT, $2…
253 …| EXPOP_ONES_COMPLIMENT Expression { $$ = DtDoOperator ($2, EXPOP_ONES_COMPLIMENT, $2…
257 …| Expression EXPOP_MULTIPLY Expression { $$ = DtDoOperator ($1, EXPOP_MULTIPLY, $3…
258 …| Expression EXPOP_DIVIDE Expression { $$ = DtDoOperator ($1, EXPOP_DIVIDE, $3…
259 …| Expression EXPOP_MODULO Expression { $$ = DtDoOperator ($1, EXPOP_MODULO, $3…
260 …| Expression EXPOP_ADD Expression { $$ = DtDoOperator ($1, EXPOP_ADD, $3…
[all …]
/freebsd/contrib/llvm-project/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>;
/freebsd/sys/contrib/edk2/Include/Library/
H A DDebugLib.h293 #define _ASSERT(Expression) DebugAssert (__FILE_NAME__, __LINE__, #Expression) argument
295 #define _ASSERT(Expression) DebugAssert (__FILE__, __LINE__, #Expression) argument
319 #define _DEBUG(Expression) _DEBUG_PRINT Expression argument
321 #define _DEBUG(Expression) DebugPrint Expression argument
337 #define ASSERT(Expression) \ argument
340 if (!(Expression)) { \
341 _ASSERT (Expression); \
347 #define ASSERT(Expression) argument
363 #define DEBUG(Expression) \ argument
366 _DEBUG (Expression); \
[all …]
/freebsd/contrib/llvm-project/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 …]
/freebsd/contrib/llvm-project/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 …]
/freebsd/contrib/llvm-project/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;
/freebsd/contrib/llvm-project/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
/freebsd/contrib/kyua/utils/
H A Dsanity_test.cpp112 template< bool Expression, bool WithMessage >
118 INV_MSG(Expression, "Custom message"); in do_inv_test()
120 INV(Expression); in do_inv_test()
150 template< bool Expression, bool WithMessage >
156 PRE_MSG(Expression, "Custom message"); in do_pre_test()
158 PRE(Expression); in do_pre_test()
188 template< bool Expression, bool WithMessage >
194 POST_MSG(Expression, "Custom message"); in do_post_test()
196 POST(Expression); in do_post_test()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCStringChecker.cpp43 const Expr *Expression; member
383 assumeZero(C, State, l, Arg.Expression->getType()); in checkNonNull()
394 emitNullArgBug(C, stateNull, Arg.Expression, OS.str()); in checkNonNull()
477 emitUninitializedReadBug(C, State, Buffer.Expression, OS.str()); in checkInit()
541 emitUninitializedReadBug(C, State, Buffer.Expression, OS.str()); in checkInit()
588 emitOutOfBoundsBug(C, StOutBound, Buffer.Expression, Message); in CheckLocation()
608 QualType SizeTy = Size.Expression->getType(); in CheckBufferAccess()
612 SVal BufVal = C.getSVal(Buffer.Expression); in CheckBufferAccess()
622 svalBuilder.evalCast(BufVal, PtrTy, Buffer.Expression->getType()); in CheckBufferAccess()
633 SVal LengthVal = C.getSVal(Size.Expression); in CheckBufferAccess()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Expression/
H A DExpression.h31 class Expression {
35 Expression(Target &target);
37 Expression(ExecutionContextScope &exe_scope);
40 virtual ~Expression() = default;
H A DExpressionParser.h39 ExpressionParser(ExecutionContextScope *exe_scope, Expression &expr, in ExpressionParser()
152 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()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugProgramInstruction.h285 DbgRecordParamRef<DIExpression> Expression; variable
299 DIExpression *Expression, DIAssignID *AssignID,
309 MDNode *Expression, MDNode *AssignID, Metadata *Address,
322 MDNode *Variable, MDNode *Expression,
328 DIExpression *Expression, DIAssignID *AssignID,
333 DILocalVariable *Variable, DIExpression *Expression,
439 void setExpression(DIExpression *NewExpr) { Expression = NewExpr; } in setExpression()
440 DIExpression *getExpression() const { return Expression.get(); } in getExpression()
441 MDNode *getRawExpression() const { return Expression.getAsMDNode(); } in getRawExpression()
485 return std::tie(Type, DebugValues, Variable, Expression, in isIdenticalToWhenDefined()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DNewGVN.cpp165 Expression::~Expression() = default;
300 CongruenceClass(unsigned ID, Value *Leader, const Expression *E) in CongruenceClass()
331 const Expression *getDefiningExpr() const { return DefiningExpr; } in getDefiningExpr()
410 const Expression *DefiningExpr = nullptr;
430 const Expression &E;
432 explicit ExactEqualsExpression(const Expression &E) : E(E) {} in ExactEqualsExpression()
436 bool operator==(const Expression &Other) const { in operator ==()
441 template <> struct DenseMapInfo<const Expression *> {
442 static const Expression *getEmptyKey() { in getEmptyKey()
444 Val <<= PointerLikeTypeTraits<const Expression *>::NumLowBitsAvailable; in getEmptyKey()
[all …]
H A DGVN.cpp138 struct llvm::GVNPass::Expression { struct in llvm::GVNPass
146 Expression(uint32_t o = ~2U) : opcode(o) {} in Expression() argument
148 bool operator==(const Expression &other) const { in operator ==() argument
160 friend hash_code hash_value(const Expression &Value) { in hash_value()
169 template <> struct DenseMapInfo<GVNPass::Expression> {
170 static inline GVNPass::Expression getEmptyKey() { return ~0U; } in getEmptyKey()
171 static inline GVNPass::Expression getTombstoneKey() { return ~1U; } in getTombstoneKey()
173 static unsigned getHashValue(const GVNPass::Expression &e) { in getHashValue()
179 static bool isEqual(const GVNPass::Expression &LHS, in isEqual()
180 const GVNPass::Expression &RHS) { in isEqual()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDebugProgramInstruction.cpp34 Variable(DVI->getVariable()), Expression(DVI->getExpression()),
61 Expression(DVR.getExpression()), in DbgVariableRecord()
68 Type(Type), Variable(DV), Expression(Expr) {}
71 DIExpression *Expression, in DbgVariableRecord() argument
76 Type(LocationType::Assign), Variable(Variable), Expression(Expression),
163 MDNode *Expression, MDNode *AssignID, in DbgVariableRecord() argument
168 Expression(Expression), AddressExpression(AddressExpression) {}
172 MDNode *Expression, MDNode *AssignID, Metadata *Address, in createUnresolvedDbgVariableRecord() argument
174 return new DbgVariableRecord(Type, Val, Variable, Expression, AssignID, in createUnresolvedDbgVariableRecord()
212 Value *Val, DILocalVariable *Variable, DIExpression *Expression, in createDVRAssign() argument
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DTemplateBase.cpp299 case Expression: in getDependence()
339 case Expression: in isPackExpansion()
370 case TemplateArgument::Expression: in getNonTypeTemplateArgumentType()
423 case Expression: in Profile()
440 case Expression: in structurallyEquals()
486 case Expression: in getPackExpansionPattern()
560 case Expression: in print()
586 case TemplateArgument::Expression: in getSourceRange()
665 case TemplateArgument::Expression: { in DiagTemplateArg()
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFLinkerCompileUnit.cpp
/freebsd/contrib/llvm-project/llvm/lib/FileCheck/
H A DFileCheckImpl.h189 class Expression {
200 Expression(std::unique_ptr<ExpressionAST> AST, ExpressionFormat Format)
389 std::unique_ptr<Expression> ExpressionPointer;
393 std::unique_ptr<Expression> ExpressionPointer, in getIndex()
441 std::vector<std::unique_ptr<Expression>> Expressions;
481 std::unique_ptr<Expression> Expression,
672 static Expected<std::unique_ptr<Expression>> parseNumericSubstitutionBlock(
225 Expression(std::unique_ptr<ExpressionAST> AST, ExpressionFormat Format) Expression() function
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/AsmParser/
H A DAVRAsmParser.cpp436 MCExpr const *Expression; in tryParseExpression() local
437 if (getParser().parseExpression(Expression)) in tryParseExpression()
441 Expression = MCBinaryExpr::createAdd( in tryParseExpression()
442 Expression, MCConstantExpr::create(offset, getContext()), getContext()); in tryParseExpression()
446 Operands.push_back(AVROperand::CreateImm(Expression, S, E)); in tryParseExpression()
513 MCExpr const *Expression = in tryParseRelocExpression() local
517 Operands.push_back(AVROperand::CreateImm(Expression, S, E)); in tryParseRelocExpression()
571 MCExpr const *Expression; in parseMemriOperand() local
587 if (getParser().parseExpression(Expression)) in parseMemriOperand()
593 Operands.push_back(AVROperand::CreateMemri(RegNo, Expression, S, E)); in parseMemriOperand()
/freebsd/lib/clang/liblldb/
H A DMakefile229 SRCS+= Expression/DWARFExpression.cpp
230 SRCS+= Expression/DWARFExpressionList.cpp
231 SRCS+= Expression/DiagnosticManager.cpp
232 SRCS+= Expression/Expression.cpp
233 SRCS+= Expression/ExpressionParser.cpp
234 SRCS+= Expression/ExpressionTypeSystemHelper.cpp
235 SRCS+= Expression/ExpressionVariable.cpp
236 SRCS+= Expression/FunctionCaller.cpp
237 SRCS+= Expression/IRExecutionUnit.cpp
238 SRCS+= Expression/IRInterpreter.cpp
[all …]

123456