Displaying 20 results from an estimated 25 matches for "mcgruer".
Did you mean:
mcgrew
2012 Dec 20
2
[LLVMdev] LLVM segmentation fault / need use Instruction instead of Instruction*
...::Instruction]’ is protected
error: ‘llvm::ilist_half_node<llvm::Instruction>’ is not an accessible base
of ‘llvm::Instruction’
Do you know any other method to access the previous instruction of a
terminator instruction? PS: back() is not an option.
On Thu, Dec 20, 2012 at 12:06 PM, Stephen McGruer <stephen.mcgruer at gmail.com
> wrote:
> current->getPrev()
--
Best regards,
Alexandru Ionut Diaconescu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121220/c610d364/attachment.html>
2012 Oct 12
1
[LLVMdev] Target backend not converting char* to struct properly.
...ttribute__ or similar).
Adding a __attribute__((aligned(...))) to my example did help, so thank you
for that! Now to determine what to do about EEMBC...
Thanks,
Stephen
On 12 October 2012 21:01, Eli Friedman <eli.friedman at gmail.com> wrote:
> On Fri, Oct 12, 2012 at 10:43 AM, Stephen McGruer
> <stephen.mcgruer at gmail.com> wrote:
> > I'm having trouble getting my backend to properly treat the situation
> where
> > a char* is converted into a struct, i.e. something like:
> >
> > char* pointer_representation = ...;
> > MyStruct* my_struct =...
2012 Dec 20
0
[LLVMdev] LLVM segmentation fault / need use Instruction instead of Instruction*
...error: ‘llvm::ilist_half_node<llvm::Instruction>’ is not an accessible
> base of ‘llvm::Instruction’
>
> Do you know any other method to access the previous instruction of a
> terminator instruction? PS: back() is not an option.
>
> On Thu, Dec 20, 2012 at 12:06 PM, Stephen McGruer <
> stephen.mcgruer at gmail.com> wrote:
>
>> current->getPrev()
>
>
>
>
> --
> Best regards,
> Alexandru Ionut Diaconescu
>
--
Best regards,
Alexandru Ionut Diaconescu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: &...
2012 Oct 12
0
[LLVMdev] Target backend not converting char* to struct properly.
On Fri, Oct 12, 2012 at 10:43 AM, Stephen McGruer
<stephen.mcgruer at gmail.com> wrote:
> I'm having trouble getting my backend to properly treat the situation where
> a char* is converted into a struct, i.e. something like:
>
> char* pointer_representation = ...;
> MyStruct* my_struct = (MyStruct*) pointer_representation;...
2012 Dec 20
1
[LLVMdev] LLVM segmentation fault / need use Instruction instead of Instruction*
...f_node<llvm::Instruction>’ is not an accessible
>> base of ‘llvm::Instruction’
>>
>> Do you know any other method to access the previous instruction of a
>> terminator instruction? PS: back() is not an option.
>>
>> On Thu, Dec 20, 2012 at 12:06 PM, Stephen McGruer <
>> stephen.mcgruer at gmail.com> wrote:
>>
>>> current->getPrev()
>>
>>
>>
>>
>> --
>> Best regards,
>> Alexandru Ionut Diaconescu
>>
>
>
>
> --
> Best regards,
> Alexandru Ionut Diaconescu
>
--...
2012 Oct 23
2
[LLVMdev] Debugging/Fixing 'Interval not live at use' errors
I have a target backend which is currently causing live interval analysis
to throw 'Interval not live at use' errors for many of my benchmarks. I
imagine that this is caused by missing information for my target (probably
in the instructioninfo tablegen?), but I am having difficulties in both
debugging and fixing this problem, and would appreciate any advice or help
anyone can give.
2012 Oct 12
2
[LLVMdev] Target backend not converting char* to struct properly.
I'm having trouble getting my backend to properly treat the situation where
a char* is converted into a struct, i.e. something like:
char* pointer_representation = ...;
MyStruct* my_struct = (MyStruct*) pointer_representation;
my_struct->an_int_field = 5;
When this occurs, LLVM seems to fold the struct and char* into one assembly
'object', which is perfectly fine. However, it also
2011 Nov 20
0
[LLVMdev] How can I output assembly comments from emitPrologue()?
...will create an empty instruction (I
think). That could probably be cleaned up before MC emission, but I would
really just remove the comments anyway. Any suggestions on a better way to
do this (or a pointer to some obvious existing solution!) welcome :).
Stephen
On 20 November 2011 12:47, Stephen McGruer <stephen.mcgruer at gmail.com>wrote:
> Dear all,
>
> I am looking to output assembly comments in my emitPrologue() function,
> just for my own readability. Searching for a way to do this found me this
> thread -
> http://lists.cs.uiuc.edu/pipermail/llvmdev/2011-October/0437...
2011 Nov 20
2
[LLVMdev] How can I output assembly comments from emitPrologue()?
Dear all,
I am looking to output assembly comments in my emitPrologue() function,
just for my own readability. Searching for a way to do this found me this
thread - http://lists.cs.uiuc.edu/pipermail/llvmdev/2011-October/043722.html,
which says that the best way to output comments from somewhere like
emitPrologue() is to:
1. Create an MDString for the comment.
2. Attach it to an LLVM
2012 Oct 23
0
[LLVMdev] Debugging/Fixing 'Interval not live at use' errors
...t tell
LLVM what it uses nor what it kills? Is there a way I can do this?
Alternatively, if the reason is something else, I'd be happy to know that
too ;).
Stephen
On 23 October 2012 16:50, Jakob Stoklund Olesen <stoklund at 2pi.dk> wrote:
>
> On Oct 23, 2012, at 2:10 AM, Stephen McGruer <stephen.mcgruer at gmail.com>
> wrote:
>
> I have a target backend which is currently causing live interval analysis
> to throw 'Interval not live at use' errors for many of my benchmarks. I
> imagine that this is caused by missing information for my target (probably
&...
2012 Dec 20
0
[LLVMdev] LLVM segmentation fault / need use Instruction instead of Instruction*
I may be mistaken as I just took a quick look, but in ilist_node the
function "getPrevNode()" actually calls a method on the previous node:
NodeTy *getPrevNode() {
NodeTy *Prev = this->getPrev();
// Check for sentinel.
if (!Prev->getNext())
return 0;
return Prev;
}
http://llvm.org/docs/doxygen/html/ilist__node_8h_source.html#l00058
Try checking if
2013 Jan 12
0
[LLVMdev] Error for 'make'
CC: llvm-dev
(Whoops.)
On 12 January 2013 17:55, Stephen McGruer <stephen.mcgruer at gmail.com> wrote:
> Off the top of my head it looks like you're trying to build the plugin 'in
> tree'? (That is, within the source tree rather than in a build directory.)
> You should build LLVM and Clang to, say, ~/llvm-build, and then go to
> ~...
2012 Oct 23
2
[LLVMdev] Debugging/Fixing 'Interval not live at use' errors
On Oct 23, 2012, at 2:10 AM, Stephen McGruer <stephen.mcgruer at gmail.com> wrote:
> I have a target backend which is currently causing live interval analysis to throw 'Interval not live at use' errors for many of my benchmarks. I imagine that this is caused by missing information for my target (probably in the instructionin...
2012 Dec 20
3
[LLVMdev] LLVM segmentation fault / need use Instruction instead of Instruction*
Hello John,
I was following your procedures and I isolated the problem. The problem are
represented by the basic blocks with only one element.
for (Function::iterator II = F.begin(), EE = F.end(); II != EE; ++II, ++ii)
{
BasicBlock* BB=II;
if (BB->getTerminator())
{
Instruction* current = BB->getTerminator();
Instruction* previous;
2011 Nov 21
0
[LLVMdev] How to get ELF section virtual starting address from MCSymbolRefExpr?
...Insert a function call in the code (=?GB2312?B?1dTPxA==?=)
13. call different function while running (=?GB2312?B?1dTPxA==?=)
14. Re: How to make Polly ignore some non-affine memory accesses
(Tobias Grosser)
15. How can I output assembly comments from emitPrologue()?
(Stephen McGruer)
16. (no subject) (Sandra Johnson)
17. Re: How can I output assembly comments from emitPrologue()?
(Stephen McGruer)
18. Re: call different function while running (Duncan Sands)
----------------------------------------------------------------------
Message: 1
Date: Sat, 19 Nov...
2012 Dec 16
0
[LLVMdev] LoopPass doFinalization() called multiple times per program?
Hi Stephen,
On 13/12/12 18:58, Stephen McGruer wrote:
> I'm wondering if the documentation for LoopPass
> (http://llvm.org/docs/WritingAnLLVMPass.html#LoopPass) is misleading or
> incorrect (or if I'm just missing something.) The documentation states:
>
> "The doFinalization method ... is called when the pass framewo...
2012 Dec 17
3
[LLVMdev] LoopPass doFinalization() called multiple times per program?
On Sun, Dec 16, 2012 at 7:23 AM, Duncan Sands <baldrick at free.fr> wrote:
> Hi Stephen,
>
>
> On 13/12/12 18:58, Stephen McGruer wrote:
>
>> I'm wondering if the documentation for LoopPass
>> (http://llvm.org/docs/**WritingAnLLVMPass.html#**LoopPass<http://llvm.org/docs/WritingAnLLVMPass.html#LoopPass>)
>> is misleading or
>> incorrect (or if I'm just missing something.) The documenta...
2012 Dec 13
2
[LLVMdev] LoopPass doFinalization() called multiple times per program?
I'm wondering if the documentation for LoopPass (
http://llvm.org/docs/WritingAnLLVMPass.html#LoopPass) is misleading or
incorrect (or if I'm just missing something.) The documentation states:
"The doFinalization method ... is called when the pass framework has
finished calling
runOnLoop<http://llvm.org/docs/WritingAnLLVMPass.html#runOnLoop> for
every loop in the program being
2012 Dec 17
0
[LLVMdev] LoopPass doFinalization() called multiple times per program?
Hi Chandler,
On 17/12/12 13:47, Chandler Carruth wrote:
> On Sun, Dec 16, 2012 at 7:23 AM, Duncan Sands <baldrick at free.fr
> <mailto:baldrick at free.fr>> wrote:
>
> Hi Stephen,
>
>
> On 13/12/12 18:58, Stephen McGruer wrote:
>
> I'm wondering if the documentation for LoopPass
> (http://llvm.org/docs/__WritingAnLLVMPass.html#__LoopPass
> <http://llvm.org/docs/WritingAnLLVMPass.html#LoopPass>) is misleading or
> incorrect (or if I'm just missing somethin...
2012 Oct 26
1
[LLVMdev] Properly handling mem-loc arguments when prologue adjusts FP.
For my target, I handle incoming memory arguments by creating a store to
memory (in LowerCall, [1]), then creating a fixed object on the stack and
loading from it (in LowerFormalArguments[2]). This approach was based on
MSP430.
I now have the problem that the resulting loads in my output assembly are
done assuming that the call stack looks something like:
------
MemArg
------
MemArg
------