Searched refs:old_constant (Results 1 – 2 of 2) sorted by relevance
1311 bool IRForTarget::UnfoldConstant(Constant *old_constant, in UnfoldConstant() argument1320 for (llvm::User *u : old_constant->users()) in UnfoldConstant()1338 [&value_maker, &entry_instruction_finder, old_constant, in UnfoldConstant()1343 if (constant_expr->getOperand(0) != old_constant) in UnfoldConstant()1364 [&value_maker, &entry_instruction_finder, old_constant, in UnfoldConstant()1369 if (ptr == old_constant) in UnfoldConstant()1374 if (operand == old_constant) in UnfoldConstant()1409 old_constant, value_maker.GetValue(inst->getParent()->getParent())); in UnfoldConstant()1419 if (!isa<GlobalValue>(old_constant)) { in UnfoldConstant()1420 old_constant->destroyConstant(); in UnfoldConstant()
385 static bool UnfoldConstant(llvm::Constant *old_constant,