Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DIndVarSimplify.cpp318 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 …]
DJumpThreading.cpp1282 BasicBlock *NewPred, in AddPHINodeEntriesForMappedBlock() argument
1297 PN->addIncoming(IV, NewPred); in AddPHINodeEntriesForMappedBlock()
/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp309 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 …]
DLoopInterchange.cpp411 BasicBlock *NewPred);
1117 BasicBlock *NewPred) { in updateIncomingBlock() argument
1123 PHI->setIncomingBlock(i, NewPred); in updateIncomingBlock()
DJumpThreading.cpp1416 BasicBlock *NewPred, in AddPHINodeEntriesForMappedBlock() argument
1431 PN->addIncoming(IV, NewPred); in AddPHINodeEntriesForMappedBlock()
DGVN.cpp1490 BasicBlock *NewPred = splitCriticalEdges(OrigPred, LoadBB); in PerformLoadPRE() local
1492 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()
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()
DInstCombineCompares.cpp3148 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/lib/Transforms/Utils/
DSimplifyCFG.cpp111 static void AddPredecessorToBlock(BasicBlock *Succ, BasicBlock *NewPred, in AddPredecessorToBlock() argument
118 PN->addIncoming(PN->getIncomingValueForBlock(ExistPred), NewPred); in AddPredecessorToBlock()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp244 static void AddPredecessorToBlock(BasicBlock *Succ, BasicBlock *NewPred, in AddPredecessorToBlock() argument
251 PN->addIncoming(PN->getIncomingValueForBlock(ExistPred), NewPred); in AddPredecessorToBlock()