Searched refs:TorF (Results 1 – 5 of 5) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | EarlyCSE.cpp | 1066 auto *TorF = (BI->getSuccessor(0) == BB) in handleBranchCondition() local 1092 AvailableValues.insert(Curr, TorF); in handleBranchCondition() 1094 << Curr->getName() << "' as " << *TorF << " in " in handleBranchCondition() 1100 if (unsigned Count = replaceDominatedUsesWith(Curr, TorF, DT, in handleBranchCondition()
|
| H A D | CorrelatedValuePropagation.cpp | 354 Constant *TorF = ConstantInt::get(Type::getInt1Ty(Cmp->getContext()), Result); in constantFoldCmp() local 355 Cmp->replaceAllUsesWith(TorF); in constantFoldCmp()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineAndOrXor.cpp | 34 if (Constant *TorF = getPredForICmpCode(Code, Sign, LHS->getType(), NewPred)) in getNewICmpValue() local 35 return TorF; in getNewICmpValue() 44 if (Constant *TorF = getPredForFCmpCode(Code, LHS->getType(), NewPred)) in getFCmpValue() local 45 return TorF; in getFCmpValue()
|
| H A D | InstCombineCompares.cpp | 1189 auto *TorF = ConstantInt::get(I.getType(), I.getPredicate() == I.ICMP_NE); in foldICmpShrConstConst() local 1190 return replaceInstUsesWith(I, TorF); in foldICmpShrConstConst() 1228 auto *TorF = ConstantInt::get(I.getType(), I.getPredicate() == I.ICMP_NE); in foldICmpShlConstConst() local 1229 return replaceInstUsesWith(I, TorF); in foldICmpShlConstConst()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyCFG.cpp | 6863 ConstantInt *TorF = *Imp ? ConstantInt::getTrue(BB->getContext()) in simplifyCondBranch() local 6865 BI->setCondition(TorF); in simplifyCondBranch()
|