/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 623 SmallVector<PHIUsageRecord, 16> PHIUsers; in SliceUpIllegalIntegerPHI() local 668 PHIUsers.push_back(PHIUsageRecord(PHIId, 0, User)); in SliceUpIllegalIntegerPHI() 679 PHIUsers.push_back(PHIUsageRecord(PHIId, Shift, User->use_back())); in SliceUpIllegalIntegerPHI() 684 if (PHIUsers.empty()) in SliceUpIllegalIntegerPHI() 689 array_pod_sort(PHIUsers.begin(), PHIUsers.end()); in SliceUpIllegalIntegerPHI() 704 for (unsigned UserI = 0, UserE = PHIUsers.size(); UserI != UserE; ++UserI) { in SliceUpIllegalIntegerPHI() 705 unsigned PHIId = PHIUsers[UserI].PHIId; in SliceUpIllegalIntegerPHI() 707 unsigned Offset = PHIUsers[UserI].Shift; in SliceUpIllegalIntegerPHI() 708 Type *Ty = PHIUsers[UserI].Inst->getType(); in SliceUpIllegalIntegerPHI() 768 PHIUsers.push_back(PHIUsageRecord(RefPHIId, Offset, in SliceUpIllegalIntegerPHI() [all …]
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 697 SmallVector<PHIUsageRecord, 16> PHIUsers; in SliceUpIllegalIntegerPHI() local 740 PHIUsers.push_back(PHIUsageRecord(PHIId, 0, UserI)); in SliceUpIllegalIntegerPHI() 751 PHIUsers.push_back(PHIUsageRecord(PHIId, Shift, UserI->user_back())); in SliceUpIllegalIntegerPHI() 756 if (PHIUsers.empty()) in SliceUpIllegalIntegerPHI() 761 array_pod_sort(PHIUsers.begin(), PHIUsers.end()); in SliceUpIllegalIntegerPHI() 776 for (unsigned UserI = 0, UserE = PHIUsers.size(); UserI != UserE; ++UserI) { in SliceUpIllegalIntegerPHI() 777 unsigned PHIId = PHIUsers[UserI].PHIId; in SliceUpIllegalIntegerPHI() 779 unsigned Offset = PHIUsers[UserI].Shift; in SliceUpIllegalIntegerPHI() 780 Type *Ty = PHIUsers[UserI].Inst->getType(); in SliceUpIllegalIntegerPHI() 840 PHIUsers.push_back(PHIUsageRecord(RefPHIId, Offset, in SliceUpIllegalIntegerPHI() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 953 SmallVector<PHIUsageRecord, 16> PHIUsers; in SliceUpIllegalIntegerPHI() local 996 PHIUsers.push_back(PHIUsageRecord(PHIId, 0, UserI)); in SliceUpIllegalIntegerPHI() 1007 PHIUsers.push_back(PHIUsageRecord(PHIId, Shift, UserI->user_back())); in SliceUpIllegalIntegerPHI() 1012 if (PHIUsers.empty()) in SliceUpIllegalIntegerPHI() 1017 array_pod_sort(PHIUsers.begin(), PHIUsers.end()); in SliceUpIllegalIntegerPHI() 1031 for (unsigned UserI = 0, UserE = PHIUsers.size(); UserI != UserE; ++UserI) { in SliceUpIllegalIntegerPHI() 1032 unsigned PHIId = PHIUsers[UserI].PHIId; in SliceUpIllegalIntegerPHI() 1034 unsigned Offset = PHIUsers[UserI].Shift; in SliceUpIllegalIntegerPHI() 1035 Type *Ty = PHIUsers[UserI].Inst->getType(); in SliceUpIllegalIntegerPHI() 1095 PHIUsers.push_back(PHIUsageRecord(RefPHIId, Offset, in SliceUpIllegalIntegerPHI() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 80 const SmallPtrSet<const PHINode*, 16> &PHIUsers, 176 SmallPtrSet<const PHINode*, 16> &PHIUsers) { in AnalyzeGlobal() argument 187 if (AnalyzeGlobal(CE, GS, PHIUsers)) return true; in AnalyzeGlobal() 235 if (AnalyzeGlobal(I, GS, PHIUsers)) return true; in AnalyzeGlobal() 237 if (AnalyzeGlobal(I, GS, PHIUsers)) return true; in AnalyzeGlobal() 241 if (PHIUsers.insert(PN)) // Not already visited. in AnalyzeGlobal() 242 if (AnalyzeGlobal(I, GS, PHIUsers)) return true; in AnalyzeGlobal() 1719 SmallPtrSet<const PHINode*, 16> PHIUsers; in ProcessGlobal() local 1722 if (AnalyzeGlobal(GV, GS, PHIUsers)) in ProcessGlobal() 1733 return ProcessInternalGlobal(GV, GVI, PHIUsers, GS); in ProcessGlobal() [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 2191 SmallPtrSetImpl<PHINode *> &PHIUsers; member in llvm::sroa::AllocaSliceRewriter 2204 SmallPtrSetImpl<PHINode *> &PHIUsers, in AllocaSliceRewriter() argument 2219 OldPtr(), PHIUsers(PHIUsers), SelectUsers(SelectUsers), in AllocaSliceRewriter() 2922 PHIUsers.insert(&PN); in visitPHINode() 3877 SmallPtrSet<PHINode *, 8> PHIUsers; in rewritePartition() local 3882 PHIUsers, SelectUsers); in rewritePartition() 3899 for (SmallPtrSetImpl<PHINode *>::iterator I = PHIUsers.begin(), in rewritePartition() 3900 E = PHIUsers.end(); in rewritePartition() 3904 PHIUsers.clear(); in rewritePartition() 3913 PHIUsers.clear(); in rewritePartition() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 2272 SmallSetVector<PHINode *, 8> &PHIUsers; member in llvm::sroa::AllocaSliceRewriter 2285 SmallSetVector<PHINode *, 8> &PHIUsers, in AllocaSliceRewriter() argument 2299 PHIUsers(PHIUsers), SelectUsers(SelectUsers), in AllocaSliceRewriter() 3114 PHIUsers.insert(&PN); in visitPHINode() 4088 SmallSetVector<PHINode *, 8> PHIUsers; in rewritePartition() local 4093 PHIUsers, SelectUsers); in rewritePartition() 4109 for (PHINode *PHI : PHIUsers) in rewritePartition() 4112 PHIUsers.clear(); in rewritePartition() 4120 PHIUsers.clear(); in rewritePartition() 4126 if (PHIUsers.empty() && SelectUsers.empty()) { in rewritePartition() [all …]
|