| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | IndVarSimplify.cpp | 274 CmpInst::Predicate NewPred = CmpInst::BAD_ICMP_PREDICATE; in handleFloatingPointIV() local 278 case CmpInst::FCMP_UEQ: NewPred = CmpInst::ICMP_EQ; break; in handleFloatingPointIV() 280 case CmpInst::FCMP_UNE: NewPred = CmpInst::ICMP_NE; break; in handleFloatingPointIV() 282 case CmpInst::FCMP_UGT: NewPred = CmpInst::ICMP_SGT; break; in handleFloatingPointIV() 284 case CmpInst::FCMP_UGE: NewPred = CmpInst::ICMP_SGE; break; in handleFloatingPointIV() 286 case CmpInst::FCMP_ULT: NewPred = CmpInst::ICMP_SLT; break; in handleFloatingPointIV() 288 case CmpInst::FCMP_ULE: NewPred = CmpInst::ICMP_SLE; break; in handleFloatingPointIV() 315 if (NewPred == CmpInst::ICMP_SLE || NewPred == CmpInst::ICMP_SGT) { in handleFloatingPointIV() 324 if ((NewPred == CmpInst::ICMP_EQ || NewPred == CmpInst::ICMP_NE) && in handleFloatingPointIV() 341 if (NewPred == CmpInst::ICMP_SGE || NewPred == CmpInst::ICMP_SLT) { in handleFloatingPointIV() [all …]
|
| H A D | LICM.cpp | 1635 BasicBlock *NewPred = SplitBlockPredecessors( in splitPredecessorsOfLoopExit() local 1644 SafetyInfo->copyColors(NewPred, PredBB); in splitPredecessorsOfLoopExit()
|
| H A D | GVN.cpp | 1409 BasicBlock *NewPred = splitCriticalEdges(OrigPred, LoadBB); in PerformLoadPRE() local 1411 PredLoads[NewPred] = nullptr; in PerformLoadPRE()
|
| H A D | JumpThreading.cpp | 1958 BasicBlock *NewPred, in addPHINodeEntriesForMappedBlock() argument 1972 PN.addIncoming(IV, NewPred); in addPHINodeEntriesForMappedBlock()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCompares.cpp | 1747 auto NewPred = isICMP_NE ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_SGE; in foldICmpAndConstConst() local 1748 return new ICmpInst(NewPred, X, Zero); in foldICmpAndConstConst() 1756 auto NewPred = isICMP_NE ? ICmpInst::ICMP_UGE : ICmpInst::ICMP_ULT; in foldICmpAndConstConst() local 1757 return new ICmpInst(NewPred, X, NegBOC); in foldICmpAndConstConst() 1857 auto NewPred = Cmp.getPredicate() == CmpInst::ICMP_EQ ? CmpInst::ICMP_UGT in foldICmpAndConstant() local 1859 return new ICmpInst(NewPred, X, SubOne(cast<Constant>(Cmp.getOperand(1)))); in foldICmpAndConstant() 1873 auto NewPred = Cmp.getPredicate() == CmpInst::ICMP_EQ ? CmpInst::ICMP_SGE in foldICmpAndConstant() local 1875 return new ICmpInst(NewPred, Trunc, Constant::getNullValue(NTy)); in foldICmpAndConstant() 3079 auto NewPred = isICMP_NE ? ICmpInst::ICMP_ULE : ICmpInst::ICMP_UGT; in foldICmpBinOpEqualityWithConstant() local 3080 return new ICmpInst(NewPred, BOp1, BOp0); in foldICmpBinOpEqualityWithConstant() [all …]
|
| H A D | InstCombineAndOrXor.cpp | 59 ICmpInst::Predicate NewPred; in getNewICmpValue() local 60 if (Constant *TorF = getPredForICmpCode(Code, Sign, LHS->getType(), NewPred)) in getNewICmpValue() 62 return Builder.CreateICmp(NewPred, LHS, RHS); in getNewICmpValue() 724 ICmpInst::Predicate NewPred; in simplifyRangeCheck() local 726 case ICmpInst::ICMP_SLT: NewPred = ICmpInst::ICMP_ULT; break; in simplifyRangeCheck() 727 case ICmpInst::ICMP_SLE: NewPred = ICmpInst::ICMP_ULE; break; in simplifyRangeCheck() 737 NewPred = ICmpInst::getInversePredicate(NewPred); in simplifyRangeCheck() 739 return Builder.CreateICmp(NewPred, Input, RangeEnd); in simplifyRangeCheck() 790 auto NewPred = JoinedByAnd ? ICmpInst::ICMP_UGT : ICmpInst::ICMP_ULE; in foldAndOrOfEqualityCmpsWithConstants() local 791 return Builder.CreateICmp(NewPred, Add, ConstantInt::get(X->getType(), 1)); in foldAndOrOfEqualityCmpsWithConstants() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/ |
| H A D | BasicBlockUtils.h | 276 BasicBlock *NewPred, PHINode *Until = nullptr);
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | IRTranslator.h | 657 void addMachineCFGPred(CFGEdge Edge, MachineBasicBlock *NewPred);
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
| H A D | BasicBlockUtils.cpp | 545 BasicBlock *NewPred, PHINode *Until) { in updatePhiNodes() argument 562 PN.setIncomingBlock(BBIdx, NewPred); in updatePhiNodes()
|
| H A D | SimplifyCFG.cpp | 328 static void AddPredecessorToBlock(BasicBlock *Succ, BasicBlock *NewPred, in AddPredecessorToBlock() argument 332 PN.addIncoming(PN.getIncomingValueForBlock(ExistPred), NewPred); in AddPredecessorToBlock() 335 MPhi->addIncoming(MPhi->getIncomingValueForBlock(ExistPred), NewPred); in AddPredecessorToBlock()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/ |
| H A D | IRTranslator.cpp | 275 void IRTranslator::addMachineCFGPred(CFGEdge Edge, MachineBasicBlock *NewPred) { in addMachineCFGPred() argument 276 assert(NewPred && "new predecessor must be a real MachineBasicBlock"); in addMachineCFGPred() 277 MachinePreds[Edge].push_back(NewPred); in addMachineCFGPred()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUMachineCFGStructurizer.cpp | 295 MachineBasicBlock *NewPred) { in setPhiPred() argument 296 PHI.getOperand(Index * 2 + 2).setMBB(NewPred); in setPhiPred()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| H A D | ScalarEvolution.cpp | 9410 CmpInst::Predicate NewPred; in SimplifyICmpOperands() local 9411 if (ExactCR.getEquivalentICmp(NewPred, NewRHS) && in SimplifyICmpOperands() 9412 ICmpInst::isEquality(NewPred)) { in SimplifyICmpOperands() 9414 Pred = NewPred; in SimplifyICmpOperands()
|