search for: reservedspac

Displaying 8 results from an estimated 8 matches for "reservedspac".

Did you mean: reservedspace
2005 Jul 11
2
[LLVMdev] how to pass message from LLVM IR to bachend code
...to the >> backend instructions? Which programs I should look into? Would someone >> give me some idea? Thank you ! > > The easiest way to do this is to extend the LLVM IR itself. As a simple > example of this, you can take a look at how the PHINode class has an extra > 'reservedspace' member (ignore what it is used for though), or the > load/store instructions track the 'isVolatile' flag. > > -Chris > > -- > http://nondot.org/sabre/ > http://llvm.cs.uiuc.edu/ > > _______________________________________________ > LLVM Developers mailing...
2005 Jul 11
2
[LLVMdev] how to pass message from LLVM IR to bachend code
Hi: I want to pass some message of instructions from LLVM Internal representation to backend code. For example, I make a flag for some certain operands of certain instructions. How can it be passed to the backend instructions? Which programs I should look into? Would someone give me some idea? Thank you ! -- Shuhan
2005 Jul 11
0
[LLVMdev] how to pass message from LLVM IR to bachend code
...s. How can it be passed to the > backend instructions? Which programs I should look into? Would someone > give me some idea? Thank you ! The easiest way to do this is to extend the LLVM IR itself. As a simple example of this, you can take a look at how the PHINode class has an extra 'reservedspace' member (ignore what it is used for though), or the load/store instructions track the 'isVolatile' flag. -Chris -- http://nondot.org/sabre/ http://llvm.cs.uiuc.edu/
2005 Jul 13
2
[LLVMdev] how to pass message from LLVM IR to bachend code
...into? Would someone >>>> give me some idea? Thank you ! >>> >>> The easiest way to do this is to extend the LLVM IR itself. As a >>> simple >>> example of this, you can take a look at how the PHINode class has an >>> extra >>> 'reservedspace' member (ignore what it is used for though), or the >>> load/store instructions track the 'isVolatile' flag. >>> >>> -Chris >>> >>> -- >>> http://nondot.org/sabre/ >>> http://llvm.cs.uiuc.edu/ >>> >>> ____...
2005 Jul 12
0
[LLVMdev] how to pass message from LLVM IR to bachend code
...end instructions? Which programs I should look into? Would someone >>> give me some idea? Thank you ! >> >> The easiest way to do this is to extend the LLVM IR itself. As a simple >> example of this, you can take a look at how the PHINode class has an extra >> 'reservedspace' member (ignore what it is used for though), or the >> load/store instructions track the 'isVolatile' flag. >> >> -Chris >> >> -- >> http://nondot.org/sabre/ >> http://llvm.cs.uiuc.edu/ >> >> ________________________________________...
2013 Nov 09
1
[LLVMdev] Variable-length Phi-node
...assert(V && "PHI node got a null value!"); assert(BB && "PHI node got a null basic block!"); assert(getType() == V->getType() && "All operands to PHI node must be the same type as the PHI node!"); if (NumOperands == ReservedSpace) growOperands(); // Get more space! // Initialize some new operands. ++NumOperands; setIncomingValue(NumOperands - 1, V); setIncomingBlock(NumOperands - 1, BB); } -Filip On Nov 9, 2013, at 9:56 AM, David Chisnall <David.Chisnall at cl.cam.ac.uk> wrote: > On 9...
2013 Nov 09
0
[LLVMdev] Variable-length Phi-node
On 9 Nov 2013, at 16:35, William Moses <moses.williamsteven at gmail.com> wrote: > Is it possible to create something which has the same effect of a variable-length phi node in the C++ api. Specifically, create a phi-node where the number of incoming values is not known at the time of its creation. The PHI node preallocates its storage, so no. > If there is no such way of creating a
2013 Nov 09
2
[LLVMdev] Variable-length Phi-node
All, Is it possible to create something which has the same effect of a variable-length phi node in the C++ api. Specifically, create a phi-node where the number of incoming values is not known at the time of its creation. If there is no such way of creating a phinode like that, would it be possible to create a dummy instruction and perform a replaceAllUsesWith? If so, what should the dummy