| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/ |
| D | PHITransAddr.cpp | 343 SmallVectorImpl<Instruction*> &NewInsts) { in PHITranslateWithInsertion() argument 344 unsigned NISize = NewInsts.size(); in PHITranslateWithInsertion() 347 Addr = InsertPHITranslatedSubExpr(Addr, CurBB, PredBB, DT, NewInsts); in PHITranslateWithInsertion() 353 while (NewInsts.size() != NISize) in PHITranslateWithInsertion() 354 NewInsts.pop_back_val()->eraseFromParent(); in PHITranslateWithInsertion() 367 SmallVectorImpl<Instruction*> &NewInsts) { in InsertPHITranslatedSubExpr() argument 383 CurBB, PredBB, DT, NewInsts); in InsertPHITranslatedSubExpr() 391 NewInsts.push_back(New); in InsertPHITranslatedSubExpr() 401 CurBB, PredBB, DT, NewInsts); in InsertPHITranslatedSubExpr() 411 NewInsts.push_back(Result); in InsertPHITranslatedSubExpr() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| D | GVNSink.cpp | 173 SmallVector<Instruction *, 4> NewInsts; in operator --() local 178 NewInsts.push_back(Inst->getPrevNode()); in operator --() 180 if (NewInsts.empty()) { in operator --() 184 Insts = NewInsts; in operator --() 666 SmallVector<Instruction *, 4> NewInsts; in analyzeInstructionForSinking() local 671 NewInsts.push_back(I); in analyzeInstructionForSinking() 673 for (auto *I : NewInsts) in analyzeInstructionForSinking() 692 ModelledPHI NewPHI(NewInsts, ActivePreds); in analyzeInstructionForSinking() 718 Instruction *I0 = NewInsts[0]; in analyzeInstructionForSinking() 725 if (any_of(NewInsts, hasDifferentNumOperands)) in analyzeInstructionForSinking() [all …]
|
| D | GVN.cpp | 1418 SmallVector<Instruction*, 8> NewInsts; in PerformLoadPRE() local 1435 Cur, Cur->getSinglePredecessor(), *DT, NewInsts); in PerformLoadPRE() 1446 NewInsts); in PerformLoadPRE() 1461 while (!NewInsts.empty()) { in PerformLoadPRE() 1467 NewInsts.pop_back_val()->eraseFromParent(); in PerformLoadPRE() 1478 LLVM_DEBUG(if (!NewInsts.empty()) dbgs() << "INSERTED " << NewInsts.size() in PerformLoadPRE() 1479 << " INSTS: " << *NewInsts.back() in PerformLoadPRE() 1483 for (Instruction *I : NewInsts) { in PerformLoadPRE()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| D | PHITransAddr.h | 93 SmallVectorImpl<Instruction *> &NewInsts); 113 SmallVectorImpl<Instruction *> &NewInsts);
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
| D | TypePromotion.cpp | 113 SmallPtrSet<Value*, 8> NewInsts; member in __anon18277a550111::IRPromoter 467 NewInsts.insert(NewInst); in PrepareWrappingAdds() 473 for (auto *I : NewInsts) in PrepareWrappingAdds() 493 NewInsts.insert(I); in ExtendSources() 559 if ((!Promoted.count(V) && !NewInsts.count(V)) || Sources.count(V)) in TruncateSinks() 567 NewInsts.insert(Trunc); in TruncateSinks() 633 if (NewInsts.count(Src) && isa<TruncInst>(Src) && in Cleanup() 668 NewInsts.insert(I); in ConvertTruncs()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| D | InstCombineCompares.cpp | 642 DenseMap<Value *, Value *> NewInsts; in rewriteGEPAsOffset() local 643 NewInsts[Base] = ConstantInt::getNullValue(IndexType); in rewriteGEPAsOffset() 652 NewInsts[PHI] = PHINode::Create(IndexType, PHI->getNumIncomingValues(), in rewriteGEPAsOffset() 660 if (NewInsts.find(Val) != NewInsts.end()) in rewriteGEPAsOffset() 666 Value *V = NewInsts[CI->getOperand(0)]; in rewriteGEPAsOffset() 667 NewInsts[CI] = V; in rewriteGEPAsOffset() 671 Value *Index = NewInsts[GEP->getOperand(1)] ? NewInsts[GEP->getOperand(1)] in rewriteGEPAsOffset() 677 NewInsts[GEP->getOperand(0)]->getType()->getScalarSizeInBits()) { in rewriteGEPAsOffset() 679 Index, NewInsts[GEP->getOperand(0)]->getType(), in rewriteGEPAsOffset() 683 auto *Op = NewInsts[GEP->getOperand(0)]; in rewriteGEPAsOffset() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| D | LegalizerHelper.cpp | 3536 SmallVector<MachineInstrBuilder, 4> NewInsts; in fewerElementsVectorMultiEltType() local 3560 NewInsts.push_back(MIRBuilder.buildInstrNoInsert(MI.getOpcode()) in fewerElementsVectorMultiEltType() 3568 NewInsts.push_back(MIRBuilder.buildInstrNoInsert(MI.getOpcode()) in fewerElementsVectorMultiEltType() 3574 assert(NewInsts.size() == PartRegs.size() + LeftoverRegs.size()); in fewerElementsVectorMultiEltType() 3581 NewInsts[InstCount++].addUse(PartRegs[J]); in fewerElementsVectorMultiEltType() 3583 NewInsts[InstCount++].addUse(LeftoverRegs[J]); in fewerElementsVectorMultiEltType() 3591 for (auto &MIB : NewInsts) in fewerElementsVectorMultiEltType() 3805 SmallVector<MachineInstrBuilder, 4> NewInsts; in fewerElementsVectorPhi() local 3813 NewInsts.push_back(MIRBuilder.buildInstr(TargetOpcode::G_PHI) in fewerElementsVectorPhi() 3845 MachineInstrBuilder MIB = NewInsts[J]; in fewerElementsVectorPhi()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| D | AMDGPURegisterBankInfo.cpp | 102 SmallVector<MachineInstr *, 4> NewInsts; member in __anon7a50cc960111::ApplyRegBankMapping 110 for (MachineInstr *MI : NewInsts) in ~ApplyRegBankMapping() 182 NewInsts.push_back(&MI); in createdInstr()
|