summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/utils/TableGen/CodeGenInstruction.h
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2017-01-14 19:55:43 +0000
committerpatrick <patrick@openbsd.org>2017-01-14 19:55:43 +0000
commitbd3306aecb3a15e8967143b8cdbbccf2b1b19b74 (patch)
tree309a8132b44564b9e634c0da6815187ce8eab27c /gnu/llvm/utils/TableGen/CodeGenInstruction.h
parentkillp -a should not kill the window if only one pane. (diff)
downloadwireguard-openbsd-bd3306aecb3a15e8967143b8cdbbccf2b1b19b74.tar.xz
wireguard-openbsd-bd3306aecb3a15e8967143b8cdbbccf2b1b19b74.zip
Import LLVM 3.9.1 including clang and lld.
Diffstat (limited to 'gnu/llvm/utils/TableGen/CodeGenInstruction.h')
-rw-r--r--gnu/llvm/utils/TableGen/CodeGenInstruction.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/gnu/llvm/utils/TableGen/CodeGenInstruction.h b/gnu/llvm/utils/TableGen/CodeGenInstruction.h
index 8f01abd5403..8e5a03d7b74 100644
--- a/gnu/llvm/utils/TableGen/CodeGenInstruction.h
+++ b/gnu/llvm/utils/TableGen/CodeGenInstruction.h
@@ -14,7 +14,6 @@
#ifndef LLVM_UTILS_TABLEGEN_CODEGENINSTRUCTION_H
#define LLVM_UTILS_TABLEGEN_CODEGENINSTRUCTION_H
-#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/CodeGen/MachineValueType.h"
#include "llvm/Support/SMLoc.h"
@@ -23,10 +22,10 @@
#include <vector>
namespace llvm {
+template <typename T> class ArrayRef;
class Record;
class DagInit;
class CodeGenTarget;
- class StringRef;
class CGIOperandList {
public:
@@ -257,6 +256,7 @@ namespace llvm {
bool isExtractSubreg : 1;
bool isInsertSubreg : 1;
bool isConvergent : 1;
+ bool hasNoSchedulingInfo : 1;
std::string DeprecatedReason;
bool HasComplexDeprecationPredicate;
@@ -316,7 +316,8 @@ namespace llvm {
K_Reg
} Kind;
- ResultOperand(std::string N, Record *r) : Name(N), R(r), Kind(K_Record) {}
+ ResultOperand(std::string N, Record *r)
+ : Name(std::move(N)), R(r), Kind(K_Record) {}
ResultOperand(int64_t I) : Imm(I), Kind(K_Imm) {}
ResultOperand(Record *r) : R(r), Kind(K_Reg) {}