Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DIRForTarget.cpp981 if (ConstantExpr *constant_expr = dyn_cast<ConstantExpr>(llvm_value_ptr)) { in MaybeHandleVariable() local
982 switch (constant_expr->getOpcode()) { in MaybeHandleVariable()
987 Value *s = constant_expr->getOperand(0); in MaybeHandleVariable()
1328 if (ConstantExpr *constant_expr = dyn_cast<ConstantExpr>(constant)) { in UnfoldConstant() local
1329 switch (constant_expr->getOpcode()) { in UnfoldConstant()
1333 PrintValue(constant_expr).c_str()); in UnfoldConstant()
1338 constant_expr](llvm::Function *function) -> llvm::Value * { in UnfoldConstant()
1342 if (constant_expr->getOperand(0) != old_constant) in UnfoldConstant()
1343 return constant_expr; in UnfoldConstant()
1346 value_maker.GetValue(function), constant_expr->getType(), in UnfoldConstant()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Expression/
H A DIRInterpreter.cpp286 if (const ConstantExpr *constant_expr = in ResolveConstantValue() local
288 switch (constant_expr->getOpcode()) { in ResolveConstantValue()
294 return ResolveConstantValue(value, constant_expr->getOperand(0)); in ResolveConstantValue()
296 ConstantExpr::const_op_iterator op_cursor = constant_expr->op_begin(); in ResolveConstantValue()
297 ConstantExpr::const_op_iterator op_end = constant_expr->op_end(); in ResolveConstantValue()
314 cast<GEPOperator>(constant_expr)->getSourceElementType(); in ResolveConstantValue()
490 if (const ConstantExpr *constant_expr = dyn_cast<ConstantExpr>(constant)) { in CanResolveConstant() local
491 switch (constant_expr->getOpcode()) { in CanResolveConstant()
497 return CanResolveConstant(constant_expr->getOperand(0)); in CanResolveConstant()
500 ConstantExpr::const_op_iterator op_cursor = constant_expr->op_begin(); in CanResolveConstant()
[all …]