Home
last modified time | relevance | path

Searched refs:IntRange (Results 1 – 11 of 11) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DFormatVariadicTest.cpp544 std::vector<int> IntRange = {1, 1, 2, 3, 5, 8, 13}; in TEST() local
548 formatv("{0}", make_range(IntRange.begin(), IntRange.end())).str()); in TEST()
550 formatv("{0}", make_range(IntRange.begin() + 1, IntRange.end() - 1)) in TEST()
556 formatv("{0:$[/]}", make_range(IntRange.begin(), IntRange.end())).str()); in TEST()
561 formatv("{0:@[x]}", make_range(IntRange.begin(), IntRange.end())).str()); in TEST()
566 formatv("{0:$[ + ]@[x]}", make_range(IntRange.begin(), IntRange.end())) in TEST()
573 formatv("<{0:$[><]@(x)}>", make_range(IntRange.begin(), IntRange.end())) in TEST()
577 formatv("[{0:$(][)@[x]}]", make_range(IntRange.begin(), IntRange.end())) in TEST()
581 formatv("({0:$<)(>@<x>})", make_range(IntRange.begin(), IntRange.end())) in TEST()
586 make_range(IntRange.begin(), IntRange.begin())) in TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLowerSwitch.cpp47 struct IntRange { struct
54 static bool IsInRanges(const IntRange &R, in IsInRanges()
55 const std::vector<IntRange> &Ranges) { in IsInRanges()
63 [](const IntRange &A, const IntRange &B) { return A.High < B.High; }); in IsInRanges()
100 const std::vector<IntRange> &UnreachableRanges);
224 const std::vector<IntRange> &UnreachableRanges) { in switchConvert()
268 IntRange Gap = { GapLow, GapHigh }; in switchConvert()
443 std::vector<IntRange> UnreachableRanges; in processSwitchInst()
457 IntRange R = {std::numeric_limits<int64_t>::min(), in processSwitchInst()
464 IntRange &LastRange = UnreachableRanges.back(); in processSwitchInst()
[all …]
/external/llvm/lib/Transforms/Utils/
DLowerSwitch.cpp35 struct IntRange { struct
39 static bool IsInRanges(const IntRange &R, in IsInRanges()
40 const std::vector<IntRange> &Ranges) { in IsInRanges()
48 [](const IntRange &A, const IntRange &B) { return A.High < B.High; }); in IsInRanges()
80 const std::vector<IntRange> &UnreachableRanges);
204 const std::vector<IntRange> &UnreachableRanges) { in switchConvert()
249 IntRange Gap = { GapLow, GapHigh }; in switchConvert()
423 std::vector<IntRange> UnreachableRanges; in processSwitchInst()
437 IntRange R = { INT64_MIN, INT64_MAX }; in processSwitchInst()
443 IntRange &LastRange = UnreachableRanges.back(); in processSwitchInst()
[all …]
/external/catch2/docs/
Dmatchers.md89 class IntRange : public Catch::MatcherBase<int> {
92 IntRange( int begin, int end ) : m_begin( begin ), m_end( end ) {}
111 inline IntRange IsBetween( int begin, int end ) {
112 return IntRange( begin, end );
/external/clang/lib/Sema/
DSemaChecking.cpp6970 struct IntRange { struct
6977 IntRange(unsigned Width, bool NonNegative) in IntRange() function
6982 static IntRange forBoolType() { in forBoolType() argument
6983 return IntRange(1, true); in forBoolType()
6987 static IntRange forValueOfType(ASTContext &C, QualType T) { in forValueOfType() argument
6993 static IntRange forValueOfCanonicalType(ASTContext &C, const Type *T) { in forValueOfCanonicalType() argument
7007 return IntRange(C.getIntWidth(QualType(T, 0)), false); in forValueOfCanonicalType()
7013 return IntRange(NumPositive, true/*NonNegative*/); in forValueOfCanonicalType()
7015 return IntRange(std::max(NumPositive + 1, NumNegative), in forValueOfCanonicalType()
7022 return IntRange(C.getIntWidth(QualType(T, 0)), BT->isUnsignedInteger()); in forValueOfCanonicalType()
[all …]
/external/syzkaller/prog/
Dprio.go118 case IntPlain, IntFileoff, IntRange:
Dtypes.go222 IntRange const
Drand.go636 case IntRange:
/external/kotlinc/license/
DREADME.md137 - Path: idea/testData/android/lint/IntRange.java
/external/syzkaller/pkg/compiler/
Dtypes.go80 kind, rangeBegin, rangeEnd = prog.IntRange, args[0].Value, args[0].Value2
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp2040 uint64_t IntRange = Range.getLimitedValue(UINT64_MAX/10); in handleJTSwitchCase() local
2042 if (IntTSize * 10 < IntRange * 4) in handleJTSwitchCase()