Lines Matching refs:constant_expr
1137 if (ConstantExpr *constant_expr = dyn_cast<ConstantExpr>(llvm_value_ptr)) { in MaybeHandleVariable() local
1138 switch (constant_expr->getOpcode()) { in MaybeHandleVariable()
1143 Value *s = constant_expr->getOperand(0); in MaybeHandleVariable()
1497 if (ConstantExpr *constant_expr = dyn_cast<ConstantExpr>(constant)) { in UnfoldConstant() local
1498 switch (constant_expr->getOpcode()) { in UnfoldConstant()
1502 PrintValue(constant_expr).c_str()); in UnfoldConstant()
1507 constant_expr](llvm::Function *function) -> llvm::Value * { in UnfoldConstant()
1511 if (constant_expr->getOperand(0) != old_constant) in UnfoldConstant()
1512 return constant_expr; in UnfoldConstant()
1515 value_maker.GetValue(function), constant_expr->getType(), in UnfoldConstant()
1520 if (!UnfoldConstant(constant_expr, llvm_function, bit_cast_maker, in UnfoldConstant()
1531 constant_expr](llvm::Function *function) -> llvm::Value * { in UnfoldConstant()
1532 auto *gep = cast<llvm::GEPOperator>(constant_expr); in UnfoldConstant()
1554 if (!UnfoldConstant(constant_expr, llvm_function, in UnfoldConstant()