Home
last modified time | relevance | path

Searched refs:SCEVUnknown (Results 1 – 25 of 74) sorted by relevance

123

/external/llvm-project/polly/include/polly/
DScopDetection.h72 const SCEVUnknown *BasePointer;
77 ArrayShape(const SCEVUnknown *B) : BasePointer(B) {} in ArrayShape()
96 using BaseToAFs = std::map<const SCEVUnknown *, AFs>;
97 using BaseToElSize = std::map<const SCEVUnknown *, const SCEV *>;
139 SetVector<std::pair<const SCEVUnknown *, Loop *>> NonAffineAccesses;
240 const SCEVUnknown *BasePointer) const;
252 const SCEVUnknown *BasePointer, Loop *Scope) const;
265 const SCEVUnknown *BasePointer,
276 const SCEVUnknown *BasePointer, Loop *Scope) const;
385 bool isValidAccess(Instruction *Inst, const SCEV *AF, const SCEVUnknown *BP,
/external/llvm/include/llvm/Analysis/
DScalarEvolutionExpressions.h393 class SCEVUnknown final : public SCEV, private CallbackVH {
407 SCEVUnknown *Next;
409 SCEVUnknown(const FoldingSetNodeIDRef ID, Value *V, in SCEVUnknown() function
410 ScalarEvolution *se, SCEVUnknown *next) : in SCEVUnknown()
463 return ((SC*)this)->visitUnknown((const SCEVUnknown*)S); in visit()
608 const SCEV *visitUnknown(const SCEVUnknown *Expr) { in visitUnknown()
633 const SCEV *visitUnknown(const SCEVUnknown *Expr) { in visitUnknown()
DScalarEvolution.h55 class SCEVUnknown; variable
246 const SCEVUnknown *LHS;
250 SCEVEqualPredicate(const FoldingSetNodeIDRef ID, const SCEVUnknown *LHS,
260 const SCEVUnknown *getLHS() const { return LHS; }
459 friend class SCEVUnknown;
1626 const SCEVPredicate *getEqualPredicate(const SCEVUnknown *LHS,
1668 SCEVUnknown *FirstUnknown;
/external/llvm/unittests/Analysis/
DScalarEvolutionTest.cpp85 EXPECT_EQ(cast<SCEVUnknown>(M0->getOperand(1))->getValue(), V0); in TEST_F()
86 EXPECT_EQ(cast<SCEVUnknown>(M1->getOperand(1))->getValue(), V1); in TEST_F()
87 EXPECT_EQ(cast<SCEVUnknown>(M2->getOperand(1))->getValue(), V2); in TEST_F()
94 EXPECT_EQ(cast<SCEVUnknown>(M0->getOperand(1))->getValue(), V0); in TEST_F()
95 EXPECT_EQ(cast<SCEVUnknown>(M1->getOperand(1))->getValue(), V0); in TEST_F()
96 EXPECT_EQ(cast<SCEVUnknown>(M2->getOperand(1))->getValue(), V0); in TEST_F()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DDelinearization.cpp88 const SCEVUnknown *BasePointer = in print()
89 dyn_cast<SCEVUnknown>(SE->getPointerBase(AccessFn)); in print()
DScalarEvolutionAliasAnalysis.cpp110 } else if (const SCEVUnknown *U = dyn_cast<SCEVUnknown>(S)) { in GetBaseValue()
DScalarEvolution.cpp332 const SCEVUnknown *U = cast<SCEVUnknown>(this); in print()
383 return cast<SCEVUnknown>(this)->getType(); in getType()
473 void SCEVUnknown::deleted() { in deleted()
484 void SCEVUnknown::allUsesReplacedWith(Value *New) { in allUsesReplacedWith()
494 bool SCEVUnknown::isSizeOf(Type *&AllocTy) const { in isSizeOf()
511 bool SCEVUnknown::isAlignOf(Type *&AllocTy) const { in isAlignOf()
536 bool SCEVUnknown::isOffsetOf(Type *&CTy, Constant *&FieldNo) const { in isOffsetOf()
679 const SCEVUnknown *LU = cast<SCEVUnknown>(LHS); in CompareSCEVComplexity()
680 const SCEVUnknown *RU = cast<SCEVUnknown>(RHS); in CompareSCEVComplexity()
955 void visitUnknown(const SCEVUnknown *Numerator) {} in visitUnknown()
[all …]
/external/llvm-project/llvm/lib/Analysis/
DScalarEvolutionDivision.cpp214 if (!isa<SCEVUnknown>(Denominator)) in visitMulExpr()
219 RewriteMap[cast<SCEVUnknown>(Denominator)->getValue()] = Zero; in visitMulExpr()
224 RewriteMap[cast<SCEVUnknown>(Denominator)->getValue()] = One; in visitMulExpr()
DDelinearization.cpp76 const SCEVUnknown *BasePointer = in printDelinearization()
77 dyn_cast<SCEVUnknown>(SE->getPointerBase(AccessFn)); in printDelinearization()
DScalarEvolutionAliasAnalysis.cpp112 } else if (const SCEVUnknown *U = dyn_cast<SCEVUnknown>(S)) { in GetBaseValue()
DScalarEvolution.cpp350 const SCEVUnknown *U = cast<SCEVUnknown>(this); in print()
402 return cast<SCEVUnknown>(this)->getType(); in getType()
506 void SCEVUnknown::deleted() { in deleted()
517 void SCEVUnknown::allUsesReplacedWith(Value *New) { in allUsesReplacedWith()
527 bool SCEVUnknown::isSizeOf(Type *&AllocTy) const { in isSizeOf()
544 bool SCEVUnknown::isAlignOf(Type *&AllocTy) const { in isAlignOf()
569 bool SCEVUnknown::isOffsetOf(Type *&CTy, Constant *&FieldNo) const { in isOffsetOf()
712 const SCEVUnknown *LU = cast<SCEVUnknown>(LHS); in CompareSCEVComplexity()
713 const SCEVUnknown *RU = cast<SCEVUnknown>(RHS); in CompareSCEVComplexity()
1058 if (isa<SCEVUnknown>(Op)) { in getPtrToIntExpr()
[all …]
/external/llvm/lib/Analysis/
DDelinearization.cpp98 const SCEVUnknown *BasePointer = in print()
99 dyn_cast<SCEVUnknown>(SE->getPointerBase(AccessFn)); in print()
DScalarEvolutionAliasAnalysis.cpp105 } else if (const SCEVUnknown *U = dyn_cast<SCEVUnknown>(S)) { in GetBaseValue()
DScalarEvolution.cpp216 const SCEVUnknown *U = cast<SCEVUnknown>(this); in print()
265 return cast<SCEVUnknown>(this)->getType(); in getType()
358 void SCEVUnknown::deleted() { in deleted()
369 void SCEVUnknown::allUsesReplacedWith(Value *New) { in allUsesReplacedWith()
382 bool SCEVUnknown::isSizeOf(Type *&AllocTy) const { in isSizeOf()
399 bool SCEVUnknown::isAlignOf(Type *&AllocTy) const { in isAlignOf()
424 bool SCEVUnknown::isOffsetOf(Type *&CTy, Constant *&FieldNo) const { in isOffsetOf()
482 const SCEVUnknown *LU = cast<SCEVUnknown>(LHS); in compare()
483 const SCEVUnknown *RU = cast<SCEVUnknown>(RHS); in compare()
760 void visitUnknown(const SCEVUnknown *Numerator) {} in visitUnknown()
[all …]
/external/llvm-project/polly/lib/Support/
DSCEVValidator.cpp434 ValidatorResult visitUnknown(const SCEVUnknown *Expr) { in visitUnknown()
475 const SCEVUnknown *Unknown = dyn_cast<SCEVUnknown>(S); in follow()
510 if (auto Unknown = dyn_cast<SCEVUnknown>(S)) { in follow()
589 const SCEVUnknown *Unknown = dyn_cast<SCEVUnknown>(S); in follow()
777 if (auto *Unknown = dyn_cast<SCEVUnknown>(Expr)) { in tryForwardThroughPHI()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DScalarEvolutionExpressions.h466 class SCEVUnknown final : public SCEV, private CallbackVH {
476 SCEVUnknown *Next;
478 SCEVUnknown(const FoldingSetNodeIDRef ID, Value *V, in SCEVUnknown() function
479 ScalarEvolution *se, SCEVUnknown *next) : in SCEVUnknown()
540 return ((SC*)this)->visitUnknown((const SCEVUnknown*)S); in visit()
776 const SCEV *visitUnknown(const SCEVUnknown *Expr) { in visitUnknown()
801 const SCEV *visitUnknown(const SCEVUnknown *Expr) { in visitUnknown()
DScalarEvolution.h67 class SCEVUnknown; variable
565 createAddRecFromPHIWithCasts(const SCEVUnknown *SymbolicPHI);
1105 friend class SCEVUnknown;
1825 createAddRecFromPHIWithCastsImpl(const SCEVUnknown *SymbolicPHI);
1902 DenseMap<std::pair<const SCEVUnknown *, const Loop *>,
1909 SCEVUnknown *FirstUnknown = nullptr;
/external/llvm-project/polly/lib/Analysis/
DScopDetection.cpp505 auto *BasePtr = dyn_cast<SCEVUnknown>(SE.getPointerBase(PtrSCEV)); in involvesMultiplePtrs()
720 auto *BP = dyn_cast<SCEVUnknown>(SE.getPointerBase(ArgSCEV)); in isValidCallInst()
755 const SCEVUnknown *BP; in isValidIntrinsicInst()
763 BP = dyn_cast<SCEVUnknown>(SE.getPointerBase(AF)); in isValidIntrinsicInst()
772 BP = dyn_cast<SCEVUnknown>(SE.getPointerBase(AF)); in isValidIntrinsicInst()
858 const SCEVUnknown *BasePointer) const { in getDelinearizationTerms()
885 if (auto *Unknown = dyn_cast<SCEVUnknown>(MulOp)) { in getDelinearizationTerms()
908 const SCEVUnknown *BasePointer, in hasValidArraySizes()
928 if (auto *Unknown = dyn_cast<SCEVUnknown>(DelinearizedSize)) { in hasValidArraySizes()
972 DetectionContext &Context, const SCEVUnknown *BasePointer, in computeAccessFunctions()
[all …]
/external/llvm-project/llvm/include/llvm/Analysis/
DScalarEvolutionExpressions.h522 class SCEVUnknown final : public SCEV, private CallbackVH {
532 SCEVUnknown *Next;
534 SCEVUnknown(const FoldingSetNodeIDRef ID, Value *V, in SCEVUnknown() function
535 ScalarEvolution *se, SCEVUnknown *next) : in SCEVUnknown()
598 return ((SC*)this)->visitUnknown((const SCEVUnknown*)S); in visit()
840 const SCEV *visitUnknown(const SCEVUnknown *Expr) { in visitUnknown()
865 const SCEV *visitUnknown(const SCEVUnknown *Expr) { in visitUnknown()
DScalarEvolutionDivision.h45 void visitUnknown(const SCEVUnknown *Numerator) {} in visitUnknown()
DScalarEvolution.h68 class SCEVUnknown; variable
568 createAddRecFromPHIWithCasts(const SCEVUnknown *SymbolicPHI);
1186 friend class SCEVUnknown;
1970 createAddRecFromPHIWithCastsImpl(const SCEVUnknown *SymbolicPHI);
2050 DenseMap<std::pair<const SCEVUnknown *, const Loop *>,
2057 SCEVUnknown *FirstUnknown = nullptr;
/external/llvm-project/llvm/unittests/Analysis/
DScalarEvolutionTest.cpp108 EXPECT_EQ(cast<SCEVUnknown>(M0->getOperand(1))->getValue(), V0); in TEST_F()
109 EXPECT_EQ(cast<SCEVUnknown>(M1->getOperand(1))->getValue(), V1); in TEST_F()
110 EXPECT_EQ(cast<SCEVUnknown>(M2->getOperand(1))->getValue(), V2); in TEST_F()
117 EXPECT_EQ(cast<SCEVUnknown>(M0->getOperand(1))->getValue(), V0); in TEST_F()
118 EXPECT_EQ(cast<SCEVUnknown>(M1->getOperand(1))->getValue(), V0); in TEST_F()
119 EXPECT_EQ(cast<SCEVUnknown>(M2->getOperand(1))->getValue(), V0); in TEST_F()
901 EXPECT_TRUE(isa<SCEVUnknown>(Expr)); in TEST_F()
902 auto Result = SE.createAddRecFromPHIWithCasts(cast<SCEVUnknown>(Expr)); in TEST_F()
959 EXPECT_TRUE(isa<SCEVUnknown>(Expr)); in TEST_F()
960 auto Result = SE.createAddRecFromPHIWithCasts(cast<SCEVUnknown>(Expr)); in TEST_F()
[all …]
/external/llvm-project/llvm/test/Analysis/IVUsers/
Dquadradic-exit-value.ll34 ; It is valid to fold SCEVUnknown into the recurrence because it
66 ; It is illegal to fold SCEVUnknown (sext.us) into the recurrence
/external/llvm-project/polly/include/polly/Support/
DSCEVAffinator.h114 PWACtx visitUnknown(const llvm::SCEVUnknown *E);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DAlignmentFromAssumptions.cpp269 if (const SCEVUnknown *OpUnk = dyn_cast<SCEVUnknown>(*J)) in extractAlignmentInfo()

123