Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
H A DIRForTarget.cpp1138 if (ConstantExpr *constant_expr = dyn_cast<ConstantExpr>(llvm_value_ptr)) { in MaybeHandleVariable() local
1139 switch (constant_expr->getOpcode()) { in MaybeHandleVariable()
1144 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()
1515 value_maker.GetValue(function), constant_expr->getType(), in UnfoldConstant()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Expression/
H A DIRInterpreter.cpp285 if (const ConstantExpr *constant_expr = in ResolveConstantValue() local
287 switch (constant_expr->getOpcode()) { in ResolveConstantValue()
293 return ResolveConstantValue(value, constant_expr->getOperand(0)); in ResolveConstantValue()
295 ConstantExpr::const_op_iterator op_cursor = constant_expr->op_begin(); in ResolveConstantValue()
296 ConstantExpr::const_op_iterator op_end = constant_expr->op_end(); in ResolveConstantValue()
313 cast<GEPOperator>(constant_expr)->getSourceElementType(); in ResolveConstantValue()
486 if (const ConstantExpr *constant_expr = dyn_cast<ConstantExpr>(constant)) { in CanResolveConstant() local
487 switch (constant_expr->getOpcode()) { in CanResolveConstant()
493 return CanResolveConstant(constant_expr->getOperand(0)); in CanResolveConstant()
496 ConstantExpr::const_op_iterator op_cursor = constant_expr->op_begin(); in CanResolveConstant()
[all …]