Searched refs:old_constant (Results 1 – 2 of 2) sorted by relevance
1310 bool IRForTarget::UnfoldConstant(Constant *old_constant, in UnfoldConstant() argument1319 for (llvm::User *u : old_constant->users()) in UnfoldConstant()1337 [&value_maker, &entry_instruction_finder, old_constant, in UnfoldConstant()1342 if (constant_expr->getOperand(0) != old_constant) in UnfoldConstant()1361 [&value_maker, &entry_instruction_finder, old_constant, in UnfoldConstant()1366 if (ptr == old_constant) in UnfoldConstant()1371 if (operand == old_constant) in UnfoldConstant()1405 old_constant, value_maker.GetValue(inst->getParent()->getParent())); in UnfoldConstant()1415 if (!isa<GlobalValue>(old_constant)) { in UnfoldConstant()1416 old_constant->destroyConstant(); in UnfoldConstant()
385 static bool UnfoldConstant(llvm::Constant *old_constant,