LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ConstantRange.cpp File Reference

#include "llvm/Support/ConstantRange.h"
#include "llvm/Constants.h"
#include "llvm/Instruction.h"
#include "llvm/Type.h"
#include <iostream>

Include dependency graph for ConstantRange.cpp:

Go to the source code of this file.

Functions

static ConstantIntegralNext (ConstantIntegral *CI)
static bool LT (ConstantIntegral *A, ConstantIntegral *B)
static bool LTE (ConstantIntegral *A, ConstantIntegral *B)
static bool GT (ConstantIntegral *A, ConstantIntegral *B)
static ConstantIntegralMin (ConstantIntegral *A, ConstantIntegral *B)
static ConstantIntegralMax (ConstantIntegral *A, ConstantIntegral *B)
static ConstantRange intersect1Wrapped (const ConstantRange &LHS, const ConstantRange &RHS)


Function Documentation

static bool GT ConstantIntegral A,
ConstantIntegral B
[static]
 

Definition at line 53 of file ConstantRange.cpp.

References LT().

Referenced by intersect1Wrapped(), llvm::ConstantRange::isWrappedSet(), and Max().

static ConstantRange intersect1Wrapped const ConstantRange LHS,
const ConstantRange RHS
[static]
 

Definition at line 197 of file ConstantRange.cpp.

References llvm::ConstantRange::getLower(), llvm::ConstantRange::getSetSize(), llvm::ConstantRange::getType(), llvm::ConstantRange::getUpper(), GT(), llvm::ConstantRange::isWrappedSet(), and LT().

Referenced by llvm::ConstantRange::intersectWith().

static bool LT ConstantIntegral A,
ConstantIntegral B
[static]
 

Definition at line 41 of file ConstantRange.cpp.

References C, and llvm::ConstantExpr::getSetLT().

Referenced by llvm::ConstantRange::contains(), GT(), intersect1Wrapped(), llvm::ConstantRange::intersectWith(), and Min().

static bool LTE ConstantIntegral A,
ConstantIntegral B
[static]
 

Definition at line 47 of file ConstantRange.cpp.

References C, and llvm::ConstantExpr::getSetLE().

Referenced by llvm::ConstantRange::contains().

static ConstantIntegral* Max ConstantIntegral A,
ConstantIntegral B
[static]
 

Definition at line 58 of file ConstantRange.cpp.

References GT().

Referenced by llvm::ConstantRange::intersectWith().

static ConstantIntegral* Min ConstantIntegral A,
ConstantIntegral B
[static]
 

Definition at line 55 of file ConstantRange.cpp.

References LT().

Referenced by llvm::ConstantRange::intersectWith().

static ConstantIntegral* Next ConstantIntegral CI  )  [static]
 

Definition at line 32 of file ConstantRange.cpp.

References llvm::Type::BoolTy, False, llvm::ConstantInt::get(), llvm::ConstantExpr::getAdd(), llvm::Value::getType(), and True.

Referenced by llvm::ConstantRange::ConstantRange(), llvm::Instruction::getNext(), llvm::GlobalVariable::getNext(), llvm::Function::getNext(), llvm::BasicBlock::getNext(), llvm::Argument::getNext(), llvm::Annotation::getNext(), llvm::ConstantRange::getSingleElement(), llvm::df_iterator< T, SetTy, true >::operator++(), llvm::TargetRegistrationListener::TargetRegistrationListener(), llvm::Annotable::~Annotable(), and llvm::TargetRegistrationListener::~TargetRegistrationListener().