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

/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DPHITransAddr.h88 /// All newly created instructions are added to the NewInsts list. This
93 SmallVectorImpl<Instruction *> &NewInsts);
108 /// block. All newly created instructions are added to the NewInsts list.
113 SmallVectorImpl<Instruction *> &NewInsts);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DPHITransAddr.cpp337 /// All newly created instructions are added to the NewInsts list. This
343 SmallVectorImpl<Instruction*> &NewInsts) {
344 unsigned NISize = NewInsts.size();
347 Addr = InsertPHITranslatedSubExpr(Addr, CurBB, PredBB, DT, NewInsts);
353 while (NewInsts.size() != NISize)
354 NewInsts.pop_back_val()->eraseFromParent();
361 /// block. All newly created instructions are added to the NewInsts list.
367 SmallVectorImpl<Instruction*> &NewInsts) {
383 CurBB, PredBB, DT, NewInsts);
391 NewInsts
341 PHITranslateWithInsertion(BasicBlock *CurBB, BasicBlock *PredBB, const DominatorTree &DT, SmallVectorImpl<Instruction*> &NewInsts) argument
365 InsertPHITranslatedSubExpr(Value *InVal, BasicBlock *CurBB, BasicBlock *PredBB, const DominatorTree &DT, SmallVectorImpl<Instruction*> &NewInsts) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DGVNSink.cpp174 SmallVector<Instruction *, 4> NewInsts;
179 NewInsts.push_back(Inst->getPrevNode());
181 if (NewInsts.empty()) {
185 Insts = NewInsts;
668 SmallVector<Instruction *, 4> NewInsts;
673 NewInsts.push_back(I);
675 for (auto *I : NewInsts)
694 ModelledPHI NewPHI(NewInsts, ActivePreds);
722 Instruction *I0 = NewInsts[0];
729 if (any_of(NewInsts, hasDifferentNumOperand
[all...]
H A DGVN.cpp1185 SmallVector<Instruction*, 8> NewInsts; local
1202 Cur, Cur->getSinglePredecessor(), *DT, NewInsts);
1213 NewInsts);
1228 while (!NewInsts.empty()) {
1234 NewInsts.pop_back_val()->eraseFromParent();
1245 LLVM_DEBUG(if (!NewInsts.empty()) dbgs()
1246 << "INSERTED " << NewInsts.size() << " INSTS: " << *NewInsts.back()
1250 for (Instruction *I : NewInsts) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DTypePromotion.cpp116 SmallPtrSet<Value*, 8> NewInsts; member in class:__anon3598::IRPromoter
469 NewInsts.insert(NewInst);
475 for (auto *I : NewInsts)
495 NewInsts.insert(I);
561 if ((!Promoted.count(V) && !NewInsts.count(V)) || Sources.count(V))
569 NewInsts.insert(Trunc);
635 if (NewInsts.count(Src) && isa<TruncInst>(Src) &&
670 NewInsts.insert(I);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp656 DenseMap<Value *, Value *> NewInsts; local
657 NewInsts[Base] = ConstantInt::getNullValue(IndexType);
666 NewInsts[PHI] = PHINode::Create(IndexType, PHI->getNumIncomingValues(),
674 if (NewInsts.find(Val) != NewInsts.end())
680 Value *V = NewInsts[CI->getOperand(0)];
681 NewInsts[CI] = V;
685 Value *Index = NewInsts[GEP->getOperand(1)] ? NewInsts[GEP->getOperand(1)]
691 NewInsts[GE
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp2759 SmallVector<MachineInstrBuilder, 4> NewInsts;
2781 NewInsts.push_back(MIRBuilder.buildInstrNoInsert(MI.getOpcode())
2789 NewInsts.push_back(MIRBuilder.buildInstrNoInsert(MI.getOpcode())
2795 assert(NewInsts.size() == PartRegs.size() + LeftoverRegs.size());
2802 NewInsts[InstCount++].addUse(PartRegs[J]);
2804 NewInsts[InstCount++].addUse(LeftoverRegs[J]);
2812 for (auto &MIB : NewInsts)
3025 SmallVector<MachineInstrBuilder, 4> NewInsts; local
3033 NewInsts.push_back(MIRBuilder.buildInstr(TargetOpcode::G_PHI)
3065 MachineInstrBuilder MIB = NewInsts[
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURegisterBankInfo.cpp106 SmallVector<MachineInstr *, 4> NewInsts; member in class:__anon3933::final
114 for (MachineInstr *MI : NewInsts)
186 NewInsts.push_back(&MI);

Completed in 270 milliseconds