Displaying 20 results from an estimated 110 matches similar to: "Instrumented BB in PGO"
2016 Mar 09
3
PGO question
Hi,
I have a question regarding PGO.
I collected profile data with the instrumentation build
(-fprofile-instr-generate) and provided for PGO optimization in the second
build (with -fprofile-instr-use=xxx.profdata). This works fine.
Then I tried to provide the profile data to opt using the option
-pgo-instr-use, but this causes an error with the message: "Not an IR level
instrumentation
2016 Mar 07
3
Profile-based inlining status
Hello,
I'm learning how LLVM performs PGO (profile-guided optimizations) by using
the instrumentation-based profile build (-fprofile-instr-generate and
-fprofile-instr-use).
However, I found there is no difference in inlining behaviors between with
and without PGO for a few spec benchmarks by checking the emit optimization
reports (-Rpass=inline -Rpass-missed=inline -Rpass-analysis=inline).
2013 Aug 14
2
[LLVMdev] BranchInst comparison
Hi All,
How could I use BranchInst to implement for example
br label %if.else7
br label %if.then5
br i1 %cmp4, label %if.then5, label %if.else7
I can use BranchInst for only one instruction but how could I compare
between two branches
Thanks
--
* Rasha Salah Omar
Msc Student at E-JUST
Demonestrator at Faculty of Computers and Informatics
Benha University*
*
2013 Aug 14
3
[LLVMdev] BranchInst comparison
Your question isn't clear; please restate what specifically isn't working.
-Eli
On Wed, Aug 14, 2013 at 11:57 AM, Rasha Omar <rasha.sala7 at gmail.com> wrote:
> or like this
>
> %cmp4 = icmp eq i32 %rem, 0
>
> br i1 %cmp4, label %if.then5, label %if.else7
>
>
> On 14 August 2013 20:08, Rasha Omar <rasha.sala7 at gmail.com> wrote:
>
>> Hi
2013 Aug 14
0
[LLVMdev] BranchInst comparison
or like this
%cmp4 = icmp eq i32 %rem, 0
br i1 %cmp4, label %if.then5, label %if.else7
On 14 August 2013 20:08, Rasha Omar <rasha.sala7 at gmail.com> wrote:
> Hi All,
>
> How could I use BranchInst to implement for example
> br label %if.else7
> br label %if.then5
> br i1 %cmp4, label %if.then5, label %if.else7
>
> I can use BranchInst for only one
2013 Aug 15
0
[LLVMdev] BranchInst comparison
How could BranchInst be used to insert new branch between two basic blocks
to get result like this example:
br label %if.else
br label %if.then
br i1 %cmp1, label %if.then, label %if.else
Thanks for your help
On 14 August 2013 21:36, Eli Friedman <eli.friedman at gmail.com> wrote:
> Your question isn't clear; please restate what specifically isn't working.
>
> -Eli
2011 Oct 19
3
[LLVMdev] Question regarding basic-block placement optimization
On Tue, Oct 18, 2011 at 6:58 PM, Jakob Stoklund Olesen <stoklund at 2pi.dk>wrote:
>
> On Oct 18, 2011, at 5:22 PM, Chandler Carruth wrote:
>
> As for why it should be an IR pass, mostly because once the selection dag
>> runs through the code, we can never recover all of the freedom we have at
>> the IR level. To start with, splicing MBBs around requires known about
2017 Jun 19
4
LLVM behavior different depending on function symbol name
Greetings,
I have a Zig implementation of ceil which is emitted into LLVM IR like this:
; Function Attrs: nobuiltin nounwind
define internal fastcc float @ceil(float) unnamed_addr #3 !dbg !644 {
Entry:
%x = alloca float, align 4
store float %0, float* %x
call void @llvm.dbg.declare(metadata float* %x, metadata !649, metadata
!494), !dbg !651
%1 = load float, float* %x, !dbg !652
%2 =
2006 Oct 31
0
PSARC 2006/054 DTrace JNI Binding
Author: tomee
Repository: /hg/zfs-crypto/gate
Revision: 367993089b181886f94c88ffa5759d0626e95ad7
Log message:
PSARC 2006/054 DTrace JNI Binding
6384263 PSARC 2006/054 DTrace JNI Binding
Files:
create: usr/src/lib/libdtrace_jni/Makefile
create: usr/src/lib/libdtrace_jni/Makefile.com
create: usr/src/lib/libdtrace_jni/amd64/Makefile
create: usr/src/lib/libdtrace_jni/common/dtj_attr.c
create:
2017 Jun 19
2
LLVM behavior different depending on function symbol name
On Mon, Jun 19, 2017 at 12:06 PM, Mehdi AMINI <joker.eph at gmail.com> wrote:
> Hi,
>
> 2017-06-19 8:45 GMT-07:00 Andrew Kelley via llvm-dev <
> llvm-dev at lists.llvm.org>:
>
>> Greetings,
>>
>> I have a Zig implementation of ceil which is emitted into LLVM IR like
>> this:
>>
>> ; Function Attrs: nobuiltin nounwind
>> define
2011 Jul 19
1
Plotting intraday data in quantmod
Hello, I'm new to R and am having trouble plotting intraday data on a chart.
I haven't had any success with using ideas from some other posts or other
content.
My data is in csv format, here's the first few rows:
TimeStamp..UTC. Open High Low Close
1 2011-06-15 13:30:00:0000 127175 127500 126925 127425
2 2011-06-15 14:00:00:0000 127400 127575 127225 127225
3 2011-06-15
2018 May 16
0
GlobalAddress lowering strategy
I've been looking at GlobalAddress lowering strategy recently and was
wondering if anyone had any ideas, insights, or experience to share.
## Background
When lowering global address, which is typically done in
FooTargetLowering::LowerGlobalAddress you have the option of folding
in the global offset into the global address or else emitting the base
globaladdress and a separate ADD node for the
2011 Oct 19
0
[LLVMdev] Question regarding basic-block placement optimization
On Wed, Oct 19, 2011 at 3:24 AM, Chandler Carruth <chandlerc at google.com>wrote:
> On Tue, Oct 18, 2011 at 6:58 PM, Jakob Stoklund Olesen <stoklund at 2pi.dk>wrote:
>
>>
>> On Oct 18, 2011, at 5:22 PM, Chandler Carruth wrote:
>>
>> As for why it should be an IR pass, mostly because once the selection
>>> dag runs through the code, we can never
2007 Mar 16
0
Compression bug?
Hi,
I'm using rsync 2.6.8 to backup files and encountered the following
problem:
rsync -zvvxa --partial --no-whole-file --stats
--progress ../new/access_log.processed .
building file list ...
1 file to consider
delta-transmission enabled
access_log.processed
rsync: writefd_unbuffered failed to write 16385 bytes [sender]: Broken
pipe (32)
inflate (token) returned -5
rsync error: error in
2013 Dec 13
0
[LLVMdev] GVNPRE /PRE is not effective
Hi All,
The PRE or GVNPRE is not effective for the below use case.
int sum;
int phi =30;
void
f (int i, int *a)
{
if ((a[i] << (1)) > -15) sum =(phi+ 0x7fffffffL )/ a[i];
if ((a[i] << (2)) > -15) sum =(phi + 0x7fffffffL) /a[i];
}
respective asm (clang on trunk )
#clang -O3 -S test.c
BB#0: # %entry
pushl %edi
pushl %esi
2009 Sep 18
0
[LLVMdev] Problems with live-ins and live-outs
Hi,
With the MSP430 target I have live-in/live-out problems pointed out by
Machine Instruction Verifier with the attached test-case compiled with:
clang-cc -triple=msp430-unknown-unknown test-live.c -S -o - -O1
-verify-machineinstrs -debug
For example: %R15W is killed in MBB#0:
CMP16rr %R14W<kill>, %R15W<kill>, %SRW<imp-def>
But %R15 as live-in in MMB#1:
if.else: 0xa244c20,
2012 Dec 25
2
[LLVMdev] [DragonEgg] Strange call to @"\01__isoc99_fscanf"
Dear all,
First of all, Merry Christmas! :)
While testing a File I/O sample program, I've encountered a link failure
due to missing implementation of "\01__isoc99_fscanf" function. I think
this function should be named "__isoc99_fscanf" instead. Please see the
program code and LLVM IR generated by DragonEgg and clang below. It shows
that clang generates
2012 Jul 25
0
CFP: 13th IFIP/IEEE Symposium on Integrated Network and Service Management (IM 2013)
IM 2013
The 13th IFIP/IEEE Symposium on Integrated Network and Service Management
Ghent, Belgium, 27-31 May 2013
http://www.im2013.org/
(Paper Submission Date: 16 August 2012)
"Smart Management in a Virtualized World"
The 13th IFIP/IEEE Symposium on Integrated Network and Service Management (IM 2013) will be held 27-31 May 2013 in the beautiful city center of Ghent, Belgium and
2012 Jul 25
0
CFP: 13th IFIP/IEEE Symposium on Integrated Network and Service Management (IM 2013)
IM 2013
The 13th IFIP/IEEE Symposium on Integrated Network and Service Management
Ghent, Belgium, 27-31 May 2013
http://www.im2013.org/
(Paper Submission Date: 16 August 2012)
"Smart Management in a Virtualized World"
The 13th IFIP/IEEE Symposium on Integrated Network and Service Management (IM 2013) will be held 27-31 May 2013 in the beautiful city center of Ghent, Belgium and
2017 Jun 19
2
LLVM behavior different depending on function symbol name
using `opt --print-after-all -O3` I see that EarlyCSE is interpreting the
call to `ceil` and constant fold:
*** IR Dump After Early CSE ***
; Function Attrs: nobuiltin nounwind
define i1 @do_test() #2 {
Entry:
%0 = call fastcc float @ceil(float 0.000000e+00) #6
%1 = call fastcc float @ceil32(float 0.000000e+00) #6
%2 = fcmp fast oeq float 0.000000e+00, %1
ret i1 %2
}
So just running `opt