Displaying 3 results from an estimated 3 matches for "floatrect".
2010 Aug 31
0
[LLVMdev] "equivalent" .ll files diverge after optimizations are applied
...hments/20100831/b4aa9ded/attachment-0002.obj>
-------------- next part --------------
>
>
>
> $ opt -std-compile-opts unopt-pass.ll -o - | llc -o -
>
> .section __TEXT,__text,regular,pure_instructions
> .globl
> __ZN7WebCore15GraphicsContext19roundToDevicePixelsERKNS_9FloatRectE
> .align 4, 0x90
> __ZN7WebCore15GraphicsContext19roundToDevicePixelsERKNS_9FloatRectE:
> ## @_ZN7WebCore15GraphicsContext19roundToDevicePixelsERKNS_9FloatRectE
> ## BB#0:
> subq $24, %rsp
> movq %rsi, %rdx
> movl $0, 16(%rsp)
> movl $0, 20(%rsp)
> movl $0, 8(%rs...
2010 Aug 31
2
[LLVMdev] "equivalent" .ll files diverge after optimizations are applied
Here's the optimized versions:
$ opt -std-compile-opts unopt-pass.ll -o - | llvm-dis -o -
[...]
define %3 @_ZN7WebCore15GraphicsContext19roundToDevicePixelsERKNS_9FloatRectE(%"class.WebCore::GraphicsContext"* %this, %"struct.WebCore::FloatRect"* %rect) nounwind ssp align 2 {
%roundedOrigin = alloca %"class.WebCore::FloatSize", align 4 ; <%"class.WebCore::FloatSize"*> [#uses=3]
%roundedLowerRight = alloca %"class.W...
2010 Aug 31
5
[LLVMdev] "equivalent" .ll files diverge after optimizations are applied
...ists.llvm.org/pipermail/llvm-dev/attachments/20100831/9782fea6/attachment-0002.obj>
-------------- next part --------------
$ opt -std-compile-opts unopt-pass.ll -o - | llc -o -
.section __TEXT,__text,regular,pure_instructions
.globl __ZN7WebCore15GraphicsContext19roundToDevicePixelsERKNS_9FloatRectE
.align 4, 0x90
__ZN7WebCore15GraphicsContext19roundToDevicePixelsERKNS_9FloatRectE: ## @_ZN7WebCore15GraphicsContext19roundToDevicePixelsERKNS_9FloatRectE
## BB#0:
subq $24, %rsp
movq %rsi, %rdx
movl $0, 16(%rsp)
movl $0, 20(%rsp)
movl $0, 8(%rsp)
movl $0, 12(%rsp)
movq 8(%rdi), %rsi
leaq...