Searched refs:GEPs (Results 1 – 5 of 5) sorted by relevance
332 static bool foldGEPChainAsStructAccess(SmallVector<GetElementPtrInst *> &GEPs, in foldGEPChainAsStructAccess() argument334 if (GEPs.empty()) in foldGEPChainAsStructAccess()337 if (!all_of(GEPs, [=](GetElementPtrInst *GEP) { in foldGEPChainAsStructAccess()342 GetElementPtrInst *First = GEPs[0]; in foldGEPChainAsStructAccess()349 for (auto *Iter = GEPs.begin() + 1; Iter != GEPs.end(); ++Iter) { in foldGEPChainAsStructAccess()372 static bool foldGEPChainAsU8Access(SmallVector<GetElementPtrInst *> &GEPs, in foldGEPChainAsU8Access() argument374 if (GEPs.empty()) in foldGEPChainAsU8Access()377 GetElementPtrInst *First = GEPs[0]; in foldGEPChainAsU8Access()382 for (GetElementPtrInst *GEP : GEPs) { in foldGEPChainAsU8Access()408 static bool allZeroIndices(SmallVector<GetElementPtrInst *> &GEPs) { in allZeroIndices() argument[all …]
171 GEPListMap GEPs; member
829 SmallVector<const Value *, 32> GEPs; in X86SelectAddress() local959 GEPs.push_back(V); in X86SelectAddress()975 for (const Value *I : reverse(GEPs)) in X86SelectAddress()
3435 /// A list of GEPs which can be reaplced by scalar GEPs instead of4755 // GEPs or have > 2 operands, we end up with a gather node, which just in canVectorizeLoads() 6438 // We don't combine GEPs with complicated (nested) indexing. in getScalarsVectorizationState() 6449 // We can't combine several GEPs into one vector if they operate on in getScalarsVectorizationState() 6463 // We don't combine GEPs with non-constant indexes. in getScalarsVectorizationState() 7298 LLVM_DEBUG(dbgs() << "SLP: added a vector of GEPs.\n"); in buildTree_rec() 8066 /// Calculate the scalar and the vector costs from vectorizing set of GEPs.8117 // All the scalar GEPs will be removed as a result of vectorization. in getGEPCosts() 8389 // TODO: improve checks if GEPs ca in getBuildVectorCost() 13444 SmallVector<Value *> GEPs; vectorizeTree() local [all...]
2505 auto GEPs = std::move(it->second); in optimizeCallInst() local2506 LargeOffsetGEPMap[ArgVal].append(GEPs.begin(), GEPs.end()); in optimizeCallInst()