Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp276 CmpInst::Predicate NewPred = CmpInst::BAD_ICMP_PREDICATE; in handleFloatingPointIV() local
280 case CmpInst::FCMP_UEQ: NewPred = CmpInst::ICMP_EQ; break; in handleFloatingPointIV()
282 case CmpInst::FCMP_UNE: NewPred = CmpInst::ICMP_NE; break; in handleFloatingPointIV()
284 case CmpInst::FCMP_UGT: NewPred = CmpInst::ICMP_SGT; break; in handleFloatingPointIV()
286 case CmpInst::FCMP_UGE: NewPred = CmpInst::ICMP_SGE; break; in handleFloatingPointIV()
288 case CmpInst::FCMP_ULT: NewPred = CmpInst::ICMP_SLT; break; in handleFloatingPointIV()
290 case CmpInst::FCMP_ULE: NewPred = CmpInst::ICMP_SLE; break; in handleFloatingPointIV()
317 if (NewPred == CmpInst::ICMP_SLE || NewPred == CmpInst::ICMP_SGT) { in handleFloatingPointIV()
326 if ((NewPred == CmpInst::ICMP_EQ || NewPred == CmpInst::ICMP_NE) && in handleFloatingPointIV()
343 if (NewPred == CmpInst::ICMP_SGE || NewPred == CmpInst::ICMP_SLT) { in handleFloatingPointIV()
[all …]
H A DLICM.cpp1583 BasicBlock *NewPred = SplitBlockPredecessors( in splitPredecessorsOfLoopExit() local
1592 SafetyInfo->copyColors(NewPred, PredBB); in splitPredecessorsOfLoopExit()
H A DJumpThreading.cpp1962 BasicBlock *NewPred, in addPHINodeEntriesForMappedBlock() argument
1976 PN.addIncoming(IV, NewPred); in addPHINodeEntriesForMappedBlock()
H A DGVN.cpp1532 BasicBlock *NewPred = splitCriticalEdges(OrigPred, LoadBB); in PerformLoadPRE() local
1534 PredLoads[NewPred] = nullptr; in PerformLoadPRE()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp1453 auto NewPred = (Pred == Cmp.ICMP_EQ) ? Cmp.ICMP_UGE : Cmp.ICMP_ULT; in foldICmpTruncConstant() local
1454 return new ICmpInst(NewPred, Y, ConstantInt::get(SrcTy, DstBits)); in foldICmpTruncConstant()
1718 auto NewPred = isICMP_NE ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_SGE; in foldICmpAndConstConst() local
1719 return new ICmpInst(NewPred, X, Zero); in foldICmpAndConstConst()
1732 auto NewPred = isICMP_NE ? ICmpInst::ICMP_UGE : ICmpInst::ICMP_ULT; in foldICmpAndConstConst() local
1733 return new ICmpInst(NewPred, X, NegBOC); in foldICmpAndConstConst()
1819 auto NewPred = TrueIfNeg ? CmpInst::ICMP_EQ : CmpInst::ICMP_NE; in foldICmpAndConstant() local
1820 return new ICmpInst(NewPred, X, ConstantInt::getNullValue(X->getType())); in foldICmpAndConstant()
1844 auto NewPred = in foldICmpAndConstant() local
1846 return new ICmpInst(NewPred, X, SubOne(cast<Constant>(Cmp.getOperand(1)))); in foldICmpAndConstant()
[all …]
H A DInstCombineAndOrXor.cpp33 ICmpInst::Predicate NewPred; in getNewICmpValue() local
34 if (Constant *TorF = getPredForICmpCode(Code, Sign, LHS->getType(), NewPred)) in getNewICmpValue()
36 return Builder.CreateICmp(NewPred, LHS, RHS); in getNewICmpValue()
43 FCmpInst::Predicate NewPred; in getFCmpValue() local
44 if (Constant *TorF = getPredForFCmpCode(Code, LHS->getType(), NewPred)) in getFCmpValue()
46 return Builder.CreateFCmp(NewPred, LHS, RHS); in getFCmpValue()
697 ICmpInst::Predicate NewPred; in simplifyRangeCheck() local
699 case ICmpInst::ICMP_SLT: NewPred = ICmpInst::ICMP_ULT; break; in simplifyRangeCheck()
700 case ICmpInst::ICMP_SLE: NewPred = ICmpInst::ICMP_ULE; break; in simplifyRangeCheck()
710 NewPred = ICmpInst::getInversePredicate(NewPred); in simplifyRangeCheck()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/Utils/
H A DBasicBlockUtils.h261 BasicBlock *NewPred, PHINode *Until = nullptr);
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/GlobalISel/
H A DIRTranslator.h683 void addMachineCFGPred(CFGEdge Edge, MachineBasicBlock *NewPred);
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DBasicBlockUtils.cpp665 BasicBlock *NewPred, PHINode *Until) { in updatePhiNodes() argument
682 PN.setIncomingBlock(BBIdx, NewPred); in updatePhiNodes()
H A DSimplifyCFG.cpp372 static void AddPredecessorToBlock(BasicBlock *Succ, BasicBlock *NewPred, in AddPredecessorToBlock() argument
376 PN.addIncoming(PN.getIncomingValueForBlock(ExistPred), NewPred); in AddPredecessorToBlock()
379 MPhi->addIncoming(MPhi->getIncomingValueForBlock(ExistPred), NewPred); in AddPredecessorToBlock()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp289 void IRTranslator::addMachineCFGPred(CFGEdge Edge, MachineBasicBlock *NewPred) { in addMachineCFGPred() argument
290 assert(NewPred && "new predecessor must be a real MachineBasicBlock"); in addMachineCFGPred()
291 MachinePreds[Edge].push_back(NewPred); in addMachineCFGPred()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUMachineCFGStructurizer.cpp295 MachineBasicBlock *NewPred) { in setPhiPred() argument
296 PHI.getOperand(Index * 2 + 2).setMBB(NewPred); in setPhiPred()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DScalarEvolution.cpp10677 CmpInst::Predicate NewPred; in SimplifyICmpOperands() local
10678 if (ExactCR.getEquivalentICmp(NewPred, NewRHS) && in SimplifyICmpOperands()
10679 ICmpInst::isEquality(NewPred)) { in SimplifyICmpOperands()
10681 Pred = NewPred; in SimplifyICmpOperands()