[llvm-dev] Read Operand Inside Values

Krzysztof Parzyszek via llvm-dev llvm-dev at lists.llvm.org
Wed Feb 27 04:47:27 PST 2019


On 2/27/2019 1:10 AM, Ramakota Reddy via llvm-dev wrote:
> 
> Could anyone please give your suggestions to get operand inside values.

You can cast it to User (or ConstantExpr in this case) and use the 
getOperand member function.

-Krzysztof


More information about the llvm-dev mailing list