| /freebsd-9-stable/contrib/llvm/lib/Transforms/InstCombine/ |
| D | InstCombineCompares.cpp | 228 CmpInst &ICI, ConstantInt *AndCst) { in FoldCmpLoadFromIndexedGlobal() argument 305 Constant *CompareRHS = cast<Constant>(ICI.getOperand(1)); in FoldCmpLoadFromIndexedGlobal() 318 Constant *C = ConstantFoldCompareInstOperands(ICI.getPredicate(), Elt, in FoldCmpLoadFromIndexedGlobal() 409 return ReplaceInstUsesWith(ICI, Builder->getFalse()); in FoldCmpLoadFromIndexedGlobal() 429 return ReplaceInstUsesWith(ICI, Builder->getTrue()); in FoldCmpLoadFromIndexedGlobal() 745 Instruction *InstCombiner::FoldICmpAddOpCst(Instruction &ICI, in FoldICmpAddOpCst() argument 752 return ReplaceInstUsesWith(ICI, ConstantInt::get(ICI.getType(), isTrue)); in FoldICmpAddOpCst() 757 return ReplaceInstUsesWith(ICI, Builder->getFalse()); in FoldICmpAddOpCst() 761 return ReplaceInstUsesWith(ICI, Builder->getTrue()); in FoldICmpAddOpCst() 809 Instruction *InstCombiner::FoldICmpDivCst(ICmpInst &ICI, BinaryOperator *DivI, in FoldICmpDivCst() argument [all …]
|
| D | InstCombineSelect.cpp | 29 ICmpInst *ICI = dyn_cast<ICmpInst>(SI->getCondition()); in MatchSelectPattern() local 30 if (ICI == 0) return SPF_UNKNOWN; in MatchSelectPattern() 32 LHS = ICI->getOperand(0); in MatchSelectPattern() 33 RHS = ICI->getOperand(1); in MatchSelectPattern() 36 if (SI->getTrueValue() == ICI->getOperand(0) && in MatchSelectPattern() 37 SI->getFalseValue() == ICI->getOperand(1)) { in MatchSelectPattern() 38 switch (ICI->getPredicate()) { in MatchSelectPattern() 52 if (SI->getTrueValue() == ICI->getOperand(1) && in MatchSelectPattern() 53 SI->getFalseValue() == ICI->getOperand(0)) { in MatchSelectPattern() 54 switch (ICI->getPredicate()) { in MatchSelectPattern() [all …]
|
| D | 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(Instruction &ICI, Value *X, ConstantInt *CI, 189 Instruction *visitSelectInstWithICmp(SelectInst &SI, ICmpInst *ICI); 232 Instruction *transformZExtICmp(ICmpInst *ICI, Instruction &CI, 234 Instruction *transformSExtICmp(ICmpInst *ICI, Instruction &CI);
|
| D | InstCombineCasts.cpp | 510 Instruction *InstCombiner::transformZExtICmp(ICmpInst *ICI, Instruction &CI, in transformZExtICmp() argument 515 if (ConstantInt *Op1C = dyn_cast<ConstantInt>(ICI->getOperand(1))) { in transformZExtICmp() 520 if ((ICI->getPredicate() == ICmpInst::ICMP_SLT && Op1CV == 0) || in transformZExtICmp() 521 (ICI->getPredicate() == ICmpInst::ICMP_SGT &&Op1CV.isAllOnesValue())) { in transformZExtICmp() 522 if (!DoXform) return ICI; in transformZExtICmp() 524 Value *In = ICI->getOperand(0); in transformZExtICmp() 531 if (ICI->getPredicate() == ICmpInst::ICMP_SGT) { in transformZExtICmp() 549 ICI->isEquality()) { in transformZExtICmp() 553 ComputeMaskedBits(ICI->getOperand(0), KnownZero, KnownOne); in transformZExtICmp() 557 if (!DoXform) return ICI; in transformZExtICmp() [all …]
|
| D | InstCombineMulDivRem.cpp | 779 Value *ICI = IC.Builder->CreateICmpULT(Op0, cast<ConstantInt>(Op1)); in foldUDivNegCst() local 781 return SelectInst::Create(ICI, Constant::getNullValue(I.getType()), in foldUDivNegCst()
|
| D | InstructionCombining.cpp | 1426 ICmpInst *ICI = cast<ICmpInst>(I); in isAllocSiteRemovable() local 1428 if (!ICI->isEquality() || !isa<ConstantPointerNull>(ICI->getOperand(1))) in isAllocSiteRemovable()
|
| /freebsd-9-stable/contrib/llvm/lib/Transforms/Utils/ |
| D | CmpInstAnalysis.cpp | 44 unsigned llvm::getICmpCode(const ICmpInst *ICI, bool InvertPred) { in getICmpCode() argument 45 ICmpInst::Predicate Pred = InvertPred ? ICI->getInversePredicate() in getICmpCode() 46 : ICI->getPredicate(); in getICmpCode()
|
| D | SimplifyCFG.cpp | 348 if (ICmpInst *ICI = dyn_cast<ICmpInst>(I)) { in GatherConstantCompares() local 353 if (ICI->getPredicate() == (isEQ ? ICmpInst::ICMP_EQ:ICmpInst::ICMP_NE)) { in GatherConstantCompares() 356 if (match(ICI->getOperand(0), in GatherConstantCompares() 376 ConstantRange::makeICmpRegion(ICI->getPredicate(), C->getValue()); in GatherConstantCompares() 474 if (ICmpInst *ICI = dyn_cast<ICmpInst>(BI->getCondition())) in isValueEqualityComparison() local 475 if (ICI->isEquality() && GetConstantInt(ICI->getOperand(1), TD)) in isValueEqualityComparison() 476 CV = ICI->getOperand(0); in isValueEqualityComparison() 504 ICmpInst *ICI = cast<ICmpInst>(BI->getCondition()); in GetValueEqualityComparisonCases() local 505 BasicBlock *Succ = BI->getSuccessor(ICI->getPredicate() == ICmpInst::ICMP_NE); in GetValueEqualityComparisonCases() 506 Cases.push_back(ValueEqualityComparisonCase(GetConstantInt(ICI->getOperand(1), in GetValueEqualityComparisonCases() [all …]
|
| /freebsd-9-stable/contrib/llvm/lib/Analysis/ |
| D | LazyValueInfo.cpp | 802 ICmpInst *ICI = dyn_cast<ICmpInst>(BI->getCondition()); in getEdgeValueLocal() local 803 if (ICI && isa<Constant>(ICI->getOperand(1))) { in getEdgeValueLocal() 804 if (ICI->isEquality() && ICI->getOperand(0) == Val) { in getEdgeValueLocal() 807 if (isTrueDest == (ICI->getPredicate() == ICmpInst::ICMP_EQ)) in getEdgeValueLocal() 808 Result = LVILatticeVal::get(cast<Constant>(ICI->getOperand(1))); in getEdgeValueLocal() 810 Result = LVILatticeVal::getNot(cast<Constant>(ICI->getOperand(1))); in getEdgeValueLocal() 817 if (ICI->getPredicate() == ICmpInst::ICMP_ULT) in getEdgeValueLocal() 818 match(ICI->getOperand(0), m_Add(m_Specific(Val), in getEdgeValueLocal() 821 ConstantInt *CI = dyn_cast<ConstantInt>(ICI->getOperand(1)); in getEdgeValueLocal() 822 if (CI && (ICI->getOperand(0) == Val || NegOffset)) { in getEdgeValueLocal() [all …]
|
| D | ScalarEvolution.cpp | 3868 if (ICmpInst *ICI = dyn_cast<ICmpInst>(U->getOperand(0))) { in createSCEV() local 3869 Value *LHS = ICI->getOperand(0); in createSCEV() 3870 Value *RHS = ICI->getOperand(1); in createSCEV() 3871 switch (ICI->getPredicate()) { in createSCEV() 6194 ICmpInst *ICI = dyn_cast<ICmpInst>(FoundCondValue); in isImpliedCond() local 6195 if (!ICI) return false; in isImpliedCond() 6203 getTypeSizeInBits(ICI->getOperand(0)->getType())) in isImpliedCond() 6210 FoundPred = ICI->getInversePredicate(); in isImpliedCond() 6212 FoundPred = ICI->getPredicate(); in isImpliedCond() 6214 const SCEV *FoundLHS = getSCEV(ICI->getOperand(0)); in isImpliedCond() [all …]
|
| /freebsd-9-stable/contrib/llvm/include/llvm/Transforms/Utils/ |
| D | CmpInstAnalysis.h | 47 unsigned getICmpCode(const ICmpInst *ICI, bool InvertPred = false);
|
| /freebsd-9-stable/contrib/llvm/lib/Transforms/ObjCARC/ |
| D | DependencyAnalysis.cpp | 80 if (const ICmpInst *ICI = dyn_cast<ICmpInst>(Inst)) { in CanUse() local 84 if (!IsPotentialRetainableObjPtr(ICI->getOperand(1), *PA.getAA())) in CanUse()
|
| /freebsd-9-stable/contrib/llvm/lib/Analysis/IPA/ |
| D | GlobalsModRef.cpp | 286 } else if (ICmpInst *ICI = dyn_cast<ICmpInst>(U)) { in AnalyzeUsesOfPointer() local 287 if (!isa<ConstantPointerNull>(ICI->getOperand(1))) in AnalyzeUsesOfPointer()
|
| /freebsd-9-stable/contrib/llvm/lib/Transforms/IPO/ |
| D | GlobalOpt.cpp | 905 ICmpInst *ICI = cast<ICmpInst>(LoadUse.getUser()); in OptimizeGlobalAddressOfMalloc() local 910 LI->isUnordered() ? (Instruction*)ICI : LI); in OptimizeGlobalAddressOfMalloc() 912 switch (ICI->getPredicate()) { in OptimizeGlobalAddressOfMalloc() 921 LV = BinaryOperator::CreateNot(LV, "notinit", ICI); in OptimizeGlobalAddressOfMalloc() 930 ICI->replaceAllUsesWith(LV); in OptimizeGlobalAddressOfMalloc() 931 ICI->eraseFromParent(); in OptimizeGlobalAddressOfMalloc() 1064 if (const ICmpInst *ICI = dyn_cast<ICmpInst>(User)) { in LoadUsesSimpleEnoughForHeapSRA() local 1065 if (!isa<ConstantPointerNull>(ICI->getOperand(1))) in LoadUsesSimpleEnoughForHeapSRA()
|
| /freebsd-9-stable/contrib/llvm/lib/Transforms/Scalar/ |
| D | LoopStrengthReduce.cpp | 3102 if (const ICmpInst *ICI = dyn_cast<ICmpInst>(UserInst)) { in CollectLoopInvariantFixupsAndFormulae() local 3104 Value *OtherOp = const_cast<Value *>(ICI->getOperand(OtherIdx)); in CollectLoopInvariantFixupsAndFormulae()
|
| /freebsd-9-stable/contrib/ipfilter/etc/ |
| D | services | 1472 ici 2200/tcp # ICI 1473 ici 2200/udp # ICI
|
| /freebsd-9-stable/contrib/ipfilter/perl/ |
| D | Services | 1236 2200 ici ICI
|
| /freebsd-9-stable/contrib/llvm/tools/clang/lib/Sema/ |
| D | SemaDeclCXX.cpp | 8489 InheritingConstructorInfo ICI(*this, ClassDecl); in DeclareInheritingConstructors() local 8491 ICI.inheritAll(InheritedBases[I]); in DeclareInheritingConstructors()
|