/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 318 CmpInst::Predicate NewPred = CmpInst::BAD_ICMP_PREDICATE; in HandleFloatingPointIV() local 322 case CmpInst::FCMP_UEQ: NewPred = CmpInst::ICMP_EQ; break; in HandleFloatingPointIV() 324 case CmpInst::FCMP_UNE: NewPred = CmpInst::ICMP_NE; break; in HandleFloatingPointIV() 326 case CmpInst::FCMP_UGT: NewPred = CmpInst::ICMP_SGT; break; in HandleFloatingPointIV() 328 case CmpInst::FCMP_UGE: NewPred = CmpInst::ICMP_SGE; break; in HandleFloatingPointIV() 330 case CmpInst::FCMP_ULT: NewPred = CmpInst::ICMP_SLT; break; in HandleFloatingPointIV() 332 case CmpInst::FCMP_ULE: NewPred = CmpInst::ICMP_SLE; break; in HandleFloatingPointIV() 359 if (NewPred == CmpInst::ICMP_SLE || NewPred == CmpInst::ICMP_SGT) { in HandleFloatingPointIV() 368 if ((NewPred == CmpInst::ICMP_EQ || NewPred == CmpInst::ICMP_NE) && in HandleFloatingPointIV() 386 if (NewPred == CmpInst::ICMP_SGE || NewPred == CmpInst::ICMP_SLT) { in HandleFloatingPointIV() [all …]
|
D | JumpThreading.cpp | 1282 BasicBlock *NewPred, in AddPHINodeEntriesForMappedBlock() argument 1297 PN->addIncoming(IV, NewPred); in AddPHINodeEntriesForMappedBlock()
|
/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-7.0/llvm/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 349 CmpInst::Predicate NewPred = CmpInst::BAD_ICMP_PREDICATE; in handleFloatingPointIV() local 353 case CmpInst::FCMP_UEQ: NewPred = CmpInst::ICMP_EQ; break; in handleFloatingPointIV() 355 case CmpInst::FCMP_UNE: NewPred = CmpInst::ICMP_NE; break; in handleFloatingPointIV() 357 case CmpInst::FCMP_UGT: NewPred = CmpInst::ICMP_SGT; break; in handleFloatingPointIV() 359 case CmpInst::FCMP_UGE: NewPred = CmpInst::ICMP_SGE; break; in handleFloatingPointIV() 361 case CmpInst::FCMP_ULT: NewPred = CmpInst::ICMP_SLT; break; in handleFloatingPointIV() 363 case CmpInst::FCMP_ULE: NewPred = CmpInst::ICMP_SLE; break; in handleFloatingPointIV() 390 if (NewPred == CmpInst::ICMP_SLE || NewPred == CmpInst::ICMP_SGT) { in handleFloatingPointIV() 399 if ((NewPred == CmpInst::ICMP_EQ || NewPred == CmpInst::ICMP_NE) && in handleFloatingPointIV() 416 if (NewPred == CmpInst::ICMP_SGE || NewPred == CmpInst::ICMP_SLT) { in handleFloatingPointIV() [all …]
|
D | LoopInterchange.cpp | 420 BasicBlock *NewPred); 1324 BasicBlock *NewPred) { in updateIncomingBlock() argument 1329 PHI.setIncomingBlock(i, NewPred); in updateIncomingBlock()
|
D | LICM.cpp | 909 BasicBlock *NewPred = SplitBlockPredecessors( in splitPredecessorsOfLoopExit() local 918 ColorVector &ColorsForNewBlock = BlockColors[NewPred]; in splitPredecessorsOfLoopExit()
|
D | GVN.cpp | 1170 BasicBlock *NewPred = splitCriticalEdges(OrigPred, LoadBB); in PerformLoadPRE() local 1172 PredLoads[NewPred] = nullptr; in PerformLoadPRE()
|
D | JumpThreading.cpp | 1879 BasicBlock *NewPred, in AddPHINodeEntriesForMappedBlock() argument 1893 PN.addIncoming(IV, NewPred); in AddPHINodeEntriesForMappedBlock()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 1705 auto NewPred = Cmp.getPredicate() == CmpInst::ICMP_EQ ? CmpInst::ICMP_UGT in foldICmpAndConstant() local 1707 return new ICmpInst(NewPred, X, SubOne(cast<Constant>(Cmp.getOperand(1)))); in foldICmpAndConstant() 1721 auto NewPred = Cmp.getPredicate() == CmpInst::ICMP_EQ ? CmpInst::ICMP_SGE in foldICmpAndConstant() local 1723 return new ICmpInst(NewPred, Trunc, Constant::getNullValue(NTy)); in foldICmpAndConstant() 2686 auto NewPred = isICMP_NE ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_SGE; in foldICmpBinOpEqualityWithConstant() local 2687 return new ICmpInst(NewPred, BOp0, Zero); in foldICmpBinOpEqualityWithConstant() 2693 auto NewPred = isICMP_NE ? ICmpInst::ICMP_UGE : ICmpInst::ICMP_ULT; in foldICmpBinOpEqualityWithConstant() local 2694 return new ICmpInst(NewPred, BOp0, NegBOC); in foldICmpBinOpEqualityWithConstant() 2713 auto NewPred = isICMP_NE ? ICmpInst::ICMP_ULE : ICmpInst::ICMP_UGT; in foldICmpBinOpEqualityWithConstant() local 2714 return new ICmpInst(NewPred, BOp1, BOp0); in foldICmpBinOpEqualityWithConstant() [all …]
|
D | InstCombineAndOrXor.cpp | 58 ICmpInst::Predicate NewPred; in getNewICmpValue() local 59 if (Value *NewConstant = getICmpValue(Sign, Code, LHS, RHS, NewPred)) in getNewICmpValue() 61 return Builder.CreateICmp(NewPred, LHS, RHS); in getNewICmpValue() 788 ICmpInst::Predicate NewPred; in simplifyRangeCheck() local 790 case ICmpInst::ICMP_SLT: NewPred = ICmpInst::ICMP_ULT; break; in simplifyRangeCheck() 791 case ICmpInst::ICMP_SLE: NewPred = ICmpInst::ICMP_ULE; break; in simplifyRangeCheck() 801 NewPred = ICmpInst::getInversePredicate(NewPred); in simplifyRangeCheck() 803 return Builder.CreateICmp(NewPred, Input, RangeEnd); in simplifyRangeCheck() 854 auto NewPred = JoinedByAnd ? ICmpInst::ICMP_UGT : ICmpInst::ICMP_ULE; in foldAndOrOfEqualityCmpsWithConstants() local 855 return Builder.CreateICmp(NewPred, Add, ConstantInt::get(X->getType(), 1)); in foldAndOrOfEqualityCmpsWithConstants() [all …]
|
/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-7.0/llvm/lib/Transforms/Coroutines/ |
D | CoroFrame.cpp | 617 BasicBlock *NewPred, in updatePhiNodes() argument 637 PN->setIncomingBlock(BBIdx, NewPred); in updatePhiNodes()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/GlobalISel/ |
D | IRTranslator.h | 508 void addMachineCFGPred(CFGEdge Edge, MachineBasicBlock *NewPred);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/ |
D | PPCInstrInfo.cpp | 1752 PPC::Predicate NewPred = Pred; in optimizeCompareInstr() local 1762 NewPred = PPC::getPredicate(PPC::PRED_GE, PredHint); in optimizeCompareInstr() 1765 NewPred = PPC::getPredicate(PPC::PRED_LT, PredHint); in optimizeCompareInstr() 1768 NewPred = PPC::getPredicate(PPC::PRED_LE, PredHint); in optimizeCompareInstr() 1771 NewPred = PPC::getPredicate(PPC::PRED_GT, PredHint); in optimizeCompareInstr() 1776 NewPred)); in optimizeCompareInstr()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/ |
D | IRTranslator.cpp | 266 void IRTranslator::addMachineCFGPred(CFGEdge Edge, MachineBasicBlock *NewPred) { in addMachineCFGPred() argument 267 assert(NewPred && "new predecessor must be a real MachineBasicBlock"); in addMachineCFGPred() 268 MachinePreds[Edge].push_back(NewPred); in addMachineCFGPred()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 111 static void AddPredecessorToBlock(BasicBlock *Succ, BasicBlock *NewPred, in AddPredecessorToBlock() argument 118 PN->addIncoming(PN->getIncomingValueForBlock(ExistPred), NewPred); in AddPredecessorToBlock()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUMachineCFGStructurizer.cpp | 314 MachineBasicBlock *NewPred) { in setPhiPred() argument 315 PHI.getOperand(Index * 2 + 2).setMBB(NewPred); in setPhiPred()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 283 static void AddPredecessorToBlock(BasicBlock *Succ, BasicBlock *NewPred, in AddPredecessorToBlock() argument 286 PN.addIncoming(PN.getIncomingValueForBlock(ExistPred), NewPred); in AddPredecessorToBlock()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 244 static void AddPredecessorToBlock(BasicBlock *Succ, BasicBlock *NewPred, in AddPredecessorToBlock() argument 251 PN->addIncoming(PN->getIncomingValueForBlock(ExistPred), NewPred); in AddPredecessorToBlock()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 8669 CmpInst::Predicate NewPred; in SimplifyICmpOperands() local 8670 if (ExactCR.getEquivalentICmp(NewPred, NewRHS) && in SimplifyICmpOperands() 8671 ICmpInst::isEquality(NewPred)) { in SimplifyICmpOperands() 8673 Pred = NewPred; in SimplifyICmpOperands()
|