Alexey Samsonov
|
a240df2ec1
Transform pattern:
|
13 anos atrás |
Richard Smith
|
802cd5b197
At -O0, emit an @llvm.trap() call at the end of a value-returning function which
|
13 anos atrás |
Bill Wendling
|
fac6310528
Have 'addFnAttr' take the attribute enum value. Then have it build the attribute object and add it appropriately. No functionality change.
|
13 anos atrás |
Richard Smith
|
bf43f2fdfb
Tidy up formatting.
|
13 anos atrás |
Richard Smith
|
930c05c32e
-fcatch-undefined-behavior: catch a VLA bound which evalutes to a non-positive value.
|
13 anos atrás |
Richard Smith
|
4def70d304
-fcatch-undefined-behavior: emit calls to the runtime library whenever one of the checks fails.
|
13 anos atrás |
Micah Villmow
|
25a6a84cf5
Move TargetData to DataLayout.
|
13 anos atrás |
Richard Smith
|
36ef0d54cf
If we flow off the end of a value-returning function:
|
13 anos atrás |
Richard Trieu
|
e1ecdc1681
Change APInt to APSInt in one instance. Also change a call to operator==() to
|
13 anos atrás |
Chandler Carruth
|
6bebe5aca3
Update Clang to reflect the move of MDBuilder in r160237.
|
13 anos atrás |
Tanya Lattner
|
198871cc90
Add OpenCL metadata for kernel arg names. This output is controlled via a flag as noted in the OpenCL Spec.
|
13 anos atrás |
Tanya Lattner
|
0df579ec00
Patch by Anton Lokhmotov to add OpenCL work group size attributes.
|
13 anos atrás |
Fariborz Jahanian
|
4904bf4e84
block literal irgen: several improvements on naming block
|
13 anos atrás |
James Dennett
|
2ee5ba35fe
Documentation cleanup:
|
13 anos atrás |
Nuno Lopes
|
def18494b9
wire -fbounds-checking to the new LLVM bounds checking pass
|
13 anos atrás |
Nuno Lopes
|
b3198a841e
add -fbounds-checking option.
|
13 anos atrás |
Alexey Samsonov
|
fd00eecad6
This patch adds a new Clang compiler flag "-gline-tables-only".
|
13 anos atrás |
Richard Smith
|
1664d540d1
PR12571: Objects of type clang::ConstantArrayType aren't always emitted with
|
13 anos atrás |
Duncan Sands
|
3c6ed1b5c5
Remove support for -fast-math metadata for the moment.
|
13 anos atrás |
Duncan Sands
|
10e675d482
Generate fpmath metadata when -ffast-math. Note that no optimizations are hooked
|
13 anos atrás |
Eli Friedman
|
377ecc7996
Propagate alignment on lvalues through EmitLValueForField. PR12395.
|
13 anos atrás |
Chad Rosier
|
8fbe3855db
[frontend] Add support for disabling the "inline" keyword using
|
13 anos atrás |
David Blaikie
|
4e4d08403c
Unify naming of LangOptions variable/get function across the Clang stack (Lex to AST).
|
13 anos atrás |
Eli Friedman
|
23f0267e2d
Implement "optimization" for lambda-to-block conversion which inlines the generated block literal for lambdas which are immediately converted to block pointer type. This simplifies the AST, avoids an unnecessary copy of the lambda and makes it much easier to avoid copying the result onto the heap.
|
13 anos atrás |
Eli Friedman
|
64bee65a34
Work-in-progress for lambda conversion-to-block operator. Still need to implement the retain+autorelease outside of ARC, and there's a bug that causes the generated code to crash in ARC (which I think is unrelated to my code, although I'm not completely sure).
|
13 anos atrás |
Chad Rosier
|
6e94f6c0f1
Remove redundant check.
|
13 anos atrás |
Douglas Gregor
|
27dd7d962b
Rework the Sema/AST/IRgen dance for the lambda closure type's
|
13 anos atrás |
Eli Friedman
|
bd89f8c2ca
Start of IRGen for lambda conversion operators.
|
13 anos atrás |
Eli Friedman
|
df33a35f60
Remove useless if statement.
|
13 anos atrás |
Eli Friedman
|
cec5ebd4a6
Basic support for referring to captured variables from lambdas. Some simple examples seem to work. Tests coming up soon.
|
13 anos atrás |