Displaying 1 result from an estimated 1 matches for "constantexp".
Did you mean:
constantexpr
2013 Apr 07
1
[LLVMdev] How to get the Instruction where one function use the global variable.
...)
{
llvm::Instruction *instr = llvm::dyn_cast<llvm::Instruction>(*iter);
llvm::errs() << *instr << "\n";
}
else if ( llvm::isa<llvm::ConstantExpr>(user))
{
llvm::ConstantExpr *const_expr = llvm::dyn_cast<llvm::ConstantExpr>(*iter);
llvm::errs() <<*const_expr << "\n";
}
}...