OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:GEP2
(Results
1 - 3
of
3
) sorted by null
/external/llvm/lib/Transforms/InstCombine/
InstCombineAddSub.cpp
480
GEPOperator *GEP1 = 0, *
GEP2
= 0;
493
GEP2
= RHSGEP;
509
GEP2
= LHSGEP;
516
// Avoid duplicating the arithmetic if
GEP2
has non-constant indices and
519
(
GEP2
!= 0 && !
GEP2
->hasAllConstantIndices() && !
GEP2
->hasOneUse()))
527
if (
GEP2
) {
528
Value *Offset = EmitGEPOffset(
GEP2
);
/external/llvm/lib/Transforms/IPO/
MergeFunctions.cpp
181
bool isEquivalentGEP(const GEPOperator *GEP1, const GEPOperator *
GEP2
);
183
const GetElementPtrInst *
GEP2
) {
184
return isEquivalentGEP(cast<GEPOperator>(GEP1), cast<GEPOperator>(
GEP2
));
346
const GEPOperator *
GEP2
) {
349
if (TD && GEP1->hasAllConstantIndices() &&
GEP2
->hasAllConstantIndices()) {
351
SmallVector<Value *, 8> Indices2(
GEP2
->idx_begin(),
GEP2
->idx_end());
354
uint64_t Offset2 = TD->getIndexedOffset(
GEP2
->getPointerOperandType(),
360
GEP2
->getPointerOperand()->getType())
363
if (GEP1->getNumOperands() !=
GEP2
->getNumOperands()
[
all
...]
/external/llvm/lib/Transforms/Scalar/
MemCpyOptimizer.cpp
79
GetElementPtrInst *
GEP2
= dyn_cast<GetElementPtrInst>(Ptr2);
85
if (GEP1 &&
GEP2
== 0 && GEP1->getOperand(0)->stripPointerCasts() == Ptr2) {
90
if (
GEP2
&& GEP1 == 0 &&
GEP2
->getOperand(0)->stripPointerCasts() == Ptr1) {
91
Offset = GetOffsetFromIndex(
GEP2
, 1, VariableIdxFound, TD);
100
if (!GEP1 || !
GEP2
|| GEP1->getOperand(0) !=
GEP2
->getOperand(0))
105
for (; Idx != GEP1->getNumOperands() && Idx !=
GEP2
->getNumOperands(); ++Idx)
106
if (GEP1->getOperand(Idx) !=
GEP2
->getOperand(Idx))
110
int64_t Offset2 = GetOffsetFromIndex(
GEP2
, Idx, VariableIdxFound, TD)
[
all
...]
Completed in 848 milliseconds