operation about confused Load GetElementPtr inst.

Hi, I’am confused by this Load instruction.

%tmp6 = load i32* getelementptr inbounds (%struct.node* @Node, i32 0, i32 0), align 4, !dbg !59

I want to get the string name of Node, but how can I get that.

The loadInst->getOperand(0) return like this: i32* getelementptr inbounds (%struct.node* @Node, i32 0, i32 0),

but I don’t how to cast the returned value to GetElementPtr inst(in the GetElementPtr inst it can be used to get the Node string).

I am confused about it? How I can get what I want? Thank you, I am very appreciate your help.

GetElementPtrInst *GEP = dyn_cast(Ptr);

BR /j