- Mar 02, 2013
-
-
Peter Collingbourne authored
llvm-svn: 176397
-
- Mar 01, 2013
-
-
Jean-Luc Duprat authored
llvm-svn: 176382
-
Michael Ilseman authored
This reduces the time actually spent doing string to ID conversion and shows a 10% improvement in compile time for a particularly bad case that involves ARM Neon intrinsics (these have many overloads). Patch by Jean-Luc Duprat! llvm-svn: 176365
-
- Feb 28, 2013
-
-
Bill Wendling authored
This was causing the folding set to fail to fold attributes, because it was being calculated in one spot without an empty values string but here with an empty values string. llvm-svn: 176301
-
Bill Wendling authored
llvm-svn: 176289
-
- Feb 27, 2013
-
-
Meador Inge authored
PR15262 reported a bug where the following instruction: i8 getelementptr inbounds i8* bitcast ([4 x i8] addrspace(12)* @buf to i8*), i32 2 was getting folded into: addrspace(12)* getelementptr inbounds ([4 x i8] addrspace(12)* @buf, i32 0, i32 2) This caused instcombine to crash because the original instruction and the folded instruction have different types. The issue was fixed by disallowing bitcasts between different address spaces to be folded away. llvm-svn: 176156
-
- Feb 26, 2013
-
-
Kostya Serebryany authored
These are two related changes (one in llvm, one in clang). LLVM: - rename address_safety => sanitize_address (the enum value is the same, so we preserve binary compatibility with old bitcode) - rename thread_safety => sanitize_thread - rename no_uninitialized_checks -> sanitize_memory CLANG: - add __attribute__((no_sanitize_address)) as a synonym for __attribute__((no_address_safety_analysis)) - add __attribute__((no_sanitize_thread)) - add __attribute__((no_sanitize_memory)) for S in address thread memory If -fsanitize=S is present and __attribute__((no_sanitize_S)) is not set llvm attribute sanitize_S llvm-svn: 176075
-
Michael Ilseman authored
Use a DenseMap instead of a std::map for AnalysisID -> Pass* maps. This reduces the pass-manager overhead from FPPassManager::runOnFunction() by about 10%. llvm-svn: 176072
-
- Feb 25, 2013
-
-
David Blaikie authored
llvm-svn: 176004
-
- Feb 23, 2013
-
-
Eric Christopher authored
the debug info for -gsplit-dwarf so we can encode that location in the skeleton cu. llvm-svn: 175933
-
Eric Christopher authored
llvm-svn: 175932
-
- Feb 22, 2013
-
-
Bill Wendling authored
Listing all of the attributes for the callee of a call/invoke instruction is way too much and makes the IR unreadable. Use references to attributes instead. llvm-svn: 175877
-
Bill Wendling authored
llvm-svn: 175846
-
Bill Wendling authored
llvm-svn: 175843
-
Bill Wendling authored
The 'nobuiltin' attribute is applied to call sites to indicate that LLVM should not treat the callee function as a built-in function. I.e., it shouldn't try to replace that function with different code. llvm-svn: 175835
-
- Feb 21, 2013
-
-
Bill Wendling authored
llvm-svn: 175785
-
Bill Wendling authored
The slot that we're adding/removing the attribute from may not be the same as the attribute coming in. Make sure that they match up before we try to add/remove them. PR15313 llvm-svn: 175684
-
- Feb 20, 2013
-
-
Bill Wendling authored
This makes the LLVM assembly look better. E.g.: define void @foo() #0 { ret void } attributes #0 = { nounwind noinline ssp } llvm-svn: 175605
-
Bill Wendling authored
Add the function attributes from an inline asm call. These don't have declarations that set the attribute groups, so we must do it on our own. llvm-svn: 175577
-
- Feb 19, 2013
-
-
Nadav Rotem authored
Fix a bug in mayHaveSideEffects. Functions that do not return are now considered as instructions with side effects. rdar://13227456 llvm-svn: 175553
-
Nadav Rotem authored
llvm-svn: 175550
-
- Feb 18, 2013
-
-
Benjamin Kramer authored
Currently we're at 34. Bitset should compile into virtually the same code as uint64_t here. llvm-svn: 175437
-
David Blaikie authored
Paired with an Clang commit so this may cause temporary build failures. llvm-svn: 175426
-
David Blaikie authored
Previously we seemed to be assuming that all functions were definitions and all methods were declarations. This may be consistent with how Clang uses DIBuilder but doesn't have to be true of all clients (such as DragonEgg). llvm-svn: 175423
-
David Blaikie authored
llvm-svn: 175421
-
- Feb 17, 2013
-
-
Duncan Sands authored
Maxeiner. llvm-svn: 175398
-
- Feb 16, 2013
-
-
Benjamin Kramer authored
llvm-svn: 175373
-
Benjamin Kramer authored
Avoids malloc and is a lot denser. We lose iteration over target independent attributes, but that's a strange interface anyways and didn't have any users outside of AttrBuilder. llvm-svn: 175370
-
- Feb 15, 2013
-
-
Bill Wendling authored
llvm-svn: 175252
-
Anna Zaks authored
This reverts commit 82c101153fe7b35bce48781fab038e1b8f31a7bd. llvm-svn: 175250
-
Bill Wendling authored
llvm-svn: 175235
-
- Feb 14, 2013
-
-
Bill Wendling authored
llvm-svn: 175204
-
Bill Wendling authored
LLVMCreateMemoryBufferWithMemoryRange - exposes MemoryBuffer::getMemBuffer LLVMCreateMemoryBufferWithMemoryRangeCopy - exposes MemoryBuffer::getMemBufferCopy Patch by Moritz Maxeiner! llvm-svn: 175199
-
- Feb 13, 2013
-
-
Bill Wendling authored
llvm-svn: 175048
-
Bill Wendling authored
llvm-svn: 175046
-
- Feb 12, 2013
-
-
Guy Benyei authored
Add static cast to unsigned char whenever a character classification function is called with a signed char argument, in order to avoid assertions in Windows Debug configuration. llvm-svn: 175006
-
Bill Wendling authored
llvm-svn: 174948
-
David Blaikie authored
llvm-svn: 174924
-
- Feb 11, 2013
-
-
Bill Wendling authored
This emits the attribute groups that are used by the functions. (It currently doesn't print out return type or parameter attributes within attribute groups.) Note: The functions still retrieve their attributes from the "old" bitcode format (using the deprecated 'Raw()' method). This means that string attributes within an attribute group will not show up during a disassembly. This will be addressed in a future commit. llvm-svn: 174867
-
Kostya Serebryany authored
llvm-svn: 174864
-