Home
last modified time | relevance | path

Searched refs:SCEVPredicate (Results 1 – 8 of 8) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DScalarEvolution.h182 class SCEVPredicate : public FoldingSetNode {
183 friend struct FoldingSetTrait<SCEVPredicate>;
194 ~SCEVPredicate() = default;
195 SCEVPredicate(const SCEVPredicate &) = default;
196 SCEVPredicate &operator=(const SCEVPredicate &) = default;
199 SCEVPredicate(const FoldingSetNodeIDRef ID, SCEVPredicateKind Kind);
212 virtual bool implies(const SCEVPredicate *N) const = 0;
223 inline raw_ostream &operator<<(raw_ostream &OS, const SCEVPredicate &P) {
231 struct FoldingSetTrait<SCEVPredicate> : DefaultFoldingSetTrait<SCEVPredicate> {
232 static void Profile(const SCEVPredicate &X, FoldingSetNodeID &ID) {
[all …]
DScalarEvolutionExpander.h216 Value *expandCodeForPredicate(const SCEVPredicate *Pred, Instruction *Loc);
/external/llvm/include/llvm/Analysis/
DScalarEvolution.h54 class SCEVPredicate; variable
59 template <> struct FoldingSetTrait<SCEVPredicate>;
174 class SCEVPredicate : public FoldingSetNode {
175 friend struct FoldingSetTrait<SCEVPredicate>;
186 ~SCEVPredicate() = default;
187 SCEVPredicate(const SCEVPredicate&) = default;
188 SCEVPredicate &operator=(const SCEVPredicate&) = default;
191 SCEVPredicate(const FoldingSetNodeIDRef ID, SCEVPredicateKind Kind);
204 virtual bool implies(const SCEVPredicate *N) const = 0;
215 inline raw_ostream &operator<<(raw_ostream &OS, const SCEVPredicate &P) {
[all …]
DScalarEvolutionExpander.h203 Value *expandCodeForPredicate(const SCEVPredicate *Pred, Instruction *Loc);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DScalarEvolution.cpp4692 Optional<std::pair<const SCEV *, SmallVector<const SCEVPredicate *, 3>>>
4694 SmallVector<const SCEVPredicate *, 3> Predicates; in createAddRecFromPHIWithCastsImpl()
4829 const SCEVPredicate *AddRecPred = getWrapPredicate(AR, AddedFlags); in createAddRecFromPHIWithCastsImpl()
4881 const SCEVPredicate *Pred = getEqualPredicate(Expr, ExtendedExpr); in createAddRecFromPHIWithCastsImpl()
4896 std::pair<const SCEV *, SmallVector<const SCEVPredicate *, 3>> PredRewrite = in createAddRecFromPHIWithCastsImpl()
4903 Optional<std::pair<const SCEV *, SmallVector<const SCEVPredicate *, 3>>>
4913 std::pair<const SCEV *, SmallVector<const SCEVPredicate *, 3>> Rewrite = in createAddRecFromPHIWithCasts()
4925 Optional<std::pair<const SCEV *, SmallVector<const SCEVPredicate *, 3>>> in createAddRecFromPHIWithCasts()
4930 SmallVector<const SCEVPredicate *, 3> Predicates; in createAddRecFromPHIWithCasts()
6937 ArrayRef<const SmallPtrSetImpl<const SCEVPredicate *> *> PredSetList) in ExitLimit()
[all …]
DScalarEvolutionExpander.cpp2122 Value *SCEVExpander::expandCodeForPredicate(const SCEVPredicate *Pred, in expandCodeForPredicate()
2126 case SCEVPredicate::P_Union: in expandCodeForPredicate()
2128 case SCEVPredicate::P_Equal: in expandCodeForPredicate()
2130 case SCEVPredicate::P_Wrap: { in expandCodeForPredicate()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp10067 const SCEVPredicate *
10072 ID.AddInteger(SCEVPredicate::P_Equal); in getEqualPredicate()
10084 const SCEVPredicate *ScalarEvolution::getWrapPredicate( in getWrapPredicate()
10089 ID.AddInteger(SCEVPredicate::P_Wrap); in getWrapPredicate()
10202 SCEVPredicate::SCEVPredicate(const FoldingSetNodeIDRef ID, in SCEVPredicate() function in SCEVPredicate
10209 : SCEVPredicate(ID, P_Equal), LHS(LHS), RHS(RHS) {} in SCEVEqualPredicate()
10211 bool SCEVEqualPredicate::implies(const SCEVPredicate *N) const { in implies()
10231 : SCEVPredicate(ID, P_Wrap), AR(AR), Flags(Flags) {} in SCEVWrapPredicate()
10235 bool SCEVWrapPredicate::implies(const SCEVPredicate *N) const { in implies()
10283 : SCEVPredicate(FoldingSetNodeIDRef(nullptr, 0), P_Union) {} in SCEVUnionPredicate()
[all …]
DScalarEvolutionExpander.cpp2006 Value *SCEVExpander::expandCodeForPredicate(const SCEVPredicate *Pred, in expandCodeForPredicate()
2010 case SCEVPredicate::P_Union: in expandCodeForPredicate()
2012 case SCEVPredicate::P_Equal: in expandCodeForPredicate()
2014 case SCEVPredicate::P_Wrap: { in expandCodeForPredicate()