Home
last modified time | relevance | path

Searched refs:NewGEP (Results 1 – 8 of 8) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DNaryReassociate.cpp315 if (auto *NewGEP = tryReassociateGEPAtIndex(GEP, I - 1, in tryReassociateGEP() local
317 return NewGEP; in tryReassociateGEP()
354 if (auto *NewGEP = tryReassociateGEPAtIndex(GEP, I, LHS, RHS, IndexedType)) in tryReassociateGEPAtIndex() local
355 return NewGEP; in tryReassociateGEPAtIndex()
358 if (auto *NewGEP = in tryReassociateGEPAtIndex() local
360 return NewGEP; in tryReassociateGEPAtIndex()
430 GetElementPtrInst *NewGEP = cast<GetElementPtrInst>( in tryReassociateGEPAtIndex() local
432 NewGEP->setIsInBounds(GEP->isInBounds()); in tryReassociateGEPAtIndex()
433 NewGEP->takeName(GEP); in tryReassociateGEPAtIndex()
434 return NewGEP; in tryReassociateGEPAtIndex()
DSeparateConstOffsetFromGEP.cpp1061 Instruction *NewGEP = GEP->clone(); in splitGEP() local
1062 NewGEP->insertBefore(GEP); in splitGEP()
1074 NewGEP = GetElementPtrInst::Create(GEP->getResultElementType(), NewGEP, in splitGEP()
1077 NewGEP->copyMetadata(*GEP); in splitGEP()
1079 cast<GetElementPtrInst>(NewGEP)->setIsInBounds(GEPWasInBounds); in splitGEP()
1097 NewGEP = new BitCastInst(NewGEP, I8PtrTy, "", GEP); in splitGEP()
1098 NewGEP = GetElementPtrInst::Create( in splitGEP()
1099 Type::getInt8Ty(GEP->getContext()), NewGEP, in splitGEP()
1102 NewGEP->copyMetadata(*GEP); in splitGEP()
1104 cast<GetElementPtrInst>(NewGEP)->setIsInBounds(GEPWasInBounds); in splitGEP()
[all …]
DInferAddressSpaces.cpp485 GetElementPtrInst *NewGEP = GetElementPtrInst::Create( in cloneInstructionWithNewAddressSpace() local
488 NewGEP->setIsInBounds(GEP->isInBounds()); in cloneInstructionWithNewAddressSpace()
489 return NewGEP; in cloneInstructionWithNewAddressSpace()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DGlobalSplit.cpp127 auto *NewGEP = ConstantExpr::getGetElementPtr( in splitGlobal() local
130 GEP->replaceAllUsesWith(NewGEP); in splitGlobal()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1807 auto *NewGEP = cast<GetElementPtrInst>(Op1->clone()); in visitGetElementPtrInst() local
1812 GEP.getParent()->getFirstInsertionPt(), NewGEP); in visitGetElementPtrInst()
1829 NewGEP->setOperand(DI, NewPN); in visitGetElementPtrInst()
1831 GEP.getParent()->getFirstInsertionPt(), NewGEP); in visitGetElementPtrInst()
1832 NewGEP->setOperand(DI, NewPN); in visitGetElementPtrInst()
1835 GEP.setOperand(0, NewGEP); in visitGetElementPtrInst()
1836 PtrOp = NewGEP; in visitGetElementPtrInst()
1888 auto *NewGEP = GetElementPtrInst::Create(GEPEltType, NewSrc, {SO1}); in visitGetElementPtrInst() local
1889 NewGEP->setIsInBounds(GEP.isInBounds()); in visitGetElementPtrInst()
1890 return NewGEP; in visitGetElementPtrInst()
[all …]
DInstCombinePHI.cpp489 GetElementPtrInst *NewGEP = in FoldPHIArgGEPIntoPHI() local
492 if (AllInBounds) NewGEP->setIsInBounds(); in FoldPHIArgGEPIntoPHI()
493 PHIArgMergedDebugLoc(NewGEP, PN); in FoldPHIArgGEPIntoPHI()
494 return NewGEP; in FoldPHIArgGEPIntoPHI()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DCodeGenPrepare.cpp5487 Value *NewGEP = NewBaseGEP; in splitLargeGEPOffsets() local
5490 NewGEP = Builder.CreatePointerCast(NewGEP, GEP->getType()); in splitLargeGEPOffsets()
5494 NewGEP = Builder.CreateGEP(I8Ty, NewBaseGEP, Index); in splitLargeGEPOffsets()
5497 NewGEP = Builder.CreatePointerCast(NewGEP, GEP->getType()); in splitLargeGEPOffsets()
5499 GEP->replaceAllUsesWith(NewGEP); in splitLargeGEPOffsets()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp4095 auto *NewGEP = in widenGEP() local
4100 assert((VF == 1 || NewGEP->getType()->isVectorTy()) && in widenGEP()
4102 VectorLoopValueMap.setVectorValue(GEP, Part, NewGEP); in widenGEP()
4103 addMetadata(NewGEP, GEP); in widenGEP()