Searched refs:old_constant (Results 1 – 2 of 2) sorted by relevance
2177 IRForTarget::UnfoldConstant(Constant *old_constant, in UnfoldConstant() argument2189 for (ui = old_constant->use_begin(); in UnfoldConstant()2190 ui != old_constant->use_end(); in UnfoldConstant()2214 …nValueCache bit_cast_maker ([&value_maker, &entry_instruction_finder, old_constant, constant_expr]… in UnfoldConstant()2218 if (constant_expr->getOperand(0) != old_constant) in UnfoldConstant()2237 … get_element_pointer_maker ([&value_maker, &entry_instruction_finder, old_constant, constant_expr]… in UnfoldConstant()2240 if (ptr == old_constant) in UnfoldConstant()2254 if (operand == old_constant) in UnfoldConstant()2282 … inst->replaceUsesOfWith(old_constant, value_maker.GetValue(inst->getParent()->getParent())); in UnfoldConstant()2293 if (!isa<GlobalValue>(old_constant)) in UnfoldConstant()[all …]
696 UnfoldConstant (llvm::Constant *old_constant,