r201234 - Whitespace cleanup (mostly stray tabs, a few not-quite-empty lines).
Tim Northover
tnorthover at apple.com
Wed Feb 12 04:56:48 PST 2014
Author: tnorthover
Date: Wed Feb 12 06:56:48 2014
New Revision: 201234
URL: http://llvm.org/viewvc/llvm-project?rev=201234&view=rev
Log:
Whitespace cleanup (mostly stray tabs, a few not-quite-empty lines).
Modified:
cfe/trunk/utils/TableGen/NeonEmitter.cpp
Modified: cfe/trunk/utils/TableGen/NeonEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/TableGen/NeonEmitter.cpp?rev=201234&r1=201233&r2=201234&view=diff
==============================================================================
--- cfe/trunk/utils/TableGen/NeonEmitter.cpp (original)
+++ cfe/trunk/utils/TableGen/NeonEmitter.cpp Wed Feb 12 06:56:48 2014
@@ -2452,7 +2452,7 @@ static std::string GenBuiltin(const std:
} else if (proto[i] >= 'B' && proto[i] <= 'D') {
NumOfVec = proto[i] - 'A' + 1;
}
-
+
if (NumOfVec > 0) {
// Check if an explicit cast is needed.
if (argType != 'c' || argPoly || argUsgn)
@@ -2582,7 +2582,7 @@ static std::string GenIntrinsic(const st
/// run - Read the records in arm_neon.td and output arm_neon.h. arm_neon.h
/// is comprised of type definitions and function declarations.
void NeonEmitter::run(raw_ostream &OS) {
- OS <<
+ OS <<
"/*===---- arm_neon.h - ARM Neon intrinsics ------------------------------"
"---===\n"
" *\n"
@@ -3091,7 +3091,7 @@ NeonEmitter::genOverloadTypeCheckCode(ra
std::string Types = R->getValueAsString("Types");
std::string name = R->getValueAsString("Name");
std::string Rename = name + "@" + Proto;
-
+
// Functions with 'a' (the splat code) in the type prototype should not get
// their own builtin as they use the non-splat variant.
if (Proto.find('a') != std::string::npos)
@@ -3312,9 +3312,9 @@ static std::string GenTest(const std::st
// for aarch64 instructions yet
std::vector<std::string> FileCheckPatterns;
if (!isA64) {
- GenerateChecksForIntrinsic(name, proto, outTypeStr, inTypeStr, ck, InstName,
- isHiddenLOp, FileCheckPatterns);
- s+= "// CHECK_ARM: test_" + mangledName + "\n";
+ GenerateChecksForIntrinsic(name, proto, outTypeStr, inTypeStr, ck, InstName,
+ isHiddenLOp, FileCheckPatterns);
+ s+= "// CHECK_ARM: test_" + mangledName + "\n";
}
s += "// CHECK_AARCH64: test_" + mangledName + "\n";
@@ -3375,7 +3375,7 @@ static std::string GenTest(const std::st
void NeonEmitter::genTargetTest(raw_ostream &OS, StringMap<OpKind> &EmittedMap,
bool isA64GenTest) {
if (isA64GenTest)
- OS << "#ifdef __aarch64__\n";
+ OS << "#ifdef __aarch64__\n";
std::vector<Record *> RV = Records.getAllDerivedDefinitions("Inst");
for (unsigned i = 0, e = RV.size(); i != e; ++i) {
@@ -3411,17 +3411,17 @@ void NeonEmitter::genTargetTest(raw_ostr
(void)ClassifyType(TypeVec[srcti], inQuad, dummy, dummy);
if (srcti == ti || inQuad != outQuad)
continue;
- std::string testFuncProto;
+ std::string testFuncProto;
std::string s = GenTest(name, Proto, TypeVec[ti], TypeVec[srcti],
isShift, isHiddenLOp, ck, InstName, isA64,
- testFuncProto);
+ testFuncProto);
if (EmittedMap.count(testFuncProto))
continue;
EmittedMap[testFuncProto] = kind;
OS << s << "\n";
}
} else {
- std::string testFuncProto;
+ std::string testFuncProto;
std::string s = GenTest(name, Proto, TypeVec[ti], TypeVec[ti], isShift,
isHiddenLOp, ck, InstName, isA64, testFuncProto);
if (EmittedMap.count(testFuncProto))
@@ -3433,7 +3433,7 @@ void NeonEmitter::genTargetTest(raw_ostr
}
if (isA64GenTest)
- OS << "#endif\n";
+ OS << "#endif\n";
}
/// runTests - Write out a complete set of tests for all of the Neon
/// intrinsics.
@@ -3442,10 +3442,10 @@ void NeonEmitter::runTests(raw_ostream &
"apcs-gnu\\\n"
"// RUN: -target-cpu swift -ffreestanding -Os -S -o - %s\\\n"
"// RUN: | FileCheck %s -check-prefix=CHECK_ARM\n"
- "\n"
- "// RUN: %clang_cc1 -triple aarch64-none-linux-gnu \\\n"
- "// RUN -target-feature +neon -ffreestanding -S -o - %s \\\n"
- "// RUN: | FileCheck %s -check-prefix=CHECK_AARCH64\n"
+ "\n"
+ "// RUN: %clang_cc1 -triple aarch64-none-linux-gnu \\\n"
+ "// RUN -target-feature +neon -ffreestanding -S -o - %s \\\n"
+ "// RUN: | FileCheck %s -check-prefix=CHECK_AARCH64\n"
"\n"
"// REQUIRES: long_tests\n"
"\n"
More information about the cfe-commits
mailing list