Displaying 4 results from an estimated 4 matches for "getoperationnam".
Did you mean:
getoperationname
2012 Sep 03
1
[LLVMdev] Selection DAG output as bare DAG, code review
...vertInt(numberOfBlocks)+".txt";
myfile.open (filename.c_str());
myfile << "{\n";
for (SelectionDAG::allnodes_iterator I =
CurDAG->allnodes_begin(),E = CurDAG->allnodes_end(); I != E; ++I)
{
std::cout<<"-Operation "<<I->getOperationName(CurDAG)<<"has
number "<<I->getNodeId()<<std::endl;
int operands =I->getNumOperands();
std::cout<<"- has "<<operands<<" operands"<<std::endl;
for(int i=0;i<operands;i++)
{
s...
2012 Aug 21
0
[LLVMdev] SelectionDAGISel::CodeGenAndEmitDAG() confusion.
...ring GroupName;
//JOE'S EDITS START
std::cout<<"Hello everybody Joe was here!"<<std::endl;
for (SelectionDAG::allnodes_iterator I =
CurDAG->allnodes_begin(),E = CurDAG->allnodes_end(); I != E; ++I)
{
std::cout<<"start"<<I->getOperationName(CurDAG)<<std::endl;
}
//JOE'S EDITS END
...and, for santity checking purposes, I've added similar code at the end...
// Free the SelectionDAG state, now that we're finished with it.
//JOE'S EDITS START
for (SelectionDAG::allnodes_iterator I =
CurDAG->allnodes_...
2019 Mar 03
2
Unknown Target Node
I'm still relatively new to llvm, good to know these errors are from
CodeGen.
On 03/03/19 10:49 AM, Tim Northover wrote:
> On Sat, 2 Mar 2019 at 21:00, preejackie via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
>> Could you please explain how you are using this? like commands
>>
>> When I run this IR in opt, it doesn't throw any errors.
> The error
2013 Jun 24
1
[LLVMdev] Matching patterns
I'm trying to create a TableGen pattern to match extract_vector_elt.
My pattern looks like this:
(set i32:$dest, (extract_vector_elt v16i32:$src, i32:$index))
However, when I compile, I get an error:
error: Variable not defined: 'extract_vector_elt'
However, if I omit the rule and attempt to compile something that uses
this functionality with clang, I get this error, which