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.cpp3435 /// A list of GEPs which can be reaplced by scalar GEPs instead of
4755 // 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...]
/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()