Searched defs:GEP2 (Results 1 - 4 of 4) sorted by relevance

/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/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/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);

Completed in 100 milliseconds