Displaying 20 results from an estimated 10000 matches similar to: "maximum block-size (-B) parameter"
2011 Apr 06
2
[LLVMdev] Incompatible types at call site
Hi Arushi,
> I got this from C code compiled by llvm-gcc.
>
> There is a consistent prototype for the function
>
> TypHandle Cyclotomic ( hdRes, n, m )
> TypHandle hdRes;
> long n, m;
>
> the call looks as follows,
> hdI = ProdCyc( hdI, Cyclotomic( HdResult, n, 1 ) );
I bet the call occurs before the function is defined.
2011 Dec 29
2
[LLVMdev] DW_AT_location not getting generated for local variables
I figured out my previous problem with DIBuilder. However, now I can't seem
to get the compiler to emit location information for local variables.
Here's how my IR looks:
---
define i32 @"\01_main"() {
init:
%exception1 = alloca i8*
%0 = alloca i32
%"bar:Int32" = alloca i32
%1 = alloca i32
%2 = alloca i32*
br label %code
code:
2012 Jan 02
0
[LLVMdev] DW_AT_location not getting generated for local variables
I found the problem. The llvm.dbg.declare call must have a !dbg tag,
otherwise the location info is not generated. Changing the invocation
in my original example to "call void @llvm.dbg.declare(metadata !{i32*
%"bar:Int32"}, metadata !13), !dbg !16" causes MC to generate the
local location as expected.
-Joe
On Thu, Dec 29, 2011 at 12:41 PM, Joe Groff <arcata at
2006 Oct 09
1
[PATCH] dbus terminate action
I was always annoyed that you couldn't terminate an action with dbus so
I have
written this patch which fixes that. Hopefully this can be included.
I wrote the patch trying to repeat as little code as possible so I just
added a boolean
parameter to the dbusHandleActivateMessage and changed the name to
dbusHandleActivateDeactivateMessage. You could probably change the
deactivate
parameter
2002 Jun 29
0
电脑配件惊爆抢购价 samba
̨ʤÏòÄãÎʺÃ!
ÎÒ¹«Ë¾³¤ÆÚ´Óʹú¼ÊóÒ×,ΪÍÚ¾òÊг¡Ç±Á¦¡¢À©´ó¾Óª¹æÄ£,ÒâÔÚ¹óµØ
Ñ°ÕÒÁôÒ×´°¿Ú,Ìؽ«´Ë¼Ûͬ±í³Ê¹óµ¥Î»²Î¿¼.ÎÒ˾ÌṩһÁ÷Æ·ÖÊ,Ò»Á÷·þÎñ,ËÍ»õÉÏÃÅ,
»õµ½¸¶¿î, ÅúÁí¾ù¿É.»¶Ó¸÷½çÅóÓÑÀ´µç´¹Ñ¯¼°Ö§³Ö.¶àл!!!
̨ʤ¹«Ë¾
ÖйúITóÒײ¿ :ÇØ Áú ͼ
ÇëÎðÖ±½Ó»Ø¸´£¬ÓÐÒâÕßÇëÀ´µç ------0139-59726696
Ò»:±Ê¼Ç±¾µçÄÔ(È«ÇòÁª±£µ¥,ÈýÄê)
±Ê¼Ç±¾µçÄÔÊÖ»úÉÏÍøרÓÃPC¿¨----------1450Ôª
A . Ë÷Äá SONY
SR/27K(4500Ôª)
2002 Jul 23
0
电脑配件惊爆价 samba
̨ÕýÏòÄãÎʺÃ!
ÎÒ¹«Ë¾³¤ÆÚ´Óʹú¼ÊóÒ×,ΪÍÚ¾òÊг¡Ç±Á¦¡¢À©´ó¾Óª¹æÄ£,ÒâÔÚ¹óµØ
Ñ°ÕÒÁôÒ×´°¿Ú,Ìؽ«´Ë¼Ûͬ±í³Ê¹óµ¥Î»²Î¿¼.ÎÒ˾ÌṩһÁ÷Æ·ÖÊ,Ò»Á÷·þÎñ,ËÍ»õÉÏÃÅ,
»õµ½¸¶¿î, ÅúÁí¾ù¿É.»¶Ó¸÷½çÅóÓÑÀ´µç´¹Ñ¯¼°Ö§³Ö.¶àл!!!
̨ÍåÕýÈÙ¹ú¼ÊóÒ×¹«Ë¾
ÖйúITóÒײ¿ :Áø½ðÃú
ÇëÎðÖ±½Ó»Ø¸´£¬ÓÐÒâÕßÇëÀ´µç ------0138-50738839
Ò».µçÄÔÅä¼þ(RMB.Ôª):
A:Ö÷°å:
΢ÐÇ 845Pro2-LE(Socket,i845,SDRAM,AC97Éù¿¨)---530
845Pro
2012 Apr 25
2
[LLVMdev] Crash in JIT
Hello,
[Using LLVM r155315, according to `svn log | head`]
I am experimenting with programatically building and jitting functions in a module, and I seem to be coming across a crash in some generated code. Using the llvm-c interface I build up the module which dumps like this:
; ModuleID = 'MyModule'
target datalayout = "i686-apple-darwin11"
target triple =
2012 Apr 25
0
[LLVMdev] Crash in JIT
Hi David,
I'm not certain, but to me the "LLVMSetTarget(module, "i686-apple-darwin11");" line looks suspicious. I'm not familiar with all the ins and outs of how target triples get handled, but it looks to me like that's requesting 32-bit code.
I think that if you omit that line completely then the target will be inferred from the execution environment. My best
2007 Jan 27
3
keybindings patch, gnome-keybinding-bridge and vignettes plugins
Hi folks,
For ubuntu specs and for a better desktop integration of compiz, I made
some patchs and plugins.
Focus prevention is now in main stream, and really better can i made :)
First the workspace and terminal keybinding patch. Since my last email I
updated the patch.
http://gandalfn.club.fr/ubuntu/compiz-patch/91-workspaces-terminal-keybindings.patch
It adds the support for vertical
2010 Oct 23
2
[LLVMdev] Cast failure in SelectionDAGBuilder
I'm trying to track down the problem with the assertion failure in
SelectionDAGBuilder.cpp. This is the code:
*case* *Intrinsic*::gcroot:
*if* (GFI) {
*const* Value *Alloca = I.getArgOperand(0);
*const* Constant *TypeMap = cast<Constant>(I.getArgOperand(1));
* FrameIndexSDNode *FI =
cast<FrameIndexSDNode>(getValue(Alloca).getNode());*
2016 Mar 28
2
llvm extract struct elements and struct size in C++
LLVM Newbie here. I have the following C++ program
using namespace std;
struct A{
int i;
int j;
};
int main()
{
struct A obj;
obj.i = 10;
obj.j = obj.i;
return 0;
}
Using clang++, I can see that LLVM IR contains struct field as below
%struct.A = type { i32, i32 }
I would like to obtain the structure elements using LLVM Pass. I write
the following program - that iterates
2020 May 19
5
[PATCHv2] SSE2/SSSE3 optimized version of get_checksum1() for x86-64
I've read up some more on the subject, and it seems the proper way to
do this with GCC is g++ and target attributes. I've refactored the
patch that way, and it indeed uses SSSE3 automatically on supporting
CPUs, regardless of the build host, so this should be ideal both for
home builders and distros.
Getting the code to build right in c++ mode (checksum_sse2.cpp only)
was a bit of an
2016 Mar 29
0
llvm extract struct elements and struct size in C++
On 28 March 2016 at 13:34, Shehbaz Jaffer via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> I want to create a database of all structures (global and local)
> defined and being used in my program. Eg. < A , <int32, int32> , B ,
> <int32, bool , char *>>.
I think the closest LLVM has is either
Module::getIdentifiedStructTypes or the class it actually uses:
2011 Apr 06
0
[LLVMdev] Incompatible types at call site
On Wed, Apr 6, 2011 at 8:35 AM, Duncan Sands <baldrick at free.fr> wrote:
> Hi Arushi,
>
>
> I got this from C code compiled by llvm-gcc.
>>
>> There is a consistent prototype for the function
>>
>> TypHandle Cyclotomic ( hdRes, n, m )
>> TypHandle hdRes;
>> long n, m;
>>
>> the call looks
2020 May 18
6
[PATCH] SSE2/SSSE3 optimized version of get_checksum1() for x86-64
This drop-in patch increases the performance of the get_checksum1()
function on x86-64.
On the target slow CPU performance of the function increased by nearly
50% in the x86-64 default SSE2 mode, and by nearly 100% if the
compiler was told to enable SSSE3 support. The increase was over 200%
on the fastest CPU tested in SSSE3 mode.
Transfer time improvement with large files existing on both ends
2011 Apr 06
0
[LLVMdev] Incompatible types at call site
On Wed, Apr 6, 2011 at 1:41 AM, Duncan Sands <baldrick at free.fr> wrote:
> Hi Arushi,
>
>
> When it asks for the castOpcode, it assumes both types are
>> unsigned(indicated by
>> the false arguments).
>>
>> Is it correct to assume this?
>>
>
> yes, because the behaviour of the original code was undefined.
>
> Ciao, Duncan.
>
>
2008 Dec 07
2
Help with Keyword Corral
I've been trying to get Keyword Corral (http://www.johncow.com/brand-new-free-keyword-corral-tool-by-john-cow-dot-com) installed with Wine 1.0.1 on Ubuntu 8.10 and the best I can manage is the program appears to start up and then quits.
Unfortunately, I've only recently moved to Ubuntu and there's a lot I don't have a clue about.
I've tried running it in a Virtualbox VM but
2009 Jul 30
3
user supplied random number generators
?Random.user says (in svn trunk)
Optionally,
functions \code{user_unif_nseed} and \code{user_unif_seedloc} can be
supplied which are called with no arguments and should return pointers
to the number of seeds and to an integer array of seeds. Calls to
\code{GetRNGstate} and \code{PutRNGstate} will then copy this array to
and from \code{.Random.seed}.
And it offers as an example
void
2010 Apr 30
1
[LLVMdev] how to add and call a function with void return value in functionpass.
Hi:
In a function pass, I tried to create a function which takes a int32 and
return void.
When I call this function with CallInst::Create and using opt, it always has
the error report:
opt: Value.cpp:189: void llvm::Value::setName(const llvm::Twine&): Assertion
`getType() != Type::getVoidTy(getContext()) && "Cannot assign a name to void
values!"' failed.
if I change
2010 Sep 01
0
[LLVMdev] equivalent IR, different asm
On Sep 1, 2010, at 6:25 AMPDT, Argyrios Kyrtzidis wrote:
> The attached .ll files seem equivalent, but the resulting asm from
> 'opt-fail.ll' causes a crash to webkit.
> I suspect the usage of registers is wrong, can someone take a look ?
Yes, the code here is wrong:
> movl (%rbx), %ecx
> imull %ecx, %eax
This computes h*((int32)%1) in %eax.
> shrq $32, %rax