We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02de975 commit e878428Copy full SHA for e878428
llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
@@ -24,6 +24,8 @@
24
#include "llvm/IR/PatternMatch.h"
25
#include <utility>
26
27
+using namespace llvm::PatternMatch;
28
+
29
namespace llvm {
30
31
class Function;
@@ -958,8 +960,6 @@ class TargetTransformInfoImplCRTPBase : public TargetTransformInfoImplBase {
958
960
959
961
InstructionCost getUserCost(const User *U, ArrayRef<const Value *> Operands,
962
TTI::TargetCostKind CostKind) {
- using namespace llvm::PatternMatch;
-
963
auto *TargetTTI = static_cast<T *>(this);
964
// Handle non-intrinsic calls, invokes, and callbr.
965
// FIXME: Unlikely to be true for anything but CodeSize.
0 commit comments