Searched refs:GEPs (Results 1 – 9 of 9) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFPreserveStaticOffset.cpp | 329 static bool foldGEPChainAsStructAccess(SmallVector<GetElementPtrInst *> &GEPs, in foldGEPChainAsStructAccess() argument 331 if (GEPs.empty()) in foldGEPChainAsStructAccess() 334 if (!all_of(GEPs, [=](GetElementPtrInst *GEP) { in foldGEPChainAsStructAccess() 339 GetElementPtrInst *First = GEPs[0]; in foldGEPChainAsStructAccess() 346 for (GetElementPtrInst *GEP : drop_begin(GEPs)) { in foldGEPChainAsStructAccess() 368 static bool foldGEPChainAsU8Access(SmallVector<GetElementPtrInst *> &GEPs, in foldGEPChainAsU8Access() argument 370 if (GEPs.empty()) in foldGEPChainAsU8Access() 373 GetElementPtrInst *First = GEPs[0]; in foldGEPChainAsU8Access() 378 for (GetElementPtrInst *GEP : GEPs) { in foldGEPChainAsU8Access() 403 static bool allZeroIndices(SmallVector<GetElementPtrInst *> &GEPs) { in allZeroIndices() argument [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DXILDataScalarization.cpp | 206 SmallVector<Value *, 4> GEPs(ArrNumElems); in createArrayFromVector() local 209 GEPs[I] = Builder.CreateInBoundsGEP( in createArrayFromVector() 212 Builder.CreateStore(EE, GEPs[I]); in createArrayFromVector() 215 VectorAllocaMap.insert({Vec, {ArrAlloca, GEPs}}); in createArrayFromVector() 217 return {ArrAlloca, GEPs}; in createArrayFromVector()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Vectorize/ |
| H A D | SLPVectorizer.h | 169 GEPListMap GEPs; member
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCasts.cpp | 2081 SmallVector<GEPOperator *> GEPs; in foldPtrToIntOfGEP() local 2086 GEPs.push_back(GEP); in foldPtrToIntOfGEP() 2091 if (GEPs.empty() || PtrTy != Ptr->getType()) in foldPtrToIntOfGEP() 2107 for (GEPOperator *GEP : reverse(GEPs)) { in foldPtrToIntOfGEP()
|
| H A D | InstCombineInternal.h | 384 Value *EmitGEPOffsets(ArrayRef<GEPOperator *> GEPs, GEPNoWrapFlags NW,
|
| H A D | InstructionCombining.cpp | 219 Value *InstCombinerImpl::EmitGEPOffsets(ArrayRef<GEPOperator *> GEPs, in EmitGEPOffsets() argument 223 for (GEPOperator *GEP : reverse(GEPs)) { in EmitGEPOffsets()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86FastISel.cpp | 829 SmallVector<const Value *, 32> GEPs; in X86SelectAddress() local 958 GEPs.push_back(V); in X86SelectAddress() 974 for (const Value *I : reverse(GEPs)) in X86SelectAddress()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 2752 auto GEPs = std::move(it->second); in optimizeCallInst() local 2753 LargeOffsetGEPMap[ArgVal].append(GEPs.begin(), GEPs.end()); in optimizeCallInst()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | SLPVectorizer.cpp | 18349 SmallVector<Value *> GEPs; in vectorizeTree() local 18352 GEPs.push_back(V); in vectorizeTree() 18354 V = ::propagateMetadata(I, GEPs); in vectorizeTree() 20889 GEPs.clear(); in runImpl() 20938 if (!GEPs.empty()) { in runImpl() 20939 LLVM_DEBUG(dbgs() << "SLP: Found GEPs for " << GEPs.size() in runImpl() 21539 GEPs.clear(); in collectSeedInstructions() 21568 GEPs[GEP->getPointerOperand()].push_back(GEP); in collectSeedInstructions() 24592 for (auto &Entry : GEPs) { in vectorizeGEPIndices()
|