Searched refs:InnerOpcode (Results 1 – 1 of 1) sorted by relevance
/external/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 456 Instruction::BinaryOps InnerOpcode, Value *A, in tryFactorization() argument 470 bool InnerCommutative = Instruction::isCommutative(InnerOpcode); in tryFactorization() 473 if (LeftDistributesOverRight(InnerOpcode, TopLevelOpcode)) in tryFactorization() 487 SimplifiedInst = Builder->CreateBinOp(InnerOpcode, A, V); in tryFactorization() 492 if (!SimplifiedInst && RightDistributesOverLeft(TopLevelOpcode, InnerOpcode)) in tryFactorization() 507 SimplifiedInst = Builder->CreateBinOp(InnerOpcode, V, B); in tryFactorization() 540 InnerOpcode == Instruction::Mul) in tryFactorization() 589 Instruction::BinaryOps InnerOpcode = Op0->getOpcode(); // op' in SimplifyUsingDistributiveLaws() local 598 (Instruction::isCommutative(InnerOpcode) && L == B && R == A)) in SimplifyUsingDistributiveLaws() 601 if (Value *V = SimplifyBinOp(InnerOpcode, L, R, DL)) in SimplifyUsingDistributiveLaws() [all …]
|