LLVM API Documentation
#include "llvm/Analysis/Expressions.h"
#include "llvm/Constants.h"
#include "llvm/Function.h"
#include "llvm/Type.h"
#include <iostream>
Include dependency graph for Expressions.cpp:
Go to the source code of this file.
Functions | |
static ConstantInt * | getUnsignedConstant (uint64_t V, const Type *Ty) |
static const ConstantInt * | Add (const ConstantInt *Arg1, const ConstantInt *Arg2, bool DefOne) |
static const ConstantInt * | operator+ (const DefZero &L, const DefZero &R) |
static const ConstantInt * | operator+ (const DefOne &L, const DefOne &R) |
static const ConstantInt * | Mul (const ConstantInt *Arg1, const ConstantInt *Arg2, bool DefOne) |
const ConstantInt * | operator * (const DefZero &L, const DefZero &R) |
const ConstantInt * | operator * (const DefOne &L, const DefZero &R) |
const ConstantInt * | operator * (const DefZero &L, const DefOne &R) |
static ExprType | handleAddition (ExprType Left, ExprType Right, Value *V) |
static ExprType | negate (const ExprType &E, Value *V) |
ExprType | llvm::ClassifyExpr (Value *Expr) |
|
|
Definition at line 86 of file Expressions.cpp. References llvm::ConstantUInt::get(), llvm::ConstantSInt::get(), llvm::ConstantUInt::isValueValidForType(), llvm::ConstantSInt::isValueValidForType(), and llvm::Type::ULongTy. Referenced by llvm::ClassifyExpr(), negate(), operator *(), and operator+(). |
|
Definition at line 202 of file Expressions.cpp. References llvm::ExprType::Constant, llvm::ExprType::ExprTy, llvm::Value::getType(), llvm::ExprType::Linear, llvm::ExprType::Offset, llvm::ExprType::Scale, llvm::ExprType::ScaledLinear, and llvm::ExprType::Var. Referenced by llvm::ClassifyExpr(). |
|
|
Definition at line 227 of file Expressions.cpp. References llvm::ConstantExpr::get(), llvm::Value::getType(), getUnsignedConstant(), llvm::ExprType::Offset, llvm::ExprType::Scale, and llvm::ExprType::Var. Referenced by llvm::ClassifyExpr(). |
|
Definition at line 193 of file Expressions.cpp. References Mul(). |
|
Definition at line 188 of file Expressions.cpp. References getUnsignedConstant(), and Mul(). |
|
Definition at line 184 of file Expressions.cpp. References Mul(). Referenced by llvm::UseListConstIteratorWrapper::operator *(), and llvm::UseListIteratorWrapper::operator *(). |
|
Definition at line 138 of file Expressions.cpp. References Add(), and getUnsignedConstant(). |
|
Definition at line 132 of file Expressions.cpp. References Add(). |