Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion clang/lib/DPCT/ASTTraversal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "ASTTraversal.h"
#include "AnalysisInfo.h"
#include "AsmMigration.h"
#include "Asm/AsmMigration.h"
#include "BarrierFenceSpaceAnalyzer.h"
#include "CallExprRewriter.h"
#include "CallExprRewriterCommon.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

#include "AsmMigration.h"
#include "AnalysisInfo.h"
#include "Asm/AsmNodes.h"
#include "Asm/AsmParser.h"
#include "Asm/AsmTokenKinds.h"
#include "Asm/Parser/AsmNodes.h"
#include "Asm/Parser/AsmParser.h"
#include "Asm/Parser/AsmTokenKinds.h"
#include "CrashRecovery.h"
#include "Diagnostics.h"
#include "MapNames.h"
Expand Down Expand Up @@ -274,7 +274,7 @@ class SYCLGenBase {
virtual bool handle_##X(const InlineAsmInstruction *I) { \
return SYCLGenError(); \
}
#include "Asm/AsmTokenKinds.def"
#include "Asm/Parser/AsmTokenKinds.def"
};

bool SYCLGenBase::emitStmt(const InlineAsmStmt *S) {
Expand All @@ -283,7 +283,7 @@ bool SYCLGenBase::emitStmt(const InlineAsmStmt *S) {
case InlineAsmStmt::CLASS##Class: \
return emit##CLASS(dyn_cast<InlineAsm##CLASS>(S));
#define ABSTRACT_STMT(STMT)
#include "Asm/AsmNodes.def"
#include "Asm/Parser/AsmNodes.def"
}
return SYCLGenError();
}
Expand Down Expand Up @@ -329,7 +329,7 @@ bool SYCLGenBase::emitInstruction(const InlineAsmInstruction *I) {
#define INSTRUCTION(X) \
case asmtok::op_##X: \
return handle_##X(I);
#include "Asm/AsmTokenKinds.def"
#include "Asm/Parser/AsmTokenKinds.def"
default:
break;
}
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
//===----------------------------------------------------------------------===//

#include "AsmLexer.h"
#include "Asm/AsmIdentifierTable.h"
#include "Asm/AsmToken.h"
#include "Asm/AsmTokenKinds.h"
#include "Asm/Parser/AsmIdentifierTable.h"
#include "Asm/Parser/AsmToken.h"
#include "Asm/Parser/AsmTokenKinds.h"
#include "clang/Basic/CharInfo.h"
#include "clang/Basic/LLVM.h"
#include "clang/Basic/TokenKinds.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#ifndef CLANG_DPCT_ASM_LEXER_H
#define CLANG_DPCT_ASM_LEXER_H

#include "Asm/AsmIdentifierTable.h"
#include "Asm/Parser/AsmIdentifierTable.h"
#include "AsmToken.h"
#include "clang/Basic/IdentifierTable.h"
#include "clang/Basic/LLVM.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ using llvm::SmallVector;

enum class InstAttr {
#define MODIFIER(X, Y) X,
#include "Asm/AsmTokenKinds.def"
#include "Asm/Parser/AsmTokenKinds.def"
};

enum class AsmStateSpace {
Expand Down Expand Up @@ -268,7 +268,7 @@ class InlineAsmStmt {
#define STMT_RANGE(BASE, FIRST, LAST) \
first##BASE##Constant = FIRST##Class, last##BASE##Constant = LAST##Class,
#define ABSTRACT_STMT(STMT)
#include "Asm/AsmNodes.def"
#include "Asm/Parser/AsmNodes.def"
};

InlineAsmStmt(const InlineAsmStmt &) = delete;
Expand Down
File renamed without changes.
12 changes: 6 additions & 6 deletions clang/lib/DPCT/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -203,13 +203,13 @@ add_clang_library(DPCT
NCCLAPIMigration.cpp
TypeLocRewriters.cpp
AutoComplete.cpp
AsmMigration.cpp
Asm/AsmMigration.cpp
APIMapping/QueryAPIMapping.cpp
Asm/AsmNodes.cpp
Asm/AsmLexer.cpp
Asm/AsmParser.cpp
Asm/AsmIdentifierTable.cpp
Asm/AsmTokenKinds.cpp
Asm/Parser/AsmNodes.cpp
Asm/Parser/AsmLexer.cpp
Asm/Parser/AsmParser.cpp
Asm/Parser/AsmIdentifierTable.cpp
Asm/Parser/AsmTokenKinds.cpp
LIBCUAPIMigration.cpp
CUBAPIMigration.cpp
MemberExprRewriter.cpp
Expand Down