Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Analysis/
DInstructionSimplify.cpp162 Instruction::BinaryOps OpcodeToExtract = (Instruction::BinaryOps)OpcToExtract; in FactorizeBinOp() local
170 if (!Op0 || Op0->getOpcode() != OpcodeToExtract || in FactorizeBinOp()
171 !Op1 || Op1->getOpcode() != OpcodeToExtract) in FactorizeBinOp()
181 if (A == C || (Instruction::isCommutative(OpcodeToExtract) && A == D)) { in FactorizeBinOp()
194 if (Value *W = SimplifyBinOp(OpcodeToExtract, A, V, TD, DT, MaxRecurse)) { in FactorizeBinOp()
204 if (B == D || (Instruction::isCommutative(OpcodeToExtract) && B == C)) { in FactorizeBinOp()
217 if (Value *W = SimplifyBinOp(OpcodeToExtract, V, B, TD, DT, MaxRecurse)) { in FactorizeBinOp()