- May 11, 2009
-
-
Jay Foad authored
memcpy, memmove and memset. llvm-svn: 71427
-
Jay Foad authored
just a Type. llvm-svn: 71426
-
Sanjiv Gupta authored
compiler libcalls start with .lib. now. fixed section names. llvm-svn: 71424
-
Sanjiv Gupta authored
only for those. These extern declarations to intrinsics are currently being emitted at the bottom of generated .s file, which works fine with gpasm(not sure about MPSAM though). PIC16 linker generates errors for few cases (function-args/struct_args_5) if you do not include any extern declarations (even if no intrinsics are being used), but that needs to be fixed in the linker itself. llvm-svn: 71423
-
Bill Wendling authored
llvm-svn: 71413
-
Douglas Gregor authored
With the introduction of nullptr, a template argument that refers to a declaration can now be NULL. Use cast_or_null appropriately llvm-svn: 71412
-
Bill Wendling authored
The DwarfWriter expects DbgScopes and DIEs to behave themselves according to DwarfWriter's rules. However, inlined functions violate these rules. There are two different types of DIEs associated with an inlined function: an abstract instance, which has information about the original source code for the function being inlined; and concrete instances, which are created for each place the function was inlined and point back to the abstract instance. This patch tries to stay true to this schema. It bypasses how regular DbgScopes and DIEs are created and used when necessary. It provides special handling for DIEs of abstract and concrete instances. This doesn't take care of all of the problems with debug info for inlined functions, but it's a step in the right direction. For one thing, llvm-gcc generates wrong IR (it's missing some llvm.dbg intrinsics at the point where the function's inlined) for this example: #include <stdio.h> static __inline__ __attribute__((always_inline)) int bar(int x) { return 4; } void foo() { long long b = 1; int Y = bar(4); printf("%d\n", Y); } while clang generates correct IR. llvm-svn: 71410
-
Douglas Gregor authored
llvm-svn: 71409
-
Douglas Gregor authored
template. The injected-class-name is either a type or a template, depending on whether a '<' follows it. As a type, the injected-class-name's template argument list contains its template parameters in declaration order. As part of this, add logic for canonicalizing declarations, and be sure to canonicalize declarations used in template names and template arguments. A TagType is dependent if the declaration it references is dependent. I'm not happy about the rather complicated protocol needed to use ASTContext::getTemplateSpecializationType. llvm-svn: 71408
-
- May 10, 2009
-
-
Nick Lewycky authored
Constant* in preperation of a future change to support holding non-Constants in an MDNode. llvm-svn: 71407
-
Sebastian Redl authored
llvm-svn: 71406
-
Sebastian Redl authored
llvm-svn: 71405
-
Ted Kremenek authored
llvm-svn: 71404
-
Ted Kremenek authored
llvm-svn: 71397
-
Sanjiv Gupta authored
Module iterator contains list of filescope functions as well, we don't need to emit and global declarations for them. This was working earlier and was broken during one of the recent commit for PIC16 naming. llvm-svn: 71394
-
Anton Korobeynikov authored
(imm is allowed to be source operand, not dest...) llvm-svn: 71393
-
Anton Korobeynikov authored
llvm-svn: 71392
-
Ted Kremenek authored
where an owned one is expected. Also add preliminary checking for returning a positive retain count object in GC mode where an owned GC object is expected. llvm-svn: 71388
-
Ted Kremenek authored
llvm-svn: 71387
-
Sanjiv Gupta authored
llvm-svn: 71386
-
Ted Kremenek authored
- Improve -autorelease diagnostics. - Improve VLA diagnostics. - Use "short description" for bug when outputting to TextDiagnostics llvm-svn: 71383
-
Ted Kremenek authored
llvm-svn: 71375
-
Bill Wendling authored
U lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp Revert r71370. llvm-svn: 71373
-
Bill Wendling authored
None. However, we were always recording the region end. There's no longer a good reason for this code to be separated out between the different opt levels, as it was doing pretty much the same thing anyway. llvm-svn: 71370
-
- May 09, 2009
-
-
Ted Kremenek authored
'clang -###' to get the appropriate arguments to pass to clang-cc. This isn't a permanent solution. llvm-svn: 71364
-
Evan Cheng authored
llvm-svn: 71363
-
Chris Lattner authored
llvm-svn: 71362
-
Chris Lattner authored
llvm-svn: 71361
-
Zhongxing Xu authored
pointee type is scalar type, create element region regardless with the sizes of types. llvm-svn: 71360
-
Zhongxing Xu authored
TypedViewRegion usage in region store. llvm-svn: 71359
-
Zhongxing Xu authored
convert it to the first element region. Also do not assume the array region is typed. llvm-svn: 71358
-
Zhongxing Xu authored
region. In the future we may set the cast-to type as the same time. But for now, we simply leave it as it is. llvm-svn: 71357
-
Zhongxing Xu authored
llvm-svn: 71356
-
Zhongxing Xu authored
Modify getLValueElement accordingly. Now we don't require base region to be a typed region. Do not create TypedViewRegion when base region is symbolic or alloca region. We can do so because each element region has its type information. llvm-svn: 71355
-
Eli Friedman authored
pointer-based condition. This fixes PR3171. llvm-svn: 71354
-
Zhongxing Xu authored
RegionStoreManager::CastRegion(). This case should be subsumed by others. llvm-svn: 71353
-
Eli Friedman authored
into. llvm-svn: 71352
-
Duncan Sands authored
LLVM. llvm-svn: 71350
-
Duncan Sands authored
will make it more obvious what it represents, and stop it being confused with the StoreSize. llvm-svn: 71349
-
Ted Kremenek authored
llvm-svn: 71348
-