/external/llvm/include/llvm/Transforms/Utils/ |
CmpInstAnalysis.h | 47 unsigned getICmpCode(const ICmpInst *ICI, bool InvertPred = false);
|
/external/llvm/lib/Transforms/Utils/ |
CmpInstAnalysis.cpp | 44 unsigned llvm::getICmpCode(const ICmpInst *ICI, bool InvertPred) { 45 ICmpInst::Predicate Pred = InvertPred ? ICI->getInversePredicate() 46 : ICI->getPredicate();
|
SimplifyCFG.cpp | 347 if (ICmpInst *ICI = dyn_cast<ICmpInst>(I)) { 352 if (ICI->getPredicate() == (isEQ ? ICmpInst::ICMP_EQ:ICmpInst::ICMP_NE)) { 355 if (match(ICI->getOperand(0), 375 ConstantRange::makeICmpRegion(ICI->getPredicate(), C->getValue()); 473 if (ICmpInst *ICI = dyn_cast<ICmpInst>(BI->getCondition())) 474 if (ICI->isEquality() && GetConstantInt(ICI->getOperand(1), TD)) 475 CV = ICI->getOperand(0); 499 ICmpInst *ICI = cast<ICmpInst>(BI->getCondition()); 500 BasicBlock *Succ = BI->getSuccessor(ICI->getPredicate() == ICmpInst::ICMP_NE) [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineCompares.cpp | 228 CmpInst &ICI, ConstantInt *AndCst) { 304 Constant *CompareRHS = cast<Constant>(ICI.getOperand(1)); 317 Constant *C = ConstantFoldCompareInstOperands(ICI.getPredicate(), Elt, 405 return ReplaceInstUsesWith(ICI, Builder->getFalse()); 425 return ReplaceInstUsesWith(ICI, Builder->getTrue()); 740 Instruction *InstCombiner::FoldICmpAddOpCst(ICmpInst &ICI, 748 return ReplaceInstUsesWith(ICI, ConstantInt::get(ICI.getType(), isTrue)); 753 return ReplaceInstUsesWith(ICI, Builder->getFalse()); 757 return ReplaceInstUsesWith(ICI, Builder->getTrue()) [all...] |
InstCombineSelect.cpp | 29 ICmpInst *ICI = dyn_cast<ICmpInst>(SI->getCondition()); 30 if (ICI == 0) return SPF_UNKNOWN; 32 LHS = ICI->getOperand(0); 33 RHS = ICI->getOperand(1); 36 if (SI->getTrueValue() == ICI->getOperand(0) && 37 SI->getFalseValue() == ICI->getOperand(1)) { 38 switch (ICI->getPredicate()) { 52 if (SI->getTrueValue() == ICI->getOperand(1) && 53 SI->getFalseValue() == ICI->getOperand(0)) { 54 switch (ICI->getPredicate()) [all...] |
InstCombine.h | 149 GlobalVariable *GV, CmpInst &ICI, 153 Instruction *visitICmpInstWithCastAndCast(ICmpInst &ICI); 154 Instruction *visitICmpInstWithInstAndIntCst(ICmpInst &ICI, 157 Instruction *FoldICmpDivCst(ICmpInst &ICI, BinaryOperator *DivI, 159 Instruction *FoldICmpShrCst(ICmpInst &ICI, BinaryOperator *DivI, 161 Instruction *FoldICmpAddOpCst(ICmpInst &ICI, Value *X, ConstantInt *CI, 188 Instruction *visitSelectInstWithICmp(SelectInst &SI, ICmpInst *ICI); 231 Instruction *transformZExtICmp(ICmpInst *ICI, Instruction &CI, 233 Instruction *transformSExtICmp(ICmpInst *ICI, Instruction &CI);
|
InstCombineCasts.cpp | 510 Instruction *InstCombiner::transformZExtICmp(ICmpInst *ICI, Instruction &CI, 515 if (ConstantInt *Op1C = dyn_cast<ConstantInt>(ICI->getOperand(1))) { 520 if ((ICI->getPredicate() == ICmpInst::ICMP_SLT && Op1CV == 0) || 521 (ICI->getPredicate() == ICmpInst::ICMP_SGT &&Op1CV.isAllOnesValue())) { 522 if (!DoXform) return ICI; 524 Value *In = ICI->getOperand(0); 531 if (ICI->getPredicate() == ICmpInst::ICMP_SGT) { 549 ICI->isEquality()) { 553 ComputeMaskedBits(ICI->getOperand(0), KnownZero, KnownOne); 557 if (!DoXform) return ICI; [all...] |
InstructionCombining.cpp | [all...] |
InstCombineMulDivRem.cpp | 778 Value *ICI = IC.Builder->CreateICmpULT(Op0, cast<ConstantInt>(Op1)); 780 return SelectInst::Create(ICI, Constant::getNullValue(I.getType()), [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/deque/deque.cons/ |
assign_iter_iter.pass.cpp | 69 typedef input_iterator<CI> ICI; 71 c1.assign(ICI(c2.begin()), ICI(c2.end()));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/deque/deque.special/ |
copy.pass.cpp | 53 typedef input_iterator<CI> ICI; 66 assert(std::copy(ICI(c2.cbegin()), ICI(c2.cend()), c1.begin()) == c1.end());
|
/external/llvm/lib/Analysis/ |
LazyValueInfo.cpp | 802 ICmpInst *ICI = dyn_cast<ICmpInst>(BI->getCondition()); 803 if (ICI && isa<Constant>(ICI->getOperand(1))) { 804 if (ICI->isEquality() && ICI->getOperand(0) == Val) { 807 if (isTrueDest == (ICI->getPredicate() == ICmpInst::ICMP_EQ)) 808 Result = LVILatticeVal::get(cast<Constant>(ICI->getOperand(1))); 810 Result = LVILatticeVal::getNot(cast<Constant>(ICI->getOperand(1))); 817 if (ICI->getPredicate() == ICmpInst::ICMP_ULT) 818 match(ICI->getOperand(0), m_Add(m_Specific(Val) [all...] |
ScalarEvolution.cpp | [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/deque/deque.modifiers/ |
insert_iter_iter.pass.cpp | 134 typedef input_iterator<CI> ICI; 136 CI i = c1.insert(c1.begin() + P, ICI(c2.begin()), ICI(c2.end()));
|
/external/llvm/lib/Transforms/ObjCARC/ |
DependencyAnalysis.cpp | 80 if (const ICmpInst *ICI = dyn_cast<ICmpInst>(Inst)) { 84 if (!IsPotentialRetainableObjPtr(ICI->getOperand(1), *PA.getAA()))
|
/external/llvm/lib/Analysis/IPA/ |
GlobalsModRef.cpp | 286 } else if (ICmpInst *ICI = dyn_cast<ICmpInst>(U)) { 287 if (!isa<ConstantPointerNull>(ICI->getOperand(1)))
|
/external/llvm/lib/Transforms/IPO/ |
GlobalOpt.cpp | [all...] |
/external/llvm/lib/Transforms/Scalar/ |
LoopStrengthReduce.cpp | [all...] |
/external/clang/lib/Sema/ |
SemaDeclCXX.cpp | [all...] |