Searched refs:DiffSCEV (Results 1 – 2 of 2) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | AlignmentFromAssumptions.cpp | 93 static unsigned getNewAlignmentDiff(const SCEV *DiffSCEV, in getNewAlignmentDiff() argument 97 const SCEV *DiffAlignDiv = SE->getUDivExpr(DiffSCEV, AlignSCEV); in getNewAlignmentDiff() 99 const SCEV *DiffUnitsSCEV = SE->getMinusSCEV(DiffAlign, DiffSCEV); in getNewAlignmentDiff() 102 << *DiffUnitsSCEV << " (diff: " << *DiffSCEV << ")\n"); in getNewAlignmentDiff() 132 const SCEV *DiffSCEV = SE->getMinusSCEV(PtrSCEV, AASCEV); in getNewAlignment() local 136 DiffSCEV = SE->getNoopOrSignExtend(DiffSCEV, OffSCEV->getType()); in getNewAlignment() 140 DiffSCEV = SE->getMinusSCEV(DiffSCEV, OffSCEV); in getNewAlignment() 144 << " using diff " << *DiffSCEV << "\n"); in getNewAlignment() 146 unsigned NewAlignment = getNewAlignmentDiff(DiffSCEV, AlignSCEV, SE); in getNewAlignment() 152 dyn_cast<SCEVAddRecExpr>(DiffSCEV)) { in getNewAlignment()
|
/external/llvm/lib/Transforms/Scalar/ |
D | AlignmentFromAssumptions.cpp | 93 static unsigned getNewAlignmentDiff(const SCEV *DiffSCEV, in getNewAlignmentDiff() argument 97 const SCEV *DiffAlignDiv = SE->getUDivExpr(DiffSCEV, AlignSCEV); in getNewAlignmentDiff() 99 const SCEV *DiffUnitsSCEV = SE->getMinusSCEV(DiffAlign, DiffSCEV); in getNewAlignmentDiff() 102 *DiffUnitsSCEV << " (diff: " << *DiffSCEV << ")\n"); in getNewAlignmentDiff() 132 const SCEV *DiffSCEV = SE->getMinusSCEV(PtrSCEV, AASCEV); in getNewAlignment() local 136 DiffSCEV = SE->getNoopOrSignExtend(DiffSCEV, OffSCEV->getType()); in getNewAlignment() 140 DiffSCEV = SE->getMinusSCEV(DiffSCEV, OffSCEV); in getNewAlignment() 144 " using diff " << *DiffSCEV << "\n"); in getNewAlignment() 146 unsigned NewAlignment = getNewAlignmentDiff(DiffSCEV, AlignSCEV, SE); in getNewAlignment() 152 dyn_cast<SCEVAddRecExpr>(DiffSCEV)) { in getNewAlignment()
|