Searched refs:old_constant (Results 1 – 2 of 2) sorted by relevance
1532 bool IRForTarget::UnfoldConstant(Constant *old_constant, in UnfoldConstant() argument1541 for (llvm::User *u : old_constant->users()) in UnfoldConstant()1559 [&value_maker, &entry_instruction_finder, old_constant, in UnfoldConstant()1564 if (constant_expr->getOperand(0) != old_constant) in UnfoldConstant()1583 [&value_maker, &entry_instruction_finder, old_constant, in UnfoldConstant()1587 if (ptr == old_constant) in UnfoldConstant()1599 if (operand == old_constant) in UnfoldConstant()1633 old_constant, value_maker.GetValue(inst->getParent()->getParent())); in UnfoldConstant()1643 if (!isa<GlobalValue>(old_constant)) { in UnfoldConstant()1644 old_constant->destroyConstant(); in UnfoldConstant()
498 static bool UnfoldConstant(llvm::Constant *old_constant,