Searched refs:GEP2 (Results 1 - 5 of 5) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp87 GEPOperator *GEP2 = dyn_cast<GEPOperator>(Ptr2); local
93 if (GEP1 && !GEP2 && GEP1->getOperand(0)->stripPointerCasts() == Ptr2) {
98 if (GEP2 && !GEP1 && GEP2->getOperand(0)->stripPointerCasts() == Ptr1) {
99 Offset = GetOffsetFromIndex(GEP2, 1, VariableIdxFound, TD);
108 if (!GEP1 || !GEP2 || GEP1->getOperand(0) != GEP2->getOperand(0))
113 for (; Idx != GEP1->getNumOperands() && Idx != GEP2->getNumOperands(); ++Idx)
114 if (GEP1->getOperand(Idx) != GEP2->getOperand(Idx))
118 int64_t Offset2 = GetOffsetFromIndex(GEP2, Id
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
H A DR600KernelParameters.cpp268 GetElementPtrInst* GEP2 = GetElementPtrInst::Create(Op, Params, Name, local
270 GEP2->setIsInBounds(GEP->isInBounds());
271 V = dyn_cast<Value>(GEP2);
272 GEP->replaceAllUsesWith(GEP2);
/external/mesa3d/src/gallium/drivers/radeon/
H A DR600KernelParameters.cpp268 GetElementPtrInst* GEP2 = GetElementPtrInst::Create(Op, Params, Name, local
270 GEP2->setIsInBounds(GEP->isInBounds());
271 V = dyn_cast<Value>(GEP2);
272 GEP->replaceAllUsesWith(GEP2);
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp1391 GEPOperator *GEP1 = nullptr, *GEP2 = nullptr; local
1404 GEP2 = RHSGEP;
1420 GEP2 = LHSGEP;
1427 // Avoid duplicating the arithmetic if GEP2 has non-constant indices and
1430 (GEP2 && !GEP2->hasAllConstantIndices() && !GEP2->hasOneUse()))
1438 if (GEP2) {
1439 Value *Offset = EmitGEPOffset(GEP2);
/external/llvm/lib/Analysis/
H A DBasicAliasAnalysis.cpp548 /// GetElementPtr instructions GEP1 and GEP2 which have common base
549 /// pointers. Subtract the GEP2 indices from GEP1 to find the symbolic
876 if (const GEPOperator *GEP2 = dyn_cast<GEPOperator>(V2)) {
895 DecomposeGEPExpression(GEP2, GEP2BaseOffset, GEP2VariableIndices,
934 DecomposeGEPExpression(GEP2, GEP2BaseOffset, GEP2VariableIndices,
948 // Subtract the GEP2 pointer from the GEP1 pointer to find out their
1361 /// decomposed GetElementPtr instructions GEP1 and GEP2 which have common base
1362 /// pointers. Subtract the GEP2 indices from GEP1 to find the symbolic

Completed in 218 milliseconds