Displaying 20 results from an estimated 100 matches similar to: "Subclassing LLVM Type"
2017 Jun 09
2
Subclassing LLVM Type
This [1] might worth reading, Malhar.
[1] http://llvm.org/docs/HowToSetUpLLVMStyleRTTI.html
2017-06-10 4:12 GMT+08:00 Tim Northover via llvm-dev <
llvm-dev at lists.llvm.org>:
> On 9 June 2017 at 12:03, Jajoo, Malhar via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
> > Is there some way around this ( without suggesting a change to my entire
> AST ) ?
>
> LLVM
2017 Jun 09
2
Subclassing LLVM Type
On 9 June 2017 at 15:29, Jajoo, Malhar via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> Thanks for that , I have read the documentation on this , but I would like to know
> if it would be the right thing to do , ie , changing the enum within llvm::Type
Well, I find the idea of a non-canonical DummyType slightly disturbing
(I don't think it's something we'd ever support
2017 May 25
3
UD and DU chains for LLVM IR before running mem2reg
Hi,
Just had a simple question ,
The use-def and def-use chains provided by llvm::Value class ,
would they work for IR that has not been optimized by the "mem2reg" pass ?
( ie, IR code that contains memory interactions and is not in SSA form yet )
Thanks,
Malhar
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2017 May 26
2
Moving instructions from source Basic Block to dest Basic Block
Hi,
I have been trying to move some instructions between basic blocks ,
After looking at the API , I found llvm::Instruction::clone() but there
is no result value for this.
For example-
source Basic block :
continuation: ; preds = %else, %then
%iftmp = phi i32 [ 5, %then ], [ 9, %else ]
store i32 %iftmp, i32* %datasize
; 3 instructions below
2017 May 26
2
Printing out a 128 bit decimal
Hi,
I was wondering how I can print out the result of some arithmetic on 128 bit integers.
After having a look at the API , it seems it is possible to get the integer value from the
"ConstantInt::getSextValue() " but the return value is only a int64_t.
I wish to print it on the console output and printing as a string or decimal ( using C standard library printf )
My Question :
2017 Jun 16
2
simplify CFG Pass in llvm
I was trying to run the simplify CFG Pass in LLVM , and delete an unreachable basic block ("continuation" below ) after running one of my own IR transforms , but I keep getting the
error -
While deleting: i8* %g
Use still stuck around after Def is destroyed: store i8 0, i8* %g
I am well aware of what that means, but isn't the whole purpose of the "simplifyCFGPass" to
2017 May 23
3
Removing "fno-rtti" flag from llvm-config --cxxflags
Hi everyone,
I just had a question -
I am aware that LLVM supports it's own form of RTTI ( using dyn_cast<>() ,etc) but
I wish to use C++ RTTI currently.
I have tried building with "cmake -G "Unix Makefiles" -LLVM_ENABLE_RTTI=ON"
but that doesnt seem to remove the "fno-rtti" flag from llvm-config
and I still get an error when I try using
2017 May 29
2
Print 128 bit value at runtime using printf
Hi,
I was trying to print out a 128 bit result at runtime using a call to printf in LLVM.
I am able to print 32 uptil 64 bit integers using the format string "%d" in printf .
Please see the code in red below , as I am having a bit difficulty in trying to print the 128 bit value computed at runtime. The code in red is never executed since the value may never be casted to a
2018 Aug 15
2
Queries Regarding Usage of PGOInstrumentation Passes instead of Deprecated ProfileInfo
On Wed, Aug 15, 2018 at 1:28 PM Xinliang David Li <xinliangli at gmail.com>
wrote:
>
>
> On Wed, Aug 15, 2018 at 12:46 PM Malhar Thakkar <cs13b1031 at iith.ac.in>
> wrote:
>
>> Thank you so much for your response.
>>
>> On Wed, Aug 15, 2018 at 3:08 PM, Xinliang David Li <xinliangli at gmail.com>
>> wrote:
>>
>>>
>>>
2017 Jul 03
2
Unable to Receive Emails from Phabricator
Dear all,
I just created this revision <https://reviews.llvm.org/D34937> but I did
not receive any email for it even though it says 'Automatically Subscribed'
on the right.
Also, even my profile shows no trace of the aforementioned revision. It
shows that my last activity was on 24th May.
Additionally, just to verify that I am not receiving any emails from
Phabricator, I logged
2018 Aug 15
3
Queries Regarding Usage of PGOInstrumentation Passes instead of Deprecated ProfileInfo
Thank you so much for your response.
On Wed, Aug 15, 2018 at 3:08 PM, Xinliang David Li <xinliangli at gmail.com>
wrote:
>
>
> On Wed, Aug 15, 2018 at 7:36 AM Malhar Thakkar via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>
>> Hey all,
>>
>> I have a piece of code (written in LLVM 2.8) which uses profiling results
>> produced by ProfileInfo.
2018 Aug 15
2
Queries Regarding Usage of PGOInstrumentation Passes instead of Deprecated ProfileInfo
Hey all,
I have a piece of code (written in LLVM 2.8) which uses profiling results
produced by ProfileInfo. It essentially computes the number of iterations
performed by a loop from the profiling information available. The code
snippet in my pass looks something like this.
BasicBlock *header = loop->getHeader();
ProfileInfo &pi = getAnalysis< ProfileInfo >();
for(pred_iterator
2017 Dec 27
1
Convert MachineInstr to MCInst in AsmPrinter.cpp
Hello everyone,
In the file *lib/CodeGen/AsmPrinter/AsmPrinter.cpp*, I would like to obtain
an MCInst corresponding to its MachineInstr. Can anyone tell me a way to do
that?
If that is not possible, then, I would like to know if a given MachineInstr
is an *lea *instruction and I would like to know if the symbol involved
with this lea instruction is a jump-table.
For instance, given a
2008 Sep 30
1
[LLVMdev] Integer handling
WRT: Message-based concurrence, you might what to check-out the papers here:
http://www.malhar.net/sriram/
2007 May 11
2
Strange problem with asterisk
Situation such. There is an asterisk working as office pbx. 6 fxo - 18
fxs ports. All works perfectly, but some times in a week something
occurs. Could not catch what exactly yet. But symptoms such. The
asterisk infinitely writes the message of a type to broad gullies:
WARNING [20757] chan_zap.c: We're Zap/8-1, not ... <ZOMBIE>. Numbers
of channels can change. Because of that that broad
2008 Sep 30
0
[LLVMdev] Integer handling
On Mon, Sep 29, 2008 at 9:48 PM, Matt Giuca <mattgiuca at gmail.com> wrote:
> It seems like your language is very high level indeed (it almost sounds
> dynamic). If you can pass arbitrary messages without needing to statically
> know the type of anything, and pass data transparently from one machine to
> another.
It is in no way dynamic, everything is compiled down. All Actors
2008 Sep 30
2
[LLVMdev] Integer handling
OvermindDL1 wrote:
>
> It is using the Actor-Oriented model, not Object-Oriented.
> /* snip */
> By keeping the type system based on the actual types it allows
> arbitrary message passing to any other actor without needing to load
> any code relating to the actors, you can just send a structure with
> the appropriate ID and format and it will 'just work' as the
2013 Apr 24
2
How to make a raster image in R from my own data set
Hi R-user,
I was trying to make a raster map with WGS84 projection in R, but I could not make it. I found one data set in Google that data is almost the same format as of mine. I wanted to make a raster map of temperature with 1 degree spatial resolution for the global scale.
I could make it in GIS software but I do have many variables (to be many raster images) and ultimately I am importing them
2004 Dec 09
1
[LLVMdev] Question about insert call func with pionter parameter
Hi,
I got a problem when I am trying to insert a call function with pointer arguments.
The function C proto-type is the following,
void stat_func(char *);
>ConstantArray *Cstr = dyn_cast<ConstantArray>(gI->getInitializer());
......
>Function *exFunc = M->getOrInsertFunction("stat_func", Type::VoidTy, PointerType::get(Type::SByteTy),0);
>std::vector<Value*>
2001 Sep 14
2
[Fwd: Bush's Press Conference: Into the Abyss]
Emperors1000@aol.com wrote:
>
> Dear reader,
> The emperorsclothes list does not seem to be working. Please forgive us if
> you receive this post twice. - Jared Israel, www.tenc.net
> **************************
> URL for this article: http://emperors-clothes.com/articles/rozoff/abyss.htm
>
> To join the Emperor's Clothes email list, go to
>