Home
last modified time | relevance | path

Searched defs:GEPI (Results 1 – 25 of 41) sorted by relevance

12

/external/llvm/lib/Analysis/
DPtrUseVisitor.cpp30 bool detail::PtrUseVisitorBase::adjustOffsetForGEP(GetElementPtrInst &GEPI) { in adjustOffsetForGEP()
DPHITransAddr.cpp243 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(U)) in PHITranslateSubExpr() local
/external/llvm-project/llvm/lib/Analysis/
DPtrUseVisitor.cpp33 bool detail::PtrUseVisitorBase::adjustOffsetForGEP(GetElementPtrInst &GEPI) { in adjustOffsetForGEP()
DPHITransAddr.cpp240 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(U)) in PHITranslateSubExpr() local
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DPtrUseVisitor.cpp33 bool detail::PtrUseVisitorBase::adjustOffsetForGEP(GetElementPtrInst &GEPI) { in adjustOffsetForGEP()
DPHITransAddr.cpp240 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(U)) in PHITranslateSubExpr() local
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp813 GetElementPtrInst *GEPI, Instruction *MemI, in canReplaceGEPIdxWithZero()
820 auto FirstNZIdx = [](const GetElementPtrInst *GEPI) { in canReplaceGEPIdxWithZero()
890 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(Ptr)) { in replaceGEPIdxWithZero() local
910 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(Ptr)) in canSimplifyNullStoreOrGEP() local
917 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(Op)) { in canSimplifyNullLoadOrGEP() local
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp337 GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(I); in isSafeSROAElementUse() local
369 gep_type_iterator GEPI = gep_type_begin(U), E = gep_type_end(U); in IsUserOfGlobalSafeForSRA() local
544 GetElementPtrInst *GEPI = cast<GetElementPtrInst>(GEP); in SRAGlobal() local
555 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(GEP)) in SRAGlobal() local
603 } else if (const GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(U)) { in AllUsesOfValueWillTrapIfNull() local
679 } else if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(I)) { in OptimizeAwayTrappingUsesOfValue() local
985 } else if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(U)) { in ReplaceUsesOfMallocWithGlobal() local
1024 if (const GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(UI)) { in LoadUsesSimpleEnoughForHeapSRA() local
1170 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(LoadUser)) { in RewriteHeapSROALoadUser() local
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp847 static bool canReplaceGEPIdxWithZero(InstCombiner &IC, GetElementPtrInst *GEPI, in canReplaceGEPIdxWithZero()
854 auto FirstNZIdx = [](const GetElementPtrInst *GEPI) { in canReplaceGEPIdxWithZero()
919 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(Ptr)) { in replaceGEPIdxWithZero() local
939 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(Ptr)) in canSimplifyNullStoreOrGEP() local
946 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(Op)) { in canSimplifyNullLoadOrGEP() local
/external/llvm/include/llvm/Analysis/
DPtrUseVisitor.h246 void visitGetElementPtrInst(GetElementPtrInst &GEPI) { in visitGetElementPtrInst()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp700 static bool canReplaceGEPIdxWithZero(InstCombiner &IC, GetElementPtrInst *GEPI, in canReplaceGEPIdxWithZero()
707 auto FirstNZIdx = [](const GetElementPtrInst *GEPI) { in canReplaceGEPIdxWithZero()
774 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(Ptr)) { in replaceGEPIdxWithZero() local
848 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(Op)) { in visitLoadInst() local
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DPtrUseVisitor.h267 void visitGetElementPtrInst(GetElementPtrInst &GEPI) { in visitGetElementPtrInst()
/external/llvm/lib/Target/NVPTX/
DNVPTXFavorNonGenericAddrSpaces.cpp161 if (Instruction *GEPI = dyn_cast<Instruction>(GEP)) { in hoistAddrSpaceCastFromGEP() local
/external/llvm-project/llvm/include/llvm/Analysis/
DPtrUseVisitor.h266 void visitGetElementPtrInst(GetElementPtrInst &GEPI) { in visitGetElementPtrInst()
/external/llvm-project/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp380 gep_type_iterator GEPI = gep_type_begin(U), E = gep_type_end(U); in isSafeSROAGEP() local
617 GetElementPtrInst *GEPI = cast<GetElementPtrInst>(GEP); in SRAGlobal() local
629 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(GEP)) in SRAGlobal() local
674 } else if (const GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(U)) { in AllUsesOfValueWillTrapIfNull() local
751 } else if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(I)) { in OptimizeAwayTrappingUsesOfValue() local
1061 } else if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(U)) { in ReplaceUsesOfMallocWithGlobal() local
1101 if (const GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(UI)) { in LoadUsesSimpleEnoughForHeapSRA() local
1246 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(LoadUser)) { in RewriteHeapSROALoadUser() local
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp375 gep_type_iterator GEPI = gep_type_begin(U), E = gep_type_end(U); in isSafeSROAGEP() local
598 GetElementPtrInst *GEPI = cast<GetElementPtrInst>(GEP); in SRAGlobal() local
610 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(GEP)) in SRAGlobal() local
655 } else if (const GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(U)) { in AllUsesOfValueWillTrapIfNull() local
735 } else if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(I)) { in OptimizeAwayTrappingUsesOfValue() local
1045 } else if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(U)) { in ReplaceUsesOfMallocWithGlobal() local
1085 if (const GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(UI)) { in LoadUsesSimpleEnoughForHeapSRA() local
1230 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(LoadUser)) { in RewriteHeapSROALoadUser() local
/external/llvm/lib/Transforms/Utils/
DPromoteMemoryToRegister.cpp79 } else if (const GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(U)) { in isAllocaPromotable() local
/external/llvm/lib/Transforms/Scalar/
DScalarizer.cpp439 bool Scalarizer::visitGetElementPtrInst(GetElementPtrInst &GEPI) { in visitGetElementPtrInst()
DSROA.cpp674 void visitGetElementPtrInst(GetElementPtrInst &GEPI) { in visitGetElementPtrInst()
3143 bool visitGetElementPtrInst(GetElementPtrInst &GEPI) { in visitGetElementPtrInst()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DPromoteMemoryToRegister.cpp91 } else if (const GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(U)) { in isAllocaPromotable() local
/external/llvm-project/llvm/lib/Transforms/Utils/
DPromoteMemoryToRegister.cpp85 } else if (const GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(U)) { in isAllocaPromotable() local
/external/llvm-project/llvm/lib/Transforms/Scalar/
DSROA.cpp722 void visitGetElementPtrInst(GetElementPtrInst &GEPI) { in visitGetElementPtrInst()
3478 bool foldGEPSelect(GetElementPtrInst &GEPI) { in foldGEPSelect()
3524 bool foldGEPPhi(GetElementPtrInst &GEPI) { in foldGEPPhi()
3579 bool visitGetElementPtrInst(GetElementPtrInst &GEPI) { in visitGetElementPtrInst()
DScalarizer.cpp630 bool ScalarizerVisitor::visitGetElementPtrInst(GetElementPtrInst &GEPI) { in visitGetElementPtrInst()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DScalarizer.cpp618 bool ScalarizerVisitor::visitGetElementPtrInst(GetElementPtrInst &GEPI) { in visitGetElementPtrInst()
/external/llvm-project/llvm/unittests/IR/
DInstructionsTest.cpp754 auto *GEPI = cast<GetElementPtrInst>(V); in TEST() local

12