Home
last modified time | relevance | path

Searched refs:constant_expr (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DIRForTarget.cpp1186 if (ConstantExpr *constant_expr = dyn_cast<ConstantExpr>(llvm_value_ptr)) { in MaybeHandleVariable() local
1187 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() local
1551 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 …]
/external/llvm-project/lldb/source/Expression/
DIRInterpreter.cpp259 if (const ConstantExpr *constant_expr = in ResolveConstantValue() local
261 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() local
460 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()
/external/llvm-project/llvm/test/Transforms/InstSimplify/
Dfreeze.ll116 define float @constant_expr() {
117 ; CHECK-LABEL: @constant_expr(