reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
659 NewI->setName(Twine(OrigI->getName()) + "." + Twine(PredIdx)); 660 NewI->insertBefore(PredBB->getTerminator()); 665 for (Use &U : NewI->operands()) { 684 if (NewI->isBinaryOp() && NewI->isCommutative() && 684 if (NewI->isBinaryOp() && NewI->isCommutative() && 685 isa<Constant>(NewI->getOperand(0)) && 686 !isa<Constant>(NewI->getOperand(1))) 687 NewI->getOperandUse(0).swap(NewI->getOperandUse(1)); 687 NewI->getOperandUse(0).swap(NewI->getOperandUse(1)); 689 SpeculatedValueMap[OrigI].push_back(NewI); 690 assert(SpeculatedValueMap[OrigI][PredIdx] == NewI &&