LLVM: llvm::BinaryOperation Class Reference (original) (raw)
Class representing a single binary operation in the AST of an expression. More...
#include "[FileCheck/FileCheckImpl.h](FileCheckImpl%5F8h%5Fsource.html)"
Inheritance diagram for llvm::BinaryOperation:
| Public Member Functions | |
|---|---|
| BinaryOperation (StringRef ExpressionStr, binop_eval_t EvalBinop, std::unique_ptr< ExpressionAST > LeftOp, std::unique_ptr< ExpressionAST > RightOp) | |
| Expected< APInt > | eval () const override |
| Evaluates the value of the binary operation represented by this AST, using EvalBinop on the result of recursively evaluating the operands. | |
| Expected< ExpressionFormat > | getImplicitFormat (const SourceMgr &SM) const override |
| Public Member Functions inherited from llvm::ExpressionAST | |
| ExpressionAST (StringRef ExpressionStr) | |
| virtual | ~ExpressionAST ()=default |
| StringRef | getExpressionStr () const |
Detailed Description
Class representing a single binary operation in the AST of an expression.
Definition at line 308 of file FileCheckImpl.h.
Constructor & Destructor Documentation
Member Function Documentation
◆ eval()
| Expected< APInt > BinaryOperation::eval ( ) const | overridevirtual |
|---|
◆ getImplicitFormat()
The documentation for this class was generated from the following files:
- lib/FileCheck/FileCheckImpl.h
- lib/FileCheck/FileCheck.cpp