Please use GitHub pull requests for new patches. Avoid migrating existing patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
llvm/lib/Transforms/Scalar/StraightLineStrengthReduce.cpp
Show First 20 Lines • Show All 54 Lines • ▼ Show 20 Lines | |||||
// - When (i' - i) is constant but i and i' are not, we could still perform | // - When (i' - i) is constant but i and i' are not, we could still perform | ||||
// SLSR. | // SLSR. | ||||
#include "llvm/Transforms/Scalar/StraightLineStrengthReduce.h" | #include "llvm/Transforms/Scalar/StraightLineStrengthReduce.h" | ||||
#include "llvm/ADT/APInt.h" | #include "llvm/ADT/APInt.h" | ||||
#include "llvm/ADT/DepthFirstIterator.h" | #include "llvm/ADT/DepthFirstIterator.h" | ||||
#include "llvm/ADT/SmallVector.h" | #include "llvm/ADT/SmallVector.h" | ||||
#include "llvm/Analysis/ScalarEvolution.h" | #include "llvm/Analysis/ScalarEvolution.h" | ||||
#include "llvm/Analysis/ScalarEvolutionExpressions.h" | |||||
mkazantsev: ???? | |||||
Do I understand correctly that it's because auto resolve fails here? mkazantsev: Do I understand correctly that it's because `auto` resolve fails here? | |||||
Yes, you are right. I included this file so that automatic casting occurs. dbakunevich: Yes, you are right. I included this file so that automatic casting occurs. | |||||
#include "llvm/Analysis/TargetTransformInfo.h" | #include "llvm/Analysis/TargetTransformInfo.h" | ||||
#include "llvm/Analysis/ValueTracking.h" | #include "llvm/Analysis/ValueTracking.h" | ||||
#include "llvm/IR/Constants.h" | #include "llvm/IR/Constants.h" | ||||
#include "llvm/IR/DataLayout.h" | #include "llvm/IR/DataLayout.h" | ||||
#include "llvm/IR/DerivedTypes.h" | #include "llvm/IR/DerivedTypes.h" | ||||
#include "llvm/IR/Dominators.h" | #include "llvm/IR/Dominators.h" | ||||
#include "llvm/IR/GetElementPtrTypeIterator.h" | #include "llvm/IR/GetElementPtrTypeIterator.h" | ||||
#include "llvm/IR/IRBuilder.h" | #include "llvm/IR/IRBuilder.h" | ||||
▲ Show 20 Lines • Show All 700 Lines • Show Last 20 Lines |
????