- Jan 09, 2014
-
-
David Blaikie authored
llvm-svn: 198851
-
David Blaikie authored
llvm-svn: 198850
-
Saleem Abdulrasool authored
Rename bytecode to opcodes to make it more clear. Change an impossible case to llvm_unreachable instead. Avoid allocation of a buffer by modifying the PrintOpcodes iteration. llvm-svn: 198848
-
Saleem Abdulrasool authored
Explicitly handle endianness to ensure that bytes are read properly on big-endian systems. llvm-svn: 198847
-
David Blaikie authored
llvm-svn: 198846
-
Richard Smith authored
llvm-svn: 198844
-
David Blaikie authored
llvm-svn: 198843
-
David Blaikie authored
Since we'll now also need the split dwarf file name along with the language in DwarfTypeUnits, just use the whole DICompileUnit rather than explicitly handling each field needed. llvm-svn: 198842
-
David Blaikie authored
This reverts commit r198830. Decided to go a different way with this... llvm-svn: 198841
-
Chandler Carruth authored
I add support for the new pass manager to it. llvm-svn: 198838
-
Chandler Carruth authored
operand into the Value interface just like the core print method is. That gives a more conistent organization to the IR printing interfaces -- they are all attached to the IR objects themselves. Also, update all the users. This removes the 'Writer.h' header which contained only a single function declaration. llvm-svn: 198836
-
David Blaikie authored
It's unused in DwarfTypeUnit, as is expected. llvm-svn: 198830
-
Eric Christopher authored
llvm-svn: 198825
-
Lang Hames authored
llvm-svn: 198821
-
Rafael Espindola authored
llvm-svn: 198819
-
Rafael Espindola authored
llvm-svn: 198817
-
Andrew Trick authored
In the stackmap format we advertise the constant field as signed. However, we were determining whether to promote to a 64-bit constant pool based on an unsigned comparison. This fix allows -1 to be encoded as a small constant. llvm-svn: 198816
-
David Blaikie authored
llvm-svn: 198813
-
David Blaikie authored
This makes it easier to write a test that's mostly shared between fission and non-fission (using FileCheck's multiple prefix support). llvm-svn: 198806
-
- Jan 08, 2014
-
-
Rafael Espindola authored
With c++11 we never instantiate the copy constructor. llvm-svn: 198803
-
Rafael Espindola authored
llvm-svn: 198799
-
Chandler Carruth authored
having the include could cause weird layering problems between the IR and MC libraries. llvm-svn: 198796
-
Hal Finkel authored
MIsNeedChainEdge, which is used by -enable-aa-sched-mi (AA in misched), had an llvm_unreachable when -enable-aa-sched-mi is enabled and we reach an instruction with multiple MMOs. Instead, return a conservative answer. This allows testing -enable-aa-sched-mi on x86. Also, this moves the check above the isUnsafeMemoryObject checks. isUnsafeMemoryObject is currently correct only for instructions with one MMO (as noted in the comment in isUnsafeMemoryObject): // We purposefully do no check for hasOneMemOperand() here // in hope to trigger an assert downstream in order to // finish implementation. The problem with this is that, had the candidate edge passed the "!MIa->mayStore() && !MIb->mayStore()" check, the hoped-for assert would never happen (which could, in theory, lead to incorrect behavior if one of these secondary MMOs was volatile, for example). llvm-svn: 198795
-
Matt Arsenault authored
llvm-svn: 198794
-
Matt Arsenault authored
This matches std::set and allows using DenseSet with the functions in SetOperations.h llvm-svn: 198793
-
Rafael Espindola authored
ErrorOr is modeled after boost::optional which has a get method. llvm-svn: 198792
-
Ana Pazos authored
llvm-svn: 198791
-
Roman Divacky authored
resolution works. llvm-svn: 198780
-
David Woodhouse authored
It's not a real instruction any more and doesn't need encoding information. llvm-svn: 198778
-
Andrea Di Biagio authored
to the following two rules: 1) fold (vselect (build_vector AllOnes), A, B) -> A 2) fold (vselect (build_vector AllZeros), A, B) -> B llvm-svn: 198777
-
Rafael Espindola authored
No idea how this was compiling locally. Found by the bots. llvm-svn: 198775
-
Rafael Espindola authored
These private functions return pointers to the internal storage. llvm-svn: 198774
-
Lang Hames authored
llvm-svn: 198772
-
Nico Rieck authored
llvm-svn: 198771
-
Richard Sandiford authored
No functional change intended. llvm-svn: 198768
-
Alp Toker authored
Python doesn't do a good job at diagnosing string exec() so use execfile() where available. This should be a timesaver when trying to get to the bottom of build bot failures. Before: File "llvm/utils/lit/lit/TestingConfig.py", line 93, in load_from_path exec("exec data in cfg_globals") File "<string>", line 1, in <module> File "<string>", line 194, in <module> NameError: name 'typo' is not defined After: File "llvm/utils/lit/lit/TestingConfig.py", line 95, in load_from_path execfile(path, cfg_globals) File "clang/test/lit.cfg", line 194, in <module> typo ^~~~ NameError: name 'typo' is not defined llvm-svn: 198766
-
David Woodhouse authored
llvm-svn: 198763
-
David Woodhouse authored
Mark them as requiring 16-bit mode for now, since we don't yet have relaxation support for FK_Data_2. llvm-svn: 198762
-
David Woodhouse authored
They do *different* things to %esp, so they are not equivalent. Rename PUSHi8 to PUSH32i8 and add the missing PUSH16i8. llvm-svn: 198761
-
David Woodhouse authored
We can't do a perfect job here. We *have* to allow (%dx) even in 64-bit mode, for example, because it might be used for an unofficial form of the in/out instructions. We actually want to do a better job of validation *later*. Perhaps *instead* of doing it where we are at the moment. But for now, doing what validation we *can* do in the place that the code already has its validation, is an improvement. llvm-svn: 198760
-