Searched refs:constant_expr (Results 1 – 2 of 2) sorted by relevance
1478 if (ConstantExpr *constant_expr = dyn_cast<ConstantExpr>(llvm_value_ptr)) in MaybeHandleVariable() local1480 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() local2206 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()[all …]
234 if (const ConstantExpr *constant_expr = dyn_cast<ConstantExpr>(constant)) in ResolveConstantValue() local236 switch (constant_expr->getOpcode()) in ResolveConstantValue()243 return ResolveConstantValue(value, constant_expr->getOperand(0)); in ResolveConstantValue()246 ConstantExpr::const_op_iterator op_cursor = constant_expr->op_begin(); in ResolveConstantValue()247 ConstantExpr::const_op_iterator op_end = constant_expr->op_end(); in ResolveConstantValue()