/external/llvm-project/llvm/lib/Transforms/Scalar/ |
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 …]
|
D | LICM.cpp | 1603 BasicBlock *NewPred = SplitBlockPredecessors( in splitPredecessorsOfLoopExit() local 1612 SafetyInfo->copyColors(NewPred, PredBB); in splitPredecessorsOfLoopExit()
|
D | JumpThreading.cpp | 1936 BasicBlock *NewPred, in addPHINodeEntriesForMappedBlock() argument 1950 PN.addIncoming(IV, NewPred); in addPHINodeEntriesForMappedBlock()
|
D | GVN.cpp | 1275 BasicBlock *NewPred = splitCriticalEdges(OrigPred, LoadBB); in PerformLoadPRE() local 1277 PredLoads[NewPred] = nullptr; in PerformLoadPRE()
|
/external/llvm/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 309 CmpInst::Predicate NewPred = CmpInst::BAD_ICMP_PREDICATE; in handleFloatingPointIV() local 313 case CmpInst::FCMP_UEQ: NewPred = CmpInst::ICMP_EQ; break; in handleFloatingPointIV() 315 case CmpInst::FCMP_UNE: NewPred = CmpInst::ICMP_NE; break; in handleFloatingPointIV() 317 case CmpInst::FCMP_UGT: NewPred = CmpInst::ICMP_SGT; break; in handleFloatingPointIV() 319 case CmpInst::FCMP_UGE: NewPred = CmpInst::ICMP_SGE; break; in handleFloatingPointIV() 321 case CmpInst::FCMP_ULT: NewPred = CmpInst::ICMP_SLT; break; in handleFloatingPointIV() 323 case CmpInst::FCMP_ULE: NewPred = CmpInst::ICMP_SLE; break; in handleFloatingPointIV() 350 if (NewPred == CmpInst::ICMP_SLE || NewPred == CmpInst::ICMP_SGT) { in handleFloatingPointIV() 359 if ((NewPred == CmpInst::ICMP_EQ || NewPred == CmpInst::ICMP_NE) && in handleFloatingPointIV() 377 if (NewPred == CmpInst::ICMP_SGE || NewPred == CmpInst::ICMP_SLT) { in handleFloatingPointIV() [all …]
|
D | LoopInterchange.cpp | 411 BasicBlock *NewPred); 1117 BasicBlock *NewPred) { in updateIncomingBlock() argument 1123 PHI->setIncomingBlock(i, NewPred); in updateIncomingBlock()
|
D | JumpThreading.cpp | 1416 BasicBlock *NewPred, in AddPHINodeEntriesForMappedBlock() argument 1431 PN->addIncoming(IV, NewPred); in AddPHINodeEntriesForMappedBlock()
|
D | GVN.cpp | 1490 BasicBlock *NewPred = splitCriticalEdges(OrigPred, LoadBB); in PerformLoadPRE() local 1492 PredLoads[NewPred] = nullptr; in PerformLoadPRE()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 370 CmpInst::Predicate NewPred = CmpInst::BAD_ICMP_PREDICATE; in handleFloatingPointIV() local 374 case CmpInst::FCMP_UEQ: NewPred = CmpInst::ICMP_EQ; break; in handleFloatingPointIV() 376 case CmpInst::FCMP_UNE: NewPred = CmpInst::ICMP_NE; break; in handleFloatingPointIV() 378 case CmpInst::FCMP_UGT: NewPred = CmpInst::ICMP_SGT; break; in handleFloatingPointIV() 380 case CmpInst::FCMP_UGE: NewPred = CmpInst::ICMP_SGE; break; in handleFloatingPointIV() 382 case CmpInst::FCMP_ULT: NewPred = CmpInst::ICMP_SLT; break; in handleFloatingPointIV() 384 case CmpInst::FCMP_ULE: NewPred = CmpInst::ICMP_SLE; break; in handleFloatingPointIV() 411 if (NewPred == CmpInst::ICMP_SLE || NewPred == CmpInst::ICMP_SGT) { in handleFloatingPointIV() 420 if ((NewPred == CmpInst::ICMP_EQ || NewPred == CmpInst::ICMP_NE) && in handleFloatingPointIV() 437 if (NewPred == CmpInst::ICMP_SGE || NewPred == CmpInst::ICMP_SLT) { in handleFloatingPointIV() [all …]
|
D | LICM.cpp | 1554 BasicBlock *NewPred = SplitBlockPredecessors( in splitPredecessorsOfLoopExit() local 1563 SafetyInfo->copyColors(NewPred, PredBB); in splitPredecessorsOfLoopExit()
|
D | JumpThreading.cpp | 1864 BasicBlock *NewPred, in AddPHINodeEntriesForMappedBlock() argument 1878 PN.addIncoming(IV, NewPred); in AddPHINodeEntriesForMappedBlock()
|
D | GVN.cpp | 1153 BasicBlock *NewPred = splitCriticalEdges(OrigPred, LoadBB); in PerformLoadPRE() local 1155 PredLoads[NewPred] = nullptr; in PerformLoadPRE()
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 1764 auto NewPred = isICMP_NE ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_SGE; in foldICmpAndConstConst() local 1765 return new ICmpInst(NewPred, X, Zero); in foldICmpAndConstConst() 1773 auto NewPred = isICMP_NE ? ICmpInst::ICMP_UGE : ICmpInst::ICMP_ULT; in foldICmpAndConstConst() local 1774 return new ICmpInst(NewPred, X, NegBOC); in foldICmpAndConstConst() 1874 auto NewPred = Cmp.getPredicate() == CmpInst::ICMP_EQ ? CmpInst::ICMP_UGT in foldICmpAndConstant() local 1876 return new ICmpInst(NewPred, X, SubOne(cast<Constant>(Cmp.getOperand(1)))); in foldICmpAndConstant() 1891 auto NewPred = Cmp.getPredicate() == CmpInst::ICMP_EQ ? CmpInst::ICMP_SGE in foldICmpAndConstant() local 1893 return new ICmpInst(NewPred, Trunc, Constant::getNullValue(NTy)); in foldICmpAndConstant() 3074 auto NewPred = isICMP_NE ? ICmpInst::ICMP_ULE : ICmpInst::ICMP_UGT; in foldICmpBinOpEqualityWithConstant() local 3075 return new ICmpInst(NewPred, BOp1, BOp0); in foldICmpBinOpEqualityWithConstant() [all …]
|
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 …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 1742 auto NewPred = isICMP_NE ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_SGE; in foldICmpAndConstConst() local 1743 return new ICmpInst(NewPred, X, Zero); in foldICmpAndConstConst() 1751 auto NewPred = isICMP_NE ? ICmpInst::ICMP_UGE : ICmpInst::ICMP_ULT; in foldICmpAndConstConst() local 1752 return new ICmpInst(NewPred, X, NegBOC); in foldICmpAndConstConst() 1853 auto NewPred = Cmp.getPredicate() == CmpInst::ICMP_EQ ? CmpInst::ICMP_UGT in foldICmpAndConstant() local 1855 return new ICmpInst(NewPred, X, SubOne(cast<Constant>(Cmp.getOperand(1)))); in foldICmpAndConstant() 1869 auto NewPred = Cmp.getPredicate() == CmpInst::ICMP_EQ ? CmpInst::ICMP_SGE in foldICmpAndConstant() local 1871 return new ICmpInst(NewPred, Trunc, Constant::getNullValue(NTy)); in foldICmpAndConstant() 3013 auto NewPred = isICMP_NE ? ICmpInst::ICMP_ULE : ICmpInst::ICMP_UGT; in foldICmpBinOpEqualityWithConstant() local 3014 return new ICmpInst(NewPred, BOp1, BOp0); in foldICmpBinOpEqualityWithConstant() [all …]
|
D | InstCombineAndOrXor.cpp | 57 ICmpInst::Predicate NewPred; in getNewICmpValue() local 58 if (Constant *TorF = getPredForICmpCode(Code, Sign, LHS->getType(), NewPred)) in getNewICmpValue() 60 return Builder.CreateICmp(NewPred, LHS, RHS); in getNewICmpValue() 785 ICmpInst::Predicate NewPred; in simplifyRangeCheck() local 787 case ICmpInst::ICMP_SLT: NewPred = ICmpInst::ICMP_ULT; break; in simplifyRangeCheck() 788 case ICmpInst::ICMP_SLE: NewPred = ICmpInst::ICMP_ULE; break; in simplifyRangeCheck() 798 NewPred = ICmpInst::getInversePredicate(NewPred); in simplifyRangeCheck() 800 return Builder.CreateICmp(NewPred, Input, RangeEnd); in simplifyRangeCheck() 851 auto NewPred = JoinedByAnd ? ICmpInst::ICMP_UGT : ICmpInst::ICMP_ULE; in foldAndOrOfEqualityCmpsWithConstants() local 852 return Builder.CreateICmp(NewPred, Add, ConstantInt::get(X->getType(), 1)); in foldAndOrOfEqualityCmpsWithConstants() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | MVETailPredication.cpp | 420 Instruction *NewPred = Pair.second; in Cleanup() local 424 Instruction *PredClone = NewPred->clone(); in Cleanup()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 73 ICmpInst::Predicate NewPred; in getNewICmpValue() local 74 if (Value *NewConstant = getICmpValue(Sign, Code, LHS, RHS, NewPred)) in getNewICmpValue() 76 return Builder->CreateICmp(NewPred, LHS, RHS); in getNewICmpValue() 848 ICmpInst::Predicate NewPred; in simplifyRangeCheck() local 850 case ICmpInst::ICMP_SLT: NewPred = ICmpInst::ICMP_ULT; break; in simplifyRangeCheck() 851 case ICmpInst::ICMP_SLE: NewPred = ICmpInst::ICMP_ULE; break; in simplifyRangeCheck() 862 NewPred = ICmpInst::getInversePredicate(NewPred); in simplifyRangeCheck() 864 return Builder->CreateICmp(NewPred, Input, RangeEnd); in simplifyRangeCheck()
|
D | InstCombineCompares.cpp | 3148 CmpInst::Predicate NewPred = IsLE ? ICmpInst::ICMP_ULT: ICmpInst::ICMP_UGT; in canonicalizeCmpWithConstant() local 3149 NewPred = IsSigned ? ICmpInst::getSignedPredicate(NewPred) : NewPred; in canonicalizeCmpWithConstant() 3150 return new ICmpInst(NewPred, Op0, ConstantExpr::getAdd(Op1C, OneOrNegOne)); in canonicalizeCmpWithConstant()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/ |
D | IRTranslator.h | 596 void addMachineCFGPred(CFGEdge Edge, MachineBasicBlock *NewPred);
|
/external/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
D | IRTranslator.h | 644 void addMachineCFGPred(CFGEdge Edge, MachineBasicBlock *NewPred);
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/ |
D | CoroFrame.cpp | 810 BasicBlock *NewPred, in updatePhiNodes() argument 830 PN->setIncomingBlock(BBIdx, NewPred); in updatePhiNodes()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | IRTranslator.cpp | 283 void IRTranslator::addMachineCFGPred(CFGEdge Edge, MachineBasicBlock *NewPred) { in addMachineCFGPred() argument 284 assert(NewPred && "new predecessor must be a real MachineBasicBlock"); in addMachineCFGPred() 285 MachinePreds[Edge].push_back(NewPred); in addMachineCFGPred()
|
/external/llvm-project/llvm/lib/Transforms/Coroutines/ |
D | CoroFrame.cpp | 1347 BasicBlock *NewPred, PHINode *Until = nullptr) { in updatePhiNodes() argument 1366 PN->setIncomingBlock(BBIdx, NewPred); in updatePhiNodes()
|
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
D | IRTranslator.cpp | 283 void IRTranslator::addMachineCFGPred(CFGEdge Edge, MachineBasicBlock *NewPred) { in addMachineCFGPred() argument 284 assert(NewPred && "new predecessor must be a real MachineBasicBlock"); in addMachineCFGPred() 285 MachinePreds[Edge].push_back(NewPred); in addMachineCFGPred()
|