- Mar 02, 2011
-
-
Oscar Fuentes authored
Patch by Erik Olofsson! llvm-svn: 126796
-
- Mar 01, 2011
-
-
Jim Grosbach authored
llvm-svn: 126733
-
Jim Grosbach authored
llvm-svn: 126731
-
Bill Wendling authored
shift. 16-bit: imm6<5:3> = '001', 8 - <imm> is encded in imm6<2:0> 32-bit: imm6<5:4> = '01',16 - <imm> is encded in imm6<3:0> 64-bit: imm6<5> = '1', 32 - <imm> is encded in imm6<4:0> llvm-svn: 126723
-
- Feb 28, 2011
-
-
NAKAMURA Takumi authored
llvm-svn: 126632
-
- Feb 26, 2011
-
-
Bill Wendling authored
InstAlias<{alias}, {aliasee}>; The InstAlias instruction should be able to go from the MCInst to the {alias}. All of the information is there to match the MCInst with the {aliasee}. From there, it's a simple matter to emit the {alias}, with the correct operands from the {aliasee}. The code this patch generates can be used by the InstPrinter to automatically print out the alias without having to write special C++ code to handle the situation. This is a WIP, and therefore are several limitations. For instance, it cannot handle AsmOperands at the moment. It also doesn't know what to do when two {alias}es match the same {aliasee}. (Currently, it just ignores those two cases and allows the printInstruction method to handle them.) llvm-svn: 126538
-
Bob Wilson authored
Radar 9056686 llvm-svn: 126534
-
Bob Wilson authored
This one just installs the default build into a different destination directory. llvm-svn: 126533
-
- Feb 25, 2011
-
-
Stuart Hastings authored
llvm-svn: 126525
-
David Greene authored
Add some options for building LLVM in different environments: --force-configure to force running configure before building. --extra-llvm-config-flags --extra-llvm-gcc-config-flags --extra-gcc-config-flags Pass additional argument to the various configure invocations. This also eliminates a default build flavor because explicitly specifying builds could result in build flavors being run repeatedly. Finally, turn off fortran builds for the moment because install appears to be broken. llvm-svn: 126510
-
Stuart Hastings authored
by clang. Radar 9042056. llvm-svn: 126507
-
- Feb 24, 2011
-
-
Argyrios Kyrtzidis authored
llvm-svn: 126436
-
- Feb 23, 2011
-
-
David Greene authored
Fix Builder::execute() to more properly pass the desired environment to tools. llvm-svn: 126263
-
- Feb 22, 2011
-
-
Cameron Zwarich authored
llvm-svn: 126171
-
Rafael Espindola authored
Patch by Jai Menon. llvm-svn: 126165
-
- Feb 21, 2011
-
-
David Greene authored
ecosystem. This is a handy utility for checking changes before committing them to the repository. llvm-svn: 126136
-
- Feb 20, 2011
-
-
Oscar Fuentes authored
Requires CMake 2.8.3 or newer. llvm-svn: 126092
-
- Feb 19, 2011
-
-
Cameron Zwarich authored
bot. I am not sure if this is valid Valgrind exclusion file syntax, but the Internet seems to think so. llvm-svn: 126051
-
- Feb 18, 2011
-
-
Oscar Fuentes authored
llvm-svn: 125969
-
Owen Anderson authored
Add FixedLenDecoderEmitter, the skeleton of a new disassembler emitter for fixed-length instruction encodings. A major part of its (eventual) goal is to support a much cleaner separation between disassembly callbacks provided by the target and the disassembler emitter itself, i.e. not requiring hardcoding of knowledge in tblgen like the existing disassembly emitters do. The hope is that some day this will allow us to replace the existing non-Thumb ARM disassembler and remove some of the hacks the old one introduced to tblgen. llvm-svn: 125966
-
Joerg Sonnenberger authored
llvm-svn: 125792
-
- Feb 17, 2011
-
-
NAKAMURA Takumi authored
lit/TestingConfig.py: Add the environment variable PRINTF_EXPONENT_DIGITS as workaround [PR6745] for mingw's tests. Danil Malyshev suggested this. FIXME: It does not improve MSVC's issue. [Danil Malyshev] Defining PRINTF_EXPONENT_DIGITS env is the suggested way to make MinGW ANSI/POSIX compatible. This is not only about the case we are discussing, but in general, I'd like to have explicitly defined compatibility mode for all the tests running on MinGW. llvm-svn: 125725
-
Alexis Hunt authored
Patch thanks to Zach Anderson. llvm-svn: 125721
-
- Feb 15, 2011
-
-
Argyrios Kyrtzidis authored
-Use the tablegen class name for the checker class name. -Mark checker packages as hidden/not hidden. llvm-svn: 125558
-
- Feb 14, 2011
-
-
Argyrios Kyrtzidis authored
llvm-svn: 125493
-
Bruno Cardoso Lopes authored
- Add custom operand matching for imod and iflags. - Rename SplitMnemonicAndCC to SplitMnemonic since it splits more than CC from mnemonic. - While adding ".w" as an operand, don't change "Head" to avoid passing the wrong mnemonic to ParseOperand. - Add asm parser tests. - Add disassembler tests just to make sure it can catch all cps versions. llvm-svn: 125489
-
- Feb 13, 2011
-
-
Argyrios Kyrtzidis authored
llvm-svn: 125452
-
- Feb 12, 2011
-
-
Jim Grosbach authored
Teach the AsmMatcher handling to distinguish between an error custom-parsing an operand and a failure to match. The former should propogate the error upwards, while the latter should continue attempting to parse with alternative matchers. Update the ARM asm parser accordingly. llvm-svn: 125426
-
- Feb 11, 2011
-
-
Jim Grosbach authored
llvm-svn: 125408
-
- Feb 10, 2011
-
-
NAKAMURA Takumi authored
llvm-svn: 125273
-
NAKAMURA Takumi authored
llvm-svn: 125272
-
Bill Wendling authored
llvm-svn: 125256
-
Jim Grosbach authored
When matching operands for a candidate opcode match in the auto-generated AsmMatcher, check each operand against the expected operand match class. Previously, operands were classified independently of the opcode being handled, which led to difficulties when operand match classes were more complicated than simple subclass relationships. llvm-svn: 125245
-
- Feb 09, 2011
-
-
Chris Lattner authored
an annoyance of mine when working on tests: if the input .ll file is broken, opt outputs an error and generates an empty file. FileCheck then emits its "ooh I couldn't find the first CHECK line, scanning from ..." which obfuscates the actual problem. llvm-svn: 125193
-
NAKAMURA Takumi authored
It seeks tools(eg. [cmp, grep, sed]) in same directory, to be sane. It seeks "bash" only in the directory found at last time. Or bash would be insane (against other tools). llvm-svn: 125175
-
NAKAMURA Takumi authored
checkToolsPath(dir,tools): return True if "dir" contains all "tools". whichTools(tools,paths): return a directory that contains all "tools" in "paths". Or return None when all "tools" were not met. llvm-svn: 125174
-
NAKAMURA Takumi authored
llvm-svn: 125168
-
NAKAMURA Takumi authored
llvm-svn: 125167
-
- Feb 07, 2011
-
-
Bruno Cardoso Lopes authored
Motivation: Improve the parsing of not usual (different from registers or immediates) operand forms. This commit implements only the generic support. The ARM specific modifications will come next. A table like the one below is autogenerated for every instruction containing a 'ParserMethod' in its AsmOperandClass static const OperandMatchEntry OperandMatchTable[20] = { /* Mnemonic, Operand List Mask, Operand Class, Features */ { "cdp", 29 /* 0, 2, 3, 4 */, MCK_Coproc, Feature_IsThumb|Feature_HasV6 }, { "cdp", 58 /* 1, 3, 4, 5 */, MCK_Coproc, Feature_IsARM }, A matcher function very similar (but lot more naive) to MatchInstructionImpl scans the table. After the mnemonic match, the features are checked and if the "to be parsed" operand index is present in the mask, there's a real match. Then, a switch like the one below dispatch the parsing to the custom method provided in 'ParseMethod': case MCK_Coproc: return TryParseCoprocessorOperandName(Operands); llvm-svn: 125030
-
- Feb 05, 2011
-
-
Daniel Dunbar authored
implicitly allows custom conversions to be member functions. llvm-svn: 124908
-