Home
last modified time | relevance | path

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

/llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/
H A DIRForTarget.cpp1138 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()
1531 constant_expr](llvm::Function *function) -> llvm::Value * { in UnfoldConstant()
1532 auto *gep = cast<llvm::GEPOperator>(constant_expr); in UnfoldConstant()
[all …]
/llvm-project-15.0.7/lldb/source/Expression/
H A DIRInterpreter.cpp260 if (const ConstantExpr *constant_expr = in ResolveConstantValue() local
262 switch (constant_expr->getOpcode()) { in ResolveConstantValue()
268 return ResolveConstantValue(value, constant_expr->getOperand(0)); in ResolveConstantValue()
270 ConstantExpr::const_op_iterator op_cursor = constant_expr->op_begin(); in ResolveConstantValue()
271 ConstantExpr::const_op_iterator op_end = constant_expr->op_end(); in ResolveConstantValue()
288 cast<GEPOperator>(constant_expr)->getSourceElementType(); in ResolveConstantValue()
462 switch (constant_expr->getOpcode()) { in CanResolveConstant()
468 return CanResolveConstant(constant_expr->getOperand(0)); in CanResolveConstant()
471 ConstantExpr::const_op_iterator op_cursor = constant_expr->op_begin(); in CanResolveConstant()
477 for (Value *op : make_range(constant_expr->op_begin() + 1, in CanResolveConstant()
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/InstSimplify/
H A Dfreeze.ll116 define float @constant_expr() {
117 ; CHECK-LABEL: @constant_expr(