- May 11, 2009
-
-
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
-
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
-
- May 10, 2009
-
-
Nick Lewycky authored
Constant* in preperation of a future change to support holding non-Constants in an MDNode. llvm-svn: 71407
-
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
-
Sanjiv Gupta authored
llvm-svn: 71386
-
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
-
-
Evan Cheng authored
llvm-svn: 71363
-
Eli Friedman authored
pointer-based condition. This fixes PR3171. llvm-svn: 71354
-
Eli Friedman authored
into. llvm-svn: 71352
-
Duncan Sands authored
will make it more obvious what it represents, and stop it being confused with the StoreSize. llvm-svn: 71349
-
Sanjiv Gupta authored
Use 16 bit arithmetic while retrieving the address of callee's frame during indirect function calls, and set pclath before every call to retrieve the frame address. llvm-svn: 71323
-
Evan Cheng authored
llvm-svn: 71305
-
Dan Gohman authored
llvm-svn: 71302
-
Evan Cheng authored
llvm-svn: 71291
-
Dan Gohman authored
overflow checks. llvm-svn: 71284
-
Evan Cheng authored
llvm-svn: 71282
-
Mike Stump authored
llvm-svn: 71275
-
- May 08, 2009
-
-
Bill Wendling authored
inlined function or the end of a function. Before, this was never executing the "inlined" version of the Record method. This will become important once the inlined Dwarf writer patch lands. llvm-svn: 71268
-
Dan Gohman authored
add-recurrence to be exposed. Add a new SCEV folding rule to help simplify expressions in the presence of these extra truncs. llvm-svn: 71264
-
Bill Wendling authored
concrete instance of an inlined function, we can get the actual address of the abstract instance inside of the compile unit. This isn't currently used, but will be by a future check-in. llvm-svn: 71263
-
Dan Gohman authored
constant exprs as well as instructions. llvm-svn: 71262
-
Dan Gohman authored
which are not analyzed with SCEV techniques, which can require brute-forcing through a large number of instructions. This fixes a massive compile-time issue on 400.perlbench (in particular, the loop in MD5Transform). llvm-svn: 71259
-
Dan Gohman authored
clients to use it. llvm-svn: 71258
-
Bill Wendling authored
llvm-svn: 71256
-
Dan Gohman authored
llvm-svn: 71255
-
Bill Wendling authored
llvm-svn: 71253
-
Dan Gohman authored
separate function. llvm-svn: 71252
-
Dan Gohman authored
This fixes an old FIXME, and is needed by some upcoming changes. llvm-svn: 71247
-
Evan Cheng authored
llvm-svn: 71242
-
Anton Korobeynikov authored
llvm-svn: 71241
-
Anton Korobeynikov authored
llvm-svn: 71240
-
Anton Korobeynikov authored
llvm-svn: 71239
-
Anton Korobeynikov authored
llvm-svn: 71238
-
Anton Korobeynikov authored
llvm-svn: 71237
-
Anton Korobeynikov authored
llvm-svn: 71236
-