Displaying 20 results from an estimated 319 matches for "programmersmanual".
2012 Oct 05
1
[LLVMdev] TableGen: Requesting feedback for "TGContext"
...ong the way, I also wrote up a new doc "How to
>> set up LLVM-style RTTI for your class hierarchy", which covers the
>> previously undocumented (albeit not that complicated) process for
>> hooking into Support/Casting.h.
>
> Cool. Please pull this content into the ProgrammersManual as a new section.
I've added a link to the new page where it used to say "it's out of
the scope of this document [ProgrammersManual.html] to describe how to
do this". Is that close enough? When I get around to Sphinxifying
ProgrammersManual.html, I think the general approach is g...
2012 Oct 05
0
[LLVMdev] TableGen: Requesting feedback for "TGContext"
...e LLVM-style RTTI. Along the way, I also wrote up a new doc "How to
> set up LLVM-style RTTI for your class hierarchy", which covers the
> previously undocumented (albeit not that complicated) process for
> hooking into Support/Casting.h.
Cool. Please pull this content into the ProgrammersManual as a new section.
> Attached are 4 patches. I've also attached a convenient rendered PDF
> of the new documentation (credit to Nick Kledzik for the idea of doing
> this). Generated TableGen files are identical at all steps.
>
> 0001-tblgen-Put-dyn_cast-infrastructure-in-place-f...
2005 Jan 08
2
[LLVMdev] Primer with LLVM
...avoiding basic errors and mistakes. If I reach a
> > good level with LLVM I can make these.
>
> I'm not sure if I understand what you mean. Are you looking for an
> "LLVM programmer's guide"? If so, we have one of those:
>
> http://llvm.cs.uiuc.edu/docs/ProgrammersManual.html
I am a recently LLVM user, and I found that LLVM is hard to use at first
sight. It would be nice if people like me can have documents like "howto"
but code-oriented (versus manual-oriented). Something like code extracts
with common (and basic) problems.
Last URL is a document to ge...
2005 Jan 08
0
[LLVMdev] Primer with LLVM
...s and mistakes. If I reach a
>>> good level with LLVM I can make these.
>>
>> I'm not sure if I understand what you mean. Are you looking for an
>> "LLVM programmer's guide"? If so, we have one of those:
>>
>> http://llvm.cs.uiuc.edu/docs/ProgrammersManual.html
>
> I am a recently LLVM user, and I found that LLVM is hard to use at first
> sight. It would be nice if people like me can have documents like "howto"
> but code-oriented (versus manual-oriented). Something like code extracts
> with common (and basic) problems.
That...
2010 Feb 13
3
[LLVMdev] Small error in documentation?
http://llvm.org/docs/ProgrammersManual.html#BasicBlock
"This class represents a single entry multiple exit section of the
code, commonly known as a basic block by the compiler community."
This should perhaps read 'single entry single exit'?
2006 May 04
1
[LLVMdev] Documentation on LLVM type system
Hi,
Is there any description of the type system of LLVM more detailed than
ProgrammersManual.html ?
I am a newbie to LLVM and I spent quite some time browsering the source code
trying to truly understand the type resolution example in the
ProgrammersManual.html (e.g. Why "NewSTy" is potentially invalidated, how
StrutTy is updated,etc). So I think a documentation on the overall...
2015 Jul 09
4
[LLVMdev] insert nop instruction
Hi.
I need to write a function pass that insert nop instruction in function.
Examples of these instructions are: %nop = add i1 0, 0 or %nop = alloca i1,
i1 0. This link couldn't help me:
http://llvm.org/docs/ProgrammersManual.html#creating-and-inserting-new-instructions
I need a clear example about inserting new instruction. Anyone can help me?
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150709/5d246596/attachment.html...
2007 Jul 02
0
[LLVMdev] Getting the target information of a branch instruction
...ependent target code.
Is this in the code generator, or in the LLVM IR? I assume that you mean
the LLVM IR. Given an unconditional branch, you can use I->getOperand(0)
to get the destination. You should check out this document, it describes
lots of interesting stuff:
http://llvm.org/docs/ProgrammersManual.html
in particular:
http://llvm.org/docs/ProgrammersManual.html#common
-Chris
--
http://nondot.org/sabre/
http://llvm.org/
2007 Jul 02
2
[LLVMdev] Getting the target information of a branch instruction
Hello all,
I am new to the llvm infrastructure so if this question is already
resolved please redirect me to that link.
I am writing a pass for flow sensitive and context sensitive alias
analysis.for that i require the previous and next instruction of all the
instructions.Is there an intrinsic that can help me getting the
instruction numbers directly because i read at the llvm.org website making
2020 Nov 13
6
RFC: [SmallVector] Adding SVec<T> and Vec<T> convenience wrappers.
...n the patch is to use this "on the
stack, where a "small" number of elements are expected".
Vec<T> is a convenience alias for SmallVector<T, 0>. It lets us get the
(little-known?) benefits of SmallVector even when it has no inline elements
(see https://llvm.org/docs/ProgrammersManual.html#llvm-adt-smallvector-h).
The recommendation in the patch is to use this when the SmallVector is on
the heap.
A lot of this is boiled out from the discussion in
https://groups.google.com/g/llvm-dev/c/q1OyHZy8KVc/m/1l_AasOLBAAJ?pli=1
The goals here are twofold:
1. convenience: not having to r...
2016 Dec 20
4
thread safety ExecutionEngine::getFunctionAddress
Hi,
I'm trying to speed up the JIT time with llvm (3.9.1).
So far i've implemented the object cache, used FastISel and disabled
optimizations.
Jit time is still too slow for my purpose (I do have a lot of code to Jit).
http://llvm.org/docs/ProgrammersManual.html#threads-and-the-jit states that
we can invoke ExecutionEngine::getPointerToFunction() concurrently. This
function was replaced by ExecutionEngine::getFunctionAddress(). Is this
function also thread safe?
I want to speed up codegen by invoking parallel calls to
getfunctionaddress(). Currently...
2007 Jul 02
2
[LLVMdev] Getting the target information of a branch instruction
...the code generator, or in the LLVM IR? I assume that you mean
>> the LLVM IR. Given an unconditional branch, you can use I->getOperand(0)
>> to get the destination. You should check out this document, it describes
>> lots of interesting stuff:
>> http://llvm.org/docs/ProgrammersManual.html
>>
>> in particular:
>> http://llvm.org/docs/ProgrammersManual.html#common
>>
>> -Chris
>>
>> --
>> http://nondot.org/sabre/
>> http://llvm.org/
>> _______________________________________________
>> LLVM Developers mailing list...
2012 Apr 19
3
[LLVMdev] def-use chains and use-def chains
Hi,
I need to find out all the places where the value of a variable is being
used. For this I have to implement reaching definitions(def-use chains).
When I searched for its implementation I found Iterating over def-use &
use-def chains <http://llvm.org/docs/ProgrammersManual.html#iterate_chains>.
will this work for finding the places where a variable is reaching?
I tried to use "use_iterator", but couldn't make it out. Is it a must to
write LLVM Pass to use op_iterator and use_iterator?
please give me any references or examples to understand more abou...
2013 Jan 20
4
[LLVMdev] std::string
...fectively a very memory efficient SmallString with storage of
>> roughly 3 pointers' worth of chars.
>
> Why do we actually have all the local versions of containers that already exist as a part of the C++ standard (such as SmallVector, DenseMap, et al.)?
See:
http://llvm.org/docs/ProgrammersManual.html#picking-the-right-data-structure-for-a-task
-Chris
2010 Feb 13
0
[LLVMdev] Small error in documentation?
On Feb 12, 2010, at 7:09 PM, Russell Wallace wrote:
> http://llvm.org/docs/ProgrammersManual.html#BasicBlock
>
> "This class represents a single entry multiple exit section of the
> code, commonly known as a basic block by the compiler community."
>
> This should perhaps read 'single entry single exit'?
basic blocks can end with conditional branches etc,...
[LLVMdev] how to check whether from basicblock A we can go to basicblock B within the same function?
2010 Aug 27
2
[LLVMdev] how to check whether from basicblock A we can go to basicblock B within the same function?
...erminator instruction that indicates
> which basic block or basic blocks it should branch to next. Switch,
> invoke, and branch are all terminator instructions. There may be more
> that I don't remember.
>
Why not just use the predecessor and successor iterator?
http://llvm.org/docs/ProgrammersManual.html#iterate_preds
2015 Jun 15
2
[LLVMdev] Program order in inst_iterator?
Does inst_iterator
(http://llvm.org/docs/ProgrammersManual.html#iterating-over-the-instruction-in-a-function)
guarantee that the iterated instructions are in program order: the
order of instructions printed by llvm-dis?
Thanks in advance,
Anirudh
2007 Sep 06
2
[LLVMdev] [PATCH]: Add SparseBitmap implementation
On 9/4/07, Devang Patel <dpatel at apple.com> wrote:
>
> On Sep 4, 2007, at 4:36 PM, Daniel Berlin wrote:
>
> [snip]
>
> Don't forget to update ProgrammersManual.html "Picking the Right
> Data Structure for a Task" section. :)
It doesn't talk about bitvector at all. I'm not sure whether i should
add it to set like containers, or add a section about bitsets that
talks about bitvector and sparsebitvector.
In either case, I think this...
2017 Jul 20
3
Value
...you mean 'identifiable'? You have Module, Function, BasicBlock
> etc. You can access Values and Users. They form a data-flow graph. You can
> store pointers to Values and Users if you wish. If you want a name for any
> Value there is ValueSymbolTable (http://www.llvm.org/docs/
> ProgrammersManual.html#advanced-topics) which provides a symbol table
> that the Function and Module classes use for naming value definitions. You
> should take into account that some Values might not have names and passes
> can change names of Values.
>
>
> Thanks,
>
> Evgeny Astigevich
>...
2010 Jun 15
2
[LLVMdev] Adding fields in a already built type? (2)
> Nope, types are immutable once created. The only thing you can do is "refine" opaque types to other types. There is a section in the programmer's manual on this:
> http://llvm.org/docs/ProgrammersManual.html#TypeResolve
>
> -Chris
So I succeeded in using a "PATypeHolder" for the "opaque" type, define a Type* with PointerType::getUnqual, prepare a field, then use " refineAbstractTypeTo " to built the real type with this added field.
The thing is that I woul...