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 11511e9 commit 31efecfCopy full SHA for 31efecf
llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
@@ -24,8 +24,6 @@
24
#include "llvm/IR/PatternMatch.h"
25
#include <utility>
26
27
-using namespace llvm::PatternMatch;
28
-
29
namespace llvm {
30
31
class Function;
@@ -960,6 +958,8 @@ class TargetTransformInfoImplCRTPBase : public TargetTransformInfoImplBase {
960
958
961
959
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