Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DDivRemPairs.cpp388 auto *FrX = in optimizeDivRem() local
390 FrX->setDebugLoc(DivInst->getDebugLoc()); in optimizeDivRem()
391 DivInst->setOperand(0, FrX); in optimizeDivRem()
392 Sub->setOperand(0, FrX); in optimizeDivRem()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp169 Value *FrX = X; in foldMulShl1() local
171 FrX = Builder.CreateFreeze(X, X->getName() + ".fr"); in foldMulShl1()
172 Value *Shl = Builder.CreateShl(FrX, Z, "mulshl", HasNUW, PropagateNSW); in foldMulShl1()
173 return Builder.CreateAdd(Shl, FrX, Mul.getName(), HasNUW, PropagateNSW); in foldMulShl1()
182 Value *FrX = X; in foldMulShl1() local
184 FrX = Builder.CreateFreeze(X, X->getName() + ".fr"); in foldMulShl1()
185 Value *Shl = Builder.CreateShl(FrX, Z, "mulshl"); in foldMulShl1()
186 return Builder.CreateSub(Shl, FrX, Mul.getName()); in foldMulShl1()