Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp2212 Value *FrozenOp0 = Op0; in visitURem() local
2214 FrozenOp0 = Builder.CreateFreeze(Op0, Op0->getName() + ".frozen"); in visitURem()
2216 Builder.CreateICmpEQ(FrozenOp0, ConstantInt::getAllOnesValue(Ty)); in visitURem()
2217 return SelectInst::Create(Cmp, ConstantInt::getNullValue(Ty), FrozenOp0); in visitURem()
2225 Value *FrozenOp0 = Op0; in visitURem() local
2227 FrozenOp0 = Builder.CreateFreeze(Op0, Op0->getName() + ".frozen"); in visitURem()
2228 Value *Cmp = Builder.CreateICmpEQ(FrozenOp0, Op1); in visitURem()
2229 return SelectInst::Create(Cmp, ConstantInt::getNullValue(Ty), FrozenOp0); in visitURem()