/external/llvm/lib/Transforms/InstCombine/ |
InstCombinePHI.cpp | 207 PHINode *NewPN = PHINode::Create(FirstOp->getType(), e, 209 InsertNewInstBefore(NewPN, PN); 211 NewPN->addIncoming(FirstOp, PN.getIncomingBlock(0)); 212 OperandPhis[i] = NewPN; 213 FixedOperands[i] = NewPN; 344 PHINode *NewPN = PHINode::Create(FirstLI->getOperand(0)->getType(), 349 NewPN->addIncoming(InVal, PN.getIncomingBlock(0)); 356 NewPN->addIncoming(NewInVal, PN.getIncomingBlock(i)); 364 delete NewPN; 366 InsertNewInstBefore(NewPN, PN) [all...] |
InstructionCombining.cpp | 602 PHINode *NewPN = PHINode::Create(I.getType(), PN->getNumIncomingValues()); 603 InsertNewInstBefore(NewPN, *PN); 604 NewPN->takeName(PN); 628 NewPN->addIncoming(InV, ThisBB); 642 NewPN->addIncoming(InV, PN->getIncomingBlock(i)); 653 NewPN->addIncoming(InV, PN->getIncomingBlock(i)); 665 NewPN->addIncoming(InV, PN->getIncomingBlock(i)); 673 ReplaceInstUsesWith(*User, NewPN); 676 return ReplaceInstUsesWith(I, NewPN); [all...] |
/external/llvm/lib/Transforms/Instrumentation/ |
PathProfiling.cpp | 1007 Value* newpn = BinaryOperator::Create(Instruction::Add, local 1148 Value* newpn = local 1181 Value* newpn = local 1247 Value* newpn; local [all...] |
/external/llvm/lib/Transforms/Utils/ |
LoopSimplify.cpp | 652 PHINode *NewPN = PHINode::Create(PN->getType(), BackedgeBlocks.size(), 654 if (AA) AA->copyValue(PN, NewPN); 667 NewPN->addIncoming(IV, IBB); 688 PN->addIncoming(NewPN, BEBlock); 694 NewPN->replaceAllUsesWith(UniqueValue); 695 if (AA) AA->deleteValue(NewPN); 696 BEBlock->getInstList().erase(NewPN);
|
CodeExtractor.cpp | 166 PHINode *NewPN = PHINode::Create(PN->getType(), 1 + NumPredsFromRegion, 168 NewPN->addIncoming(PN, OldPred); 170 // Loop over all of the incoming value in PN, moving them to NewPN if they 174 NewPN->addIncoming(PN->getIncomingValue(i), PN->getIncomingBlock(i));
|
BreakCriticalEdges.cpp | 143 PHINode *NewPN = PHINode::Create(PN->getType(), Preds.size(), "split", 146 NewPN->addIncoming(V, Preds[i]); 148 PN->setIncomingValue(Idx, NewPN);
|
SimplifyCFG.cpp | [all...] |
/external/llvm/lib/CodeGen/ |
DwarfEHPrepare.cpp | 439 PHINode *NewPN = PHINode::Create(PN->getType(), 444 NewPN->addIncoming(PN->getIncomingValueForBlock(*PI), *PI); 447 InVal = NewPN;
|
/external/llvm/lib/Transforms/Scalar/ |
IndVarSimplify.cpp | 604 PHINode *NewPN = cast<PHINode>(PN->clone()); 605 NewPN->takeName(PN); 606 NewPN->insertBefore(PN); 607 PN->replaceAllUsesWith(NewPN); [all...] |
ScalarReplAggregates.cpp | [all...] |
/external/llvm/lib/Transforms/IPO/ |
GlobalOpt.cpp | [all...] |