/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | ValueLattice.h | 159 const ConstantRange &getConstantRange() const { in getConstantRange() function 168 } else if (isConstantRange() && getConstantRange().isSingleElement()) { in asConstantInteger() 169 return *getConstantRange().getSingleElement(); in asConstantInteger() 275 ConstantRange NewR = getConstantRange().unionWith(RHS.getConstantRange()); in mergeIn() 278 else if (NewR == getConstantRange()) in mergeIn() 307 const auto &CR = getConstantRange(); in getCompare() 308 const auto &OtherCR = Other.getConstantRange(); in getCompare()
|
D | LazyValueInfo.h | 89 ConstantRange getConstantRange(Value *V, BasicBlock *BB, Instruction *CxtI = nullptr);
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/ |
D | ValueLatticeTest.cpp | 61 EXPECT_EQ(LV1.getConstantRange().getLower().getLimitedValue(), 1U); in TEST_F() 62 EXPECT_EQ(LV1.getConstantRange().getUpper().getLimitedValue(), 100U); in TEST_F() 67 EXPECT_EQ(LV1.getConstantRange().getLower().getLimitedValue(), 1U); in TEST_F() 68 EXPECT_EQ(LV1.getConstantRange().getUpper().getLimitedValue(), 100U); in TEST_F() 74 EXPECT_EQ(LV1.getConstantRange().getLower().getLimitedValue(), 1U); in TEST_F() 75 EXPECT_EQ(LV1.getConstantRange().getUpper().getLimitedValue(), 100U); in TEST_F() 77 EXPECT_EQ(LV2.getConstantRange().getLower().getLimitedValue(), 1U); in TEST_F() 78 EXPECT_EQ(LV2.getConstantRange().getUpper().getLimitedValue(), 100U); in TEST_F()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | ValueLattice.cpp | 22 return OS << "constantrange<" << Val.getConstantRange().getLower() << ", " in operator <<() 23 << Val.getConstantRange().getUpper() << ">"; in operator <<()
|
D | LazyValueInfo.cpp | 68 Val.getConstantRange().isSingleElement()) in hasSingleValue() 120 A.getConstantRange().intersectWith(B.getConstantRange()); in intersect() 866 const ConstantRange &TrueCR = TrueVal.getConstantRange(); in solveBlockValueSelect() 867 const ConstantRange &FalseCR = FalseVal.getConstantRange(); in solveBlockValueSelect() 997 LHSRange = LHSVal.getConstantRange(); in solveBlockValueCast() 1056 LHSRange = LHSVal.getConstantRange(); in solveBlockValueBinaryOp() 1334 EdgeVal = EdgeLatticeVal.getConstantRange(); in getEdgeValueLocal() 1560 const ConstantRange &CR = Result.getConstantRange(); in getConstant() 1567 ConstantRange LazyValueInfo::getConstantRange(Value *V, BasicBlock *BB, in getConstantRange() function in LazyValueInfo 1577 return Result.getConstantRange(); in getConstantRange() [all …]
|
/external/llvm/lib/Analysis/ |
D | LazyValueInfo.cpp | 136 ConstantRange getConstantRange() const { in getConstantRange() function in __anonadeae0b70111::LVILatticeVal 271 ConstantRange NewR = Range.unionWith(RHS.getConstantRange()); in mergeIn() 292 return OS << "constantrange<" << Val.getConstantRange().getLower() << ", " in operator <<() 293 << Val.getConstantRange().getUpper() << '>'; in operator <<() 303 Val.getConstantRange().isSingleElement()) in hasSingleValue() 354 A.getConstantRange().intersectWith(B.getConstantRange()); in intersect() 910 ConstantRange TrueCR = TrueVal.getConstantRange(); in solveBlockValueSelect() 911 ConstantRange FalseCR = FalseVal.getConstantRange(); in solveBlockValueSelect() 1046 LHSRange = LHSVal.getConstantRange(); in solveBlockValueCast() 1123 LHSRange = LHSVal.getConstantRange(); in solveBlockValueBinaryOp() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | LazyValueInfo.cpp | 116 ConstantRange getConstantRange() const { in getConstantRange() function in __anonba15b7e30111::LVILatticeVal 260 ConstantRange NewR = Range.unionWith(RHS.getConstantRange()); in mergeIn() 281 return OS << "constantrange<" << Val.getConstantRange().getLower() << ", " in operator <<() 282 << Val.getConstantRange().getUpper() << '>'; in operator <<() 729 ConstantRange LHSRange = LHSVal.getConstantRange(); in solveBlockValueConstantRange() 862 TrueValues.intersectWith(InBlock.getConstantRange()); in getEdgeValue() 1030 ConstantRange CR = Result.getConstantRange(); in getConstant() 1046 ConstantRange CR = Result.getConstantRange(); in getConstantOnEdge() 1074 ConstantRange CR = Result.getConstantRange(); in getPredicateOnEdge()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | CorrelatedValuePropagation.cpp | 409 ConstantRange RRange = LVI->getConstantRange(RHS, II->getParent(), II); in willNotOverflow() 416 ConstantRange LRange = LVI->getConstantRange(LHS, II->getParent(), II); in willNotOverflow() 522 LVI->getConstantRange(Operand, Instr->getParent())); in processUDivOrURem() 626 ConstantRange LRange = LVI->getConstantRange(LHS, BB, AddOp); in processAdd() 634 RRange = LVI->getConstantRange(RHS, BB, AddOp); in processAdd()
|
/external/llvm/include/llvm/Analysis/ |
D | LazyValueInfo.h | 87 ConstantRange getConstantRange(Value *V, BasicBlock *BB, Instruction *CxtI = nullptr);
|