Displaying 20 results from an estimated 3000 matches similar to: "[LLVMdev] How to get a pointer to a constant struct?"
2012 Oct 20
1
[LLVMdev] VMKit: Problem compiling vmkit
Hi,
I'm trying to compile vmkit but am running into some problems. I
followed the instructions at http://vmkit.llvm.org/get_started.html and
checked out llvm and clang from svn, compiled them no problem and the
same with classpath 0.97.2. I then checked out vmkit from svn and tried
to build it. All these are located at
/home/callum/vmkit/{llvm,classpath-0.97.2,vmkit}.
I used this to
2005 May 11
3
Astlinux & AMP
Hi all,
Has anyone had experience with installing AMP on a soekris box running
Astlinux?
Is it possible ?
Cheers,
Callum
2016 Feb 29
0
[cfe-dev] RFC: A new ABI for virtual calls, and a change to the virtual call representation in the IR
Using relative offsets applies to more than just vtables. It would do
wonders for constant strings too.
-- Sean Silva
On Mon, Feb 29, 2016 at 1:53 PM, Peter Collingbourne via cfe-dev <
cfe-dev at lists.llvm.org> wrote:
> Hi all,
>
> I'd like to make a proposal to implement the new vtable ABI described in
> PR26723, which I'll call the relative ABI. That bug gives more
2020 Jun 09
2
Implementing a VTable in LLVM
Hi all,
I’ve been working on a Java-esque object-oriented language Bolt that targets LLVM IR. I’m agonisingly close to getting a virtual table working, and was hoping one of you could point out the gap in my understanding. I’ve linked the C++ code snippets relevant to the vtable below.
Example IR generated (partially displayed below):
2016 Jan 28
2
Proposal: virtual constant propagation
Hi Peter,
Thanks for your answer!
> On Jan 28, 2016, at 10:17 AM, Peter Collingbourne <peter at pcc.me.uk> wrote:
>
> Hans wrote:
>> (and start-up time if we can drop the vtables and
>> void the dynamic relocations).
>
> On Thu, Jan 28, 2016 at 09:15:05AM -0800, Mehdi Amini wrote:
>> Hi,
>>
>> I just thought about another use case: VTable
2016 Jan 28
2
Proposal: virtual constant propagation
Hi,
I just thought about another use case: VTable compression.
If you know that an entry in the Vtable is never used, just remove it!
I’d hope we could even eliminate some unused virtual functions from the final binary.
—
Mehdi
> On Jan 27, 2016, at 10:29 PM, Mehdi Amini via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Hi Peter,
>
> Pete (Cooper, CC'ed) had a
2008 Mar 02
2
[LLVMdev] Struct layout assumptions
A question about the layout of structs: I decided to make my vtables out
of structs rather than arrays. In other words, instead of being a table
of opaque pointers, I decided to individually declare each entry with
the correct type for that method. I figure that the various optimizers
could do a better job if I preserve the type info.
OK, so we come to the issue of inheritance: Suppose I have
2013 Jun 12
0
[LLVMdev] "anchor" method policy, request for clarification
(+Chris, since I assume he wrote this policy - and, as I said in my
previous email, I wouldn't mind seeing some justification or just
seeing the rule go away & drop the anchors I added previously (or, if
we're going to keep it, we could add more anchors & actually get to
the point where we're -Wweak-vtable clean & enable that warning))
On Wed, Jun 12, 2013 at 1:44 PM,
2005 Mar 09
2
Server specifications
Hi all,
Can someone point me to some information on the type of hardware that might
/ should be used for a high load on an asterisk machine ?
I know that this is dependant on what services you plan to have running, and
it's relevant to what you plan to do.
We are likely to be running 4 E1's, Voicemail, IVR menus, Music on Hold,
Pay-Over-The-Phone, lots of interdepartmental
2016 Feb 29
10
RFC: A new ABI for virtual calls, and a change to the virtual call representation in the IR
Hi all,
I'd like to make a proposal to implement the new vtable ABI described in
PR26723, which I'll call the relative ABI. That bug gives more details and
justification for that ABI.
The user interface for the new ABI would be that -fwhole-program-vtables
would take an optional value indicating which aspects of the program have
whole-program scope. For example, the existing
2007 Apr 22
3
Asterisk & M$ SQL Server
Hi all,
Has anyone successfully set up asterisk to query a M$ SQL Server?
I'd like to be able to query one in the dial plan and use the results to
tamper with call priorities / CLID etc.
If someone could point me to a howto / guide or relate their experiences
with this, that would be great !
Thanking you all in advance.
Callum
P.S. Before anyone asks; it's a legacy database that
2016 Jan 28
8
Proposal: virtual constant propagation
Hi all,
I'd like to make the following proposal to implement an optimization called
virtual constant propagation.
==Introduction==
After enabling control flow integrity protection in Chromium, we have
observed an unacceptable performance regression in certain critical layout
microbenchmarks. Profiling [0] revealed that the cause of the regression was
a large number of virtual calls, each
2019 Apr 19
2
Question: How to access c++ vtable pointer to use as Value* in LLVM pass
Dear Mailing List,
This might sound unconventional, but I am trying to access a C++
objects vtable to pass as an argument to a function call for a library
function I created. Creating & inserting a function call at the
correct location in LLVM is done.
I have learned that C++ objects are represented as struct types. But
I'm just not quite sure how to get at the vtable pointer within,
2013 Jun 12
2
[LLVMdev] "anchor" method policy, request for clarification
I tried to build LLVM with 'gcc-4.8.1 -flto', and when linking unittest programs, I got the following error:
/tmp/cc8pMk84.ltrans30.ltrans.o:(.data.rel.ro._ZTIN4llvm2cl15OptionValueCopyISsEE[_ZTIN4llvm2cl15OptionValueCopyISsEE]+0x10): undefined reference to `typeinfo for llvm::cl::GenericOptionValue'
2015 Jan 28
3
[LLVMdev] IR extension proposal: bitset constants
I would start from using module-level metadata.
An IR extension might be a good idea once we show that
- the proposed indirect call protection mechanism is efficient and
useful, and
- there are other use cases for the IR extension.
--kcc
On Wed, Jan 28, 2015 at 2:57 AM, Sean Silva <chisophugis at gmail.com> wrote:
> Is there any way to accomplish this that doesn't require
2018 May 04
0
RFC: virtual-like methods via LLVM-style RTTI
On 3 May 2018, at 22:09, David Zarzycki via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Hello,
>
> In an effort to help LLVM-style projects save memory, I’ve been toying with some macros that provide an alternative to C++ vtables that use LLVM-style RTTI design patterns instead. Is this something that LLVM or sub-projects think is worth pursuing? Or are the macros below
2018 May 03
3
RFC: virtual-like methods via LLVM-style RTTI
Hello,
In an effort to help LLVM-style projects save memory, I’ve been toying with some macros that provide an alternative to C++ vtables that use LLVM-style RTTI design patterns instead. Is this something that LLVM or sub-projects think is worth pursuing? Or are the macros below too ugly/problematic? Feedback would be appreciated.
Thanks,
Dave
//===- llvm/Support/VTable.h - LLVM-style
2015 Jan 27
7
[LLVMdev] IR extension proposal: bitset constants
Hi all,
I would like to propose a mechanism that allows IR modules to co-operatively
build a pointer set corresponding to addresses within a given set of
globals. The specific use case I have in mind is to provide a mechanism
for a C++ program to efficiently verify (at each call site) that a vtable
pointer is in the set of valid vtable pointers for the class or its derived
classes. One way of
2015 Jan 29
3
[LLVMdev] IR extension proposal: bitset constants
So, bitset would be a property that means : globals with the same name will
append on a string of bits in the order in which they appear, and it's the
job of the front end to make sure the correct order is followed in every
unit, so that linking does the right job in every corner case?
Could that be used for efficient global boolean flags, like LLVM's options?
Even if you don't need
2006 Jun 08
4
PRI & Fax Passthrough
Hi all,
Just a quick query about something that my manager has asked about.
While I have talked with Asterisk people about this before, I forget the
actual answer.
We currently have an ISDN 30 installed on a Dell 2850, using a single
port Digium ISDN card. We would like to add an analogue card, plug our
fax machine in and have Asterisk simply detect the fax and pass it
through to the fax