Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSeparateConstOffsetFromGEP.cpp1327 Instruction *FirstOffsetDef = dyn_cast<Instruction>(FirstOffset); in isLegalToSwapOperand() local
1338 if (FirstOffsetDef && FirstOffsetDef->isShift() && in isLegalToSwapOperand()
1339 isa<ConstantInt>(FirstOffsetDef->getOperand(1))) in isLegalToSwapOperand()
1340 FirstOffsetDef = dyn_cast<Instruction>(FirstOffsetDef->getOperand(0)); in isLegalToSwapOperand()
1344 if (FirstOffsetDef) in isLegalToSwapOperand()
1345 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(FirstOffsetDef)) { in isLegalToSwapOperand()