/external/llvm/include/llvm/Transforms/Utils/ |
H A D | CmpInstAnalysis.h | 47 unsigned getICmpCode(const ICmpInst *ICI, bool InvertPred = false);
|
/external/llvm/lib/Transforms/Utils/ |
H A D | CmpInstAnalysis.cpp | 44 unsigned llvm::getICmpCode(const ICmpInst *ICI, bool InvertPred) { argument 45 ICmpInst::Predicate Pred = InvertPred ? ICI->getInversePredicate() 46 : ICI->getPredicate();
|
H A D | SimplifyCFG.cpp | 384 ICmpInst *ICI; local 386 if (!((ICI = dyn_cast<ICmpInst>(I)) && 397 if (ICI->getPredicate() == (isEQ ? ICmpInst::ICMP_EQ:ICmpInst::ICMP_NE)) { 398 if (match(ICI->getOperand(0), 415 if(!setValueOnce(ICI->getOperand(0))) 420 return ICI->getOperand(0); 425 ICI->getPredicate(), C->getValue()); 534 if (ICmpInst *ICI = dyn_cast<ICmpInst>(BI->getCondition())) { 535 if (ICI->isEquality() && GetConstantInt(ICI 565 ICmpInst *ICI = cast<ICmpInst>(BI->getCondition()); local 804 ICmpInst *ICI = cast<ICmpInst>(BI->getCondition()); local 2700 TryToSimplifyUncondBranchWithICmpInIt( ICmpInst *ICI, IRBuilder<> &Builder, const DataLayout &DL, const TargetTransformInfo &TTI, unsigned BonusInstThreshold, AssumptionCache *AC) argument [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCompares.cpp | 231 CmpInst &ICI, ConstantInt *AndCst) { 303 Constant *CompareRHS = cast<Constant>(ICI.getOperand(1)); 316 Constant *C = ConstantFoldCompareInstOperands(ICI.getPredicate(), Elt, 407 return ReplaceInstUsesWith(ICI, Builder->getFalse()); 427 return ReplaceInstUsesWith(ICI, Builder->getTrue()); 741 Instruction *InstCombiner::FoldICmpAddOpCst(Instruction &ICI, argument 790 Instruction *InstCombiner::FoldICmpDivCst(ICmpInst &ICI, BinaryOperator *DivI, argument 792 ConstantInt *CmpRHS = cast<ConstantInt>(ICI.getOperand(1)); 804 if (!ICI.isEquality() && DivIsSigned != ICI 230 FoldCmpLoadFromIndexedGlobal(GetElementPtrInst *GEP, GlobalVariable *GV, CmpInst &ICI, ConstantInt *AndCst) argument 947 FoldICmpShrCst(ICmpInst &ICI, BinaryOperator *Shr, ConstantInt *ShAmt) argument 1141 visitICmpInstWithInstAndIntCst(ICmpInst &ICI, Instruction *LHSI, ConstantInt *RHS) argument 1913 visitICmpInstWithCastAndCast(ICmpInst &ICI) argument [all...] |
H A D | InstCombineSelect.cpp | 31 ICmpInst *ICI = dyn_cast<ICmpInst>(SI->getCondition()); 32 if (!ICI) return SPF_UNKNOWN; 34 ICmpInst::Predicate Pred = ICI->getPredicate(); 35 Value *CmpLHS = ICI->getOperand(0); 36 Value *CmpRHS = ICI->getOperand(1); 452 static Value *foldSelectCttzCtlz(ICmpInst *ICI, Value *TrueVal, Value *FalseVal, argument 454 ICmpInst::Predicate Pred = ICI->getPredicate(); 455 Value *CmpLHS = ICI->getOperand(0); 456 Value *CmpRHS = ICI->getOperand(1); 459 if (!ICI 499 visitSelectInstWithICmp(SelectInst &SI, ICmpInst *ICI) argument [all...] |
H A D | InstCombineInternal.h | 272 GlobalVariable *GV, CmpInst &ICI, 276 Instruction *visitICmpInstWithCastAndCast(ICmpInst &ICI); 277 Instruction *visitICmpInstWithInstAndIntCst(ICmpInst &ICI, Instruction *LHS, 279 Instruction *FoldICmpDivCst(ICmpInst &ICI, BinaryOperator *DivI, 281 Instruction *FoldICmpShrCst(ICmpInst &ICI, BinaryOperator *DivI, 287 Instruction *FoldICmpAddOpCst(Instruction &ICI, Value *X, ConstantInt *CI, 315 Instruction *visitSelectInstWithICmp(SelectInst &SI, ICmpInst *ICI); 383 Instruction *transformZExtICmp(ICmpInst *ICI, Instruction &CI, 385 Instruction *transformSExtICmp(ICmpInst *ICI, Instruction &CI);
|
H A D | InstCombineCasts.cpp | 508 Instruction *InstCombiner::transformZExtICmp(ICmpInst *ICI, Instruction &CI, argument 513 if (ConstantInt *Op1C = dyn_cast<ConstantInt>(ICI->getOperand(1))) { 518 if ((ICI->getPredicate() == ICmpInst::ICMP_SLT && Op1CV == 0) || 519 (ICI->getPredicate() == ICmpInst::ICMP_SGT &&Op1CV.isAllOnesValue())) { 520 if (!DoXform) return ICI; 522 Value *In = ICI->getOperand(0); 529 if (ICI->getPredicate() == ICmpInst::ICMP_SGT) { 547 ICI->isEquality()) { 551 computeKnownBits(ICI->getOperand(0), KnownZero, KnownOne, 0, &CI); 555 if (!DoXform) return ICI; 893 transformSExtICmp(ICmpInst *ICI, Instruction &CI) argument [all...] |
H A D | InstCombineMulDivRem.cpp | 963 Value *ICI = IC.Builder->CreateICmpULT(Op0, cast<ConstantInt>(Op1)); local 965 return SelectInst::Create(ICI, Constant::getNullValue(I.getType()),
|
H A D | InstructionCombining.cpp | 1817 ICmpInst *ICI = cast<ICmpInst>(I); local 1819 if (!ICI->isEquality() || !isa<ConstantPointerNull>(ICI->getOperand(1)))
|
/external/libcxx/test/std/containers/sequences/deque/deque.cons/ |
H A D | assign_iter_iter.pass.cpp | 69 typedef input_iterator<CI> ICI; typedef 71 c1.assign(ICI(c2.begin()), ICI(c2.end()));
|
/external/libcxx/test/std/containers/sequences/deque/deque.special/ |
H A D | copy.pass.cpp | 53 typedef input_iterator<CI> ICI; typedef 66 assert(std::copy(ICI(c2.cbegin()), ICI(c2.cend()), c1.begin()) == c1.end());
|
/external/llvm/lib/Analysis/ |
H A D | LazyValueInfo.cpp | 717 static bool getValueFromFromCondition(Value *Val, ICmpInst *ICI, 739 if (ICmpInst *ICI = dyn_cast<ICmpInst>(C)) { 741 if (getValueFromFromCondition(Val, ICI, Result)) { 835 bool getValueFromFromCondition(Value *Val, ICmpInst *ICI, argument 837 if (ICI && isa<Constant>(ICI->getOperand(1))) { 838 if (ICI->isEquality() && ICI->getOperand(0) == Val) { 841 if (isTrueDest == (ICI->getPredicate() == ICmpInst::ICMP_EQ)) 842 Result = LVILatticeVal::get(cast<Constant>(ICI [all...] |
H A D | InstructionSimplify.cpp | 3177 const auto *ICI = dyn_cast<ICmpInst>(CondVal); local 3179 if (ICI && BitWidth) { 3180 ICmpInst::Predicate Pred = ICI->getPredicate(); 3187 match(ICI->getOperand(0), m_And(m_Value(X), m_APInt(Y))) && 3188 match(ICI->getOperand(1), m_Zero())) { 3192 match(ICI->getOperand(1), m_Zero())) { 3193 X = ICI->getOperand(0); 3198 match(ICI->getOperand(1), m_AllOnes())) { 3199 X = ICI->getOperand(0);
|
H A D | ScalarEvolution.cpp | 4339 if (ICmpInst *ICI = dyn_cast<ICmpInst>(U->getOperand(0))) { 4340 Value *LHS = ICI->getOperand(0); 4341 Value *RHS = ICI->getOperand(1); 4342 switch (ICI->getPredicate()) { 6852 ICmpInst *ICI = dyn_cast<ICmpInst>(FoundCondValue); 6853 if (!ICI) return false; 6859 FoundPred = ICI->getInversePredicate(); 6861 FoundPred = ICI->getPredicate(); 6863 const SCEV *FoundLHS = getSCEV(ICI->getOperand(0)); 6864 const SCEV *FoundRHS = getSCEV(ICI [all...] |
/external/llvm/lib/Transforms/Scalar/ |
H A D | AlignmentFromAssumptions.cpp | 213 ICmpInst *ICI = dyn_cast<ICmpInst>(I->getArgOperand(0)); local 214 if (!ICI) 218 if (ICI->getPredicate() != ICmpInst::ICMP_EQ) 222 Value *CmpLHS = ICI->getOperand(0); 223 Value *CmpRHS = ICI->getOperand(1);
|
H A D | InductiveRangeCheckElimination.cpp | 125 static RangeCheckKind parseRangeCheckICmp(Loop *L, ICmpInst *ICI, 249 /// Parse a single ICmp instruction, `ICI`, into a range check. If `ICI` 259 InductiveRangeCheck::parseRangeCheckICmp(Loop *L, ICmpInst *ICI, argument 274 ICmpInst::Predicate Pred = ICI->getPredicate(); 275 Value *LHS = ICI->getOperand(0); 276 Value *RHS = ICI->getOperand(1); 364 if (ICmpInst *ICI = dyn_cast<ICmpInst>(Condition)) { 367 auto RCKind = parseRangeCheckICmp(L, ICI, SE, IndexVal, Length); 678 ICmpInst *ICI local [all...] |
H A D | Scalarizer.cpp | 81 // ICmpSpliiter(ICI)(Builder, X, Y, Name) uses Builder to create an ICmp 82 // called Name that compares X and Y in the same way as ICI. 84 ICmpSplitter(ICmpInst &ici) : ICI(ici) {} 87 return Builder.CreateICmp(ICI.getPredicate(), Op0, Op1, Name); 89 ICmpInst &ICI; member in struct:__anon11089::ICmpSplitter 418 bool Scalarizer::visitICmpInst(ICmpInst &ICI) { argument 419 return splitBinary(ICI, ICmpSplitter(ICI));
|
H A D | LoopStrengthReduce.cpp | 3170 if (const ICmpInst *ICI = dyn_cast<ICmpInst>(UserInst)) { 3172 Value *OtherOp = const_cast<Value *>(ICI->getOperand(OtherIdx));
|
/external/llvm/lib/Transforms/ObjCARC/ |
H A D | DependencyAnalysis.cpp | 96 if (const ICmpInst *ICI = dyn_cast<ICmpInst>(Inst)) { 100 if (!IsPotentialRetainableObjPtr(ICI->getOperand(1), *PA.getAA()))
|
/external/libcxx/test/std/containers/sequences/deque/deque.modifiers/ |
H A D | insert_iter_iter.pass.cpp | 175 typedef input_iterator<CI> ICI; typedef 177 CI i = c1.insert(c1.begin() + P, ICI(c2.begin()), ICI(c2.end()));
|
/external/llvm/lib/Analysis/IPA/ |
H A D | GlobalsModRef.cpp | 282 } else if (ICmpInst *ICI = dyn_cast<ICmpInst>(I)) { 283 if (!isa<ConstantPointerNull>(ICI->getOperand(1)))
|
/external/llvm/lib/Transforms/IPO/ |
H A D | GlobalOpt.cpp | 898 ICmpInst *ICI = dyn_cast<ICmpInst>(LoadUse.getUser()); local 899 if (!ICI) { 908 LI->isUnordered() ? (Instruction*)ICI : LI); 910 switch (ICI->getPredicate()) { 919 LV = BinaryOperator::CreateNot(LV, "notinit", ICI); 928 ICI->replaceAllUsesWith(LV); 929 ICI->eraseFromParent(); 1060 if (const ICmpInst *ICI = dyn_cast<ICmpInst>(UI)) { 1061 if (!isa<ConstantPointerNull>(ICI->getOperand(1)))
|
/external/clang/lib/Sema/ |
H A D | SemaDeclCXX.cpp | 9253 InheritingConstructorInfo ICI(*this, ClassDecl); 9255 ICI.inheritAll(InheritedBases[I]);
|