| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
an existing file is considered an error. Convert several tools
to use raw_fd_ostream instead of std::ostream, and to use this
new option instead of doing a manual check.
llvm-svn: 75801
|
| |
|
|
| |
llvm-svn: 75378
|
| |
|
|
| |
llvm-svn: 75022
|
| |
|
|
|
|
|
|
| |
- Sorry, I can't help myself.
- No intended functionality change.
llvm-svn: 74742
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Don't print "Parsing" in front of every message.
- Take additional "type" argument which is prepended to the message (with ": ")
if given.
- Update clients to print errors (warnings) as:
<filename>:<line number>: error(warning): ...
llvm-svn: 74489
|
| |
|
|
| |
llvm-svn: 73861
|
| |
|
|
| |
llvm-svn: 73845
|
| |
|
|
| |
llvm-svn: 73844
|
| |
|
|
| |
llvm-svn: 73843
|
| |
|
|
| |
llvm-svn: 69208
|
| |
|
|
|
|
|
|
|
|
|
|
| |
declarations for controlling groups of warnings. Currently this transforms:
def UnusedMacrosDiags : Option<"unused-macros", [pp_macro_not_used]>;
into:
static const diag::kind UnusedMacrosDiags[] = { diag::pp_macro_not_used };
llvm-svn: 67239
|
| |
|
|
|
|
|
|
|
| |
component's warnings to process for '-gen-clang-diags-defs'.
Also, when the component is specified, generate a '#if' prologue at the top of
the generated .def file (to match the current files).
llvm-svn: 66975
|
| |
|
|
|
|
|
| |
tablegen files to the original .def preprocessor include files. This is my first
TableGen backend; I don't claim that it is awesome.
llvm-svn: 66971
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
errors when thrown. This gets us nice errors like this from tblgen:
CMOVL32rr: (set GR32:i32:$dst, (X86cmov GR32:$src1, GR32:$src2))
/Users/sabre/llvm/Debug/bin/tblgen: error:
Included from X86.td:116:
Parsing X86InstrInfo.td:922: In CMOVL32rr: X86cmov node requires exactly 4 operands!
def CMOVL32rr : I<0x4C, MRMSrcReg, // if <s, GR32 = GR32
^
instead of just:
CMOVL32rr: (set GR32:i32:$dst, (X86cmov GR32:$src1, GR32:$src2))
/Users/sabre/llvm/Debug/bin/tblgen: In CMOVL32rr: X86cmov node requires exactly 4 operands!
This is all I plan to do with this, but it should be easy enough to improve if anyone
cares (e.g. keeping more loc info in "dag" expr records in tblgen.
llvm-svn: 66898
|
| |
|
|
| |
llvm-svn: 66897
|
| |
|
|
| |
llvm-svn: 66895
|
| |
|
|
|
|
| |
lexer into its own TGSourceMgr class.
llvm-svn: 66873
|
| |
|
|
|
|
|
| |
their main routines. This makes the tools print their argc/argv
commands if they crash.
llvm-svn: 66248
|
| |
|
|
| |
llvm-svn: 63812
|
| |
|
|
|
|
| |
and llvm-gcc.
llvm-svn: 63786
|
| |
|
|
|
|
|
|
|
| |
target directories themselves. This also means that VMCore no longer
needs to know about every target's list of intrinsics. Future work
will include converting the PowerPC target to this interface as an
example implementation.
llvm-svn: 63765
|
| |
|
|
|
|
| |
exception, like it does for a std::string exception.
llvm-svn: 58865
|
| |
|
|
|
|
|
| |
the comments in FastISelEmitter.cpp for details on what this is.
This is currently experimental and unusable.
llvm-svn: 54751
|
| |
|
|
| |
llvm-svn: 50754
|
| |
|
|
| |
llvm-svn: 50748
|
| |
|
|
|
|
|
|
| |
start of a filename, not a filename+length. All clients can produce a
null terminated name, and the system api's require null terminated
strings anyway.
llvm-svn: 49041
|
| |
|
|
|
|
|
|
|
| |
on ideas mentioned in PR686.
Written by Mikhail Glushenkov and contributed by Codedgers, Inc.
Old llvmc will be removed soon after new one will have all its properties.
llvm-svn: 48699
|
| |
|
|
| |
llvm-svn: 45640
|
| |
|
|
| |
llvm-svn: 45419
|
| |
|
|
|
|
|
|
|
|
|
|
| |
bison parser.
This makes the parser much easier to understand, eliminates a ton of global variables,
and gives tblgen nice caret diagnostics. It is also faster, but tblgen probably doesn't
care about performance.
There are a couple of FIXMEs which I will take care of next.
llvm-svn: 44274
|
| |
|
|
| |
llvm-svn: 34697
|
| |
|
|
|
|
|
|
|
|
| |
CodeGenTarget.cpp updated: 1.82 -> 1.83
Record.cpp updated: 1.55 -> 1.56
Record.h updated: 1.59 -> 1.60
TableGen.cpp updated: 1.47 -> 1.48
It's missing CallingConvEmitter.h
llvm-svn: 34693
|
| |
|
|
| |
llvm-svn: 34682
|
| |
|
|
| |
llvm-svn: 32333
|
| |
|
|
| |
llvm-svn: 26497
|
| |
|
|
| |
llvm-svn: 26495
|
| |
|
|
| |
llvm-svn: 26487
|
| |
|
|
| |
llvm-svn: 26485
|
| |
|
|
| |
llvm-svn: 25014
|
| |
|
|
| |
llvm-svn: 23894
|
| |
|
|
| |
llvm-svn: 23870
|
| |
|
|
| |
llvm-svn: 23236
|
| |
|
|
| |
llvm-svn: 21441
|
| |
|
|
| |
llvm-svn: 21428
|
| |
|
|
| |
llvm-svn: 17798
|
| |
|
|
|
|
| |
program name and also catching ...
llvm-svn: 16160
|
| |
|
|
|
|
|
|
| |
Move include/Config and include/Support into include/llvm/Config,
include/llvm/ADT and include/llvm/Support. From here on out, all LLVM
public header files must be under include/llvm/.
llvm-svn: 16137
|
| |
|
|
|
|
| |
accordingly.
llvm-svn: 16093
|
| |
|
|
|
|
| |
instructions, and only instructions that take no operands at that!
llvm-svn: 15386
|
| |
|
|
| |
llvm-svn: 15381
|