Searched refs:NewInsts (Results 1 - 8 of 8) sorted by relevance

/freebsd-current/contrib/llvm-project/llvm/lib/IR/
H A DReplaceConstant.cpp27 SmallVector<Instruction *, 4> NewInsts; local
29 NewInsts.push_back(CE->getAsInstruction(InsertPt));
34 NewInsts.push_back(cast<Instruction>(V));
42 NewInsts.push_back(cast<Instruction>(V));
47 return NewInsts;
94 auto NewInsts = expandUser(BI, C); local
95 for (auto *NI : NewInsts)
97 InstructionWorklist.insert(NewInsts.begin(), NewInsts.end());
98 U.set(NewInsts
[all...]
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DPHITransAddr.h85 /// All newly created instructions are added to the NewInsts list. This
90 SmallVectorImpl<Instruction *> &NewInsts);
105 /// block. All newly created instructions are added to the NewInsts list.
110 SmallVectorImpl<Instruction *> &NewInsts);
/freebsd-current/contrib/llvm-project/llvm/lib/Analysis/
H A DPHITransAddr.cpp322 /// All newly created instructions are added to the NewInsts list. This
328 SmallVectorImpl<Instruction *> &NewInsts) {
329 unsigned NISize = NewInsts.size();
332 Addr = insertTranslatedSubExpr(Addr, CurBB, PredBB, DT, NewInsts);
338 while (NewInsts.size() != NISize)
339 NewInsts.pop_back_val()->eraseFromParent();
345 /// block. All newly created instructions are added to the NewInsts list.
350 const DominatorTree &DT, SmallVectorImpl<Instruction *> &NewInsts) {
366 DT, NewInsts);
374 NewInsts
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DGVNSink.cpp166 SmallVector<Instruction *, 4> NewInsts;
171 NewInsts.push_back(Inst->getPrevNode());
173 if (NewInsts.empty()) {
177 Insts = NewInsts;
669 SmallVector<Instruction *, 4> NewInsts;
674 NewInsts.push_back(I);
676 for (auto *I : NewInsts)
695 ModelledPHI NewPHI(NewInsts, ActivePreds);
721 Instruction *I0 = NewInsts[0];
728 if (any_of(NewInsts, hasDifferentNumOperand
[all...]
H A DGVN.cpp1662 SmallVector<Instruction*, 8> NewInsts; local
1679 *DT, NewInsts);
1690 NewInsts);
1705 while (!NewInsts.empty()) {
1711 NewInsts.pop_back_val()->eraseFromParent();
1722 LLVM_DEBUG(if (!NewInsts.empty()) dbgs() << "INSERTED " << NewInsts.size()
1723 << " INSTS: " << *NewInsts.back()
1727 for (Instruction *I : NewInsts) {
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/
H A DTypePromotion.cpp113 SmallPtrSet<Value *, 8> NewInsts; member in class:__anon1970::IRPromoter
450 NewInsts.insert(I);
524 if ((!Promoted.count(V) && !NewInsts.count(V)) || Sources.count(V))
532 NewInsts.insert(Trunc);
607 if (NewInsts.count(Src) && isa<TruncInst>(Src)) {
642 NewInsts.insert(I);
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp549 DenseMap<Value *, Value *> NewInsts; local
550 NewInsts[Base] = ConstantInt::getNullValue(IndexType);
559 NewInsts[PHI] = PHINode::Create(IndexType, PHI->getNumIncomingValues(),
566 if (NewInsts.contains(Val))
571 Value *Op = NewInsts[GEP->getOperand(0)];
574 NewInsts[GEP] = OffsetV;
576 NewInsts[GEP] = Builder.CreateNSWAdd(
593 PHINode *NewPhi = static_cast<PHINode *>(NewInsts[PHI]);
597 if (NewInsts.contains(NewIncoming))
598 NewIncoming = NewInsts[NewIncomin
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURegisterBankInfo.cpp104 SmallVector<MachineInstr *, 4> NewInsts; member in class:__anon2283::final
115 for (MachineInstr *MI : NewInsts)
190 NewInsts.push_back(&MI);
195 // FIXME: In principle we should probably add the instruction to NewInsts,

Completed in 207 milliseconds