Displaying 2 results from an estimated 2 matches for "numoperds".
Did you mean:
numoperands
2011 Oct 17
2
[LLVMdev] Variable name from metadata
... for( unsigned i = 0; i != numoperands; ++i)
{
Value *v = CI->getOperand(i);
if( i == 1) //points to metadata for variable name
{
MDNode *mdnode = (MDNode *)CI->getOperand(1);
int numoperds= mdnode->getNumOperands();//4 operands
for( unsigned x = 0; x != numoperds; ++x)
{
Value *v = mdnode->getOperand(x);
if( x == 2)//name of variable
{
MDN...
2011 Oct 17
0
[LLVMdev] Variable name from metadata
... for( unsigned i = 0; i != numoperands; ++i)
{
Value *v = CI->getOperand(i);
if( i == 1) //points to metadata for variable name
{
MDNode *mdnode = (MDNode *)CI->getOperand(1);
int numoperds= mdnode->getNumOperands();//4 operands
for( unsigned x = 0; x != numoperds; ++x)
{
Value *v = mdnode->getOperand(x);
if( x == 2)//name of variable
{
MDN...