HomeSort by: relevance | last modified time | path
    Searched refs:IntRange (Results 1 - 8 of 8) sorted by relevancy

  /src/external/gpl3/gcc.old/dist/gcc/d/dmd/
intrange.d 7 * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/intrange.d, _intrange.d)
9 * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/intrange.d
12 module dmd.intrange;
296 struct IntRange
300 this(IntRange another)
318 static IntRange fromType(Type type)
323 static IntRange fromType(Type type, bool isUnsigned)
339 return IntRange(lower, upper);
342 static IntRange fromNumbers2(SignExtendedNumber* numbers)
345 return IntRange(numbers[0], numbers[1])
    [all...]
dcast.d 37 import dmd.intrange;
266 IntRange src = getIntRange(e);
267 IntRange target = IntRange.fromType(t);
3713 IntRange getIntRange(Expression e)
3715 IntRange visit(Expression e)
3717 return IntRange.fromType(e.type);
3720 IntRange visitInteger(IntegerExp e)
3722 return IntRange(SignExtendedNumber(e.getInteger()))._cast(e.type);
3725 IntRange visitCast(CastExp e
    [all...]
declaration.h 30 struct IntRange;
234 IntRange *range; // if !NULL, the variable is known to be within the range
statementsem.d 52 import dmd.intrange;
1010 IntRange dimrange = getIntRange(ta.dim);
1013 if (!IntRange.fromType(fs.key.type).contains(dimrange))
1019 fs.key.range = new IntRange(SignExtendedNumber(0), dimrange.imax);
1150 v.range = new IntRange(fs.key.range.imin, fs.key.range.imax - SignExtendedNumber(1));
1774 fs.key.range = new IntRange(lower, upper);
1848 v.range = new IntRange(fs.key.range.imin, fs.key.range.imax - SignExtendedNumber(1));
4347 IntRange dimrange = IntRange(SignExtendedNumber(length))._cast(Type.tsize_t);
4350 if (!IntRange.fromType(p.type).contains(dimrange)
    [all...]
declaration.d 37 import dmd.intrange;
1078 IntRange* range; // if !=null, the variable is known to be within the range
expressionsem.d 57 import dmd.intrange;
8026 IntRange lwrRange = getIntRange(exp.lwr);
8027 IntRange uprRange = getIntRange(exp.upr);
8038 auto bounds = IntRange(SignExtendedNumber(0), SignExtendedNumber(length));
8497 auto bounds = IntRange(SignExtendedNumber(0), SignExtendedNumber(length - 1));
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
LowerSwitch.cpp 54 struct IntRange {
62 bool IsInRanges(const IntRange &R, const std::vector<IntRange> &Ranges) {
69 Ranges, R, [](IntRange A, IntRange B) { return A.High < B.High; });
225 const std::vector<IntRange> &UnreachableRanges) {
269 IntRange Gap = { GapLow, GapHigh };
419 std::vector<IntRange> UnreachableRanges;
426 IntRange R = {std::numeric_limits<int64_t>::min(),
433 IntRange &LastRange = UnreachableRanges.back()
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaChecking.cpp 10651 struct IntRange {
10661 IntRange(unsigned Width, bool NonNegative)
10670 static IntRange forBoolType() {
10671 return IntRange(1, true);
10675 static IntRange forValueOfType(ASTContext &C, QualType T) {
10681 static IntRange forValueOfCanonicalType(ASTContext &C, const Type *T) {
10701 return IntRange(C.getIntWidth(QualType(T, 0)),
10709 return IntRange(NumPositive, true/*NonNegative*/);
10711 return IntRange(std::max(NumPositive + 1, NumNegative),
10716 return IntRange(EIT->getNumBits(), EIT->isUnsigned())
    [all...]

Completed in 55 milliseconds