similar to: Branch profiling in older llvm revision

Displaying 20 results from an estimated 7000 matches similar to: "Branch profiling in older llvm revision"

2013 Jan 30
2
[LLVMdev] Edge Profiling
Hello. I'm using these commands to compile the code below in order to collect edge/blocks profiling: clang -emit-llvm -c sort.c -o sort.bc opt -insert-edge-profiling sort.bc -o sort_prof.bc clang sort_prof.bc -lprofile_rt -L/llvms/lib -o sort_prof then I run the program and display the profiling information using llvm-prof sort_prof.bc, and the result is:
2013 Jan 31
0
[LLVMdev] Edge Profiling
Hello, See answers below On 31/01/13 00:23, César wrote: > Hello. > > I'm using these commands to compile the code below in order to collect > edge/blocks profiling: > > clang -emit-llvm -c sort.c -o sort.bc > opt -insert-edge-profiling sort.bc -o sort_prof.bc > clang sort_prof.bc -lprofile_rt -L/llvms/lib -o sort_prof > > then I run the program and display the
2012 Nov 21
0
[LLVMdev] Question about compiling LLVM through cross-compiler for ARM
> It is done. Then, I should copy this version on my image and then boot the image with gem5. The > problem is when I try to run llvm-commands in gem5, they don't work and said : "cannot execute binary file". What does "file" says on the binary? > This means that I couldn't cross-compile the llvm for ARM to work on ARM! Something is broken on your side. I can
2013 Mar 10
2
[LLVMdev] Running cross compiled binaries for ARM on gem5
Hi, I am trying to optimize some benchmarks using LLVM and run them on gem5 simulator (build for ARM). I am using Sourcery Codebench cross-compiler for ARM on my x-86 machine. My steps up till now have been using the following commands. 1. clang -static -emit-llvm -march=armv7-a -mfloat-abi=soft -target arm-elf a.cpp -c -integrated-as \
2011 May 09
4
[LLVMdev] Path profiling command
Hi members, I am a LLVM newbee. I am working in path profiling. I got an error message when reading the path profile data I made a sample source named foo.c The command chain to make llvm path profiling as follows: 1. Compile to LLVM Bitcode llvm-gcc –emit-llvm foo.c –c –o foo.bc 2. Insert Path Instruments opt –insert-path-profiling foo.bc –o foo_path.bc 3. Link with profile
2018 Mar 20
2
Encoding an X86 format with long operands
Hi all. tl;dr: I would like to add a long x86 instruction which doesn't conform to any existing format that I know; I'm not sure where to start. I am attempting to add an instruction into X86, to be simulated in gem5. I've already added a simple, opcode-only instruction which I can successfully decode and run in gem5, so I am roughly familiar with .td files and how backends are built
2018 Mar 20
0
Encoding an X86 format with long operands
Hi Gus, When you say "n byte destination" you mean you want to encode an n byte address as a constant within the instruction? That would mean you couldn't encode an address that comes from a register. ~Craig On Tue, Mar 20, 2018 at 9:48 AM, Gus Smith via llvm-dev < llvm-dev at lists.llvm.org> wrote: > Hi all. > > tl;dr: I would like to add a long x86 instruction
2013 Mar 17
2
[LLVMdev] Running cross compiled binaries for ARM on gem5
Thanks Renato and Giang. I was able to run a simple HelloWorld program on gem5 (in SE mode) by using -target -arm-none-linux-gnueabi as the option during cross compilation. I am trying to cross compile some Computer Vision algorithms, which use OpenCV libraries, and I tried using the same command line options - clang++ *-emit-llvm -static -c -Wall -g -O0 -mfpu=vfp -mfloat-abi=soft
2018 Mar 20
0
Encoding an X86 format with long operands
That wasn't the part that confused me. What confused me was what you expected to be encoded into the instruction. Your math indicated that you multiple n by 3 and added 1 to it to get your 13 bytes. So that means you intend to use 4 bytes to store an address in 32 bits which implied to me that you intended to have a fixed address encoded. But what if the address in in a register as would often
2018 Mar 20
2
Encoding an X86 format with long operands
Whoops - sorry for the confusion. n would be set in stone beforehand. I basically meant to indicate that we'd either be looking at a 32 bit or 64 bit system, ie 4 byte or 8 byte addresses. On Tue, Mar 20, 2018, 1:07 PM Craig Topper <craig.topper at gmail.com> wrote: > Hi Gus, > > When you say "n byte destination" you mean you want to encode an n byte > address as
2012 Nov 21
0
[LLVMdev] Question about compiling LLVM through cross-compiler for ARM
>> > It is done. Then, I should copy this version on my image and then boot >> > the image with gem5. The >> > problem is when I try to run llvm-commands in gem5, they don't work and >> > said : "cannot execute binary file". >> What does "file" says on the binary? > when I use commands like : "#arm-linux-gnueabi-clang test.c
2012 Nov 20
4
[LLVMdev] Question about compiling LLVM through cross-compiler for ARM
Hi All, I'm trying to compile clang+llvm on my desktop with cross-compiler to be able to work with llvm commands in ubuntu-arm image whithin gem5. If anybody has done this before I'd be so thankful to know the exact process and commands. I tried to configure llvm as follows but I couldn't get the arm-arm version correctly. To sum up, I need to cross-compile llvm for ARM to work in
2015 Mar 11
5
[LLVMdev] Customize Standard C Library Using LLVM (to support llvm backend optimization)
Purpose: I implemented a pass on LLVM backend that changes the output format of *ARM* assembly/binary (e.g add a jump at the end of each basic block to eliminate fall through). By calling: llc -march=arm somefile.bc it generates expected arm assembly/binary that runs properly on arm gnu linux (I use qemu-arm and gem5 to simulate it). Now I want to do the same thing on standard c library, but
2002 Sep 10
0
Encrpted Password problem
i tried with the option encrpted password= yes , security = user in my smb.conf file.. but when i did following on my root prompt #killall -HUP xinetd #service smb restart #smbclient -L localhost so i get the problem session setup failed: ERRSRV - ERRbadpw (bad password name/password pair in a Tree Connect or Session Setup are invalid.) i'm not gettin why this is coming. i create the
2012 Nov 21
2
[LLVMdev] Question about compiling LLVM through cross-compiler for ARM
On Wed, Nov 21, 2012 at 8:02 PM, Anton Korobeynikov <anton at korobeynikov.info > wrote: > >> > It is done. Then, I should copy this version on my image and then boot > >> > the image with gem5. The > >> > problem is when I try to run llvm-commands in gem5, they don't work > and > >> > said : "cannot execute binary file". >
2018 Mar 20
1
Generating a custom opcode from an LLVM intrinsic
Great info -- all of this has been incredibly useful. Do you have any links to the documentation from this, or does it just come from your experiential knowledge? FYI, I achieved what I set out to achieve when I wrote this email. I'm moving on to a more complex goal now, but the original question was answered completely, in my opinion. This was the key line: def CACHEOP : I<0x06, RawFrm,
2015 Mar 12
0
[PATCH] pmu/gk20a: PMU boot support.
I guess Alexandre will help you prepare this for upstream inclusion, but just want to make sure that my main point makes it across -- this is a 3K line patch. Please try to split it up into patches that add no more than 300 lines at a time, preferably fewer (but this isn't always possible). Ideally each patch should introduce one conceptual unit. Of course different people might draw the line
2014 Aug 10
1
Error: 'LENGTH' is not a recognized built-in function name
On Mon, Aug 11, 2014 at 3:29 AM, Deepak Rawat <deepaksingh.rawat at gmail.com> wrote: > Hi, > > I modified the query in res/res_config_odbc.c. > Original: "SELECT MAX(LENGTH(var_val)) FROM %s WHERE filename='%s'" > Modified: "SELECT MAX(LEN(var_val)) FROM %s WHERE filename='%s'" > > I rebuilt the code and installed Asterisk again.
2007 Jan 30
5
errors while testing resource controller using rpec
I am testing a resource called venue in this piece of code (generated using script/rspec_resource) ==================== context "Requesting /venues using POST" do controller_name :venues setup do @mock_venue = mock(''Venue'') @mock_venue.stub!(:save).and_return(true) @mock_venue.stub!(:to_param).and_return(1) Venue.stub!(:new).and_return(@mock_venue)
2012 Sep 10
1
[LLVMdev] Profiling - execution count of basic blocks...
Hi gang, time for my weekly confusion... (I'm trying not to bombard the board with questions) The thing that's on my mind at the moment (there's some backend-stuff that I'm just working my way though) is that I'm not getting very far when trying to get LLVM to profile code - I'm looking for nothing more special than list of how many times each basic block has been called