| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
fieldFromInstruction().
Reported by Yang Yongyong, thanks!
llvm-svn: 171101
|
| |
|
|
| |
llvm-svn: 171026
|
| |
|
|
|
|
| |
- Also, don't print headers if we aren't going to print any diagnostics.
llvm-svn: 170973
|
| |
|
|
|
|
| |
attribute instead of the value of the attribute.
llvm-svn: 170972
|
| |
|
|
| |
llvm-svn: 170911
|
| |
|
|
|
|
|
|
|
|
| |
the script generating it. The test should never be modified manually. If anyone
needs to change it, please change the script and re-run it.
The script is placed into utils/testgen - I couldn't think of a better place,
and after some discussion on IRC this looked like a logical location.
llvm-svn: 170720
|
| |
|
|
|
|
|
|
|
| |
FYI, llvm and clang can be built deterministically between stage 2 and stage3, among iterative clean rebuilds, with GNU ar;
configure --disable-timestamps
make AR.Flags=crsD RANLIB=echo
llvm-svn: 170682
|
| |
|
|
| |
llvm-svn: 170627
|
| |
|
|
|
|
|
|
|
| |
MC disassembler clients (LLDB) are interested in querying if an
instruction may affect control flow other than by virtue of being
an explicit branch instruction. For example, instructions which
write directly to the PC on some architectures.
llvm-svn: 170610
|
| |
|
|
| |
llvm-svn: 170578
|
| |
|
|
|
|
| |
single attribute in the future.
llvm-svn: 170502
|
| |
|
|
| |
llvm-svn: 169798
|
| |
|
|
|
|
|
|
|
|
| |
beyond array bounds.
No test case since I cannot reproduce an ICE with this bug. According
to Carlos -- the bug reporter -- a segfault occurs only when LLVM is
compiled with a specific version of GCC.
llvm-svn: 169783
|
| |
|
|
|
|
| |
in the near future.
llvm-svn: 169651
|
| |
|
|
|
|
|
| |
- Use SOURCES instead of Source. See Makefile.rules and MakefileGuide.html.
- Don't assume the current directory. $(wildcard *.cc) doesn't match anything on corresponding build directory.
llvm-svn: 169568
|
| |
|
|
| |
llvm-svn: 169564
|
| |
|
|
|
|
|
|
|
|
|
| |
1) don't delete gtest-all.cc (which is used to gather all gtest source
files in a single file)
2) make including LLVMSupport headers optional (on by default).
Sanitizer tools may want to use their own versions of googletest
compiled with specific flags, instead of the common googletest
library used for all other LLVM/Clang unittests.
llvm-svn: 169559
|
| |
|
|
|
|
| |
the test!
llvm-svn: 169446
|
| |
|
|
|
|
|
|
|
|
|
| |
RUN: a
RUN: b || true
as "a && (b || true)" in Tcl mode, and as "(a && b) || true" in sh mode.
Everyone seems to (quite reasonably) write tests assuming the Tcl behavior,
so use that in sh mode too.
llvm-svn: 169441
|
| |
|
|
|
|
|
|
| |
This is much simpler to reason about, more efficient, and
fixes some corner cases involving implicit super-register defs.
Fixed rdar://12797931.
llvm-svn: 169425
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
At build-time register pressure was always computed in terms of
register units. But the compile-time API was expressed in terms of
register classes because it was intended for virtual registers (and
physical register units weren't yet used anywhere in codegen).
Now that the codegen uses physreg units consistently, prepare for
tracking register pressure also in terms of live units, not live
registers.
llvm-svn: 169360
|
| |
|
|
| |
llvm-svn: 169344
|
| |
|
|
| |
llvm-svn: 169255
|
| |
|
|
|
|
|
| |
I've tried to find main moudle headers where possible, but the TableGen
stuff may warrant someone else looking at it.
llvm-svn: 169251
|
| |
|
|
|
|
|
|
| |
doesn't look like it will have C++ code in it.
Suggestions on a better heuristic are welcome.
llvm-svn: 169248
|
| |
|
|
|
|
|
| |
trees. This allows running the input sorter on the entire clang
repository cleanly now.
llvm-svn: 169247
|
| |
|
|
|
|
| |
the system headers.
llvm-svn: 169242
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) Teach it to handle files with #include on the first line -- these do
actually exist in LLVM.
2) Support llvm-c and clang-c include projects.
3) Nuke some stail imports.
4) Switch to using os.path to split the file extension off.
5) Remove debugging leftovers.
6) Add docstring (a really puny one) for the sort function.
I'm continuing te avoid stripping the whitespace on the RHS to preserve
whatever newline characters happen to be in the original file.
llvm-svn: 169222
|
| |
|
|
|
|
|
| |
Kind of important when prepping the include/... tree version of the sort
changes.
llvm-svn: 169132
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
standards.
I am a terrible Python programmer. Patches more the welcome. Please tell
me how this should look if it should look differently. It's just a tiny
little script so it didn't make sense to go through pre-commit review,
especially as someone who actually knows python may want to just rip it
apart and do it The Right Way.
I will be preparing a commit shortly that uses this script to
canonicalize *all* of the #include lines in LLVM. Really, all of them.
llvm-svn: 169125
|
| |
|
|
| |
llvm-svn: 169116
|
| |
|
|
| |
llvm-svn: 169110
|
| |
|
|
|
|
|
|
|
|
|
|
| |
; CHECK: [[VAR:[a-z]]]
The problem was that to find the end of the regex var definition, it was
simplistically looking for the next ]] and finding the incorrect one. A
better approach is to count nesting of brackets (taking escaping into
account). This way the brackets that are part of the regex can be discovered
and skipped properly, and the ]] ending is detected in the right place.
llvm-svn: 169109
|
| |
|
|
|
|
|
| |
See http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20121126/157198.html
and related discussions.
llvm-svn: 169101
|
| |
|
|
| |
llvm-svn: 169064
|
| |
|
|
| |
llvm-svn: 169055
|
| |
|
|
| |
llvm-svn: 169038
|
| |
|
|
| |
llvm-svn: 169002
|
| |
|
|
|
|
| |
instead of 1 or true (?!)
llvm-svn: 169001
|
| |
|
|
|
|
| |
Use this type for arrays of physical registers.
llvm-svn: 168850
|
| |
|
|
|
|
| |
This class has been merged into its super-class TargetInstrInfo.
llvm-svn: 168760
|
| |
|
|
| |
llvm-svn: 168750
|
| |
|
|
| |
llvm-svn: 168729
|
| |
|
|
| |
llvm-svn: 168490
|
| |
|
|
|
|
|
|
|
| |
When code deletes the context, the AttributeImpls that the AttrListPtr points to
are now invalid. Therefore, instead of keeping a separate managed static for the
AttrListPtrs that's reference counted, move it into the LLVMContext and delete
it when deleting the AttributeImpls.
llvm-svn: 168354
|
| |
|
|
| |
llvm-svn: 168256
|
| |
|
|
| |
llvm-svn: 168255
|
| |
|
|
| |
llvm-svn: 168254
|
| |
|
|
|
|
|
|
|
| |
This patch replaces the hard coded GPR pair [R0, R1] of
Intrinsic:arm_ldrexd and [R2, R3] of Intrinsic:arm_strexd with
even/odd GPRPair reg class.
Similar to the lowering of atomic_64 operation.
llvm-svn: 168207
|
| |
|
|
| |
llvm-svn: 168048
|