Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp478 Value *NewAddSub = (I->getOpcode() == Instruction::FAdd) ? in performFactorization() local
481 if (ConstantFP *CFP = dyn_cast<ConstantFP>(NewAddSub)) { in performFactorization()
485 } else if (Instruction *II = dyn_cast<Instruction>(NewAddSub)) in performFactorization()
489 Value *RI = createFMul(Factor, NewAddSub); in performFactorization()
495 Value *RI = createFDiv(NewAddSub, Factor); in performFactorization()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp490 Value *NewAddSub = (I->getOpcode() == Instruction::FAdd) ? in performFactorization() local
493 if (ConstantFP *CFP = dyn_cast<ConstantFP>(NewAddSub)) { in performFactorization()
497 } else if (Instruction *II = dyn_cast<Instruction>(NewAddSub)) in performFactorization()
501 Value *RI = createFMul(Factor, NewAddSub); in performFactorization()
507 Value *RI = createFDiv(NewAddSub, Factor); in performFactorization()