Home
last modified time | relevance | path

Searched refs:GEPs (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFPreserveStaticOffset.cpp332 static bool foldGEPChainAsStructAccess(SmallVector<GetElementPtrInst *> &GEPs, in foldGEPChainAsStructAccess() argument
334 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() argument
374 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 …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Vectorize/
H A DSLPVectorizer.h171 GEPListMap GEPs; member
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FastISel.cpp829 SmallVector<const Value *, 32> GEPs; in X86SelectAddress() local
959 GEPs.push_back(V); in X86SelectAddress()
975 for (const Value *I : reverse(GEPs)) in X86SelectAddress()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp13444 SmallVector<Value *> GEPs; in vectorizeTree() local
13447 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()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp2505 auto GEPs = std::move(it->second); in optimizeCallInst() local
2506 LargeOffsetGEPMap[ArgVal].append(GEPs.begin(), GEPs.end()); in optimizeCallInst()