- Jul 17, 2009
-
-
Daniel Dunbar authored
llvm-svn: 76123
-
Bill Wendling authored
llvm-svn: 76122
-
Evan Cheng authored
GV with ghost linkage (module being lazily streamed in in JIT lazy compilation mode) do not require extra load from stub. This fixes ExecutionEngine/2005-12-02-TailCallBug.ll. llvm-svn: 76121
-
Dale Johannesen authored
stack alignment right when it is. This is not ideal but conservatively correct. Adjust a test to compensate for changed stack offset value. gcc.apple/asm-block-57.c llvm-svn: 76120
-
David Greene authored
Emit line numbers in asm comments when available. llvm-svn: 76117
-
Owen Anderson authored
llvm-svn: 76113
-
Daniel Dunbar authored
llvm-svn: 76112
-
Daniel Dunbar authored
llvm-svn: 76111
-
Daniel Dunbar authored
llvm-svn: 76110
-
Fariborz Jahanian authored
in 32bit abi. llvm-svn: 76109
-
- Jul 16, 2009
-
-
Daniel Dunbar authored
llvm-svn: 76108
-
Daniel Dunbar authored
- This silences the output about how command line arguments are being changed. llvm-svn: 76107
-
Jakob Stoklund Olesen authored
X86InstrInfo.cpp:2272: warning: suggest explicit braces to avoid ambiguous 'else' llvm-svn: 76105
-
Daniel Dunbar authored
llvm-svn: 76104
-
Daniel Dunbar authored
- No functionality change. llvm-svn: 76103
-
Jeffrey Yasskin authored
call to the MachineCodeEmitter interface and made copying the start line of a function not conditional on whether we're emitting Dwarf debug information. I'll propagate the processDebugLoc() calls to the non-X86 targets in a followup patch. In the long run, it'll probably be better to gather this information through the DwarfWriter, but the DwarfWriter currently depends on the AsmPrinter and TargetAsmInfo, and fixing that would be out of the way for this patch. There's a bug in OProfile 0.9.4 that makes it ignore line numbers for addresses above 4G, and a patch fixing it at http://thread.gmane.org/gmane.linux.oprofile/7634 Sample output: $ sudo opcontrol --reset; sudo opcontrol --start-daemon; sudo opcontrol --start; `pwd`/Debug/bin/lli fib.bc; sudo opcontrol --stop Signalling daemon... done Profiler running. fib(40) == 165580141 Stopping profiling. $ opreport -g -d -l `pwd`/Debug/bin/lli|head -60 Overflow stats not available CPU: Core 2, speed 1998 MHz (estimated) Counted CPU_CLK_UNHALTED events (Clock cycles when not halted) with a unit mask of 0x00 (Unhalted core cycles) count 100000 vma samples % linenr info image name symbol name 00007f67a30370b0 25489 61.2554 fib.c:24 10946.jo fib_left 00007f67a30370b0 1634 6.4106 fib.c:24 00007f67a30370b1 83 0.3256 fib.c:24 00007f67a30370b9 1997 7.8348 fib.c:24 00007f67a30370c6 2080 8.1604 fib.c:27 00007f67a30370c8 988 3.8762 fib.c:27 00007f67a30370cd 1315 5.1591 fib.c:27 00007f67a30370cf 251 0.9847 fib.c:27 00007f67a30370d3 1191 4.6726 fib.c:27 00007f67a30370d6 975 3.8252 fib.c:27 00007f67a30370db 1010 3.9625 fib.c:27 00007f67a30370dd 242 0.9494 fib.c:27 00007f67a30370e1 2782 10.9145 fib.c:28 00007f67a30370e5 3768 14.7828 fib.c:28 00007f67a30370eb 615 2.4128 (no location information) 00007f67a30370f3 6558 25.7287 (no location information) 00007f67a3037100 15603 37.4973 fib.c:29 10946.jo fib_right 00007f67a3037100 1646 10.5493 fib.c:29 00007f67a3037101 45 0.2884 fib.c:29 00007f67a3037109 2372 15.2022 fib.c:29 00007f67a3037116 2234 14.3178 fib.c:32 00007f67a3037118 612 3.9223 fib.c:32 00007f67a303711d 622 3.9864 fib.c:32 00007f67a303711f 385 2.4675 fib.c:32 00007f67a3037123 404 2.5892 fib.c:32 00007f67a3037126 634 4.0633 fib.c:32 00007f67a303712b 870 5.5759 fib.c:32 00007f67a303712d 62 0.3974 fib.c:32 00007f67a3037131 1848 11.8439 fib.c:33 00007f67a3037135 2840 18.2016 fib.c:33 00007f67a303713a 1 0.0064 fib.c:33 00007f67a303713b 1023 6.5564 (no location information) 00007f67a3037143 5 0.0320 (no location information) 000000000080c1e4 15 0.0360 MachineOperand.h:150 lli llvm::MachineOperand::isReg() const 000000000080c1e4 6 40.0000 MachineOperand.h:150 000000000080c1ec 2 13.3333 MachineOperand.h:150 ... llvm-svn: 76102
-
Jakob Stoklund Olesen authored
The inline asm operands must be parsed from the first flag, you cannot assume that an immediate operand preceeding a register use operand is the flag. PowerPC "m" operands are represented as (flag, imm, reg) triples. isRegTiedToDefOperand() would incorrectly interpret the imm as the flag. llvm-svn: 76101
-
Evan Cheng authored
llvm-svn: 76100
-
Anton Korobeynikov authored
llvm-svn: 76099
-
Ted Kremenek authored
This method is intended to eventually replace the individual Type::getAsXXXType<> methods. The motivation behind this change is twofold: 1) Reduce redundant implementations of Type::getAsXXXType() methods. Most of them are basically copy-and-paste. 2) By centralizing the implementation of the getAs<Type> logic we can more smoothly move over to Doug Gregor's proposed canonical type smart pointer scheme. Along with this patch: a) Removed 'Type::getAsPointerType()'; now clients use getAs<PointerType>. b) Removed 'Type::getAsBlockPointerTypE()'; now clients use getAs<BlockPointerType>. llvm-svn: 76098
-
Owen Anderson authored
llvm-svn: 76097
-
Chris Lattner authored
this should be xfailed on darwin. Darwin doesn't use the libstdc++ in the llvm-gcc distro, it uses the system version. llvm-svn: 76095
-
Evan Cheng authored
With recent MC changes, RIP base register is explicitly modeled. Make sure we add it when x86 V_SET0 / V_SETALLONES (by transforming it into a constpool load) into the use instruction. llvm-svn: 76094
-
Ted Kremenek authored
llvm-svn: 76093
-
Ted Kremenek authored
llvm-svn: 76092
-
Ted Kremenek authored
llvm-svn: 76091
-
Owen Anderson authored
llvm-svn: 76090
-
Owen Anderson authored
our current context-passing stuff, which is also fixed here llvm-svn: 76089
-
Fariborz Jahanian authored
nonfragile abi, instead of crashing. llvm-svn: 76088
-
Kevin Enderby authored
EmitAssemblerFlag API which takes a value from the added AssemblerFlag enumerated constants. llvm-svn: 76087
-
Daniel Dunbar authored
llvm-svn: 76086
-
Dan Gohman authored
analysis. This allows indvars to emit a simpler loop trip count expression. llvm-svn: 76085
-
Kevin Enderby authored
so it is defined with a lifetime that is as short as possible. llvm-svn: 76082
-
Daniel Dunbar authored
- Patch by Ryan Flynn! llvm-svn: 76081
-
Stuart Hastings authored
llvm-svn: 76080
-
Chris Lattner authored
instead of doing it manually (which might end up getting auto-renamed), fixing a FIXME. rdar://7065446 llvm-svn: 76079
-
Steve Naroff authored
llvm-svn: 76078
-
Dan Gohman authored
isLCSSAForm(), to test whether a loop is in the form guaranteed by the LoopSimplify pass. llvm-svn: 76077
-
Steve Naroff authored
Convert all clients to use the new predicate on Type. llvm-svn: 76076
-
Dan Gohman authored
duplication. Also, make setStream honor the old DeleteStream flag. llvm-svn: 76075
-