- Jun 16, 2012
-
-
NAKAMURA Takumi authored
clang/lib/Basic/FileManager.cpp: Detect the root directory with PathV2. It should be better fix for PR10331, or, "clang X:\foo.c" fails. llvm-svn: 158596
-
Meador Inge authored
The target specific __builtin_va_list types are now explicitly built instead of injecting strings into the preprocessor input. llvm-svn: 158592
-
- Jun 15, 2012
-
-
James Dennett authored
broken duplicates of comments that are in the corresponding header files. llvm-svn: 158550
-
James Dennett authored
llvm-svn: 158549
-
James Dennett authored
llvm-svn: 158548
-
- Jun 12, 2012
-
-
Hal Finkel authored
This functionality is based on what is done on ARM, and enables selecting PPC CPUs in a way compatible with gcc's driver. Also, mirroring gcc (and what is done on x86), -mcpu=native support was added. This uses the host cpu detection from LLVM (which will also soon be updated by refactoring code currently in backend). In order for this to work, the target needs a list of valid CPUs -- we now accept all CPUs accepted by LLVM. A few preprocessor defines for common CPU types have been added. llvm-svn: 158334
-
- Jun 10, 2012
-
-
Craig Topper authored
llvm-svn: 158284
-
- Jun 08, 2012
-
-
Douglas Gregor authored
from Tom Honermann! llvm-svn: 158211
-
- Jun 06, 2012
-
-
Jordan Rose authored
In standard C since C89, a 'translation-unit' is syntactically defined to have at least one "external-declaration", which is either a decl or a function definition. In Clang the latter gives us a declaration as well. The tricky bit about this warning is that our predefines can contain external declarations (__builtin_va_list and the 128-bit integer types). Therefore our AST parser now makes sure we have at least one declaration that doesn't come from the predefines buffer. Also, remove bogus warning about empty source files. This doesn't catch source files that only contain comments, and never fired anyway because of our predefines. PR12665 and <rdar://problem/9165548> llvm-svn: 158085
-
- Jun 05, 2012
-
-
Simon Atanasyan authored
when single float ABI is selected. llvm-svn: 157996
-
- Jun 04, 2012
-
-
Craig Topper authored
llvm-svn: 157907
-
- Jun 03, 2012
-
-
Craig Topper authored
llvm-svn: 157906
-
Craig Topper authored
llvm-svn: 157904
-
- May 31, 2012
-
-
Craig Topper authored
llvm-svn: 157733
-
- May 30, 2012
-
-
Craig Topper authored
SSE4A should not imply LZCNT and POPCNT. FMA4 should imply SSE4A. Add missing break at the end of btver1 feature list. llvm-svn: 157680
-
- May 29, 2012
-
-
Benjamin Kramer authored
This doesn't really fit the existing SSELevel so it gets an extra flag. llvm-svn: 157630
-
Roman Divacky authored
llvm-svn: 157626
-
- May 26, 2012
-
-
Benjamin Kramer authored
No test as the output is highly dependend on the local configuration. llvm-svn: 157520
-
- May 24, 2012
-
-
Justin Holewinski authored
NV_CONTRIB llvm-svn: 157403
-
- May 21, 2012
-
-
Peter Collingbourne authored
llvm-svn: 157173
-
- May 20, 2012
-
-
Peter Collingbourne authored
Because in CUDA types do not have associated address spaces, globals are declared in their "native" address space, and accessed by bitcasting the pointer to address space 0. This relies on address space 0 being a unified address space. llvm-svn: 157167
-
- May 10, 2012
-
-
Sirish Pande authored
llvm-svn: 156567
-
- May 04, 2012
-
-
Douglas Gregor authored
that bridging between the two is free. Saves ~4k of code size, although I don't see any measurable performance difference (unfortunately). llvm-svn: 156187
-
- May 03, 2012
-
-
Argyrios Kyrtzidis authored
validate that we didn't override the contents of any of such files. If this is detected, emit a diagnostic error and recover gracefully by using the contents of the original file that the PCH was built from. Part of rdar://11305263 llvm-svn: 156107
-
- May 01, 2012
-
-
Craig Topper authored
llvm-svn: 155900
-
- Apr 26, 2012
-
-
Evgeniy Stepanov authored
llvm-svn: 155632
-
Craig Topper authored
llvm-svn: 155624
-
- Apr 25, 2012
-
-
Chris Lattner authored
with _REENTRANT. Also remove undef _POSIX_THREADS in phread.h. Patch by Brad Smith! llvm-svn: 155535
-
- Apr 23, 2012
-
-
Chandler Carruth authored
test suite failures. llvm-svn: 155371
-
Sirish Pande authored
llvm-svn: 155363
-
- Apr 18, 2012
-
-
Chandler Carruth authored
r155047. See the LLVM log for the primary motivation: http://llvm.org/viewvc/llvm-project?rev=155047&view=rev Primary commit r154828: - Several issues were raised in review, and fixed in subsequent commits. - Follow-up commits also reverted, and which should be folded into the original before reposting: - r154837: Re-add the 'undef BUILTIN' thing to fix the build. - r154928: Fix build warnings, re-add (and correct) header and license - r154937: Typo fix. Please resubmit this patch with the relevant LLVM resubmission. llvm-svn: 155048
-
Simon Atanasyan authored
MIPS: Followup to r154606. Expand list of accepted MIPS target features in the MipsTargetInfoBase::setFeatureEnabled() routine. llvm-svn: 154998
-
- Apr 16, 2012
-
-
Fariborz Jahanian authored
type for rewriter project will be BoolTy. // rdar://11231426. llvm-svn: 154861
-
Sirish Pande authored
llvm-svn: 154828
-
- Apr 12, 2012
-
-
Simon Atanasyan authored
Otherwise MipsTargetInfoBase::getDefaultFeatures() might return an invalid features set with an empty feature name. llvm-svn: 154606
-
- Apr 06, 2012
-
-
Benjamin Kramer authored
This method is very hot, it is called when emitting diagnostics, in -E mode and for many #pragma handlers. It scans through the whole source file to count newlines, records and caches them in a vector. The speedup from vectorization isn't very large, as we fall back to bytewise scanning when we hit a newline. There might be a way to avoid leaving the sse loop but everything I tried didn't work out because a call to push_back clobbers xmm registers. About 2% speedup on average on "clang -E > /dev/null" of all .cpp files in clang's lib/Sema. llvm-svn: 154204
-
- Apr 05, 2012
-
-
Simon Atanasyan authored
to the base class MipsTargetInfoBase. These macros are applicable for both 32/64-bits targets. llvm-svn: 154116
-
- Apr 04, 2012
-
-
Chad Rosier authored
uses Neon instructions for single-precision FP. -mfpmath=neon is analogous to passing llc -mattr=+neonfp. -mfpmath=[vfp|vfp2|vfp3|vfp4] is analogous to passing llc -mattr=-neonfp. rdar://11108618 llvm-svn: 154046
-
- Apr 03, 2012
-
-
Eric Christopher authored
Patch by Jack Carter. Testcase cleanup by me. llvm-svn: 153921
-
- Mar 29, 2012
-
-
Jim Grosbach authored
llvm-svn: 153678
-