Home
last modified time | relevance | path

Searched refs:NewInsts (Results 1 – 13 of 13) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DPHITransAddr.cpp344 SmallVectorImpl<Instruction*> &NewInsts) { in PHITranslateWithInsertion() argument
345 unsigned NISize = NewInsts.size(); in PHITranslateWithInsertion()
348 Addr = InsertPHITranslatedSubExpr(Addr, CurBB, PredBB, DT, NewInsts); in PHITranslateWithInsertion()
354 while (NewInsts.size() != NISize) in PHITranslateWithInsertion()
355 NewInsts.pop_back_val()->eraseFromParent(); in PHITranslateWithInsertion()
368 SmallVectorImpl<Instruction*> &NewInsts) { in InsertPHITranslatedSubExpr() argument
384 CurBB, PredBB, DT, NewInsts); in InsertPHITranslatedSubExpr()
392 NewInsts.push_back(New); in InsertPHITranslatedSubExpr()
402 CurBB, PredBB, DT, NewInsts); in InsertPHITranslatedSubExpr()
412 NewInsts.push_back(Result); in InsertPHITranslatedSubExpr()
[all …]
/external/swiftshader/third_party/LLVM/lib/Analysis/
DPHITransAddr.cpp347 SmallVectorImpl<Instruction*> &NewInsts) { in PHITranslateWithInsertion() argument
348 unsigned NISize = NewInsts.size(); in PHITranslateWithInsertion()
351 Addr = InsertPHITranslatedSubExpr(Addr, CurBB, PredBB, DT, NewInsts); in PHITranslateWithInsertion()
357 while (NewInsts.size() != NISize) in PHITranslateWithInsertion()
358 NewInsts.pop_back_val()->eraseFromParent(); in PHITranslateWithInsertion()
371 SmallVectorImpl<Instruction*> &NewInsts) { in InsertPHITranslatedSubExpr() argument
386 CurBB, PredBB, DT, NewInsts); in InsertPHITranslatedSubExpr()
394 NewInsts.push_back(New); in InsertPHITranslatedSubExpr()
404 CurBB, PredBB, DT, NewInsts); in InsertPHITranslatedSubExpr()
414 NewInsts.push_back(Result); in InsertPHITranslatedSubExpr()
[all …]
/external/llvm/lib/Analysis/
DPHITransAddr.cpp347 SmallVectorImpl<Instruction*> &NewInsts) { in PHITranslateWithInsertion() argument
348 unsigned NISize = NewInsts.size(); in PHITranslateWithInsertion()
351 Addr = InsertPHITranslatedSubExpr(Addr, CurBB, PredBB, DT, NewInsts); in PHITranslateWithInsertion()
357 while (NewInsts.size() != NISize) in PHITranslateWithInsertion()
358 NewInsts.pop_back_val()->eraseFromParent(); in PHITranslateWithInsertion()
371 SmallVectorImpl<Instruction*> &NewInsts) { in InsertPHITranslatedSubExpr() argument
387 CurBB, PredBB, DT, NewInsts); in InsertPHITranslatedSubExpr()
395 NewInsts.push_back(New); in InsertPHITranslatedSubExpr()
405 CurBB, PredBB, DT, NewInsts); in InsertPHITranslatedSubExpr()
415 NewInsts.push_back(Result); in InsertPHITranslatedSubExpr()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DGVNSink.cpp174 SmallVector<Instruction *, 4> NewInsts; in operator --() local
179 NewInsts.push_back(Inst->getPrevNode()); in operator --()
181 if (NewInsts.empty()) { in operator --()
185 Insts = NewInsts; in operator --()
662 SmallVector<Instruction *, 4> NewInsts; in analyzeInstructionForSinking() local
667 NewInsts.push_back(I); in analyzeInstructionForSinking()
669 for (auto *I : NewInsts) in analyzeInstructionForSinking()
688 ModelledPHI NewPHI(NewInsts, ActivePreds); in analyzeInstructionForSinking()
716 Instruction *I0 = NewInsts[0]; in analyzeInstructionForSinking()
718 ModelledPHI PHI(NewInsts, OpNum, ActivePreds); in analyzeInstructionForSinking()
[all …]
DGVN.cpp1180 SmallVector<Instruction*, 8> NewInsts; in PerformLoadPRE() local
1193 *DT, NewInsts); in PerformLoadPRE()
1208 while (!NewInsts.empty()) { in PerformLoadPRE()
1209 Instruction *I = NewInsts.pop_back_val(); in PerformLoadPRE()
1221 LLVM_DEBUG(if (!NewInsts.empty()) dbgs() in PerformLoadPRE()
1222 << "INSERTED " << NewInsts.size() << " INSTS: " << *NewInsts.back() in PerformLoadPRE()
1226 for (Instruction *I : NewInsts) { in PerformLoadPRE()
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DPHITransAddr.h84 SmallVectorImpl<Instruction*> &NewInsts);
103 SmallVectorImpl<Instruction*> &NewInsts);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DPHITransAddr.h94 SmallVectorImpl<Instruction *> &NewInsts);
114 SmallVectorImpl<Instruction *> &NewInsts);
/external/llvm/include/llvm/Analysis/
DPHITransAddr.h94 SmallVectorImpl<Instruction *> &NewInsts);
114 SmallVectorImpl<Instruction *> &NewInsts);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMCodeGenPrepare.cpp60 SmallPtrSet<Value*, 8> NewInsts; member in __anon808c57bc0111::IRPromoter
75 NewInsts.clear(); in Cleanup()
335 NewInsts.insert(Call); in Mutate()
349 NewInsts.insert(ZExt); in Mutate()
439 if (Promoted.count(V) || NewInsts.count(V)) { in Mutate()
454 NewInsts.insert(Trunc); in Mutate()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DGVN.cpp1561 SmallVector<Instruction*, 8> NewInsts; in processNonLocalLoad() local
1576 *DT, NewInsts); in processNonLocalLoad()
1613 while (!NewInsts.empty()) { in processNonLocalLoad()
1614 Instruction *I = NewInsts.pop_back_val(); in processNonLocalLoad()
1625 DEBUG(if (!NewInsts.empty()) in processNonLocalLoad()
1626 dbgs() << "INSERTED " << NewInsts.size() << " INSTS: " in processNonLocalLoad()
1627 << *NewInsts.back() << '\n'); in processNonLocalLoad()
1630 for (unsigned i = 0, e = NewInsts.size(); i != e; ++i) { in processNonLocalLoad()
1635 VN.lookup_or_add(NewInsts[i]); in processNonLocalLoad()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp745 DenseMap<Value *, Value *> NewInsts; in rewriteGEPAsOffset() local
746 NewInsts[Base] = ConstantInt::getNullValue(IndexType); in rewriteGEPAsOffset()
755 NewInsts[PHI] = PHINode::Create(IndexType, PHI->getNumIncomingValues(), in rewriteGEPAsOffset()
763 if (NewInsts.find(Val) != NewInsts.end()) in rewriteGEPAsOffset()
767 NewInsts[CI] = NewInsts[CI->getOperand(0)]; in rewriteGEPAsOffset()
771 Value *Index = NewInsts[GEP->getOperand(1)] ? NewInsts[GEP->getOperand(1)] in rewriteGEPAsOffset()
777 NewInsts[GEP->getOperand(0)]->getType()->getScalarSizeInBits()) { in rewriteGEPAsOffset()
779 Index, NewInsts[GEP->getOperand(0)]->getType(), in rewriteGEPAsOffset()
783 auto *Op = NewInsts[GEP->getOperand(0)]; in rewriteGEPAsOffset()
785 NewInsts[GEP] = Index; in rewriteGEPAsOffset()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp687 DenseMap<Value *, Value *> NewInsts; in rewriteGEPAsOffset() local
688 NewInsts[Base] = ConstantInt::getNullValue(IndexType); in rewriteGEPAsOffset()
697 NewInsts[PHI] = PHINode::Create(IndexType, PHI->getNumIncomingValues(), in rewriteGEPAsOffset()
705 if (NewInsts.find(Val) != NewInsts.end()) in rewriteGEPAsOffset()
709 NewInsts[CI] = NewInsts[CI->getOperand(0)]; in rewriteGEPAsOffset()
713 Value *Index = NewInsts[GEP->getOperand(1)] ? NewInsts[GEP->getOperand(1)] in rewriteGEPAsOffset()
719 NewInsts[GEP->getOperand(0)]->getType()->getScalarSizeInBits()) { in rewriteGEPAsOffset()
721 Index, NewInsts[GEP->getOperand(0)]->getType(), in rewriteGEPAsOffset()
725 auto *Op = NewInsts[GEP->getOperand(0)]; in rewriteGEPAsOffset()
727 NewInsts[GEP] = Index; in rewriteGEPAsOffset()
[all …]
/external/llvm/lib/Transforms/Scalar/
DGVN.cpp1500 SmallVector<Instruction*, 8> NewInsts; in PerformLoadPRE() local
1513 *DT, NewInsts); in PerformLoadPRE()
1528 while (!NewInsts.empty()) { in PerformLoadPRE()
1529 Instruction *I = NewInsts.pop_back_val(); in PerformLoadPRE()
1542 DEBUG(if (!NewInsts.empty()) in PerformLoadPRE()
1543 dbgs() << "INSERTED " << NewInsts.size() << " INSTS: " in PerformLoadPRE()
1544 << *NewInsts.back() << '\n'); in PerformLoadPRE()
1547 for (Instruction *I : NewInsts) { in PerformLoadPRE()