Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DSeparateConstOffsetFromGEP.cpp1205 Instruction *FirstOffsetDef = dyn_cast<Instruction>(FirstOffset); in isLegalToSwapOperand() local
1216 if (FirstOffsetDef && FirstOffsetDef->isShift() && in isLegalToSwapOperand()
1217 isa<ConstantInt>(FirstOffsetDef->getOperand(1))) in isLegalToSwapOperand()
1218 FirstOffsetDef = dyn_cast<Instruction>(FirstOffsetDef->getOperand(0)); in isLegalToSwapOperand()
1222 if (FirstOffsetDef) in isLegalToSwapOperand()
1223 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(FirstOffsetDef)) { in isLegalToSwapOperand()