Searched refs:constant_expr (Results 1 – 3 of 3) sorted by relevance
1186 if (ConstantExpr *constant_expr = dyn_cast<ConstantExpr>(llvm_value_ptr)) { in MaybeHandleVariable() local1187 switch (constant_expr->getOpcode()) { in MaybeHandleVariable()1192 Value *s = constant_expr->getOperand(0); in MaybeHandleVariable()1550 if (ConstantExpr *constant_expr = dyn_cast<ConstantExpr>(constant)) { in UnfoldConstant() local1551 switch (constant_expr->getOpcode()) { in UnfoldConstant()1555 PrintValue(constant_expr).c_str()); in UnfoldConstant()1560 constant_expr](llvm::Function *function) -> llvm::Value * { in UnfoldConstant()1564 if (constant_expr->getOperand(0) != old_constant) in UnfoldConstant()1565 return constant_expr; in UnfoldConstant()1568 value_maker.GetValue(function), constant_expr->getType(), in UnfoldConstant()[all …]
259 if (const ConstantExpr *constant_expr = in ResolveConstantValue() local261 switch (constant_expr->getOpcode()) { in ResolveConstantValue()267 return ResolveConstantValue(value, constant_expr->getOperand(0)); in ResolveConstantValue()269 ConstantExpr::const_op_iterator op_cursor = constant_expr->op_begin(); in ResolveConstantValue()270 ConstantExpr::const_op_iterator op_end = constant_expr->op_end(); in ResolveConstantValue()288 cast<GEPOperator>(constant_expr)->getSourceElementType(); in ResolveConstantValue()459 if (const ConstantExpr *constant_expr = dyn_cast<ConstantExpr>(constant)) { in CanResolveConstant() local460 switch (constant_expr->getOpcode()) { in CanResolveConstant()466 return CanResolveConstant(constant_expr->getOperand(0)); in CanResolveConstant()468 ConstantExpr::const_op_iterator op_cursor = constant_expr->op_begin(); in CanResolveConstant()
116 define float @constant_expr() {117 ; CHECK-LABEL: @constant_expr(