/external/llvm/lib/Analysis/ |
DependenceAnalysis.cpp | 450 if (isa<SCEVConstant>(Y->getD())) { 493 const SCEVConstant *C1A2_C2A1 = 494 dyn_cast<SCEVConstant>(SE->getMinusSCEV(C1A2, C2A1)); 495 const SCEVConstant *C1B2_C2B1 = 496 dyn_cast<SCEVConstant>(SE->getMinusSCEV(C1B2, C2B1)); 497 const SCEVConstant *A1B2_A2B1 = 498 dyn_cast<SCEVConstant>(SE->getMinusSCEV(A1B2, A2B1)); 499 const SCEVConstant *A2B1_A1B2 = 500 dyn_cast<SCEVConstant>(SE->getMinusSCEV(A2B1, A1B2)); 529 if (const SCEVConstant *CUB [all...] |
ScalarEvolution.cpp | 136 cast<SCEVConstant>(this)->getValue()->printAsOperand(OS, false); 246 return cast<SCEVConstant>(this)->getType(); 269 if (const SCEVConstant *SC = dyn_cast<SCEVConstant>(this)) 275 if (const SCEVConstant *SC = dyn_cast<SCEVConstant>(this)) 281 if (const SCEVConstant *SC = dyn_cast<SCEVConstant>(this)) 293 const SCEVConstant *SC = dyn_cast<SCEVConstant>(Mul->getOperand(0)) [all...] |
ScalarEvolutionExpander.cpp | 242 if (const SCEVConstant *C = dyn_cast<SCEVConstant>(S)) { 247 if (const SCEVConstant *FC = dyn_cast<SCEVConstant>(Factor)) { 268 const SCEVConstant *FC = cast<SCEVConstant>(Factor); 269 if (const SCEVConstant *C = dyn_cast<SCEVConstant>(M->getOperand(0))) 457 if (const SCEVConstant *C = dyn_cast<SCEVConstant>(Ops[0]) [all...] |
LoopAccessAnalysis.cpp | 113 static_cast<const SCEVConstant *>(SE->getOne(StrideVal->getType())); 144 if (const SCEVConstant *CStep = dyn_cast<const SCEVConstant>(Step)) { 195 const SCEVConstant *C = dyn_cast<const SCEVConstant>(Diff); [all...] |
ScalarEvolutionNormalization.cpp | 231 if (isa<SCEVConstant>(S) || isa<SCEVUnknown>(S))
|
VectorUtils.cpp | 327 const APInt &APStepVal = cast<SCEVConstant>(M->getOperand(0))->getAPInt();
|
/external/llvm/lib/Target/PowerPC/ |
PPCLoopPreIncPrep.cpp | 107 BucketElement(const SCEVConstant *O, Instruction *I) : Offset(O), Instr(I) {} 110 const SCEVConstant *Offset; 224 if (const auto *CDiff = dyn_cast<SCEVConstant>(Diff)) { 290 E.Offset = cast<SCEVConstant>(SE->getMinusSCEV(E.Offset, Offset)); 292 E.Offset = cast<SCEVConstant>(SE->getNegativeSCEV(Offset)); 322 const SCEVConstant *BasePtrIncSCEV = 323 dyn_cast<SCEVConstant>(BasePtrSCEV->getStepRecurrence(*SE));
|
PPCLoopDataPrefetch.cpp | 193 if (const SCEVConstant *ConstPtrDiff = 194 dyn_cast<SCEVConstant>(PtrDiff)) {
|
PPCCTRLoops.cpp | 481 if (const SCEVConstant *ConstEC = dyn_cast<SCEVConstant>(EC)) {
|
/external/llvm/lib/Transforms/Scalar/ |
AlignmentFromAssumptions.cpp | 116 if (const SCEVConstant *ConstDUSCEV = 117 dyn_cast<SCEVConstant>(DiffUnitsSCEV)) { 125 cast<SCEVConstant>(AlignSCEV)->getValue()->getSExtValue(); 245 if (isa<SCEVConstant>(AndLHSSCEV)) { 250 const SCEVConstant *MaskSCEV = dyn_cast<SCEVConstant>(AndRHSSCEV);
|
LoopIdiomRecognize.cpp | 224 if (const SCEVConstant *BECst = dyn_cast<SCEVConstant>(BECount)) 255 const SCEVConstant *ConstStride = cast<SCEVConstant>(StoreEv->getOperand(1)); 322 if (!isa<SCEVConstant>(StoreEv->getOperand(1))) 436 const SCEVConstant *Stride = dyn_cast<SCEVConstant>(Ev->getOperand(1)); 462 if (const SCEVConstant *BECst = dyn_cast<SCEVConstant>(BECount)) [all...] |
LoopStrengthReduce.cpp | 545 const SCEVConstant *RC = dyn_cast<SCEVConstant>(RHS); 558 if (const SCEVConstant *C = dyn_cast<SCEVConstant>(LHS)) { 625 if (const SCEVConstant *C = dyn_cast<SCEVConstant>(S)) { 785 if (isa<SCEVConstant>(Mul->getOperand(0))) [all...] |
InductiveRangeCheckElimination.cpp | 753 if (const SCEVConstant *StepExpr = 754 dyn_cast<SCEVConstant>(AR->getStepRecurrence(SE))) { [all...] |
IndVarSimplify.cpp | [all...] |
LoopInterchange.cpp | 135 const SCEVConstant *SCEVConst = 136 dyn_cast_or_null<SCEVConstant>(Distance); 319 const SCEVConstant *C = dyn_cast<SCEVConstant>(Step); [all...] |
LoopUnrollPass.cpp | 332 if (auto *SC = dyn_cast<SCEVConstant>(S)) { 343 if (auto *SC = dyn_cast<SCEVConstant>(ValueAtIteration)) { 353 dyn_cast<SCEVConstant>(SE.getMinusSCEV(ValueAtIteration, Base)); [all...] |
LoopRerollPass.cpp | 481 if (const SCEVConstant *IncSCEV = 482 dyn_cast<SCEVConstant>(PHISCEV->getStepRecurrence(*SE))) { [all...] |
LoopLoadElimination.cpp | 83 auto *Dist = cast<SCEVConstant>(
|
/external/llvm/include/llvm/Analysis/ |
ScalarEvolutionExpressions.h | 36 /// SCEVConstant - This class represents a constant integer value. 38 class SCEVConstant : public SCEV { 42 SCEVConstant(const FoldingSetNodeIDRef ID, ConstantInt *v) : 456 return ((SC*)this)->visitConstant((const SCEVConstant*)S); 565 const SCEV *visitConstant(const SCEVConstant *Constant) {
|
ScalarEvolution.h | 53 class SCEVConstant; 248 const SCEVConstant *RHS; 252 const SCEVConstant *RHS); 264 const SCEVConstant *getRHS() const { return RHS; } [all...] |
DependenceAnalysis.h | 54 class SCEVConstant; 575 /// attempts to cast it to SCEVConstant. If the cast fails, 577 const SCEVConstant *collectConstantUpperBound(const Loop *l, Type *T) const; [all...] |
ScalarEvolutionExpander.h | 268 Value *visitConstant(const SCEVConstant *S) {
|
/external/llvm/unittests/Analysis/ |
ScalarEvolutionTest.cpp | 77 EXPECT_EQ(cast<SCEVConstant>(M0->getOperand(0))->getValue()->getZExtValue(), 79 EXPECT_EQ(cast<SCEVConstant>(M1->getOperand(0))->getValue()->getZExtValue(), 81 EXPECT_EQ(cast<SCEVConstant>(M2->getOperand(0))->getValue()->getZExtValue(),
|
/external/llvm/lib/Transforms/Utils/ |
LoopUtils.cpp | 681 const SCEVConstant *C = dyn_cast<SCEVConstant>(Step);
|
/external/llvm/lib/Transforms/Vectorize/ |
LoopVectorize.cpp | [all...] |