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()
13444 SmallVector<Value *> GEPs; in vectorizeTree() local13447 GEPs.push_back(V); in vectorizeTree()13449 V = propagateMetadata(I, GEPs); in vectorizeTree()15830 GEPs.clear(); in runImpl()15876 if (!GEPs.empty()) { in runImpl()15877 LLVM_DEBUG(dbgs() << "SLP: Found GEPs for " << GEPs.size() in runImpl()16394 GEPs.clear(); in collectSeedInstructions()16423 GEPs[GEP->getPointerOperand()].push_back(GEP); in collectSeedInstructions()18992 for (auto &Entry : GEPs) { in vectorizeGEPIndices()
2505 auto GEPs = std::move(it->second); in optimizeCallInst() local2506 LargeOffsetGEPMap[ArgVal].append(GEPs.begin(), GEPs.end()); in optimizeCallInst()