Lines Matching refs:constant_expr
1478 if (ConstantExpr *constant_expr = dyn_cast<ConstantExpr>(llvm_value_ptr)) in MaybeHandleVariable() local
1480 switch (constant_expr->getOpcode()) in MaybeHandleVariable()
1486 Value *s = constant_expr->getOperand(0); in MaybeHandleVariable()
2204 if (ConstantExpr *constant_expr = dyn_cast<ConstantExpr>(constant)) in UnfoldConstant() local
2206 switch (constant_expr->getOpcode()) in UnfoldConstant()
2210 … log->Printf("Unhandled constant expression type: \"%s\"", PrintValue(constant_expr).c_str()); in UnfoldConstant()
2214 …t_cast_maker ([&value_maker, &entry_instruction_finder, old_constant, constant_expr] (llvm::Functi… in UnfoldConstant()
2218 if (constant_expr->getOperand(0) != old_constant) in UnfoldConstant()
2219 return constant_expr; in UnfoldConstant()
2222 constant_expr->getType(), in UnfoldConstant()
2227 … if (!UnfoldConstant(constant_expr, bit_cast_maker, entry_instruction_finder)) in UnfoldConstant()
2237 …ointer_maker ([&value_maker, &entry_instruction_finder, old_constant, constant_expr] (llvm::Functi… in UnfoldConstant()
2238 Value *ptr = constant_expr->getOperand(0); in UnfoldConstant()
2246 unsigned num_operands = constant_expr->getNumOperands(); in UnfoldConstant()
2252 Value *operand = constant_expr->getOperand(operand_index); in UnfoldConstant()
2265 … if (!UnfoldConstant(constant_expr, get_element_pointer_maker, entry_instruction_finder)) in UnfoldConstant()