- Dec 04, 2012
-
-
Chandler Carruth authored
Again, tools are trickier to pick the main module header for than library source files. I've started to follow the pattern of using LLVMContext.h when it is included as a stub for program source files. llvm-svn: 169252
-
Chandler Carruth authored
I've tried to find main moudle headers where possible, but the TableGen stuff may warrant someone else looking at it. llvm-svn: 169251
-
Chandler Carruth authored
llvm-svn: 169250
-
Chandler Carruth authored
llvm-svn: 169249
-
Chandler Carruth authored
doesn't look like it will have C++ code in it. Suggestions on a better heuristic are welcome. llvm-svn: 169248
-
Chandler Carruth authored
trees. This allows running the input sorter on the entire clang repository cleanly now. llvm-svn: 169247
-
Chandler Carruth authored
the system headers. llvm-svn: 169242
-
NAKAMURA Takumi authored
FIXME: I have not checked whether to be compiled on msvc11. llvm-svn: 169225
-
Chandler Carruth authored
missed in the first pass because the script didn't yet handle include guards. Note that the script is now able to handle all of these headers without manual edits. =] llvm-svn: 169224
-
Nadav Rotem authored
llvm-svn: 169223
-
Chandler Carruth authored
1) Teach it to handle files with #include on the first line -- these do actually exist in LLVM. 2) Support llvm-c and clang-c include projects. 3) Nuke some stail imports. 4) Switch to using os.path to split the file extension off. 5) Remove debugging leftovers. 6) Add docstring (a really puny one) for the sort function. I'm continuing te avoid stripping the whitespace on the RHS to preserve whatever newline characters happen to be in the original file. llvm-svn: 169222
-
Chandler Carruth authored
This comment has the dual effect of blocking reorderings with the sort_include script. llvm-svn: 169221
-
Bill Wendling authored
The count field is necessary because there isn't a difference between the 'lo' and 'hi' attributes for a one-element array and a zero-element array. When the count is '0', we know that this is a zero-element array. When it's >=1, then it's a normal constant sized array. When it's -1, then the array is unbounded. llvm-svn: 169218
-
Nadav Rotem authored
Add the last part that is needed for vectorization of if-converted code. Added the code that actually performs the if-conversion during vectorization. We can now vectorize this code: for (int i=0; i<n; ++i) { unsigned k = 0; if (a[i] > b[i]) <------ IF inside the loop. k = k * 5 + 3; a[i] = k; <---- K is a phi node that becomes vector-select. } llvm-svn: 169217
-
Kostya Serebryany authored
[asan] add experimental -asan-realign-stack option (true by default, which does not change the current behavior) llvm-svn: 169216
-
Bill Wendling authored
llvm-svn: 169215
-
Matt Beaumont-Gay authored
llvm-svn: 169214
-
Jyotsna Verma authored
llvm-svn: 169213
-
Jyotsna Verma authored
llvm-svn: 169212
-
Sean Silva authored
llvm-svn: 169211
-
Sean Silva authored
Apparently Dinkumware are no longer hosting their nice reference manuals. Thankfully, `cppreference.com` can fill that role well. llvm-svn: 169210
-
rdar://12329730Shuxin Yang authored
The type of shirt-right (logical or arithemetic) should remain unchanged when transforming "X << C1 >> C2" into "X << (C1-C2)" llvm-svn: 169209
-
Sean Silva authored
Patch by Alexander Zinenko! llvm-svn: 169208
-
Alexey Samsonov authored
ASan: add initial support for handling llvm.lifetime intrinsics in ASan - emit calls into runtime library that poison memory for local variables when their lifetime is over and unpoison memory when their lifetime begins. llvm-svn: 169200
-
Jakub Staszak authored
llvm-svn: 169198
-
Manman Ren authored
the alignment is clamped to TargetFrameLowering.getStackAlignment if the target does not support stack realignment or the option "realign-stack" is off. This will cause miscompile if the address is treated as aligned and add is replaced with or in DAGCombine. Added a bool StackRealignable to TargetFrameLowering to check whether stack realignment is implemented for the target. Also added a bool RealignOption to MachineFrameInfo to check whether the option "realign-stack" is on. rdar://12713765 llvm-svn: 169197
-
Jakub Staszak authored
llvm-svn: 169196
-
NAKAMURA Takumi authored
llvm-svn: 169195
-
NAKAMURA Takumi authored
llvm-svn: 169194
-
Jakob Stoklund Olesen authored
These functions have been replaced by TRI::getRegAllocationHints() which provides the same capabilities. llvm-svn: 169192
-
Jakob Stoklund Olesen authored
Now that there can be multiple hint registers from targets, it doesn't make sense to have a function that returns 'the' preferred register. llvm-svn: 169190
-
Jakob Stoklund Olesen authored
Targets can provide multiple hints now, so getRegAllocPref() doesn't make sense any longer because it only returns one preferred register. Replace it with getSimpleHint() in the remaining heuristics. This function only llvm-svn: 169188
-
Manman Ren authored
No functional change for this commit. The follow-up patch will add more stuff to these functions. rdar://12713765 llvm-svn: 169186
-
NAKAMURA Takumi authored
llvm-svn: 169183
-
rdar://12329730Shuxin Yang authored
This change tries to simmplify E1 = " X >> C1 << C2" into : - E2 = "X << (C2 - C1)" if C2 > C1, or - E2 = "X >> (C1 - C2)" if C1 > C2, or - E2 = X if C1 == C2. Reviewed by Nadav. Thanks! llvm-svn: 169182
-
Jakob Stoklund Olesen authored
Virtual registers with a known preferred register are prioritized by RAGreedy. This function makes the condition explicit without depending on getRegAllocPref(). llvm-svn: 169179
-
Akira Hatanaka authored
This small change adds support for that. It will make all MCJIT tests pass in make-check on BigEndian platforms. Patch by Petar Jovanovic. llvm-svn: 169178
-
Akira Hatanaka authored
This change adds endian-awareness to MipsJITInfo and emitWordLE in MipsCodeEmitter has become emitWord now to support both endianness. Patch by Petar Jovanovic. llvm-svn: 169177
-
- Dec 03, 2012
-
-
Michael Ilseman authored
llvm-svn: 169176
-
Nadav Rotem authored
llvm-svn: 169175
-