HomeSort by relevance Sort by last modified time
    Searched refs:ConstantRange (Results 1 - 17 of 17) sorted by null

  /external/llvm/include/llvm/Support/
ConstantRange.h 1 //===-- llvm/Support/ConstantRange.h - Represent a range --------*- C++ -*-===//
27 // Note that ConstantRange can be used to represent either signed or
40 /// ConstantRange - This class represents an range of values.
42 class ConstantRange {
48 explicit ConstantRange(uint32_t BitWidth, bool isFullSet = true);
52 ConstantRange(const APInt &Value);
57 ConstantRange(const APInt &Lower, const APInt &Upper);
66 static ConstantRange makeICmpRegion(unsigned Pred,
67 const ConstantRange &Other);
77 /// getBitWidth - get the bit width of this ConstantRange
    [all...]
  /external/llvm/lib/Support/
ConstantRange.cpp 1 //===-- ConstantRange.cpp - ConstantRange implementation ------------------===//
25 #include "llvm/Support/ConstantRange.h"
32 ConstantRange::ConstantRange(uint32_t BitWidth, bool Full) {
41 ConstantRange::ConstantRange(const APInt &V) : Lower(V), Upper(V + 1) {}
43 ConstantRange::ConstantRange(const APInt &L, const APInt &U) :
46 "ConstantRange with unequal bit widths")
    [all...]
Android.mk 12 ConstantRange.cpp \
  /external/llvm/unittests/Support/
ConstantRangeTest.cpp 1 //===- llvm/unittest/Support/ConstantRangeTest.cpp - ConstantRange tests --===//
10 #include "llvm/Support/ConstantRange.h"
20 static ConstantRange Full;
21 static ConstantRange Empty;
22 static ConstantRange One;
23 static ConstantRange Some;
24 static ConstantRange Wrap;
27 ConstantRange ConstantRangeTest::Full(16);
28 ConstantRange ConstantRangeTest::Empty(16, false);
29 ConstantRange ConstantRangeTest::One(APInt(16, 0xa))
    [all...]
  /external/llvm/lib/Analysis/
LazyValueInfo.cpp 26 #include "llvm/Support/ConstantRange.h"
70 /// constantrange - The Value falls within this range.
71 constantrange, enumerator in enum:__anon11355::LVILatticeVal::LatticeValueTy
82 ConstantRange Range;
99 static LVILatticeVal getRange(ConstantRange CR) {
108 bool isConstantRange() const { return Tag == constantrange; }
121 ConstantRange getConstantRange() const {
139 return markConstantRange(ConstantRange(CI->getValue()));
155 return markConstantRange(ConstantRange(CI->getValue()+1, CI->getValue()));
170 bool markConstantRange(const ConstantRange NewR)
    [all...]
ScalarEvolution.cpp 82 #include "llvm/Support/ConstantRange.h"
    [all...]
InstructionSimplify.cpp 31 #include "llvm/Support/ConstantRange.h"
    [all...]
ValueTracking.cpp 27 #include "llvm/Support/ConstantRange.h"
204 ConstantRange Range(Lower->getValue(), Upper->getValue());
    [all...]
  /external/llvm/include/llvm/Analysis/
ScalarEvolution.h 31 #include "llvm/Support/ConstantRange.h"
377 DenseMap<const SCEV *, ConstantRange> UnsignedRanges;
380 DenseMap<const SCEV *, ConstantRange> SignedRanges;
383 const ConstantRange &setUnsignedRange(const SCEV *S,
384 const ConstantRange &CR) {
385 std::pair<DenseMap<const SCEV *, ConstantRange>::iterator, bool> Pair =
393 const ConstantRange &setSignedRange(const SCEV *S,
394 const ConstantRange &CR) {
395 std::pair<DenseMap<const SCEV *, ConstantRange>::iterator, bool> Pair =
    [all...]
ScalarEvolutionExpressions.h 23 class ConstantRange;
341 const SCEV *getNumIterationsInRange(ConstantRange Range,
  /external/llvm/lib/IR/
Metadata.cpp 24 #include "llvm/Support/ConstantRange.h"
453 static bool isContiguous(const ConstantRange &A, const ConstantRange &B) {
457 static bool canBeMerged(const ConstantRange &A, const ConstantRange &B) {
463 ConstantRange NewRange(Low->getValue(), High->getValue());
467 ConstantRange LastRange(LB, LE);
469 ConstantRange Union = LastRange.unionWith(NewRange);
546 ConstantRange Range(cast<ConstantInt>(EndPoints[0])->getValue(),
Instructions.cpp 24 #include "llvm/Support/ConstantRange.h"
    [all...]
Verifier.cpp 69 #include "llvm/Support/ConstantRange.h"
    [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineAndOrXor.cpp 17 #include "llvm/Support/ConstantRange.h"
795 ConstantRange LHSRange =
796 ConstantRange::makeICmpRegion(LHSCC, LHSCst->getValue());
797 ConstantRange RHSRange
    [all...]
InstCombineCompares.cpp 20 #include "llvm/Support/ConstantRange.h"
    [all...]
  /external/llvm/include/llvm/IR/
Instructions.h 34 class ConstantRange;
    [all...]
  /external/llvm/lib/Transforms/Utils/
SimplifyCFG.cpp 40 #include "llvm/Support/ConstantRange.h"
439 ConstantRange Span =
440 ConstantRange::makeICmpRegion(ICI->getPredicate(), C->getValue());
    [all...]

Completed in 552 milliseconds