LLVM API Documentation

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 A, B, and 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 A, B, and llvm::CallingConv::C.

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 A, B, and llvm::CallingConv::C.

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

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

Definition at line 58 of file ConstantRange.cpp.

References A, B, and GT().

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

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

Definition at line 55 of file ConstantRange.cpp.

References A, B, and LT().

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

static ConstantIntegral* Next ( ConstantIntegral CI  )  [static]

Definition at line 32 of file ConstantRange.cpp.

References False, llvm::Value::getType(), and True.