- Oct 10, 2013
-
-
Craig Topper authored
llvm-svn: 192339
-
Akira Hatanaka authored
ins/ext. llvm-svn: 192330
-
Rui Ueyama authored
This reverts commit r192316. The original change introduced circular dependencies between libTarget and backends. That would broke a build unless link everything into one big binary. llvm-svn: 192329
-
- Oct 09, 2013
-
-
Manman Ren authored
template_value are updated to use DIRef. A paired commit at clang is required due to changes to DIBuilder. llvm-svn: 192320
-
Anders Waldenborg authored
Making them proper functions defined in the (shared)lib instead of static inlines defined in the header files makes it possible to actually distribute a binary compiled against the shared library without having to worry about getting undefined symbol errors when calling e.g LLVMInitializeAllTargetInfos because the shared library on the other system was compiled with different targets. Differential Revision: http://llvm-reviews.chandlerc.com/D1714 llvm-svn: 192316
-
Manman Ren authored
to use DIScopeRef. llvm-svn: 192309
-
Bill Wendling authored
llvm-svn: 192304
-
Benjamin Kramer authored
MCStreamer now owns the target streamer. This prevents leaking the target streamer. llvm-svn: 192303
-
Shuxin Yang authored
If a function seen at compile time is not necessarily the one linked to the binary being built, it is illegal to change the actual arguments passing to it. e.g. -------------------------- void foo(int lol) { // foo() has linkage satisifying isWeakForLinker() // "lol" is not used at all. } void bar(int lo2) { // xform to foo(undef) is illegal, as compiler dose not know which // instance of foo() will be linked to the the binary being built. foo(lol2); } ----------------------------- Such functions can be captured by isWeakForLinker(). NOTE that mayBeOverridden() is insufficient for this purpose as it dosen't include linkage types like AvailableExternallyLinkage and LinkOnceODRLinkage. Take link_odr* as an example, it indicates a set of *EQUIVALENT* globals that can be merged at link-time. However, the semantic of *EQUIVALENT*-functions includes parameters. Changing parameters breaks the assumption. Thank John McCall for help, especially for the explanation of subtle difference between linkage types. rdar://11546243 llvm-svn: 192302
-
Rafael Espindola authored
Thanks to Reid Kleckner for the suggestion. llvm-svn: 192298
-
Venkatraman Govindaraju authored
This patch fixes PR17506. llvm-svn: 192294
-
Greg Bedwell authored
llvm-svn: 192284
-
Elena Demikhovsky authored
llvm-svn: 192283
-
Tim Northover authored
Substantial SelectionDAG scheduling is going away soon, and is interfering with Hao's attempts to implement LDn/STn instructions, so I say we make the leap first. There were a few reorderings (inevitably) which broke some tests. I tried to replace them with CHECK-DAG variants mostly, but some too complex for that to be useful and I just reordered them. llvm-svn: 192282
-
Tim Northover authored
llvm-svn: 192281
-
Craig Topper authored
llvm-svn: 192279
-
Andrew Trick authored
This was only working because AVX had cheaper rules in all cases. I'm sure there are other places in this file where predicates are missing. llvm-svn: 192276
-
Craig Topper authored
llvm-svn: 192275
-
Craig Topper authored
Replace a couple instructions with patterns referring to other instructions with same encoding and operands. Mark a couple other instructions as CodeGenOnly since we have FR and VR instructions and only one of them is needed by the assembler/disassembler. llvm-svn: 192274
-
Craig Topper authored
Use AVX512PIi8 for the alt forms of vcmp instructions. This adds the TB prefix and keeps the mnemonic from starting with an extra 'v' llvm-svn: 192272
-
Craig Topper authored
Mark some instructions as CodeGenOnly since they aren't needed by the assembler or disassembler. Disassembler already filtered them, but asm parser still had them in its tables. llvm-svn: 192271
-
Craig Topper authored
Add in64BitMode/in32BitMode to the MMX/SSE2/AVX maskmovq/dq instructions. This way the asm parser will pick the right one based on the mode. Instruction selection already did the right thing based on the pointer size. llvm-svn: 192266
-
Rafael Espindola authored
llvm-svn: 192265
-
NAKAMURA Takumi authored
llvm-svn: 192262
-
Manman Ren authored
to use DIScopeRef. A paired commit at clang is required due to changes to DIBuilder. llvm-svn: 192256
-
Manman Ren authored
typedef are updated to use DIScopeRef. llvm-svn: 192254
-
Manman Ren authored
is updated to use DITypeRef. A paired commit at clang is required due to changes to DIBuilder. llvm-svn: 192251
-
Manman Ren authored
is updated to use DITypeRef. A paired commit at clang is required due to changes to DIBuilder. llvm-svn: 192246
-
Chad Rosier authored
reciprocal exponent, and reciprocal square root estimate instructions. llvm-svn: 192242
-
- Oct 08, 2013
-
-
Matt Arsenault authored
Do what some other instructions do, and add an assert method. llvm-svn: 192236
-
Chad Rosier authored
convert instructions. llvm-svn: 192231
-
Reid Kleckner authored
This fixes repeated -Wmicrosoft warnings when self-hosting clang on Windows, and gets us real unsigned enum types with MSVC. llvm-svn: 192227
-
Manman Ren authored
llvm-svn: 192224
-
Reed Kotler authored
Mips16 will try and create a stub for it and this will result in a link error because that function does not exist in libc. llvm-svn: 192223
-
Manman Ren authored
llvm-svn: 192218
-
Manman Ren authored
llvm-svn: 192216
-
Manman Ren authored
llvm-svn: 192215
-
Manman Ren authored
llvm-svn: 192214
-
Akira Hatanaka authored
No intended functionality change. llvm-svn: 192213
-
Matt Arsenault authored
These are bugs to fix later. llvm-svn: 192212
-