Displaying 20 results from an estimated 800 matches similar to: "[LLVMdev] InstVisitor Example"
2009 Apr 14
3
[LLVMdev] InstVisitor Example
On Apr 14, 2009, at 1:49 PM, Luke Dalessandro wrote:
>
> On Apr 14, 2009, at 12:48 PM, Brice Lin wrote:
>
>> I just read the LLVM Programmer's Manual, which mentions (but
>> specifically does not include any details of) the InstVisitor
>> template. Could someone please provide an example of how to use this
>> template to find (as an example) all CallSites for
2009 Apr 14
0
[LLVMdev] InstVisitor Example
On Apr 14, 2009, at 12:48 PM, Brice Lin wrote:
> I just read the LLVM Programmer's Manual, which mentions (but
> specifically does not include any details of) the InstVisitor
> template. Could someone please provide an example of how to use this
> template to find (as an example) all CallSites for the function
> strcpy?
If this is really what you want to do, then the easiest
2009 Apr 14
0
[LLVMdev] InstVisitor Example
Thanks for providing me with those examples. My rather inefficient
pass, which inherits from ModulePass, currently iterates through the
Module, Functions, and BasicBlocks multiple times (once to find
strcpy, another to find strcat, and so on for various other
functions). If I only care about the direct calls, would I benefit
more from switching to multiple use_iterators or the InstVisitor
2014 Jul 07
4
[LLVMdev] Splitting basic block results in unknown instruction type assertion
Hello,
I would like to see if this issue is a result of a misunderstanding on
my part before I file a bug. I am using LLVM 3.4, built from the
source tarballs. My system's uname is "Darwin tyler-air 12.5.0 Darwin
Kernel Version 12.5.0: Sun Sep 29 13:33:47 PDT 2013;
root:xnu-2050.48.12~1/RELEASE_X86_64 x86_64".
All I'm trying to do is add a runtime check after all call
2014 Jan 09
2
[LLVMdev] InstVisitor usage problem
Hi.All
I had a problem in using llvm::InstVisitor class, my pass is like that:
using namespace llvm;
namespace
{
class InstVisit : public ModulePass,
public InstVisitor<InstVisit>
{
public :
static char ID;
InstVisit():ModulePass(ID){}
virtual bool runOnModule(Module &M)
{
visit(M);
return false;
}
void visitStoreInst(StoreInst &SI)
{
2006 Apr 13
0
[LLVMdev] Re: Creating Release 1.7 Branch at 1:00pm PDT
Branches have been created. You are free to checkin to cvs head again.
I'll send mail once I have the prerelease tar balls up. Please continue to
review and revise the documentation. I can fold this into the release
later.
Thanks,
Tanya
On Thu, 13 Apr 2006, Tanya Lattner wrote:
>
> I will be creating the release branch at 1:00pm PDT. Please refrain from
> checking in from
2006 Apr 13
3
[LLVMdev] Creating Release 1.7 Branch at 1:00pm PDT
I will be creating the release branch at 1:00pm PDT. Please refrain from
checking in from 1:00-1:30pm. I will send email once I am done.
Thanks,
Tanya
2006 Apr 13
0
[LLVMdev] Re: Creating Release 1.7 Branch at 1:00pm PDT
The various intrinsic assert/crashes should all be fixed on mainline CVS
(they are PR733, which I just fixed).
The only ones that I'm wary of are:
XPASS: /proj/llvm/build/../llvm/test/Regression/CFrontend/2004-02-20-
StaticRedeclare.c.tr
FAIL: /proj/llvm/build/../llvm/test/Regression/CFrontend/2005-12-04-
DeclarationLineNumbers.c:
In the former case, I would guess that the test isn't
2006 Apr 13
3
[LLVMdev] Re: Creating Release 1.7 Branch at 1:00pm PDT
Here's what's left on Linux (GCC 4.1.0), after all updates that went
into the branch:
Running /proj/llvm/build/../llvm/test/Regression/CFrontend/dg.exp ...
FAIL: /proj/llvm/build/../llvm/test/Regression/CFrontend/2004-02-12-
LargeAggregateCopy.c.tr:
gccas: /proj/llvm/build/../llvm/lib/VMCore/Function.cpp:266: unsigned
int llvm::Function::getIntrinsicID() const: Assertion `0 &&
2006 Apr 13
2
[LLVMdev] Re: Creating Release 1.7 Branch at 1:00pm PDT
I just updated again (both llvm and llvm-gcc). The only thing that
changed was:
P test/Regression/CFrontend/2005-12-04-DeclarationLineNumbers.c
The regression test below was done *with* your llvm-gcc changes to llvm-
expand.c. I don't know what the failures are all about, but I will try
it again. If its the same, I'll let you know.
Reid.
On Thu, 2006-04-13 at 16:20 -0500, Chris Lattner
2006 May 31
1
[LLVMdev] InstVisitor: RetType
Hi,
the docs for InstVisitor say that if RetType != void, one has to override
visitInstruction. What is the reason for that? It's valid to define
visitInstruction like that:
RetTy visitInstruction(Instruction &I) { return RetTy(); }
so assuming RetTy has a sensible default constructor, user won't need to
override visitInstruction. Note that the above will work when RetTy ==
2017 Apr 14
2
Saving Compile Time in InstCombine
On Fri, Apr 14, 2017 at 2:19 PM, Mikulin, Dmitry
<dmitry.mikulin at sony.com> wrote:
>
>>> Is this a run with debug info? i.e. are you passing -g to the per-TU
>>> pipeline? I'm inclined to think this is mostly an additive effect
>>> adding matchers here and there that don't really hurt small testcases
>>> but we pay the debt over time (in
2008 Jun 02
2
cifs and kerberos
Hi,
when I try to mount a windows share with a valide kerberos ticket :
mount.cifs //auberge.iut.lan/install_autocad /mnt/test/ -o
user='IUT\Administrateur',password=toto,sec=krb5i
I get this error :
Jun 2 12:32:51 brice-deb kernel: fs/cifs/cifs_spnego.c: key
description =
ver=0x1;host=auberge.iut.lan;ip4=10.31.0.12;sec=krb5;uid=0x0
Jun 2 12:32:51 brice-deb cifs.spnego:
2013 Sep 22
1
[LLVMdev] DebugIR pass fails with an assert
Hi List,
My IR compiles fine and runs. I've tried to add DebugIR pass so
as to be able to debug and profile it (since source is an SQL query
all that I can debug and profile is IR itself).
When I tried to add it to pass manager I got the following assert:
Program received signal SIGABRT, Aborted.
0x00007ffff3fe4425 in __GI_raise (sig=<optimized out>) at
2010 Nov 03
4
[LLVMdev] Fw: Forcing the Interpreter segfaults
[I assume you meant to send this to the list as well, not just me.]
Begin forwarded message:
Date: Wed, 3 Nov 2010 14:43:54 +0000
From: Salomon Brys <salomon.brys at gmail.com>
To: Török Edwin <edwintorok at gmail.com>
Subject: Re: [LLVMdev] Forcing the Interpreter segfaults
I have build LLVM in debug mode. Here are the informations of the
segfault : memcpy() at 0x7ffff6f6581e
2018 Jul 15
2
llvm pass is very slow
Hi
I write a LLVM function pass. The pass will loop the basicblock in the
function, check the instruction's type with dyn_cast<switchinst>, print the
instruction and the basicblock's successors. I think it is not very complex.
My bitcode file is about 30M. My CPU is i7-7700(3.6GHz). It has been
running for 60 hours but it is still running. I am not sure whether this is
a normal
2013 Aug 20
2
[LLVMdev] Trying to run qt app compiled to bit code Assertion failed: (Ty->isSized() && "Cannot getTypeInfo() on a type that is unsized!")
Hi,
I am trying to run a simple qt 5 application compiled to bitcode on OS X. I am getting the following error. I have modified lli to load qt libraries. When I use with option mcjit, I get the following error
lli -use-mcjit -debug-ir bitcodetestqtapp
Assertion failed: (Ty->isSized() && "Cannot getTypeInfo() on a type that is unsized!"), function getTypeSizeInBits, file
2009 Feb 21
12
[Bug 1559] New: Autoconf overrides AR environment variable
https://bugzilla.mindrot.org/show_bug.cgi?id=1559
Summary: Autoconf overrides AR environment variable
Product: Portable OpenSSH
Version: 5.1p1
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Build system
AssignedTo: unassigned-bugs at mindrot.org
2014 Jan 09
2
[LLVMdev] reference to non-static member function must be called
I'm using LLVM 3.3 Release. From the Class Reference Page. CallInst has a
member function :
static CallInst * Create (Value *Func, ArrayRef< Value * > Args, const
Twine &NameStr="", Instruction *InsertBefore=0)
This is what I want to use! the default name is "" and I also use that .
Thanks!
-----
Kind Regards!
-JinHuang
--
View this message in context:
2001 Aug 06
3
Need help!!! Newbie to Wine.
I have installed Red hat 7.1 on my Ultra Hinote laptop. I was quite
proud to get my sound working and ethernet/modem card working and X
window. I was surfing on the web and notice a development product called
WINE touting the capability to 16/32 API apps in the wine environment
with it sitting on the Linux kernel. I got the latest rpm from the WINE
website in rpm format and ran the command rpm -i