- Aug 26, 2013
-
-
Bill Schmidt authored
Incremental improvement to fast-isel for PPC64. This allows us to select on ret, sext, and zext. Filling in sext/zext improves some of the existing logic in handling compare-immediates that needed extends. A simplified return convention for fast-isel is also added to the PPC64 calling conventions. All call/return processing for DAG selection is handled with custom code, so there isn't an existing CC to rely on here. The include of PPCGenCallingConv.inc causes compiler warnings due to the 32-bit calling conventions that are not used, so the dummy function "usePPC32CCs()" is added here to silence those. Test cases for the return and extend logic are added. llvm-svn: 189266
-
Yi Jiang authored
llvm-svn: 189265
-
Matt Arsenault authored
llvm-svn: 189264
-
Alexey Samsonov authored
llvm-svn: 189250
-
Alexey Samsonov authored
llvm-svn: 189249
-
Matt Arsenault authored
llvm-svn: 189248
-
Matt Arsenault authored
llvm-svn: 189234
-
Matt Arsenault authored
llvm-svn: 189233
-
Marshall Clow authored
llvm-svn: 189232
-
Michael Sartain authored
llvm-svn: 189231
-
Hans Wennborg authored
It looked misplaced in the main CMakeLists.txt file. llvm-svn: 189230
-
John Thompson authored
llvm-svn: 189229
-
John Thompson authored
llvm-svn: 189228
-
Tom Stellard authored
If we have a binary operation like ISD:ADD, we can set the result type equal to the result type of one of its operands rather than using TargetLowering::getPointerTy(). Also, any use of DAG.getIntPtrConstant(C) as an operand for a binary operation can be replaced with: DAG.getConstant(C, OtherOperand.getValueType()); llvm-svn: 189227
-
Tom Stellard authored
llvm-svn: 189226
-
Tom Stellard authored
llvm-svn: 189225
-
Tom Stellard authored
llvm-svn: 189224
-
Tom Stellard authored
llvm-svn: 189223
-
Tom Stellard authored
llvm-svn: 189222
-
Tom Stellard authored
This adds minimal support to the SelectionDAG for handling address spaces with different pointer sizes. The SelectionDAG should now correctly lower pointer function arguments to the correct size as well as generate the correct code when lowering getelementptr. This patch also updates the R600 DataLayout to use 32-bit pointers for the local address space. v2: - Add more helper functions to TargetLoweringBase - Use CHECK-LABEL for tests llvm-svn: 189221
-
Douglas Gregor authored
Xcode always puts executable targets in the directory bin/<Config>. When building separate LLVM and Clang projects for Xcode, this prevents the CMake-configured project for Clang from finding llvm-tblgen. Add a symlink so that tblgen executables are always available in bin/ (regardless of the configuration LLVM is built with). llvm-svn: 189220
-
Wei Pan authored
- __func__ or __FUNCTION__ returns captured statement's parent function name, not the one compiler generated. Differential Revision: http://llvm-reviews.chandlerc.com/D1491 Reviewed by bkramer llvm-svn: 189219
-
Rafael Espindola authored
llvm-svn: 189218
-
Sergey Matveev authored
Add a class that holds a snapshot of the StackDepot optimized for querying by ID. This allows us to speed up LSan dramatically. llvm-svn: 189217
-
Sergey Matveev authored
Handle calls to Die() from the tracer thread. Fixes a bug where a CHECK could fail in the tracer thread, resulting in a call to AsanDie. The tracer thread then exited and the parent process continued execution despite its address space being in an unusable state. llvm-svn: 189216
-
Elena Demikhovsky authored
VPSHUFD, VPERMILPS, VMOVDDUP, VMOVLHPS, VMOVHLPS, VSHUFPS, VALIGN single and double forms. llvm-svn: 189215
-
Timur Iskhodzhanov authored
llvm-svn: 189214
-
Vladimir Medic authored
llvm-svn: 189213
-
Chandler Carruth authored
which add another wrinkle to the installation of the libstdc++ headers. Add at least some basic testing of the weirdnesses of Gentoo's layout. llvm-svn: 189212
-
Daniel Jasper authored
Specific arrangements of comments after trailing commas could confuse the column width calculation, e.g. in: vector<int> x = { a, b, /* some */ /* comment */ }; llvm-svn: 189211
-
Manuel Klimek authored
llvm-svn: 189210
-
Shankar Easwaran authored
The cleanup includes :- * Rename ambiguous Header class to ELFHeader * Convert Chunk contentype and kind to be a enumerated class * Remove functions that are not being used, avoids future confusion llvm-svn: 189209
-
David Majnemer authored
llvm-svn: 189208
-
Shankar Easwaran authored
llvm-svn: 189207
-
Craig Topper authored
Make sure x86 instructions using ssmem/sdmem operand types are only able to parse memory operands of the proper size in Intel syntax. Primarily affects some of sse cvt instructions. llvm-svn: 189206
-
Craig Topper authored
Remove some unnecessary PredicateMethod overrides. Add RenderMethod overrides to remove forwarding in the X86AsmParser code itself. No functional change. llvm-svn: 189205
-
Craig Topper authored
llvm-svn: 189204
-
Benjamin Kramer authored
They were mostly copy&paste of each other, move it to CodeGenFunction. Of course the two implementations have diverged over time; the one in CGExprCXX seems to be the more modern one so I picked that one and moved it to CGClass which feels like a better home for it. No intended functionality change. llvm-svn: 189203
-
Bill Schmidt authored
First chunk of actual fast-isel selection code. This handles direct and indirect branches, as well as feeding compares for direct branches. PPCFastISel::PPCEmitIntExt() is just roughed in and will be expanded in a future patch. This also corrects a problem with selection for constant pool entries in JIT mode or with small code model. llvm-svn: 189202
-
Craig Topper authored
First round of fixes for the x86 fixes for the x86 move accumulator from/to memory offset instructions. -Assembly parser now properly check the size of the memory operation specified in intel syntax. So 'mov word ptr [5], al' is no longer accepted. -x86-32 disassembly of these instructions no longer sign extends the 32-bit address immediate based on size. -Intel syntax printing prints the ptr size and places brackets around the address immediate. Known remaining issues with these instructions: -Segment override prefix is not supported. PR16962 and PR16961. -Immediate size should be changed by address size prefix. llvm-svn: 189201
-