Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp343 CmpInst::Predicate NewPred = CmpInst::BAD_ICMP_PREDICATE; in handleFloatingPointIV() local
347 case CmpInst::FCMP_UEQ: NewPred = CmpInst::ICMP_EQ; break; in handleFloatingPointIV()
349 case CmpInst::FCMP_UNE: NewPred = CmpInst::ICMP_NE; break; in handleFloatingPointIV()
351 case CmpInst::FCMP_UGT: NewPred = CmpInst::ICMP_SGT; break; in handleFloatingPointIV()
353 case CmpInst::FCMP_UGE: NewPred = CmpInst::ICMP_SGE; break; in handleFloatingPointIV()
355 case CmpInst::FCMP_ULT: NewPred = CmpInst::ICMP_SLT; break; in handleFloatingPointIV()
357 case CmpInst::FCMP_ULE: NewPred = CmpInst::ICMP_SLE; break; in handleFloatingPointIV()
384 if (NewPred == CmpInst::ICMP_SLE || NewPred == CmpInst::ICMP_SGT) { in handleFloatingPointIV()
393 if ((NewPred == CmpInst::ICMP_EQ || NewPred == CmpInst::ICMP_NE) && in handleFloatingPointIV()
411 if (NewPred == CmpInst::ICMP_SGE || NewPred == CmpInst::ICMP_SLT) { in handleFloatingPointIV()
[all …]
DLoopInterchange.cpp415 BasicBlock *NewPred);
1143 BasicBlock *NewPred) { in updateIncomingBlock() argument
1149 PHI->setIncomingBlock(i, NewPred); in updateIncomingBlock()
DJumpThreading.cpp1421 BasicBlock *NewPred, in AddPHINodeEntriesForMappedBlock() argument
1436 PN->addIncoming(IV, NewPred); in AddPHINodeEntriesForMappedBlock()
DGVN.cpp1602 BasicBlock *NewPred = splitCriticalEdges(OrigPred, LoadBB); in PerformLoadPRE() local
1604 PredLoads[NewPred] = nullptr; in PerformLoadPRE()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp73 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()
860 ICmpInst::Predicate NewPred; in simplifyRangeCheck() local
862 case ICmpInst::ICMP_SLT: NewPred = ICmpInst::ICMP_ULT; break; in simplifyRangeCheck()
863 case ICmpInst::ICMP_SLE: NewPred = ICmpInst::ICMP_ULE; break; in simplifyRangeCheck()
874 NewPred = ICmpInst::getInversePredicate(NewPred); in simplifyRangeCheck()
876 return Builder->CreateICmp(NewPred, Input, RangeEnd); in simplifyRangeCheck()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp226 static void AddPredecessorToBlock(BasicBlock *Succ, BasicBlock *NewPred, in AddPredecessorToBlock() argument
233 PN->addIncoming(PN->getIncomingValueForBlock(ExistPred), NewPred); in AddPredecessorToBlock()